@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,32 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { TaskRepresentation, TasksApi } from '@alfresco/js-api';
3
- import * as i0 from "@angular/core";
4
- export declare class TaskService {
5
- private readonly apiService;
6
- static UNKNOWN_ERROR_MESSAGE: string;
7
- static GENERIC_ERROR_MESSAGE: string;
8
- readonly taskApi: TasksApi;
9
- /**
10
- * Gets a task.
11
- *
12
- * @param taskId Task Id
13
- * @returns Task info
14
- */
15
- getTask(taskId: string): Observable<TaskRepresentation>;
16
- /**
17
- * Creates a JSON representation of form data.
18
- *
19
- * @param res Object representing form data
20
- * @returns JSON data
21
- */
22
- toJson(res: any): any;
23
- /**
24
- * Reports an error message.
25
- *
26
- * @param error Data object with optional `message` and `status` fields for the error
27
- * @returns Error message
28
- */
29
- private handleError;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<TaskService, never>;
31
- static ɵprov: i0.ɵɵInjectableDeclaration<TaskService>;
32
- }
@@ -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 { ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
18
- import { FormComponent } from '../form.component';
19
- import { ContentLinkModel, FormOutcomeModel } from '@alfresco/adf-core';
20
- import { ProcessService } from '../../process-list/services/process.service';
21
- import * as i0 from "@angular/core";
22
- export declare class StartFormComponent extends FormComponent implements OnChanges, OnInit {
23
- processService: ProcessService;
24
- /** Definition ID of the process to start, this parameter can not be use in combination with processId */
25
- processDefinitionId: string;
26
- /** Process ID of the process to start, this parameter can not be use in combination with processDefinitionId */
27
- processId: string;
28
- /** Should form outcome buttons be shown? */
29
- showOutcomeButtons: boolean;
30
- /** Should the refresh button be shown? */
31
- showRefreshButton: boolean;
32
- /** Is the form read-only (ie, can't be edited)? */
33
- readOnlyForm: boolean;
34
- /** Emitted when the user clicks one of the outcome buttons that completes the form. */
35
- outcomeClick: EventEmitter<any>;
36
- /** Emitted when a field of the form is clicked. */
37
- formContentClicked: EventEmitter<ContentLinkModel>;
38
- outcomesContainer: ElementRef;
39
- constructor();
40
- ngOnChanges(changes: SimpleChanges): void;
41
- loadStartForm(processId: string): void;
42
- getStartFormDefinition(processId: string): void;
43
- parseRefreshVisibilityValidateForm(form: any): void;
44
- isOutcomeButtonVisible(outcome: FormOutcomeModel, isFormReadOnly: boolean): boolean;
45
- saveTaskForm(): void;
46
- onRefreshClicked(): void;
47
- completeTaskForm(outcome?: string): void;
48
- static ɵfac: i0.ɵɵFactoryDeclaration<StartFormComponent, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<StartFormComponent, "adf-start-form", never, { "processDefinitionId": { "alias": "processDefinitionId"; "required": false; }; "processId": { "alias": "processId"; "required": false; }; "showOutcomeButtons": { "alias": "showOutcomeButtons"; "required": false; }; "showRefreshButton": { "alias": "showRefreshButton"; "required": false; }; "readOnlyForm": { "alias": "readOnlyForm"; "required": false; }; }, { "outcomeClick": "outcomeClick"; "formContentClicked": "formContentClicked"; }, never, ["[adf-form-custom-button], [form-custom-button]"], true, never>;
50
- }
@@ -1,31 +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 { Subject } from 'rxjs';
18
- import { Node } from '@alfresco/js-api';
19
- export interface AttachFileWidgetDialogComponentData {
20
- title: string;
21
- actionName?: string;
22
- selected: Subject<Node[]>;
23
- currentFolderId: string;
24
- ecmHost: string;
25
- context?: string;
26
- isSelectionValid?: (entry: Node) => boolean;
27
- showFilesInResult?: boolean;
28
- loginOnly?: boolean;
29
- accountIdentifier?: string;
30
- registerExternalHost?: (...args: any[]) => void;
31
- }
@@ -1,48 +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 { OnInit } from '@angular/core';
18
- import { LoginDialogPanelComponent } from '@alfresco/adf-core';
19
- import { AttachFileWidgetDialogComponentData } from './attach-file-widget-dialog-component.interface';
20
- import { Node } from '@alfresco/js-api';
21
- import * as i0 from "@angular/core";
22
- export declare class AttachFileWidgetDialogComponent implements OnInit {
23
- private readonly translation;
24
- data: AttachFileWidgetDialogComponentData;
25
- private readonly externalApiService;
26
- private readonly authenticationService;
27
- private readonly matDialogRef;
28
- loginPanel: LoginDialogPanelComponent;
29
- title: string;
30
- action: string;
31
- buttonActionName: string;
32
- chosenNode: Node[];
33
- private readonly destroyRef;
34
- constructor();
35
- ngOnInit(): void;
36
- isLoggedIn(): boolean;
37
- performLogin(): void;
38
- close(): void;
39
- onSelect(nodeList: Node[]): void;
40
- onSiteChange(siteTitle: string): void;
41
- onClick(): void;
42
- updateTitle(siteTitle: string): void;
43
- getTitleTranslation(action: string, name?: string): string;
44
- hasNodeSelected(): boolean;
45
- private registerAndClose;
46
- static ɵfac: i0.ɵɵFactoryDeclaration<AttachFileWidgetDialogComponent, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<AttachFileWidgetDialogComponent, "adf-attach-file-widget-dialog", never, {}, {}, never, never, true, never>;
48
- }
@@ -1,47 +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 { EventEmitter } from '@angular/core';
19
- import { Observable } from 'rxjs';
20
- import { AlfrescoEndpointRepresentation, Node } from '@alfresco/js-api';
21
- import * as i0 from "@angular/core";
22
- export declare class AttachFileWidgetDialogService {
23
- private readonly dialog;
24
- private readonly translation;
25
- /** Emitted when an error occurs. */
26
- error: EventEmitter<any>;
27
- private externalApis;
28
- /**
29
- * Opens a dialog to choose a file to upload.
30
- *
31
- * @param repository Alfresco endpoint that represents the content service
32
- * @param currentFolderId Upload file from specific folder
33
- * @param accountIdentifier account identifier
34
- * @returns Information about the chosen file(s)
35
- */
36
- openLogin(repository: AlfrescoEndpointRepresentation, currentFolderId?: string, accountIdentifier?: string): Observable<Node[]>;
37
- downloadURL(repository: AlfrescoEndpointRepresentation, sourceId: string): Observable<string>;
38
- addService(accountIdentifier: string, apiService: AlfrescoApiService): void;
39
- /** Closes the currently open dialog. */
40
- close(): void;
41
- private openLoginDialog;
42
- private showExternalHostLoginDialog;
43
- private constructPayload;
44
- private getLoginTitleTranslation;
45
- static ɵfac: i0.ɵɵFactoryDeclaration<AttachFileWidgetDialogService, never>;
46
- static ɵprov: i0.ɵɵInjectableDeclaration<AttachFileWidgetDialogService>;
47
- }
@@ -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 { OnInit } from '@angular/core';
18
- import { AlfrescoEndpointRepresentation, NodeChildAssociation, RelatedContentRepresentation } from '@alfresco/js-api';
19
- import { UploadWidgetComponent } from '../upload/upload.widget';
20
- import * as i0 from "@angular/core";
21
- export declare class AttachFileWidgetComponent extends UploadWidgetComponent implements OnInit {
22
- private readonly activitiContentService;
23
- private readonly contentService;
24
- private readonly contentDialog;
25
- private readonly appConfigService;
26
- private readonly downloadService;
27
- private readonly router;
28
- private readonly activatedRoute;
29
- private readonly attachDialogService;
30
- typeId: string;
31
- repositoryList: AlfrescoEndpointRepresentation[];
32
- isStartProcessPage: boolean;
33
- private tempFilesList;
34
- private readonly destroyRef;
35
- ngOnInit(): void;
36
- isFileSourceConfigured(): boolean;
37
- isMultipleSourceUpload(): boolean;
38
- isAllFileSourceSelected(): boolean;
39
- isOnlyLocalSourceSelected(): boolean;
40
- isSimpleUploadButton(): boolean;
41
- isUploadButtonVisible(): boolean;
42
- isDefinedSourceFolder(): boolean;
43
- isTemporaryFile(file: {
44
- name?: string;
45
- }): boolean;
46
- getNodeFromTempFile(file: {
47
- name?: string;
48
- }): NodeChildAssociation;
49
- openSelectDialogFromFileSource(): void;
50
- onAttachFileChanged(event: any): void;
51
- onRemoveAttachFile(file: File | RelatedContentRepresentation): void;
52
- onAttachFileClicked(file: any): void;
53
- downloadContent(file: any | RelatedContentRepresentation): void;
54
- openSelectDialog(repository: AlfrescoEndpointRepresentation): void;
55
- isSelected(): boolean;
56
- private isExternalHost;
57
- private findSource;
58
- private uploadFileFromExternalCS;
59
- private uploadFileFromCS;
60
- private updateNodesParams;
61
- private getDomainHost;
62
- static ɵfac: i0.ɵɵFactoryDeclaration<AttachFileWidgetComponent, never>;
63
- static ɵcmp: i0.ɵɵComponentDeclaration<AttachFileWidgetComponent, "attach-widget", never, {}, {}, never, never, true, never>;
64
- }
@@ -1,33 +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 { OnInit } from '@angular/core';
18
- import { WidgetComponent, FormService } from '@alfresco/adf-core';
19
- import * as i0 from "@angular/core";
20
- export declare class AttachFolderWidgetComponent extends WidgetComponent implements OnInit {
21
- private readonly contentDialog;
22
- formService: FormService;
23
- private readonly nodeService;
24
- typeId: string;
25
- hasFolder: boolean;
26
- selectedFolderName: string;
27
- ngOnInit(): void;
28
- isDefinedSourceFolder(): boolean;
29
- openSelectDialogFromFileSource(): void;
30
- removeFolder(): void;
31
- static ɵfac: i0.ɵɵFactoryDeclaration<AttachFolderWidgetComponent, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<AttachFolderWidgetComponent, "attach-folder-widget", never, {}, {}, never, never, true, never>;
33
- }
@@ -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,21 +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 './attach-file-widget.component';
18
- export * from './attach-folder-widget.component';
19
- export * from './attach-file-widget-dialog-component.interface';
20
- export * from './attach-file-widget-dialog.component';
21
- export * from './attach-file-widget-dialog.service';
@@ -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 { ContentLinkModel, FormService } from '@alfresco/adf-core';
18
- import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
19
- import * as i0 from "@angular/core";
20
- export declare class ContentWidgetComponent implements OnChanges {
21
- protected formService: FormService;
22
- private readonly downloadService;
23
- private readonly urlService;
24
- private readonly processContentService;
25
- /** The content id to show. */
26
- id: string;
27
- /** Toggles showing document content. */
28
- showDocumentContent: boolean;
29
- /** Emitted when the content is clicked. */
30
- contentClick: EventEmitter<any>;
31
- /** Emitted when the thumbnail has loaded. */
32
- thumbnailLoaded: EventEmitter<any>;
33
- /** Emitted when the content has loaded. */
34
- contentLoaded: EventEmitter<any>;
35
- /** Emitted when an error occurs. */
36
- error: EventEmitter<any>;
37
- content: ContentLinkModel;
38
- ngOnChanges(changes: SimpleChanges): void;
39
- loadContent(id: number): void;
40
- loadThumbnailUrl(content: ContentLinkModel): void;
41
- openViewer(content: ContentLinkModel): void;
42
- /**
43
- * Invoke content download.
44
- *
45
- * @param content content link model
46
- */
47
- download(content: ContentLinkModel): void;
48
- static ɵfac: i0.ɵɵFactoryDeclaration<ContentWidgetComponent, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<ContentWidgetComponent, "adf-content", never, { "id": { "alias": "id"; "required": false; }; "showDocumentContent": { "alias": "showDocumentContent"; "required": false; }; }, { "contentClick": "contentClick"; "thumbnailLoaded": "thumbnailLoaded"; "contentLoaded": "contentLoaded"; "error": "error"; }, never, never, true, never>;
50
- }
@@ -1,26 +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 { OnInit } from '@angular/core';
18
- import { WidgetComponent } from '@alfresco/adf-core';
19
- import * as i0 from "@angular/core";
20
- export declare class DocumentWidgetComponent extends WidgetComponent implements OnInit {
21
- fileId: string;
22
- hasFile: boolean;
23
- ngOnInit(): void;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<DocumentWidgetComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<DocumentWidgetComponent, "adf-form-document-widget", never, {}, {}, never, never, true, never>;
26
- }
@@ -1,48 +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 { OnInit } from '@angular/core';
18
- import { FormService, FormFieldOption, WidgetComponent, ReactiveFormWidget } from '@alfresco/adf-core';
19
- import { ProcessDefinitionService } from '../../services/process-definition.service';
20
- import { TaskFormService } from '../../services/task-form.service';
21
- import { FormControl } from '@angular/forms';
22
- import * as i0 from "@angular/core";
23
- export declare class DropdownWidgetComponent extends WidgetComponent implements OnInit, ReactiveFormWidget {
24
- formService: FormService;
25
- taskFormService: TaskFormService;
26
- processDefinitionService: ProcessDefinitionService;
27
- private readonly destroyRef;
28
- dropdownControl: FormControl<string | FormFieldOption>;
29
- get isReadOnlyType(): boolean;
30
- get isReadOnlyField(): boolean;
31
- private get isRestType();
32
- private get hasRestUrl();
33
- private get isValidRestConfig();
34
- ngOnInit(): void;
35
- updateReactiveFormControl(): void;
36
- getValuesByTaskId(): void;
37
- getValuesByProcessDefinitionId(): void;
38
- private isReadOnlyForm;
39
- private subscribeToInputChanges;
40
- private setFormControlValue;
41
- private updateFormControlState;
42
- private handleErrors;
43
- private setOptionValue;
44
- private getOptionValue;
45
- private customRequiredValidator;
46
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownWidgetComponent, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<DropdownWidgetComponent, "dropdown-widget", never, {}, {}, never, never, true, never>;
48
- }
@@ -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 { WidgetComponent } from '@alfresco/adf-core';
18
- import { ElementRef, OnInit } from '@angular/core';
19
- import { DynamicTableColumn } from './editors/models/dynamic-table-column.model';
20
- import { DynamicTableRow } from './editors/models/dynamic-table-row.model';
21
- import { DynamicTableModel } from './editors/models/dynamic-table.widget.model';
22
- import * as i0 from "@angular/core";
23
- export declare class DynamicTableWidgetComponent extends WidgetComponent implements OnInit {
24
- content: DynamicTableModel;
25
- editMode: boolean;
26
- editRow: DynamicTableRow;
27
- private readonly selectArrayCode;
28
- elementRef: ElementRef<any>;
29
- private readonly visibilityService;
30
- private readonly cd;
31
- ngOnInit(): void;
32
- forceFocusOnAddButton(): void;
33
- private isDynamicTableReady;
34
- isValid(): boolean;
35
- onRowClicked(row: DynamicTableRow): void;
36
- onKeyPressed($event: KeyboardEvent, row: DynamicTableRow): void;
37
- private isEnterOrSpacePressed;
38
- hasSelection(): boolean;
39
- moveSelectionUp(): boolean;
40
- moveSelectionDown(): boolean;
41
- deleteSelection(): boolean;
42
- addNewRow(): boolean;
43
- editSelection(): boolean;
44
- getCellValue(row: DynamicTableRow, column: DynamicTableColumn): any;
45
- onSaveChanges(): void;
46
- onCancelChanges(): void;
47
- copyRow(row: DynamicTableRow): DynamicTableRow;
48
- private copyObject;
49
- static ɵfac: i0.ɵɵFactoryDeclaration<DynamicTableWidgetComponent, never>;
50
- static ɵcmp: i0.ɵɵComponentDeclaration<DynamicTableWidgetComponent, "dynamic-table-widget", never, {}, {}, never, never, true, never>;
51
- }
@@ -1,31 +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 { OnInit } from '@angular/core';
18
- import { DynamicTableColumn } from '../models/dynamic-table-column.model';
19
- import { DynamicTableRow } from '../models/dynamic-table-row.model';
20
- import { DynamicTableModel } from '../models/dynamic-table.widget.model';
21
- import * as i0 from "@angular/core";
22
- export declare class AmountEditorComponent implements OnInit {
23
- table: DynamicTableModel;
24
- row: DynamicTableRow;
25
- column: DynamicTableColumn;
26
- displayName: string;
27
- ngOnInit(): void;
28
- onValueChanged(row: DynamicTableRow, column: DynamicTableColumn, event: any): void;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<AmountEditorComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<AmountEditorComponent, "adf-amount-editor", never, { "table": { "alias": "table"; "required": false; }; "row": { "alias": "row"; "required": false; }; "column": { "alias": "column"; "required": false; }; }, {}, never, never, true, never>;
31
- }
@@ -1,12 +0,0 @@
1
- import { DynamicTableColumn } from '../models/dynamic-table-column.model';
2
- import { DynamicTableRow } from '../models/dynamic-table-row.model';
3
- import { DynamicTableModel } from '../models/dynamic-table.widget.model';
4
- import * as i0 from "@angular/core";
5
- export declare class BooleanEditorComponent {
6
- table: DynamicTableModel;
7
- row: DynamicTableRow;
8
- column: DynamicTableColumn;
9
- onValueChanged(row: DynamicTableRow, column: DynamicTableColumn, event: any): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<BooleanEditorComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<BooleanEditorComponent, "adf-boolean-editor", never, { "table": { "alias": "table"; "required": false; }; "row": { "alias": "row"; "required": false; }; "column": { "alias": "column"; "required": false; }; }, {}, never, never, true, never>;
12
- }
@@ -1,20 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { MatDatepickerInputEvent } from '@angular/material/datepicker';
3
- import { DynamicTableColumn } from '../models/dynamic-table-column.model';
4
- import { DynamicTableRow } from '../models/dynamic-table-row.model';
5
- import { DynamicTableModel } from '../models/dynamic-table.widget.model';
6
- import * as i0 from "@angular/core";
7
- export declare class DateEditorComponent implements OnInit {
8
- private readonly dateAdapter;
9
- DATE_FORMAT: string;
10
- value: Date;
11
- table: DynamicTableModel;
12
- row: DynamicTableRow;
13
- column: DynamicTableColumn;
14
- minDate: Date;
15
- maxDate: Date;
16
- ngOnInit(): void;
17
- onDateChanged(newDateValue: MatDatepickerInputEvent<Date> | string): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<DateEditorComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<DateEditorComponent, "adf-date-editor", never, { "value": { "alias": "value"; "required": false; }; "table": { "alias": "table"; "required": false; }; "row": { "alias": "row"; "required": false; }; "column": { "alias": "column"; "required": false; }; }, {}, never, never, true, never>;
20
- }
@@ -1,20 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { DynamicTableColumn } from '../models/dynamic-table-column.model';
3
- import { DynamicTableRow } from '../models/dynamic-table-row.model';
4
- import { DynamicTableModel } from '../models/dynamic-table.widget.model';
5
- import { MatDatetimepickerInputEvent } from '@mat-datetimepicker/core';
6
- import * as i0 from "@angular/core";
7
- export declare class DateTimeEditorComponent implements OnInit {
8
- private readonly dateAdapter;
9
- DATE_TIME_FORMAT: string;
10
- value: Date;
11
- table: DynamicTableModel;
12
- row: DynamicTableRow;
13
- column: DynamicTableColumn;
14
- minDate: Date;
15
- maxDate: Date;
16
- ngOnInit(): void;
17
- onDateChanged(newDateValue: MatDatetimepickerInputEvent<Date> | string): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeEditorComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<DateTimeEditorComponent, "adf-datetime-editor", never, { "value": { "alias": "value"; "required": false; }; "table": { "alias": "table"; "required": false; }; "row": { "alias": "row"; "required": false; }; "column": { "alias": "column"; "required": false; }; }, {}, never, never, true, never>;
20
- }