@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.
- package/fesm2022/adf-process-services.mjs +704 -771
- package/fesm2022/adf-process-services.mjs.map +1 -1
- package/index.d.ts +4486 -3
- package/lib/form/widgets/dropdown/dropdown.widget.scss +6 -0
- package/lib/form/widgets/functional-group/functional-group.widget.scss +6 -0
- package/lib/form/widgets/people/people.widget.scss +6 -0
- package/lib/form/widgets/typeahead/typeahead.widget.scss +6 -0
- package/lib/styles/_mixins.scss +7 -0
- package/lib/task-list/components/start-task/start-task.component.scss +5 -5
- package/package.json +14 -14
- package/lib/app-list/apps-list.component.d.ts +0 -91
- package/lib/app-list/icon.model.d.ts +0 -27
- package/lib/app-list/index.d.ts +0 -17
- package/lib/app-list/public-api.d.ts +0 -22
- package/lib/app-list/select-apps-dialog/select-apps-dialog.component.d.ts +0 -13
- package/lib/attachment/create-process-attachment/create-process-attachment.component.d.ts +0 -38
- package/lib/attachment/create-task-attachment/create-task-attachment.component.d.ts +0 -38
- package/lib/attachment/index.d.ts +0 -17
- package/lib/attachment/process-attachment-list/process-attachment-list.component.d.ts +0 -64
- package/lib/attachment/public-api.d.ts +0 -25
- package/lib/attachment/task-attachment-list/task-attachment-list.component.d.ts +0 -60
- package/lib/compat/types.d.ts +0 -31
- package/lib/form/events/validate-dynamic-table-row.event.d.ts +0 -25
- package/lib/form/form-custom-outcomes.component.d.ts +0 -5
- package/lib/form/form-list/form-list.component.d.ts +0 -29
- package/lib/form/form.component.d.ts +0 -109
- package/lib/form/index.d.ts +0 -17
- package/lib/form/model/form-definition.model.d.ts +0 -25
- package/lib/form/process-form-rendering.service.d.ts +0 -7
- package/lib/form/public-api.d.ts +0 -27
- package/lib/form/services/activiti-alfresco.service.d.ts +0 -41
- package/lib/form/services/ecm-model.service.d.ts +0 -30
- package/lib/form/services/editor.service.d.ts +0 -41
- package/lib/form/services/external-alfresco-api.service.d.ts +0 -9
- package/lib/form/services/index.d.ts +0 -25
- package/lib/form/services/model.service.d.ts +0 -59
- package/lib/form/services/process-content.service.d.ts +0 -132
- package/lib/form/services/process-definition.service.d.ts +0 -44
- package/lib/form/services/task-form.service.d.ts +0 -69
- package/lib/form/services/task.service.d.ts +0 -32
- package/lib/form/start-form/start-form.component.d.ts +0 -50
- package/lib/form/widgets/content-widget/attach-file-widget-dialog-component.interface.d.ts +0 -31
- package/lib/form/widgets/content-widget/attach-file-widget-dialog.component.d.ts +0 -48
- package/lib/form/widgets/content-widget/attach-file-widget-dialog.service.d.ts +0 -47
- package/lib/form/widgets/content-widget/attach-file-widget.component.d.ts +0 -64
- package/lib/form/widgets/content-widget/attach-folder-widget.component.d.ts +0 -33
- package/lib/form/widgets/content-widget/index.d.ts +0 -17
- package/lib/form/widgets/content-widget/public-api.d.ts +0 -21
- package/lib/form/widgets/document/content.widget.d.ts +0 -50
- package/lib/form/widgets/document/document.widget.d.ts +0 -26
- package/lib/form/widgets/dropdown/dropdown.widget.d.ts +0 -48
- package/lib/form/widgets/dynamic-table/dynamic-table.widget.d.ts +0 -51
- package/lib/form/widgets/dynamic-table/editors/amount/amount.editor.d.ts +0 -31
- package/lib/form/widgets/dynamic-table/editors/boolean/boolean.editor.d.ts +0 -12
- package/lib/form/widgets/dynamic-table/editors/date/date.editor.d.ts +0 -20
- package/lib/form/widgets/dynamic-table/editors/datetime/datetime.editor.d.ts +0 -20
- package/lib/form/widgets/dynamic-table/editors/dropdown/dropdown.editor.d.ts +0 -39
- package/lib/form/widgets/dynamic-table/editors/models/cell-validator.model.d.ts +0 -23
- package/lib/form/widgets/dynamic-table/editors/models/date-cell-validator-model.d.ts +0 -26
- package/lib/form/widgets/dynamic-table/editors/models/dynamic-row-validation-summary.model.d.ts +0 -21
- package/lib/form/widgets/dynamic-table/editors/models/dynamic-table-column-option.model.d.ts +0 -20
- package/lib/form/widgets/dynamic-table/editors/models/dynamic-table-column.model.d.ts +0 -37
- package/lib/form/widgets/dynamic-table/editors/models/dynamic-table-row.model.d.ts +0 -21
- package/lib/form/widgets/dynamic-table/editors/models/dynamic-table.widget.model.d.ts +0 -40
- package/lib/form/widgets/dynamic-table/editors/models/number-cell-validator.model.d.ts +0 -26
- package/lib/form/widgets/dynamic-table/editors/models/required-cell-validator.model.d.ts +0 -25
- package/lib/form/widgets/dynamic-table/editors/row-editor/row.editor.d.ts +0 -42
- package/lib/form/widgets/dynamic-table/editors/text/text.editor.d.ts +0 -31
- package/lib/form/widgets/dynamic-table/index.d.ts +0 -17
- package/lib/form/widgets/dynamic-table/public-api.d.ts +0 -34
- package/lib/form/widgets/file-viewer/file-viewer.widget.d.ts +0 -22
- package/lib/form/widgets/functional-group/functional-group.widget.d.ts +0 -40
- package/lib/form/widgets/index.d.ts +0 -17
- package/lib/form/widgets/people/people.widget.d.ts +0 -44
- package/lib/form/widgets/public-api.d.ts +0 -31
- package/lib/form/widgets/radio-buttons/radio-buttons.widget.d.ts +0 -33
- package/lib/form/widgets/typeahead/typeahead.widget.d.ts +0 -39
- package/lib/form/widgets/upload/upload.widget.d.ts +0 -39
- package/lib/people/components/people/people.component.d.ts +0 -50
- package/lib/people/components/people-list/people-list.component.d.ts +0 -42
- package/lib/people/components/people-search/people-search.component.d.ts +0 -44
- package/lib/people/components/people-search-field/people-search-field.component.d.ts +0 -25
- package/lib/people/components/people-selector/people-selector.component.d.ts +0 -40
- package/lib/people/helpers/get-display-user.d.ts +0 -17
- package/lib/people/index.d.ts +0 -17
- package/lib/people/interfaces/perform-search-callback.interface.d.ts +0 -19
- package/lib/people/public-api.d.ts +0 -28
- package/lib/process-comments/index.d.ts +0 -20
- package/lib/process-comments/process-comments.component.d.ts +0 -9
- package/lib/process-comments/services/comment-process.service.d.ts +0 -27
- package/lib/process-list/components/process-filters/process-filters.component.d.ts +0 -109
- package/lib/process-list/components/process-instance-details/process-instance-details.component.d.ts +0 -40
- package/lib/process-list/components/process-instance-header/process-instance-header.component.d.ts +0 -39
- package/lib/process-list/components/process-instance-tasks/process-instance-tasks.component.d.ts +0 -48
- package/lib/process-list/components/process-list/process-list.component.d.ts +0 -141
- package/lib/process-list/components/start-process/start-process.component.d.ts +0 -117
- package/lib/process-list/index.d.ts +0 -17
- package/lib/process-list/public-api.d.ts +0 -31
- package/lib/process-list/services/process-filter.service.d.ts +0 -73
- package/lib/process-list/services/process.service.d.ts +0 -148
- package/lib/process.module.d.ts +0 -89
- package/lib/services/apps-process.service.d.ts +0 -22
- package/lib/services/people-process.service.d.ts +0 -65
- package/lib/services/task-comments.service.d.ts +0 -45
- package/lib/task-comments/index.d.ts +0 -20
- package/lib/task-comments/task-comments.component.d.ts +0 -9
- package/lib/task-list/components/attach-form/attach-form.component.d.ts +0 -50
- package/lib/task-list/components/checklist/checklist.component.d.ts +0 -51
- package/lib/task-list/components/start-task/start-task.component.d.ts +0 -64
- package/lib/task-list/components/task-details/task-details.component.d.ts +0 -131
- package/lib/task-list/components/task-filters/task-filters.component.d.ts +0 -108
- package/lib/task-list/components/task-form/claim-task.directive.d.ts +0 -35
- package/lib/task-list/components/task-form/task-form.component.d.ts +0 -119
- package/lib/task-list/components/task-form/unclaim-task.directive.d.ts +0 -35
- package/lib/task-list/components/task-header/task-header.component.d.ts +0 -148
- package/lib/task-list/components/task-list/task-list.component.d.ts +0 -167
- package/lib/task-list/components/task-standalone/task-standalone.component.d.ts +0 -44
- package/lib/task-list/index.d.ts +0 -17
- package/lib/task-list/models/form.model.d.ts +0 -24
- package/lib/task-list/models/task-details.event.d.ts +0 -25
- package/lib/task-list/models/task-preset.model.d.ts +0 -31
- package/lib/task-list/models/user-event.model.d.ts +0 -23
- package/lib/task-list/models/user-group.model.d.ts +0 -26
- package/lib/task-list/public-api.d.ts +0 -47
- package/lib/task-list/services/process-upload.service.d.ts +0 -25
- package/lib/task-list/services/task-filter.service.d.ts +0 -102
- package/lib/task-list/services/task-upload.service.d.ts +0 -25
- package/lib/task-list/services/tasklist.service.d.ts +0 -159
- package/lib/task-list/validators/task-description.validator.d.ts +0 -21
- package/public-api.d.ts +0 -29
package/lib/task-list/index.d.ts
DELETED
|
@@ -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,24 +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
|
-
/**
|
|
18
|
-
* This object represent of the Form.
|
|
19
|
-
*/
|
|
20
|
-
export declare class Form {
|
|
21
|
-
id: number;
|
|
22
|
-
name: string;
|
|
23
|
-
constructor(id: number, name: string);
|
|
24
|
-
}
|
|
@@ -1,25 +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 { TaskRepresentation } from '@alfresco/js-api';
|
|
18
|
-
export declare class TaskDetailsEvent {
|
|
19
|
-
private readonly _value;
|
|
20
|
-
private _defaultPrevented;
|
|
21
|
-
get value(): TaskRepresentation;
|
|
22
|
-
get defaultPrevented(): boolean;
|
|
23
|
-
constructor(value: TaskRepresentation);
|
|
24
|
-
preventDefault(): void;
|
|
25
|
-
}
|
|
@@ -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
|
-
export declare const taskPresetsDefaultModel: {
|
|
18
|
-
default: ({
|
|
19
|
-
key: string;
|
|
20
|
-
type: string;
|
|
21
|
-
title: string;
|
|
22
|
-
sortable: boolean;
|
|
23
|
-
cssClass?: undefined;
|
|
24
|
-
} | {
|
|
25
|
-
key: string;
|
|
26
|
-
type: string;
|
|
27
|
-
title: string;
|
|
28
|
-
cssClass: string;
|
|
29
|
-
sortable: boolean;
|
|
30
|
-
})[];
|
|
31
|
-
};
|
|
@@ -1,23 +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
|
-
/**
|
|
18
|
-
* This object represent the User Event.
|
|
19
|
-
*/
|
|
20
|
-
export interface UserEventModel {
|
|
21
|
-
type: string;
|
|
22
|
-
value: any;
|
|
23
|
-
}
|
|
@@ -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
|
-
/**
|
|
18
|
-
* This object represent the process service user group.*
|
|
19
|
-
*/
|
|
20
|
-
export interface UserGroupModel {
|
|
21
|
-
id?: number;
|
|
22
|
-
name?: string;
|
|
23
|
-
externalId?: string;
|
|
24
|
-
status?: string;
|
|
25
|
-
groups?: any;
|
|
26
|
-
}
|
|
@@ -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 { ClaimTaskDirective } from './components/task-form/claim-task.directive';
|
|
18
|
-
import { UnclaimTaskDirective } from './components/task-form/unclaim-task.directive';
|
|
19
|
-
import { TaskFormComponent } from './components/task-form/task-form.component';
|
|
20
|
-
import { AttachFormComponent } from './components/attach-form/attach-form.component';
|
|
21
|
-
import { ChecklistComponent } from './components/checklist/checklist.component';
|
|
22
|
-
import { TaskFiltersComponent } from './components/task-filters/task-filters.component';
|
|
23
|
-
import { TaskListComponent } from './components/task-list/task-list.component';
|
|
24
|
-
import { TaskDetailsComponent } from './components/task-details/task-details.component';
|
|
25
|
-
import { TaskHeaderComponent } from './components/task-header/task-header.component';
|
|
26
|
-
import { StartTaskComponent } from './components/start-task/start-task.component';
|
|
27
|
-
import { TaskStandaloneComponent } from './components/task-standalone/task-standalone.component';
|
|
28
|
-
export * from './components/task-list/task-list.component';
|
|
29
|
-
export * from './components/checklist/checklist.component';
|
|
30
|
-
export * from './components/task-header/task-header.component';
|
|
31
|
-
export * from './components/task-filters/task-filters.component';
|
|
32
|
-
export * from './components/task-form/task-form.component';
|
|
33
|
-
export * from './components/task-form/claim-task.directive';
|
|
34
|
-
export * from './components/task-form/unclaim-task.directive';
|
|
35
|
-
export * from './components/task-details/task-details.component';
|
|
36
|
-
export * from './components/start-task/start-task.component';
|
|
37
|
-
export * from './components/task-standalone/task-standalone.component';
|
|
38
|
-
export * from './components/attach-form/attach-form.component';
|
|
39
|
-
export * from './services/tasklist.service';
|
|
40
|
-
export * from './services/process-upload.service';
|
|
41
|
-
export * from './services/task-upload.service';
|
|
42
|
-
export * from './services/task-filter.service';
|
|
43
|
-
export * from './models/form.model';
|
|
44
|
-
export * from './models/task-details.event';
|
|
45
|
-
export * from './models/user-event.model';
|
|
46
|
-
export * from './models/user-group.model';
|
|
47
|
-
export declare const TASK_LIST_DIRECTIVES: readonly [typeof TaskFormComponent, typeof AttachFormComponent, typeof ChecklistComponent, typeof TaskFiltersComponent, typeof TaskListComponent, typeof TaskDetailsComponent, typeof TaskHeaderComponent, typeof StartTaskComponent, typeof TaskStandaloneComponent, typeof ClaimTaskDirective, typeof UnclaimTaskDirective];
|
|
@@ -1,25 +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 { UploadService } from '@alfresco/adf-content-services';
|
|
18
|
-
import { ActivitiContentApi, RelatedContentRepresentation } from '@alfresco/js-api';
|
|
19
|
-
import * as i0 from "@angular/core";
|
|
20
|
-
export declare class ProcessUploadService extends UploadService {
|
|
21
|
-
readonly contentApi: ActivitiContentApi;
|
|
22
|
-
getUploadPromise(file: any): Promise<RelatedContentRepresentation>;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessUploadService, never>;
|
|
24
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ProcessUploadService>;
|
|
25
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { UserFiltersApi, UserTaskFilterRepresentation } from '@alfresco/js-api';
|
|
3
|
-
import { AlfrescoApiService } from '@alfresco/adf-content-services';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TaskFilterService {
|
|
6
|
-
protected apiService: AlfrescoApiService;
|
|
7
|
-
readonly userFiltersApi: UserFiltersApi;
|
|
8
|
-
/**
|
|
9
|
-
* Creates and returns the default filters for a process app.
|
|
10
|
-
*
|
|
11
|
-
* @param appId ID of the target app
|
|
12
|
-
* @returns Array of default filters just created
|
|
13
|
-
*/
|
|
14
|
-
createDefaultFilters(appId: number): Observable<UserTaskFilterRepresentation[]>;
|
|
15
|
-
/**
|
|
16
|
-
* Gets all task filters for a process app.
|
|
17
|
-
*
|
|
18
|
-
* @param appId Optional ID for a specific app
|
|
19
|
-
* @returns Array of task filter details
|
|
20
|
-
*/
|
|
21
|
-
getTaskListFilters(appId?: number): Observable<UserTaskFilterRepresentation[]>;
|
|
22
|
-
/**
|
|
23
|
-
* Checks if a filter with the given name already exists in the list of filters.
|
|
24
|
-
*
|
|
25
|
-
* @param filters - An array of objects representing the existing filters.
|
|
26
|
-
* @param filterName - The name of the filter to check for existence.
|
|
27
|
-
* @returns - True if a filter with the specified name already exists, false otherwise.
|
|
28
|
-
*/
|
|
29
|
-
isFilterAlreadyExisting(filters: UserTaskFilterRepresentation[], filterName: string): boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Gets a task filter by ID.
|
|
32
|
-
*
|
|
33
|
-
* @param filterId ID of the filter
|
|
34
|
-
* @param appId ID of the app for the filter
|
|
35
|
-
* @returns Details of task filter
|
|
36
|
-
*/
|
|
37
|
-
getTaskFilterById(filterId: number, appId?: number): Observable<UserTaskFilterRepresentation>;
|
|
38
|
-
/**
|
|
39
|
-
* Gets a task filter by name.
|
|
40
|
-
*
|
|
41
|
-
* @param taskName Name of the filter
|
|
42
|
-
* @param appId ID of the app for the filter
|
|
43
|
-
* @returns Details of task filter
|
|
44
|
-
*/
|
|
45
|
-
getTaskFilterByName(taskName: string, appId?: number): Observable<UserTaskFilterRepresentation>;
|
|
46
|
-
/**
|
|
47
|
-
* Adds a new task filter
|
|
48
|
-
*
|
|
49
|
-
* @param filter The new filter to add
|
|
50
|
-
* @returns Details of task filter just added
|
|
51
|
-
*/
|
|
52
|
-
addFilter(filter: UserTaskFilterRepresentation): Observable<UserTaskFilterRepresentation>;
|
|
53
|
-
/**
|
|
54
|
-
* Update a task filter
|
|
55
|
-
*
|
|
56
|
-
* @param filterId existing filter id
|
|
57
|
-
* @param updatedFilter updated filter body
|
|
58
|
-
* @returns Observable<UserTaskFilterRepresentation>
|
|
59
|
-
*/
|
|
60
|
-
updateTaskFilter(filterId: number, updatedFilter: UserTaskFilterRepresentation): Observable<UserTaskFilterRepresentation>;
|
|
61
|
-
/**
|
|
62
|
-
* Calls `getUserTaskFilters` from the Alfresco JS API.
|
|
63
|
-
*
|
|
64
|
-
* @param appId ID of the target app
|
|
65
|
-
* @returns List of task filters
|
|
66
|
-
*/
|
|
67
|
-
callApiTaskFilters(appId?: number): Promise<any>;
|
|
68
|
-
/**
|
|
69
|
-
* Creates and returns a filter for "My Tasks" task instances.
|
|
70
|
-
*
|
|
71
|
-
* @param appId ID of the target app
|
|
72
|
-
* @param index of the filter (optional)
|
|
73
|
-
* @returns The newly created filter
|
|
74
|
-
*/
|
|
75
|
-
getMyTasksFilterInstance(appId: number, index?: number): UserTaskFilterRepresentation;
|
|
76
|
-
/**
|
|
77
|
-
* Creates and returns a filter for "Overdue" task instances.
|
|
78
|
-
*
|
|
79
|
-
* @param appId ID of the target app
|
|
80
|
-
* @param index of the filter (optional)
|
|
81
|
-
* @returns The newly created filter
|
|
82
|
-
*/
|
|
83
|
-
getOverdueTasksFilterInstance(appId: number, index?: number): UserTaskFilterRepresentation;
|
|
84
|
-
/**
|
|
85
|
-
* Creates and returns a filter for "Unassigned Tasks" task instances.
|
|
86
|
-
*
|
|
87
|
-
* @param appId ID of the target app
|
|
88
|
-
* @param index of the filter (optional)
|
|
89
|
-
* @returns The newly created filter
|
|
90
|
-
*/
|
|
91
|
-
getUnassignedTasksFilterInstance(appId: number, index?: number): UserTaskFilterRepresentation;
|
|
92
|
-
/**
|
|
93
|
-
* Creates and returns a filter for "Completed" task instances.
|
|
94
|
-
*
|
|
95
|
-
* @param appId ID of the target app
|
|
96
|
-
* @param index of the filter (optional)
|
|
97
|
-
* @returns The newly created filter
|
|
98
|
-
*/
|
|
99
|
-
getCompletedTasksFilterInstance(appId: number, index?: number): UserTaskFilterRepresentation;
|
|
100
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TaskFilterService, never>;
|
|
101
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TaskFilterService>;
|
|
102
|
-
}
|
|
@@ -1,25 +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 { UploadService } from '@alfresco/adf-content-services';
|
|
18
|
-
import { ActivitiContentApi, RelatedContentRepresentation } from '@alfresco/js-api';
|
|
19
|
-
import * as i0 from "@angular/core";
|
|
20
|
-
export declare class TaskUploadService extends UploadService {
|
|
21
|
-
readonly contentApi: ActivitiContentApi;
|
|
22
|
-
getUploadPromise(file: any): Promise<RelatedContentRepresentation>;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TaskUploadService, never>;
|
|
24
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TaskUploadService>;
|
|
25
|
-
}
|
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { Form } from '../models/form.model';
|
|
3
|
-
import { TaskUpdateRepresentation, ModelsApi, TaskActionsApi, TasksApi, ChecklistsApi, ResultListDataRepresentationTaskRepresentation, TaskQueryRepresentation, UserTaskFilterRepresentation, TaskRepresentation } from '@alfresco/js-api';
|
|
4
|
-
import { AlfrescoApiService } from '@alfresco/adf-content-services';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class TaskListService {
|
|
7
|
-
protected apiService: AlfrescoApiService;
|
|
8
|
-
readonly modelsApi: ModelsApi;
|
|
9
|
-
readonly tasksApi: TasksApi;
|
|
10
|
-
readonly taskActionsApi: TaskActionsApi;
|
|
11
|
-
readonly checklistsApi: ChecklistsApi;
|
|
12
|
-
/**
|
|
13
|
-
* Gets all the filters in the list that belong to a task.
|
|
14
|
-
*
|
|
15
|
-
* @param taskId ID of the target task
|
|
16
|
-
* @param filterList List of filters to search through
|
|
17
|
-
* @returns Filters belonging to the task
|
|
18
|
-
*/
|
|
19
|
-
getFilterForTaskById(taskId: string, filterList: UserTaskFilterRepresentation[]): Observable<UserTaskFilterRepresentation>;
|
|
20
|
-
/**
|
|
21
|
-
* Checks if a taskId is filtered with the given filter.
|
|
22
|
-
*
|
|
23
|
-
* @param taskId ID of the target task
|
|
24
|
-
* @param filterModel The filter you want to check
|
|
25
|
-
* @returns The filter if it is related or null otherwise
|
|
26
|
-
*/
|
|
27
|
-
isTaskRelatedToFilter(taskId: string, filterModel: UserTaskFilterRepresentation): Observable<UserTaskFilterRepresentation>;
|
|
28
|
-
/**
|
|
29
|
-
* Gets all the tasks matching the supplied query.
|
|
30
|
-
*
|
|
31
|
-
* @param requestNode Query to search for tasks
|
|
32
|
-
* @returns List of tasks
|
|
33
|
-
*/
|
|
34
|
-
getTasks(requestNode: TaskQueryRepresentation): Observable<ResultListDataRepresentationTaskRepresentation>;
|
|
35
|
-
/**
|
|
36
|
-
* Gets tasks matching a query and state value.
|
|
37
|
-
*
|
|
38
|
-
* @param requestNode Query to search for tasks
|
|
39
|
-
* @returns List of tasks
|
|
40
|
-
*/
|
|
41
|
-
findTasksByState(requestNode: TaskQueryRepresentation): Observable<ResultListDataRepresentationTaskRepresentation>;
|
|
42
|
-
/**
|
|
43
|
-
* Gets details for a task.
|
|
44
|
-
*
|
|
45
|
-
* @param taskId ID of the target task.
|
|
46
|
-
* @returns Task details
|
|
47
|
-
*/
|
|
48
|
-
getTaskDetails(taskId: string): Observable<TaskRepresentation>;
|
|
49
|
-
/**
|
|
50
|
-
* Gets the checklist for a task.
|
|
51
|
-
*
|
|
52
|
-
* @param id ID of the target task
|
|
53
|
-
* @returns Array of checklist task details
|
|
54
|
-
*/
|
|
55
|
-
getTaskChecklist(id: string): Observable<TaskRepresentation[]>;
|
|
56
|
-
/**
|
|
57
|
-
* Gets all available reusable forms.
|
|
58
|
-
*
|
|
59
|
-
* @returns Array of form details
|
|
60
|
-
*/
|
|
61
|
-
getFormList(): Observable<Form[]>;
|
|
62
|
-
/**
|
|
63
|
-
* Attaches a form to a task.
|
|
64
|
-
*
|
|
65
|
-
* @param taskId ID of the target task
|
|
66
|
-
* @param formId ID of the form to add
|
|
67
|
-
* @returns Null response notifying when the operation is complete
|
|
68
|
-
*/
|
|
69
|
-
attachFormToATask(taskId: string, formId: number): Observable<any>;
|
|
70
|
-
/**
|
|
71
|
-
* Adds a subtask (ie, a checklist task) to a parent task.
|
|
72
|
-
*
|
|
73
|
-
* @param task The task to add
|
|
74
|
-
* @returns The subtask that was added
|
|
75
|
-
*/
|
|
76
|
-
addTask(task: TaskRepresentation): Observable<TaskRepresentation>;
|
|
77
|
-
/**
|
|
78
|
-
* Deletes a subtask (ie, a checklist task) from a parent task.
|
|
79
|
-
*
|
|
80
|
-
* @param taskId The task to delete
|
|
81
|
-
* @returns Null response notifying when the operation is complete
|
|
82
|
-
*/
|
|
83
|
-
deleteTask(taskId: string): Observable<any>;
|
|
84
|
-
/**
|
|
85
|
-
* Deletes a form from a task.
|
|
86
|
-
*
|
|
87
|
-
* @param taskId Task id related to form
|
|
88
|
-
* @returns Null response notifying when the operation is complete
|
|
89
|
-
*/
|
|
90
|
-
deleteForm(taskId: string): Observable<any>;
|
|
91
|
-
/**
|
|
92
|
-
* Gives completed status to a task.
|
|
93
|
-
*
|
|
94
|
-
* @param taskId ID of the target task
|
|
95
|
-
* @returns Null response notifying when the operation is complete
|
|
96
|
-
*/
|
|
97
|
-
completeTask(taskId: string): Observable<any>;
|
|
98
|
-
/**
|
|
99
|
-
* Creates a new standalone task.
|
|
100
|
-
*
|
|
101
|
-
* @param task Details of the new task
|
|
102
|
-
* @returns Details of the newly created task
|
|
103
|
-
*/
|
|
104
|
-
createNewTask(task: TaskRepresentation): Observable<TaskRepresentation>;
|
|
105
|
-
/**
|
|
106
|
-
* Assigns a task to a user or group.
|
|
107
|
-
*
|
|
108
|
-
* @param taskId The task to assign
|
|
109
|
-
* @param requestNode User or group to assign the task to
|
|
110
|
-
* @returns Details of the assigned task
|
|
111
|
-
*/
|
|
112
|
-
assignTask(taskId: string, requestNode: any): Observable<TaskRepresentation>;
|
|
113
|
-
/**
|
|
114
|
-
* Assigns a task to a user.
|
|
115
|
-
*
|
|
116
|
-
* @param taskId ID of the task to assign
|
|
117
|
-
* @param userId ID of the user to assign the task to
|
|
118
|
-
* @returns Details of the assigned task
|
|
119
|
-
*/
|
|
120
|
-
assignTaskByUserId(taskId: string, userId: string): Observable<TaskRepresentation>;
|
|
121
|
-
/**
|
|
122
|
-
* Claims a task for the current user.
|
|
123
|
-
*
|
|
124
|
-
* @param taskId ID of the task to claim
|
|
125
|
-
* @returns Details of the claimed task
|
|
126
|
-
*/
|
|
127
|
-
claimTask(taskId: string): Observable<TaskRepresentation>;
|
|
128
|
-
/**
|
|
129
|
-
* Un-claims a task for the current user.
|
|
130
|
-
*
|
|
131
|
-
* @param taskId ID of the task to unclaim
|
|
132
|
-
* @returns Null response notifying when the operation is complete
|
|
133
|
-
*/
|
|
134
|
-
unclaimTask(taskId: string): Observable<TaskRepresentation>;
|
|
135
|
-
/**
|
|
136
|
-
* Updates the details (name, description, due date) for a task.
|
|
137
|
-
*
|
|
138
|
-
* @param taskId ID of the task to update
|
|
139
|
-
* @param updated Data to update the task (as a `TaskUpdateRepresentation` instance).
|
|
140
|
-
* @returns Updated task details
|
|
141
|
-
*/
|
|
142
|
-
updateTask(taskId: string, updated: TaskUpdateRepresentation): Observable<TaskRepresentation>;
|
|
143
|
-
/**
|
|
144
|
-
* Fetches the Task Audit information in PDF format.
|
|
145
|
-
*
|
|
146
|
-
* @param taskId ID of the target task
|
|
147
|
-
* @returns Binary PDF data
|
|
148
|
-
*/
|
|
149
|
-
fetchTaskAuditPdfById(taskId: string): Observable<Blob>;
|
|
150
|
-
/**
|
|
151
|
-
* Fetch the Task Audit information in JSON format
|
|
152
|
-
*
|
|
153
|
-
* @param taskId ID of the target task
|
|
154
|
-
* @returns JSON data
|
|
155
|
-
*/
|
|
156
|
-
fetchTaskAuditJsonById(taskId: string): Observable<any>;
|
|
157
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TaskListService, never>;
|
|
158
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TaskListService>;
|
|
159
|
-
}
|
|
@@ -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
|
-
import { CardViewItemValidator } from '@alfresco/adf-core';
|
|
18
|
-
export declare class TaskDescriptionValidator implements CardViewItemValidator {
|
|
19
|
-
message: string;
|
|
20
|
-
isValid(value: string): boolean;
|
|
21
|
-
}
|
package/public-api.d.ts
DELETED
|
@@ -1,29 +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 './lib/process-list/index';
|
|
18
|
-
export * from './lib/task-list/index';
|
|
19
|
-
export * from './lib/app-list/index';
|
|
20
|
-
export * from './lib/attachment/index';
|
|
21
|
-
export * from './lib/process-comments/index';
|
|
22
|
-
export * from './lib/people/index';
|
|
23
|
-
export * from './lib/form/index';
|
|
24
|
-
export * from './lib/task-comments/index';
|
|
25
|
-
export * from './lib/process.module';
|
|
26
|
-
export * from './lib/compat/types';
|
|
27
|
-
export * from './lib/services/apps-process.service';
|
|
28
|
-
export * from './lib/services/people-process.service';
|
|
29
|
-
export * from './lib/services/task-comments.service';
|