@alfresco/adf-process-services 8.3.0 → 8.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/adf-process-services.mjs +523 -669
- package/fesm2022/adf-process-services.mjs.map +1 -1
- package/lib/app-list/apps-list.component.d.ts +1 -3
- package/lib/app-list/icon.model.d.ts +2 -2
- package/lib/app-list/select-apps-dialog/select-apps-dialog.component.d.ts +3 -4
- package/lib/attachment/create-process-attachment/create-process-attachment.component.d.ts +1 -1
- package/lib/attachment/create-task-attachment/create-task-attachment.component.d.ts +1 -1
- package/lib/attachment/process-attachment-list/process-attachment-list.component.d.ts +6 -8
- package/lib/attachment/task-attachment-list/task-attachment-list.component.d.ts +6 -8
- package/lib/form/form-list/form-list.component.d.ts +0 -1
- package/lib/form/form.component.d.ts +1 -1
- package/lib/form/public-api.d.ts +1 -2
- package/lib/form/services/activiti-alfresco.service.d.ts +2 -20
- package/lib/form/services/ecm-model.service.d.ts +1 -19
- package/lib/form/services/editor.service.d.ts +1 -19
- package/lib/form/services/model.service.d.ts +1 -19
- package/lib/form/services/process-content.service.d.ts +1 -19
- package/lib/form/services/process-definition.service.d.ts +1 -19
- package/lib/form/services/task-form.service.d.ts +1 -19
- package/lib/form/services/task.service.d.ts +1 -19
- package/lib/form/start-form/start-form.component.scss +1 -1
- package/lib/form/widgets/content-widget/attach-file-widget-dialog.component.d.ts +6 -8
- package/lib/form/widgets/content-widget/attach-file-widget-dialog.service.d.ts +2 -5
- package/lib/form/widgets/content-widget/attach-file-widget.component.d.ts +8 -18
- package/lib/form/widgets/content-widget/attach-folder-widget.component.d.ts +2 -4
- package/lib/form/widgets/document/content.widget.d.ts +4 -6
- package/lib/form/widgets/document/document.widget.d.ts +1 -3
- package/lib/form/widgets/dynamic-table/dynamic-table.widget.d.ts +6 -8
- package/lib/form/widgets/dynamic-table/dynamic-table.widget.scss +2 -2
- package/lib/form/widgets/dynamic-table/editors/date/date.editor.d.ts +1 -3
- package/lib/form/widgets/dynamic-table/editors/datetime/datetime.editor.d.ts +1 -3
- package/lib/form/widgets/dynamic-table/editors/dropdown/dropdown.editor.d.ts +2 -5
- package/lib/form/widgets/dynamic-table/editors/models/date-cell-validator-model.d.ts +1 -1
- package/lib/form/widgets/dynamic-table/editors/models/dynamic-table.widget.model.d.ts +1 -1
- package/lib/form/widgets/dynamic-table/editors/models/number-cell-validator.model.d.ts +1 -1
- package/lib/form/widgets/dynamic-table/editors/models/required-cell-validator.model.d.ts +1 -1
- package/lib/form/widgets/file-viewer/file-viewer.widget.d.ts +1 -2
- package/lib/form/widgets/functional-group/functional-group.widget.d.ts +3 -5
- package/lib/form/widgets/people/people.widget.d.ts +2 -4
- package/lib/form/widgets/public-api.d.ts +2 -8
- package/lib/form/widgets/radio-buttons/radio-buttons.widget.d.ts +3 -7
- package/lib/form/widgets/typeahead/typeahead.widget.d.ts +3 -7
- package/lib/form/widgets/upload/upload.widget.d.ts +3 -5
- package/lib/people/components/people/people.component.d.ts +1 -1
- package/lib/people/components/people-list/people-list.component.d.ts +2 -2
- package/lib/people/components/people-search-field/people-search-field.component.d.ts +2 -19
- package/lib/people/components/people-selector/people-selector.component.d.ts +3 -5
- package/lib/process-comments/services/comment-process.service.d.ts +2 -21
- package/lib/process-list/components/process-filters/process-filters.component.d.ts +4 -9
- package/lib/process-list/components/process-instance-details/process-instance-details.component.d.ts +1 -3
- package/lib/process-list/components/process-instance-header/process-instance-header.component.d.ts +4 -4
- package/lib/process-list/components/process-instance-tasks/process-instance-tasks.component.d.ts +3 -5
- package/lib/process-list/components/process-list/process-list.component.d.ts +4 -5
- package/lib/process-list/components/start-process/start-process.component.d.ts +8 -12
- package/lib/process-list/public-api.d.ts +1 -3
- package/lib/process-list/services/process-filter.service.d.ts +1 -19
- package/lib/process-list/services/process.service.d.ts +3 -1
- package/lib/process.module.d.ts +54 -55
- package/lib/services/apps-process.service.d.ts +1 -3
- package/lib/services/people-process.service.d.ts +1 -3
- package/lib/styles/flex.scss +12 -7
- package/lib/task-list/components/attach-form/attach-form.component.d.ts +3 -7
- package/lib/task-list/components/checklist/checklist.component.d.ts +2 -5
- package/lib/task-list/components/start-task/start-task.component.d.ts +3 -5
- package/lib/task-list/components/task-details/task-details.component.d.ts +3 -6
- package/lib/task-list/components/task-filters/task-filters.component.d.ts +5 -26
- package/lib/task-list/components/task-form/claim-task.directive.d.ts +1 -3
- package/lib/task-list/components/task-form/task-form.component.d.ts +3 -3
- package/lib/task-list/components/task-form/unclaim-task.directive.d.ts +1 -3
- package/lib/task-list/components/task-header/task-header.component.d.ts +4 -5
- package/lib/task-list/components/task-list/task-list.component.d.ts +4 -5
- package/lib/task-list/models/task-details.event.d.ts +1 -1
- package/package.json +4 -4
- package/lib/process-list/components/process-audit/process-audit.directive.d.ts +0 -49
|
@@ -15,14 +15,13 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { CustomEmptyContentTemplateDirective } from '@alfresco/adf-core';
|
|
18
|
-
import { AppsProcessService } from '../services/apps-process.service';
|
|
19
18
|
import { AfterContentInit, EventEmitter, OnInit } from '@angular/core';
|
|
20
19
|
import { AppDefinitionRepresentation } from '@alfresco/js-api';
|
|
21
20
|
import * as i0 from "@angular/core";
|
|
22
21
|
export declare const APP_LIST_LAYOUT_LIST: string;
|
|
23
22
|
export declare const APP_LIST_LAYOUT_GRID: string;
|
|
24
23
|
export declare class AppsListComponent implements OnInit, AfterContentInit {
|
|
25
|
-
private appsProcessService;
|
|
24
|
+
private readonly appsProcessService;
|
|
26
25
|
emptyCustomContent: CustomEmptyContentTemplateDirective;
|
|
27
26
|
/**
|
|
28
27
|
* Defines the layout of the apps. There are two possible
|
|
@@ -42,7 +41,6 @@ export declare class AppsListComponent implements OnInit, AfterContentInit {
|
|
|
42
41
|
loading: boolean;
|
|
43
42
|
hasEmptyCustomContentTemplate: boolean;
|
|
44
43
|
private iconsMDL;
|
|
45
|
-
constructor(appsProcessService: AppsProcessService);
|
|
46
44
|
ngOnInit(): void;
|
|
47
45
|
ngAfterContentInit(): void;
|
|
48
46
|
private isDefaultApp;
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export declare class IconModel {
|
|
18
18
|
private iconsMDL;
|
|
19
|
-
private supportedIconTypes;
|
|
20
|
-
private sharedIconsMap;
|
|
19
|
+
private readonly supportedIconTypes;
|
|
20
|
+
private readonly sharedIconsMap;
|
|
21
21
|
constructor();
|
|
22
22
|
mapGlyphiconToMaterialDesignIcons(icon: string): string;
|
|
23
23
|
/**
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import { AppsProcessService } from '../../services/apps-process.service';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class SelectAppsDialogComponent {
|
|
5
|
-
private appsProcessService;
|
|
6
|
-
dialogRef: MatDialogRef<SelectAppsDialogComponent>;
|
|
4
|
+
private readonly appsProcessService;
|
|
5
|
+
dialogRef: MatDialogRef<SelectAppsDialogComponent, any>;
|
|
7
6
|
data: any;
|
|
8
7
|
processApps: any;
|
|
9
8
|
selectedProcess: any;
|
|
10
|
-
constructor(
|
|
9
|
+
constructor();
|
|
11
10
|
onStart(): void;
|
|
12
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectAppsDialogComponent, never>;
|
|
13
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<SelectAppsDialogComponent, "adf-select-apps-dialog", never, {}, {}, never, never, true, never>;
|
|
@@ -18,7 +18,7 @@ import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
|
18
18
|
import { RelatedContentRepresentation } from '@alfresco/js-api';
|
|
19
19
|
import * as i0 from "@angular/core";
|
|
20
20
|
export declare class CreateProcessAttachmentComponent implements OnChanges {
|
|
21
|
-
private processContentService;
|
|
21
|
+
private readonly processContentService;
|
|
22
22
|
/** (required) The ID of the process instance to display. */
|
|
23
23
|
processInstanceId: string;
|
|
24
24
|
/**
|
|
@@ -18,7 +18,7 @@ import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
|
18
18
|
import { RelatedContentRepresentation } from '@alfresco/js-api';
|
|
19
19
|
import * as i0 from "@angular/core";
|
|
20
20
|
export declare class AttachmentComponent implements OnChanges {
|
|
21
|
-
private processContentService;
|
|
21
|
+
private readonly processContentService;
|
|
22
22
|
/** (required) The numeric ID of the task to display. */
|
|
23
23
|
taskId: string;
|
|
24
24
|
/**
|
|
@@ -14,15 +14,14 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import {
|
|
18
|
-
import { AfterContentInit, EventEmitter,
|
|
19
|
-
import { ProcessContentService } from '../../form/services/process-content.service';
|
|
17
|
+
import { EmptyListComponent } from '@alfresco/adf-core';
|
|
18
|
+
import { AfterContentInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
20
19
|
import * as i0 from "@angular/core";
|
|
21
20
|
export declare class ProcessAttachmentListComponent implements OnChanges, AfterContentInit {
|
|
22
|
-
private processContentService;
|
|
23
|
-
private downloadService;
|
|
24
|
-
private thumbnailService;
|
|
25
|
-
private ngZone;
|
|
21
|
+
private readonly processContentService;
|
|
22
|
+
private readonly downloadService;
|
|
23
|
+
private readonly thumbnailService;
|
|
24
|
+
private readonly ngZone;
|
|
26
25
|
emptyTemplate: EmptyListComponent;
|
|
27
26
|
/** (**required**) The ID of the process instance to display. */
|
|
28
27
|
processInstanceId: string;
|
|
@@ -48,7 +47,6 @@ export declare class ProcessAttachmentListComponent implements OnChanges, AfterC
|
|
|
48
47
|
hasCustomTemplate: boolean;
|
|
49
48
|
attachments: any[];
|
|
50
49
|
isLoading: boolean;
|
|
51
|
-
constructor(processContentService: ProcessContentService, downloadService: DownloadService, thumbnailService: ThumbnailService, ngZone: NgZone);
|
|
52
50
|
ngOnChanges(changes: SimpleChanges): void;
|
|
53
51
|
ngAfterContentInit(): void;
|
|
54
52
|
reset(): void;
|
|
@@ -14,15 +14,14 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import {
|
|
18
|
-
import { AfterContentInit, EventEmitter,
|
|
19
|
-
import { ProcessContentService } from '../../form/services/process-content.service';
|
|
17
|
+
import { EmptyListComponent } from '@alfresco/adf-core';
|
|
18
|
+
import { AfterContentInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
20
19
|
import * as i0 from "@angular/core";
|
|
21
20
|
export declare class TaskAttachmentListComponent implements OnChanges, AfterContentInit {
|
|
22
|
-
private activitiContentService;
|
|
23
|
-
private downloadService;
|
|
24
|
-
private thumbnailService;
|
|
25
|
-
private ngZone;
|
|
21
|
+
private readonly activitiContentService;
|
|
22
|
+
private readonly downloadService;
|
|
23
|
+
private readonly thumbnailService;
|
|
24
|
+
private readonly ngZone;
|
|
26
25
|
emptyTemplate: EmptyListComponent;
|
|
27
26
|
/** (**required**) The ID of the task to display. */
|
|
28
27
|
taskId: string;
|
|
@@ -44,7 +43,6 @@ export declare class TaskAttachmentListComponent implements OnChanges, AfterCont
|
|
|
44
43
|
hasCustomTemplate: boolean;
|
|
45
44
|
attachments: any[];
|
|
46
45
|
isLoading: boolean;
|
|
47
|
-
constructor(activitiContentService: ProcessContentService, downloadService: DownloadService, thumbnailService: ThumbnailService, ngZone: NgZone);
|
|
48
46
|
ngOnChanges(changes: SimpleChanges): void;
|
|
49
47
|
ngAfterContentInit(): void;
|
|
50
48
|
reset(): void;
|
|
@@ -21,7 +21,6 @@ export declare class FormListComponent implements OnChanges {
|
|
|
21
21
|
protected modelService: ModelService;
|
|
22
22
|
/** The array that contains the information to show inside the list. */
|
|
23
23
|
forms: any[];
|
|
24
|
-
constructor(modelService: ModelService);
|
|
25
24
|
ngOnChanges(): void;
|
|
26
25
|
isEmpty(): boolean;
|
|
27
26
|
getForms(): void;
|
|
@@ -33,7 +33,7 @@ export declare class FormComponent extends FormBaseComponent implements OnInit,
|
|
|
33
33
|
protected visibilityService: WidgetVisibilityService;
|
|
34
34
|
protected ecmModelService: EcmModelService;
|
|
35
35
|
protected nodeService: NodesApiService;
|
|
36
|
-
private cdRef;
|
|
36
|
+
private readonly cdRef;
|
|
37
37
|
/** Task id to fetch corresponding form and values. */
|
|
38
38
|
taskId: string;
|
|
39
39
|
/** Content Services node ID for the form metadata. */
|
package/lib/form/public-api.d.ts
CHANGED
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { FormListComponent } from './form-list/form-list.component';
|
|
18
17
|
import { FormCustomOutcomesComponent } from './form-custom-outcomes.component';
|
|
19
18
|
export * from './events/validate-dynamic-table-row.event';
|
|
20
19
|
export * from './form-list/form-list.component';
|
|
@@ -25,4 +24,4 @@ export * from './widgets/public-api';
|
|
|
25
24
|
export * from './form.component';
|
|
26
25
|
export * from './form-custom-outcomes.component';
|
|
27
26
|
export * from './process-form-rendering.service';
|
|
28
|
-
export declare const FORM_DIRECTIVES: (typeof
|
|
27
|
+
export declare const FORM_DIRECTIVES: (typeof FormCustomOutcomesComponent)[];
|
|
@@ -1,34 +1,16 @@
|
|
|
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, SitesService } from '@alfresco/adf-content-services';
|
|
18
1
|
import { ExternalContent } from '@alfresco/adf-core';
|
|
19
2
|
import { IntegrationAlfrescoOnPremiseApi, Node, RelatedContentRepresentation, ActivitiContentApi, AlfrescoEndpointRepresentation, AlfrescoContentRepresentation } from '@alfresco/js-api';
|
|
20
3
|
import { Observable } from 'rxjs';
|
|
21
4
|
import * as i0 from "@angular/core";
|
|
22
5
|
export declare class ActivitiContentService {
|
|
23
|
-
private apiService;
|
|
24
|
-
private sitesService;
|
|
6
|
+
private readonly apiService;
|
|
7
|
+
private readonly sitesService;
|
|
25
8
|
static UNKNOWN_ERROR_MESSAGE: string;
|
|
26
9
|
static GENERIC_ERROR_MESSAGE: string;
|
|
27
10
|
private _integrationAlfrescoOnPremiseApi;
|
|
28
11
|
get integrationAlfrescoOnPremiseApi(): IntegrationAlfrescoOnPremiseApi;
|
|
29
12
|
private _contentApi;
|
|
30
13
|
get contentApi(): ActivitiContentApi;
|
|
31
|
-
constructor(apiService: AlfrescoApiService, sitesService: SitesService);
|
|
32
14
|
/**
|
|
33
15
|
* Returns a list of child nodes below the specified folder
|
|
34
16
|
*
|
|
@@ -1,34 +1,16 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { AlfrescoApiService } from '@alfresco/adf-content-services';
|
|
18
1
|
import { FormModel } from '@alfresco/adf-core';
|
|
19
2
|
import { EventEmitter } from '@angular/core';
|
|
20
3
|
import { Observable } from 'rxjs';
|
|
21
4
|
import { CustomModelApi } from '@alfresco/js-api';
|
|
22
5
|
import * as i0 from "@angular/core";
|
|
23
6
|
export declare class EcmModelService {
|
|
24
|
-
private apiService;
|
|
7
|
+
private readonly apiService;
|
|
25
8
|
static MODEL_NAMESPACE: string;
|
|
26
9
|
static MODEL_NAME: string;
|
|
27
10
|
static TYPE_MODEL: string;
|
|
28
11
|
error: EventEmitter<any>;
|
|
29
12
|
private _customModelApi;
|
|
30
13
|
get customModelApi(): CustomModelApi;
|
|
31
|
-
constructor(apiService: AlfrescoApiService);
|
|
32
14
|
createEcmTypeForActivitiForm(formName: string, form: FormModel): Observable<any>;
|
|
33
15
|
searchActivitiEcmModel(): Observable<any>;
|
|
34
16
|
createActivitiEcmModel(formName: string, form: FormModel): Observable<any>;
|
|
@@ -1,31 +1,13 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { AlfrescoApiService } from '@alfresco/adf-content-services';
|
|
18
1
|
import { Observable } from 'rxjs';
|
|
19
2
|
import { FormModelsApi, FormRepresentation } from '@alfresco/js-api';
|
|
20
3
|
import { FormDefinitionModel } from '../model/form-definition.model';
|
|
21
4
|
import * as i0 from "@angular/core";
|
|
22
5
|
export declare class EditorService {
|
|
23
|
-
private apiService;
|
|
6
|
+
private readonly apiService;
|
|
24
7
|
static UNKNOWN_ERROR_MESSAGE: string;
|
|
25
8
|
static GENERIC_ERROR_MESSAGE: string;
|
|
26
9
|
private _editorApi;
|
|
27
10
|
get editorApi(): FormModelsApi;
|
|
28
|
-
constructor(apiService: AlfrescoApiService);
|
|
29
11
|
/**
|
|
30
12
|
* Saves a form.
|
|
31
13
|
*
|
|
@@ -1,30 +1,12 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { AlfrescoApiService } from '@alfresco/adf-content-services';
|
|
18
1
|
import { Observable } from 'rxjs';
|
|
19
2
|
import { ModelsApi } from '@alfresco/js-api';
|
|
20
3
|
import * as i0 from "@angular/core";
|
|
21
4
|
export declare class ModelService {
|
|
22
|
-
private apiService;
|
|
5
|
+
private readonly apiService;
|
|
23
6
|
static UNKNOWN_ERROR_MESSAGE: string;
|
|
24
7
|
static GENERIC_ERROR_MESSAGE: string;
|
|
25
8
|
private _modelsApi;
|
|
26
9
|
get modelsApi(): ModelsApi;
|
|
27
|
-
constructor(apiService: AlfrescoApiService);
|
|
28
10
|
/**
|
|
29
11
|
* Create a Form.
|
|
30
12
|
*
|
|
@@ -1,30 +1,12 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { AlfrescoApiService } from '@alfresco/adf-content-services';
|
|
18
1
|
import { ActivitiContentApi, RelatedContentRepresentation, ResultListDataRepresentationRelatedProcessTask, ResultListDataRepresentationRelatedContentRepresentation } from '@alfresco/js-api';
|
|
19
2
|
import { Observable } from 'rxjs';
|
|
20
3
|
import * as i0 from "@angular/core";
|
|
21
4
|
export declare class ProcessContentService {
|
|
22
|
-
private apiService;
|
|
5
|
+
private readonly apiService;
|
|
23
6
|
static UNKNOWN_ERROR_MESSAGE: string;
|
|
24
7
|
static GENERIC_ERROR_MESSAGE: string;
|
|
25
8
|
private _contentApi;
|
|
26
9
|
get contentApi(): ActivitiContentApi;
|
|
27
|
-
constructor(apiService: AlfrescoApiService);
|
|
28
10
|
/**
|
|
29
11
|
* Create temporary related content from an uploaded file.
|
|
30
12
|
*
|
|
@@ -1,32 +1,14 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { AlfrescoApiService } from '@alfresco/adf-content-services';
|
|
18
1
|
import { FormFieldOption } from '@alfresco/adf-core';
|
|
19
2
|
import { Observable } from 'rxjs';
|
|
20
3
|
import { ProcessDefinitionsApi } from '@alfresco/js-api';
|
|
21
4
|
import { DynamicTableColumnOption } from '../widgets/dynamic-table/editors/models/dynamic-table-column-option.model';
|
|
22
5
|
import * as i0 from "@angular/core";
|
|
23
6
|
export declare class ProcessDefinitionService {
|
|
24
|
-
private apiService;
|
|
7
|
+
private readonly apiService;
|
|
25
8
|
static UNKNOWN_ERROR_MESSAGE: string;
|
|
26
9
|
static GENERIC_ERROR_MESSAGE: string;
|
|
27
10
|
private _processDefinitionsApi;
|
|
28
11
|
get processDefinitionsApi(): ProcessDefinitionsApi;
|
|
29
|
-
constructor(apiService: AlfrescoApiService);
|
|
30
12
|
/**
|
|
31
13
|
* Gets values of fields populated by a REST backend using a process ID.
|
|
32
14
|
*
|
|
@@ -1,32 +1,14 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { AlfrescoApiService } from '@alfresco/adf-content-services';
|
|
18
1
|
import { FormFieldOption, FormValues, TaskProcessVariableModel } from '@alfresco/adf-core';
|
|
19
2
|
import { Observable } from 'rxjs';
|
|
20
3
|
import { TaskFormsApi } from '@alfresco/js-api';
|
|
21
4
|
import { DynamicTableColumnOption } from '../widgets/dynamic-table/editors/models/dynamic-table-column-option.model';
|
|
22
5
|
import * as i0 from "@angular/core";
|
|
23
6
|
export declare class TaskFormService {
|
|
24
|
-
private apiService;
|
|
7
|
+
private readonly apiService;
|
|
25
8
|
static UNKNOWN_ERROR_MESSAGE: string;
|
|
26
9
|
static GENERIC_ERROR_MESSAGE: string;
|
|
27
10
|
private _taskFormsApi;
|
|
28
11
|
get taskFormsApi(): TaskFormsApi;
|
|
29
|
-
constructor(apiService: AlfrescoApiService);
|
|
30
12
|
/**
|
|
31
13
|
* Saves a task form.
|
|
32
14
|
*
|
|
@@ -1,30 +1,12 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { AlfrescoApiService } from '@alfresco/adf-content-services';
|
|
18
1
|
import { Observable } from 'rxjs';
|
|
19
2
|
import { TaskRepresentation, TasksApi } from '@alfresco/js-api';
|
|
20
3
|
import * as i0 from "@angular/core";
|
|
21
4
|
export declare class TaskService {
|
|
22
|
-
private apiService;
|
|
5
|
+
private readonly apiService;
|
|
23
6
|
static UNKNOWN_ERROR_MESSAGE: string;
|
|
24
7
|
static GENERIC_ERROR_MESSAGE: string;
|
|
25
8
|
private _taskApi;
|
|
26
9
|
get taskApi(): TasksApi;
|
|
27
|
-
constructor(apiService: AlfrescoApiService);
|
|
28
10
|
/**
|
|
29
11
|
* Gets a task.
|
|
30
12
|
*
|
|
@@ -15,25 +15,23 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { OnInit } from '@angular/core';
|
|
18
|
-
import {
|
|
19
|
-
import { AuthenticationService, LoginDialogPanelComponent, TranslationService } from '@alfresco/adf-core';
|
|
18
|
+
import { LoginDialogPanelComponent } from '@alfresco/adf-core';
|
|
20
19
|
import { AttachFileWidgetDialogComponentData } from './attach-file-widget-dialog-component.interface';
|
|
21
|
-
import { AlfrescoApiService } from '@alfresco/adf-content-services';
|
|
22
20
|
import { Node } from '@alfresco/js-api';
|
|
23
21
|
import * as i0 from "@angular/core";
|
|
24
22
|
export declare class AttachFileWidgetDialogComponent implements OnInit {
|
|
25
|
-
private translation;
|
|
23
|
+
private readonly translation;
|
|
26
24
|
data: AttachFileWidgetDialogComponentData;
|
|
27
|
-
private externalApiService;
|
|
28
|
-
private authenticationService;
|
|
29
|
-
private matDialogRef;
|
|
25
|
+
private readonly externalApiService;
|
|
26
|
+
private readonly authenticationService;
|
|
27
|
+
private readonly matDialogRef;
|
|
30
28
|
loginPanel: LoginDialogPanelComponent;
|
|
31
29
|
title: string;
|
|
32
30
|
action: string;
|
|
33
31
|
buttonActionName: string;
|
|
34
32
|
chosenNode: Node[];
|
|
35
33
|
private readonly destroyRef;
|
|
36
|
-
constructor(
|
|
34
|
+
constructor();
|
|
37
35
|
ngOnInit(): void;
|
|
38
36
|
isLoggedIn(): boolean;
|
|
39
37
|
performLogin(): void;
|
|
@@ -15,19 +15,16 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { AlfrescoApiService } from '@alfresco/adf-content-services';
|
|
18
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
19
18
|
import { EventEmitter } from '@angular/core';
|
|
20
|
-
import { TranslationService } from '@alfresco/adf-core';
|
|
21
19
|
import { Observable } from 'rxjs';
|
|
22
20
|
import { AlfrescoEndpointRepresentation, Node } from '@alfresco/js-api';
|
|
23
21
|
import * as i0 from "@angular/core";
|
|
24
22
|
export declare class AttachFileWidgetDialogService {
|
|
25
|
-
private dialog;
|
|
26
|
-
private translation;
|
|
23
|
+
private readonly dialog;
|
|
24
|
+
private readonly translation;
|
|
27
25
|
/** Emitted when an error occurs. */
|
|
28
26
|
error: EventEmitter<any>;
|
|
29
27
|
private externalApis;
|
|
30
|
-
constructor(dialog: MatDialog, translation: TranslationService);
|
|
31
28
|
/**
|
|
32
29
|
* Opens a dialog to choose a file to upload.
|
|
33
30
|
*
|
|
@@ -15,33 +15,23 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { OnInit } from '@angular/core';
|
|
18
|
-
import { AppConfigService, DownloadService, FormService, ThumbnailService } from '@alfresco/adf-core';
|
|
19
|
-
import { ContentNodeDialogService, ContentService } from '@alfresco/adf-content-services';
|
|
20
18
|
import { AlfrescoEndpointRepresentation, NodeChildAssociation, RelatedContentRepresentation } from '@alfresco/js-api';
|
|
21
|
-
import { AttachFileWidgetDialogService } from './attach-file-widget-dialog.service';
|
|
22
19
|
import { UploadWidgetComponent } from '../upload/upload.widget';
|
|
23
|
-
import { ProcessContentService } from '../../services/process-content.service';
|
|
24
|
-
import { ActivitiContentService } from '../../services/activiti-alfresco.service';
|
|
25
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
26
20
|
import * as i0 from "@angular/core";
|
|
27
21
|
export declare class AttachFileWidgetComponent extends UploadWidgetComponent implements OnInit {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
private
|
|
32
|
-
private
|
|
33
|
-
private
|
|
34
|
-
private
|
|
35
|
-
private
|
|
36
|
-
private router;
|
|
37
|
-
private activatedRoute;
|
|
38
|
-
private attachDialogService;
|
|
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;
|
|
39
30
|
typeId: string;
|
|
40
31
|
repositoryList: AlfrescoEndpointRepresentation[];
|
|
41
32
|
isStartProcessPage: boolean;
|
|
42
33
|
private tempFilesList;
|
|
43
34
|
private readonly destroyRef;
|
|
44
|
-
constructor(formService: FormService, thumbnails: ThumbnailService, processContentService: ProcessContentService, activitiContentService: ActivitiContentService, contentService: ContentService, contentDialog: ContentNodeDialogService, appConfigService: AppConfigService, downloadService: DownloadService, router: Router, activatedRoute: ActivatedRoute, attachDialogService: AttachFileWidgetDialogService);
|
|
45
35
|
ngOnInit(): void;
|
|
46
36
|
isFileSourceConfigured(): boolean;
|
|
47
37
|
isMultipleSourceUpload(): boolean;
|
|
@@ -16,16 +16,14 @@
|
|
|
16
16
|
*/
|
|
17
17
|
import { OnInit } from '@angular/core';
|
|
18
18
|
import { WidgetComponent, FormService } from '@alfresco/adf-core';
|
|
19
|
-
import { ContentNodeDialogService, NodesApiService } from '@alfresco/adf-content-services';
|
|
20
19
|
import * as i0 from "@angular/core";
|
|
21
20
|
export declare class AttachFolderWidgetComponent extends WidgetComponent implements OnInit {
|
|
22
|
-
private contentDialog;
|
|
21
|
+
private readonly contentDialog;
|
|
23
22
|
formService: FormService;
|
|
24
|
-
private nodeService;
|
|
23
|
+
private readonly nodeService;
|
|
25
24
|
typeId: string;
|
|
26
25
|
hasFolder: boolean;
|
|
27
26
|
selectedFolderName: string;
|
|
28
|
-
constructor(contentDialog: ContentNodeDialogService, formService: FormService, nodeService: NodesApiService);
|
|
29
27
|
ngOnInit(): void;
|
|
30
28
|
isDefinedSourceFolder(): boolean;
|
|
31
29
|
openSelectDialogFromFileSource(): void;
|
|
@@ -14,15 +14,14 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import {
|
|
17
|
+
import { ContentLinkModel, FormService } from '@alfresco/adf-core';
|
|
18
18
|
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
19
|
-
import { ProcessContentService } from '../../services/process-content.service';
|
|
20
19
|
import * as i0 from "@angular/core";
|
|
21
20
|
export declare class ContentWidgetComponent implements OnChanges {
|
|
22
21
|
protected formService: FormService;
|
|
23
|
-
private downloadService;
|
|
24
|
-
private urlService;
|
|
25
|
-
private processContentService;
|
|
22
|
+
private readonly downloadService;
|
|
23
|
+
private readonly urlService;
|
|
24
|
+
private readonly processContentService;
|
|
26
25
|
/** The content id to show. */
|
|
27
26
|
id: string;
|
|
28
27
|
/** Toggles showing document content. */
|
|
@@ -36,7 +35,6 @@ export declare class ContentWidgetComponent implements OnChanges {
|
|
|
36
35
|
/** Emitted when an error occurs. */
|
|
37
36
|
error: EventEmitter<any>;
|
|
38
37
|
content: ContentLinkModel;
|
|
39
|
-
constructor(formService: FormService, downloadService: DownloadService, urlService: UrlService, processContentService: ProcessContentService);
|
|
40
38
|
ngOnChanges(changes: SimpleChanges): void;
|
|
41
39
|
loadContent(id: number): void;
|
|
42
40
|
loadThumbnailUrl(content: ContentLinkModel): void;
|
|
@@ -15,13 +15,11 @@
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { OnInit } from '@angular/core';
|
|
18
|
-
import {
|
|
18
|
+
import { WidgetComponent } from '@alfresco/adf-core';
|
|
19
19
|
import * as i0 from "@angular/core";
|
|
20
20
|
export declare class DocumentWidgetComponent extends WidgetComponent implements OnInit {
|
|
21
|
-
formService: FormService;
|
|
22
21
|
fileId: string;
|
|
23
22
|
hasFile: boolean;
|
|
24
|
-
constructor(formService: FormService);
|
|
25
23
|
ngOnInit(): void;
|
|
26
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentWidgetComponent, never>;
|
|
27
25
|
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentWidgetComponent, "adf-form-document-widget", never, {}, {}, never, never, true, never>;
|