@alfresco/adf-process-services-cloud 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-cloud.mjs +547 -358
- package/fesm2022/adf-process-services-cloud.mjs.map +1 -1
- package/index.d.ts +6395 -3
- package/lib/_mixins.scss +7 -0
- package/lib/form/components/widgets/date/date-cloud.widget.scss +5 -0
- package/lib/form/components/widgets/display-external-property/display-external-property.widget.scss +6 -0
- package/lib/form/components/widgets/dropdown/dropdown-cloud.widget.scss +5 -0
- package/lib/group/components/group-cloud.component.scss +6 -0
- package/lib/people/components/people-cloud.component.scss +6 -0
- package/lib/process/process-filters/components/edit-process-filter/edit-process-filter-cloud.component.scss +5 -0
- package/lib/task/task-filters/components/edit-task-filters/edit-service-task-filter/edit-service-task-filter-cloud.component.scss +5 -0
- package/lib/task/task-filters/components/edit-task-filters/edit-task-filter/edit-task-filter-cloud.component.scss +5 -0
- package/package.json +14 -14
- package/lib/app/models/application-instance.model.d.ts +0 -67
- package/lib/app/public-api.d.ts +0 -18
- package/lib/app/services/apps-process-cloud.service.d.ts +0 -25
- package/lib/common/date-range-filter/date-range-filter.component.d.ts +0 -49
- package/lib/common/date-range-filter/date-range-filter.service.d.ts +0 -17
- package/lib/common/index.d.ts +0 -17
- package/lib/common/interface/environment.interface.d.ts +0 -20
- package/lib/common/interface/index.d.ts +0 -17
- package/lib/common/interface/public-api.d.ts +0 -17
- package/lib/common/public-api.d.ts +0 -18
- package/lib/form/components/cloud-form-rendering.service.d.ts +0 -7
- package/lib/form/components/form-cloud-custom-outcomes.component.d.ts +0 -5
- package/lib/form/components/form-cloud.component.d.ts +0 -155
- package/lib/form/components/spinner/form-spinner.component.d.ts +0 -6
- package/lib/form/components/widgets/attach-file/attach-file-cloud-widget.component.d.ts +0 -62
- package/lib/form/components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component.d.ts +0 -49
- package/lib/form/components/widgets/data-table/data-table-adapter.widget.d.ts +0 -42
- package/lib/form/components/widgets/data-table/data-table.widget.d.ts +0 -43
- package/lib/form/components/widgets/data-table/helpers/data-table-path-parser.helper.d.ts +0 -29
- package/lib/form/components/widgets/date/date-cloud.widget.d.ts +0 -47
- package/lib/form/components/widgets/display-external-property/display-external-property.widget.d.ts +0 -39
- package/lib/form/components/widgets/display-rich-text/display-rich-text.widget.d.ts +0 -37
- package/lib/form/components/widgets/dropdown/dropdown-cloud.widget.d.ts +0 -105
- package/lib/form/components/widgets/dropdown/validators.d.ts +0 -19
- package/lib/form/components/widgets/file-viewer/file-viewer.widget.d.ts +0 -6
- package/lib/form/components/widgets/group/group-cloud.widget.d.ts +0 -37
- package/lib/form/components/widgets/people/people-cloud.widget.d.ts +0 -40
- package/lib/form/components/widgets/properties-viewer/properties-viewer-wrapper/properties-viewer-wrapper.component.d.ts +0 -53
- package/lib/form/components/widgets/properties-viewer/properties-viewer.widget.d.ts +0 -26
- package/lib/form/components/widgets/radio-buttons/radio-buttons-cloud.schema.d.ts +0 -18
- package/lib/form/components/widgets/radio-buttons/radio-buttons-cloud.widget.d.ts +0 -41
- package/lib/form/components/widgets/upload/upload-cloud.widget.d.ts +0 -55
- package/lib/form/form-cloud.module.d.ts +0 -34
- package/lib/form/models/form-cloud-representation.model.d.ts +0 -48
- package/lib/form/models/task-variable-cloud.model.d.ts +0 -24
- package/lib/form/public-api.d.ts +0 -40
- package/lib/form/services/content-cloud-node-selector.service.d.ts +0 -21
- package/lib/form/services/display-mode.service.d.ts +0 -22
- package/lib/form/services/form-cloud.service.d.ts +0 -104
- package/lib/form/services/form-cloud.service.interface.d.ts +0 -34
- package/lib/form/services/form-utils.service.d.ts +0 -11
- package/lib/form/services/process-cloud-content.service.d.ts +0 -18
- package/lib/form/services/rich-text-parser.service.d.ts +0 -12
- package/lib/form/services/spinner/form-cloud-spinner.service.d.ts +0 -26
- package/lib/group/components/group-cloud.component.d.ts +0 -123
- package/lib/group/group-cloud.module.d.ts +0 -8
- package/lib/group/models/identity-group.model.d.ts +0 -21
- package/lib/group/public-api.d.ts +0 -20
- package/lib/group/services/identity-group.service.d.ts +0 -28
- package/lib/models/application-version.model.d.ts +0 -30
- package/lib/models/constant-values.type.d.ts +0 -20
- package/lib/models/data-column-custom-data.d.ts +0 -22
- package/lib/models/date-cloud-filter.model.d.ts +0 -36
- package/lib/models/date-format-cloud.model.d.ts +0 -17
- package/lib/models/engine-event-cloud.model.d.ts +0 -21
- package/lib/models/filter-cloud-model.d.ts +0 -92
- package/lib/models/process-definition-cloud.model.d.ts +0 -32
- package/lib/models/process-instance-variable.model.d.ts +0 -38
- package/lib/models/process-variable-filter.model.d.ts +0 -24
- package/lib/models/task-cloud.model.d.ts +0 -57
- package/lib/models/task-list-sorting.model.d.ts +0 -31
- package/lib/models/variable-definition.d.ts +0 -24
- package/lib/people/components/people-cloud.component.d.ts +0 -167
- package/lib/people/models/identity-user.model.d.ts +0 -24
- package/lib/people/people-cloud.module.d.ts +0 -8
- package/lib/people/public-api.d.ts +0 -20
- package/lib/people/services/identity-user.service.d.ts +0 -45
- package/lib/process/process-cloud.module.d.ts +0 -16
- package/lib/process/process-filters/components/edit-process-filter/edit-process-filter-cloud.component.d.ts +0 -182
- package/lib/process/process-filters/components/process-filter-dialog/process-filter-dialog-cloud.component.d.ts +0 -16
- package/lib/process/process-filters/components/process-filters/process-filters-cloud.component.d.ts +0 -146
- package/lib/process/process-filters/models/process-filter-cloud.model.d.ts +0 -110
- package/lib/process/process-filters/process-filters-cloud.module.d.ts +0 -14
- package/lib/process/process-filters/public-api.d.ts +0 -22
- package/lib/process/process-filters/services/process-filter-cloud.service.d.ts +0 -163
- package/lib/process/process-header/components/process-header-cloud.component.d.ts +0 -48
- package/lib/process/process-header/process-header-cloud.module.d.ts +0 -8
- package/lib/process/process-header/public-api.d.ts +0 -18
- package/lib/process/process-list/components/process-list-cloud.component.d.ts +0 -228
- package/lib/process/process-list/datatable/process-list-datatable-adapter.d.ts +0 -23
- package/lib/process/process-list/models/perocess-instance-cloud-view.model.d.ts +0 -19
- package/lib/process/process-list/models/process-cloud-preferences.d.ts +0 -22
- package/lib/process/process-list/models/process-cloud-preset.model.d.ts +0 -35
- package/lib/process/process-list/models/process-cloud-query-request.model.d.ts +0 -80
- package/lib/process/process-list/models/process-list-sorting.model.d.ts +0 -31
- package/lib/process/process-list/process-list-cloud.module.d.ts +0 -7
- package/lib/process/process-list/public-api.d.ts +0 -24
- package/lib/process/process-list/services/process-list-cloud.service.d.ts +0 -56
- package/lib/process/process-list/services/process-task-list-cloud.service.d.ts +0 -30
- package/lib/process/public-api.d.ts +0 -22
- package/lib/process/services/process-cloud.service.d.ts +0 -41
- package/lib/process/start-process/components/start-process-cloud.component.d.ts +0 -146
- package/lib/process/start-process/models/process-instance-cloud.model.d.ts +0 -48
- package/lib/process/start-process/models/process-payload-cloud.model.d.ts +0 -35
- package/lib/process/start-process/models/process-with-form-payload-cloud.model.d.ts +0 -24
- package/lib/process/start-process/public-api.d.ts +0 -20
- package/lib/process/start-process/services/start-process-cloud.service.d.ts +0 -64
- package/lib/process-services-cloud.module.d.ts +0 -61
- package/lib/providers.d.ts +0 -36
- package/lib/screen/components/screen-cloud/base-screen/base-screen-cloud.component.d.ts +0 -33
- package/lib/screen/components/screen-cloud/start-process-event-screen/start-process-screen-cloud.component.d.ts +0 -16
- package/lib/screen/components/screen-cloud/start-process-event-screen/start-process-screen.model.d.ts +0 -29
- package/lib/screen/components/screen-cloud/user-task-screen/screen-cloud.component.d.ts +0 -48
- package/lib/screen/components/screen-cloud/user-task-screen/screen-cloud.model.d.ts +0 -38
- package/lib/screen/public-api.d.ts +0 -20
- package/lib/screen/services/provide-screen.d.ts +0 -37
- package/lib/screen/services/screen-rendering.service.d.ts +0 -51
- package/lib/services/base-cloud.service.d.ts +0 -37
- package/lib/services/cloud-token.service.d.ts +0 -24
- package/lib/services/form-fields.interfaces.d.ts +0 -246
- package/lib/services/local-preference-cloud.service.d.ts +0 -51
- package/lib/services/notification-cloud.service.d.ts +0 -7
- package/lib/services/preference-cloud.interface.d.ts +0 -24
- package/lib/services/public-api.d.ts +0 -26
- package/lib/services/task-list-cloud.service.interface.d.ts +0 -47
- package/lib/services/task-type-resolver/task-type-resolver.service.d.ts +0 -15
- package/lib/services/user-preference-cloud.service.d.ts +0 -49
- package/lib/services/variable-mapper.sevice.d.ts +0 -13
- package/lib/services/web-socket.service.d.ts +0 -28
- package/lib/task/models/start-task-cloud-request.model.d.ts +0 -28
- package/lib/task/models/task-details-cloud.model.d.ts +0 -62
- package/lib/task/models/task.model.d.ts +0 -22
- package/lib/task/public-api.d.ts +0 -25
- package/lib/task/services/task-cloud.service.d.ts +0 -145
- package/lib/task/task-cloud.module.d.ts +0 -18
- package/lib/task/task-filters/components/base-task-filters-cloud.component.d.ts +0 -44
- package/lib/task/task-filters/components/edit-task-filters/base-edit-task-filter-cloud.component.d.ts +0 -152
- package/lib/task/task-filters/components/edit-task-filters/edit-service-task-filter/edit-service-task-filter-cloud.component.d.ts +0 -21
- package/lib/task/task-filters/components/edit-task-filters/edit-task-filter/edit-task-filter-cloud.component.d.ts +0 -24
- package/lib/task/task-filters/components/service-task-filters/service-task-filters-cloud.component.d.ts +0 -69
- package/lib/task/task-filters/components/task-assignment-filter/task-assignment-filter.component.d.ts +0 -53
- package/lib/task/task-filters/components/task-filter-dialog/task-filter-dialog-cloud.component.d.ts +0 -35
- package/lib/task/task-filters/components/task-filters/task-filters-cloud.component.d.ts +0 -106
- package/lib/task/task-filters/models/filter-cloud.model.d.ts +0 -168
- package/lib/task/task-filters/public-api.d.ts +0 -26
- package/lib/task/task-filters/services/service-task-filter-cloud.service.d.ts +0 -127
- package/lib/task/task-filters/services/task-filter-cloud.service.d.ts +0 -158
- package/lib/task/task-filters/task-filters-cloud.module.d.ts +0 -20
- package/lib/task/task-form/components/task-form-cloud/task-form-cloud.component.d.ts +0 -126
- package/lib/task/task-form/components/user-task-cloud/complete-task/complete-task.directive.d.ts +0 -39
- package/lib/task/task-form/components/user-task-cloud/user-task-cloud.component.d.ts +0 -138
- package/lib/task/task-form/components/user-task-cloud-buttons/claim-task/claim-task-cloud.directive.d.ts +0 -41
- package/lib/task/task-form/components/user-task-cloud-buttons/unclaim-task/unclaim-task-cloud.directive.d.ts +0 -39
- package/lib/task/task-form/components/user-task-cloud-buttons/user-task-cloud-buttons.component.d.ts +0 -49
- package/lib/task/task-form/public-api.d.ts +0 -20
- package/lib/task/task-form/task-form.module.d.ts +0 -14
- package/lib/task/task-header/components/task-header-cloud.component.d.ts +0 -86
- package/lib/task/task-header/public-api.d.ts +0 -18
- package/lib/task/task-header/task-header-cloud.module.d.ts +0 -8
- package/lib/task/task-list/components/base-task-list-cloud.component.d.ts +0 -131
- package/lib/task/task-list/components/service-task-list/service-task-list-cloud.component.d.ts +0 -16
- package/lib/task/task-list/components/task-list/datatable/task-list-datatable-adapter.d.ts +0 -23
- package/lib/task/task-list/components/task-list/task-list-cloud.component.d.ts +0 -135
- package/lib/task/task-list/models/service-task-cloud.model.d.ts +0 -126
- package/lib/task/task-list/models/task-cloud-view.model.d.ts +0 -19
- package/lib/task/task-list/public-api.d.ts +0 -22
- package/lib/task/task-list/services/service-task-list-cloud.service.d.ts +0 -51
- package/lib/task/task-list/services/task-list-cloud.service.d.ts +0 -36
- package/lib/task/task-list/task-list-cloud.module.d.ts +0 -12
- package/lib/types.d.ts +0 -17
- package/public-api.d.ts +0 -39
|
@@ -1,18 +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 { RadioButtonsThemeVariable, WidgetSchemaModel } from '@alfresco/adf-core';
|
|
18
|
-
export declare const radioButtonsSchema: WidgetSchemaModel<RadioButtonsThemeVariable>;
|
|
@@ -1,41 +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 { ErrorMessageModel, FormFieldOption, WidgetComponent } from '@alfresco/adf-core';
|
|
19
|
-
import * as i0 from "@angular/core";
|
|
20
|
-
export declare class RadioButtonsCloudWidgetComponent extends WidgetComponent implements OnInit {
|
|
21
|
-
private readonly formCloudService;
|
|
22
|
-
private readonly translateService;
|
|
23
|
-
private readonly formUtilsService;
|
|
24
|
-
typeId: string;
|
|
25
|
-
restApiError: ErrorMessageModel;
|
|
26
|
-
private readonly destroyRef;
|
|
27
|
-
ngOnInit(): void;
|
|
28
|
-
getValuesFromRestApi(): void;
|
|
29
|
-
onOptionClick(optionSelected: any): void;
|
|
30
|
-
handleError(error: any): void;
|
|
31
|
-
isChecked(option: FormFieldOption): boolean;
|
|
32
|
-
resetRestApiOptions(): void;
|
|
33
|
-
getRestUrlHostName(): string;
|
|
34
|
-
hasError(): ErrorMessageModel;
|
|
35
|
-
private isRestType;
|
|
36
|
-
private isReadOnlyForm;
|
|
37
|
-
private hasRestUrl;
|
|
38
|
-
private isValidRestConfig;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonsCloudWidgetComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonsCloudWidgetComponent, "radio-buttons-cloud-widget", never, {}, {}, never, never, true, never>;
|
|
41
|
-
}
|
|
@@ -1,55 +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, OnInit } from '@angular/core';
|
|
18
|
-
import { Node } from '@alfresco/js-api';
|
|
19
|
-
import { WidgetComponent, ThumbnailService, NotificationService } from '@alfresco/adf-core';
|
|
20
|
-
import { ProcessCloudContentService } from '../../../services/process-cloud-content.service';
|
|
21
|
-
import { VersionManagerUploadData } from '@alfresco/adf-content-services';
|
|
22
|
-
import * as i0 from "@angular/core";
|
|
23
|
-
export declare class UploadCloudWidgetComponent extends WidgetComponent implements OnInit {
|
|
24
|
-
protected thumbnailService: ThumbnailService;
|
|
25
|
-
protected processCloudContentService: ProcessCloudContentService;
|
|
26
|
-
protected notificationService: NotificationService;
|
|
27
|
-
hasFile: boolean;
|
|
28
|
-
displayText: string;
|
|
29
|
-
multipleOption: string;
|
|
30
|
-
mimeTypeIcon: string;
|
|
31
|
-
error: EventEmitter<any>;
|
|
32
|
-
fileInput: ElementRef;
|
|
33
|
-
ngOnInit(): void;
|
|
34
|
-
removeFile(file: any): void;
|
|
35
|
-
replaceOldFileVersionWithNew(versionManagerData: VersionManagerUploadData): void;
|
|
36
|
-
onFileChanged(event: any): void;
|
|
37
|
-
private isUploaded;
|
|
38
|
-
protected fixIncompatibilityFromPreviousAndNewForm(filesSaved: Node[]): void;
|
|
39
|
-
getIcon(mimeType: string): string;
|
|
40
|
-
private uploadRawContent;
|
|
41
|
-
getMultipleFileParam(): void;
|
|
42
|
-
get uploadedFiles(): any[];
|
|
43
|
-
private removeElementFromList;
|
|
44
|
-
private resetFormValues;
|
|
45
|
-
fileClicked(file: any): void;
|
|
46
|
-
isAlfrescoAndLocal(): boolean;
|
|
47
|
-
isPathVariableType(type: string): boolean;
|
|
48
|
-
setDestinationFolderPathFromMappedVariable(): void;
|
|
49
|
-
private prepareUploadWidgetDestinationFolderPathFromStringVariable;
|
|
50
|
-
private prepareUploadWidgetDestinationFolderPathFromFolderVariable;
|
|
51
|
-
private setUploadWidgetDestinationFolderPath;
|
|
52
|
-
private getDestinationFolderPathValue;
|
|
53
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UploadCloudWidgetComponent, never>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UploadCloudWidgetComponent, "upload-cloud-widget", never, {}, { "error": "error"; }, never, never, true, never>;
|
|
55
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { FormCloudComponent } from './components/form-cloud.component';
|
|
2
|
-
import { FormCustomOutcomesComponent } from './components/form-cloud-custom-outcomes.component';
|
|
3
|
-
import { GroupCloudWidgetComponent } from './components/widgets/group/group-cloud.widget';
|
|
4
|
-
import { PeopleCloudWidgetComponent } from './components/widgets/people/people-cloud.widget';
|
|
5
|
-
import { AttachFileCloudWidgetComponent } from './components/widgets/attach-file/attach-file-cloud-widget.component';
|
|
6
|
-
import { UploadCloudWidgetComponent } from './components/widgets/upload/upload-cloud.widget';
|
|
7
|
-
import { PropertiesViewerWidgetComponent } from './components/widgets/properties-viewer/properties-viewer.widget';
|
|
8
|
-
import { PropertiesViewerWrapperComponent } from './components/widgets/properties-viewer/properties-viewer-wrapper/properties-viewer-wrapper.component';
|
|
9
|
-
import { RadioButtonsCloudWidgetComponent } from './components/widgets/radio-buttons/radio-buttons-cloud.widget';
|
|
10
|
-
import { FilePropertiesTableCloudComponent } from './components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component';
|
|
11
|
-
import { FileViewerWidgetComponent } from './components/widgets/file-viewer/file-viewer.widget';
|
|
12
|
-
import { DisplayRichTextWidgetComponent } from './components/widgets/display-rich-text/display-rich-text.widget';
|
|
13
|
-
import { FormSpinnerComponent } from './components/spinner/form-spinner.component';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
import * as i1 from "./components/spinner/form-spinner.component";
|
|
16
|
-
import * as i2 from "./components/widgets/properties-viewer/properties-viewer-wrapper/properties-viewer-wrapper.component";
|
|
17
|
-
import * as i3 from "./components/widgets/properties-viewer/properties-viewer.widget";
|
|
18
|
-
import * as i4 from "./components/widgets/display-rich-text/display-rich-text.widget";
|
|
19
|
-
import * as i5 from "./components/widgets/file-viewer/file-viewer.widget";
|
|
20
|
-
import * as i6 from "./components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component";
|
|
21
|
-
import * as i7 from "./components/form-cloud-custom-outcomes.component";
|
|
22
|
-
import * as i8 from "./components/widgets/radio-buttons/radio-buttons-cloud.widget";
|
|
23
|
-
import * as i9 from "./components/widgets/attach-file/attach-file-cloud-widget.component";
|
|
24
|
-
import * as i10 from "./components/widgets/upload/upload-cloud.widget";
|
|
25
|
-
import * as i11 from "./components/widgets/people/people-cloud.widget";
|
|
26
|
-
import * as i12 from "./components/widgets/group/group-cloud.widget";
|
|
27
|
-
import * as i13 from "./components/form-cloud.component";
|
|
28
|
-
export declare const FORM_CLOUD_DIRECTIVES: readonly [typeof FormSpinnerComponent, typeof PropertiesViewerWrapperComponent, typeof PropertiesViewerWidgetComponent, typeof DisplayRichTextWidgetComponent, typeof FileViewerWidgetComponent, typeof FilePropertiesTableCloudComponent, typeof FormCustomOutcomesComponent, typeof RadioButtonsCloudWidgetComponent, typeof AttachFileCloudWidgetComponent, typeof UploadCloudWidgetComponent, typeof PeopleCloudWidgetComponent, typeof GroupCloudWidgetComponent, typeof FormCloudComponent];
|
|
29
|
-
/** @deprecated use ...FORM_CLOUD_DIRECTIVES instead */
|
|
30
|
-
export declare class FormCloudModule {
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormCloudModule, never>;
|
|
32
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormCloudModule, never, [typeof i1.FormSpinnerComponent, typeof i2.PropertiesViewerWrapperComponent, typeof i3.PropertiesViewerWidgetComponent, typeof i4.DisplayRichTextWidgetComponent, typeof i5.FileViewerWidgetComponent, typeof i6.FilePropertiesTableCloudComponent, typeof i7.FormCustomOutcomesComponent, typeof i8.RadioButtonsCloudWidgetComponent, typeof i9.AttachFileCloudWidgetComponent, typeof i10.UploadCloudWidgetComponent, typeof i11.PeopleCloudWidgetComponent, typeof i12.GroupCloudWidgetComponent, typeof i13.FormCloudComponent], [typeof i1.FormSpinnerComponent, typeof i2.PropertiesViewerWrapperComponent, typeof i3.PropertiesViewerWidgetComponent, typeof i4.DisplayRichTextWidgetComponent, typeof i5.FileViewerWidgetComponent, typeof i6.FilePropertiesTableCloudComponent, typeof i7.FormCustomOutcomesComponent, typeof i8.RadioButtonsCloudWidgetComponent, typeof i9.AttachFileCloudWidgetComponent, typeof i10.UploadCloudWidgetComponent, typeof i11.PeopleCloudWidgetComponent, typeof i12.GroupCloudWidgetComponent, typeof i13.FormCloudComponent]>;
|
|
33
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<FormCloudModule>;
|
|
34
|
-
}
|
|
@@ -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
|
-
export declare class FormCloudRepresentation {
|
|
18
|
-
id?: string;
|
|
19
|
-
name?: string;
|
|
20
|
-
description?: string;
|
|
21
|
-
version?: number;
|
|
22
|
-
tabs?: any[];
|
|
23
|
-
fields?: any[];
|
|
24
|
-
outcomes?: any[];
|
|
25
|
-
metadata?: any;
|
|
26
|
-
variables?: any[];
|
|
27
|
-
taskId?: string;
|
|
28
|
-
taskName?: string;
|
|
29
|
-
processDefinitionId?: string;
|
|
30
|
-
processInstanceId?: string;
|
|
31
|
-
selectedOutcome?: string;
|
|
32
|
-
constructor(obj?: any);
|
|
33
|
-
}
|
|
34
|
-
export interface DestinationFolderPathModel {
|
|
35
|
-
alias: string;
|
|
36
|
-
path: string;
|
|
37
|
-
}
|
|
38
|
-
export declare const FileSourceTypes: {
|
|
39
|
-
readonly ALL_FILE_SOURCES_SERVICE_ID: "all-file-sources";
|
|
40
|
-
readonly ALFRESCO_CONTENT_SOURCES_SERVICE_ID: "alfresco-content";
|
|
41
|
-
};
|
|
42
|
-
export type FileSourceTypes = (typeof FileSourceTypes)[keyof typeof FileSourceTypes];
|
|
43
|
-
export declare const DestinationFolderPathType: {
|
|
44
|
-
readonly STATIC_TYPE: "value";
|
|
45
|
-
readonly STRING_TYPE: "string";
|
|
46
|
-
readonly FOLDER_TYPE: "folder";
|
|
47
|
-
};
|
|
48
|
-
export type DestinationFolderPathType = (typeof DestinationFolderPathType)[keyof typeof DestinationFolderPathType];
|
|
@@ -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
|
-
export declare class TaskVariableCloud {
|
|
18
|
-
name: string;
|
|
19
|
-
value: any;
|
|
20
|
-
type?: string;
|
|
21
|
-
id?: string;
|
|
22
|
-
constructor(obj: any);
|
|
23
|
-
hasValue(obj: TaskVariableCloud): boolean;
|
|
24
|
-
}
|
package/lib/form/public-api.d.ts
DELETED
|
@@ -1,40 +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 './models/task-variable-cloud.model';
|
|
18
|
-
export * from './components/spinner/form-spinner.component';
|
|
19
|
-
export * from './components/form-cloud-custom-outcomes.component';
|
|
20
|
-
export * from './components/form-cloud.component';
|
|
21
|
-
export * from './components/cloud-form-rendering.service';
|
|
22
|
-
export * from './components/widgets/attach-file/attach-file-cloud-widget.component';
|
|
23
|
-
export * from './components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component';
|
|
24
|
-
export * from './components/widgets/upload/upload-cloud.widget';
|
|
25
|
-
export * from './components/widgets/date/date-cloud.widget';
|
|
26
|
-
export * from './components/widgets/dropdown/dropdown-cloud.widget';
|
|
27
|
-
export * from './components/widgets/group/group-cloud.widget';
|
|
28
|
-
export * from './components/widgets/people/people-cloud.widget';
|
|
29
|
-
export * from './components/widgets/properties-viewer/properties-viewer.widget';
|
|
30
|
-
export * from './components/widgets/properties-viewer/properties-viewer-wrapper/properties-viewer-wrapper.component';
|
|
31
|
-
export * from './components/widgets/file-viewer/file-viewer.widget';
|
|
32
|
-
export * from './components/widgets/display-rich-text/display-rich-text.widget';
|
|
33
|
-
export * from './components/widgets/radio-buttons/radio-buttons-cloud.widget';
|
|
34
|
-
export * from './components/widgets/radio-buttons/radio-buttons-cloud.schema';
|
|
35
|
-
export * from './services/content-cloud-node-selector.service';
|
|
36
|
-
export * from './services/form-cloud.service';
|
|
37
|
-
export * from './services/content-cloud-node-selector.service';
|
|
38
|
-
export * from './services/process-cloud-content.service';
|
|
39
|
-
export * from './services/display-mode.service';
|
|
40
|
-
export * from './form-cloud.module';
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Node, NodesApi } from '@alfresco/js-api';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { DestinationFolderPathModel } from '../models/form-cloud-representation.model';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ContentCloudNodeSelectorService {
|
|
6
|
-
private readonly apiService;
|
|
7
|
-
private readonly notificationService;
|
|
8
|
-
private readonly dialog;
|
|
9
|
-
readonly nodesApi: NodesApi;
|
|
10
|
-
sourceNodeNotFound: boolean;
|
|
11
|
-
openUploadFileDialog(currentFolderId?: string, selectionMode?: string, isAllFileSources?: boolean, restrictRootToCurrentFolderId?: boolean): Observable<Node[]>;
|
|
12
|
-
getNodeIdFromPath(destinationFolderPath: DestinationFolderPathModel): Promise<string>;
|
|
13
|
-
getNodeIdFromFolderVariableValue(variableValue: string, defaultAlias?: string): Promise<string>;
|
|
14
|
-
isExistingNode(nodeId: string): Promise<boolean>;
|
|
15
|
-
private getNodeId;
|
|
16
|
-
private openContentNodeDialog;
|
|
17
|
-
close(): void;
|
|
18
|
-
private handleError;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ContentCloudNodeSelectorService, never>;
|
|
20
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ContentCloudNodeSelectorService>;
|
|
21
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { FormCloudDisplayMode, FormCloudDisplayModeChange, FormCloudDisplayModeConfiguration } from '../../services/form-fields.interfaces';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DisplayModeService {
|
|
5
|
-
static readonly DEFAULT_DISPLAY_MODE_CONFIGURATIONS: FormCloudDisplayModeConfiguration[];
|
|
6
|
-
static readonly IMPLEMENTED_DISPLAY_MODE_CONFIGURATIONS: FormCloudDisplayModeConfiguration[];
|
|
7
|
-
static readonly DEFAULT_DISPLAY_MODE: FormCloudDisplayMode;
|
|
8
|
-
private static readonly displayMode;
|
|
9
|
-
static readonly displayMode$: Observable<FormCloudDisplayModeChange>;
|
|
10
|
-
static changeDisplayMode(change: FormCloudDisplayModeChange): void;
|
|
11
|
-
getDefaultDisplayModeConfigurations(): FormCloudDisplayModeConfiguration[];
|
|
12
|
-
getDisplayModeConfigurations(availableConfigurations?: FormCloudDisplayModeConfiguration[]): FormCloudDisplayModeConfiguration[];
|
|
13
|
-
getDisplayMode(displayMode?: string, availableConfigurations?: FormCloudDisplayModeConfiguration[]): string;
|
|
14
|
-
findConfiguration(displayMode?: string, availableConfigurations?: FormCloudDisplayModeConfiguration[]): FormCloudDisplayModeConfiguration;
|
|
15
|
-
onCompleteTask(id?: string, displayMode?: string, availableConfigurations?: FormCloudDisplayModeConfiguration[]): void;
|
|
16
|
-
onSaveTask(id?: string, displayMode?: string, availableConfigurations?: FormCloudDisplayModeConfiguration[]): void;
|
|
17
|
-
onDisplayModeOff(id?: string, displayMode?: string, availableConfigurations?: FormCloudDisplayModeConfiguration[]): void;
|
|
18
|
-
onDisplayModeOn(id?: string, displayMode?: string, availableConfigurations?: FormCloudDisplayModeConfiguration[]): void;
|
|
19
|
-
switchToDisplayMode(id?: string, newDisplayMode?: string, oldDisplayMode?: string, availableConfigurations?: FormCloudDisplayModeConfiguration[]): string;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DisplayModeService, never>;
|
|
21
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DisplayModeService>;
|
|
22
|
-
}
|
|
@@ -1,104 +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 { InjectionToken } from '@angular/core';
|
|
18
|
-
import { FormValues, FormModel, FormFieldOption, FormFieldValidator } from '@alfresco/adf-core';
|
|
19
|
-
import { Observable } from 'rxjs';
|
|
20
|
-
import { TaskDetailsCloudModel } from '../../task/models/task-details-cloud.model';
|
|
21
|
-
import { UploadApi } from '@alfresco/js-api';
|
|
22
|
-
import { TaskVariableCloud } from '../models/task-variable-cloud.model';
|
|
23
|
-
import { BaseCloudService } from '../../services/base-cloud.service';
|
|
24
|
-
import { FormContent } from '../../services/form-fields.interfaces';
|
|
25
|
-
import { FormCloudServiceInterface } from './form-cloud.service.interface';
|
|
26
|
-
import * as i0 from "@angular/core";
|
|
27
|
-
export declare const FORM_CLOUD_SERVICE_FIELD_VALIDATORS_TOKEN: InjectionToken<FormFieldValidator[]>;
|
|
28
|
-
export declare class FormCloudService extends BaseCloudService implements FormCloudServiceInterface {
|
|
29
|
-
private readonly fieldValidators;
|
|
30
|
-
private readonly formService;
|
|
31
|
-
readonly uploadApi: UploadApi;
|
|
32
|
-
/**
|
|
33
|
-
* Gets the form definition of a task.
|
|
34
|
-
*
|
|
35
|
-
* @param appName Name of the app
|
|
36
|
-
* @param taskId ID of the target task
|
|
37
|
-
* @param version Version of the form
|
|
38
|
-
* @returns Form definition
|
|
39
|
-
*/
|
|
40
|
-
getTaskForm(appName: string, taskId: string, version?: number): Observable<any>;
|
|
41
|
-
/**
|
|
42
|
-
* Saves a task form.
|
|
43
|
-
*
|
|
44
|
-
* @param appName Name of the app
|
|
45
|
-
* @param taskId ID of the target task
|
|
46
|
-
* @param processInstanceId ID of processInstance
|
|
47
|
-
* @param formId ID of the form to save
|
|
48
|
-
* @param values Form values object
|
|
49
|
-
* @returns Updated task details
|
|
50
|
-
*/
|
|
51
|
-
saveTaskForm(appName: string, taskId: string, processInstanceId: string, formId: string, values: FormValues): Observable<TaskDetailsCloudModel>;
|
|
52
|
-
createTemporaryRawRelatedContent(file: any, nodeId: string, contentHost: string): Observable<any>;
|
|
53
|
-
/**
|
|
54
|
-
* Completes a task form.
|
|
55
|
-
*
|
|
56
|
-
* @param appName Name of the app
|
|
57
|
-
* @param taskId ID of the target task
|
|
58
|
-
* @param processInstanceId ID of processInstance
|
|
59
|
-
* @param formId ID of the form to complete
|
|
60
|
-
* @param formValues Form values object
|
|
61
|
-
* @param outcome Form outcome
|
|
62
|
-
* @param version of the form
|
|
63
|
-
* @returns Updated task details
|
|
64
|
-
*/
|
|
65
|
-
completeTaskForm(appName: string, taskId: string, processInstanceId: string, formId: string, formValues: FormValues, outcome: string, version: number): Observable<TaskDetailsCloudModel>;
|
|
66
|
-
/**
|
|
67
|
-
* Gets details of a task
|
|
68
|
-
*
|
|
69
|
-
* @param appName Name of the app
|
|
70
|
-
* @param taskId ID of the target task
|
|
71
|
-
* @returns Details of the task
|
|
72
|
-
*/
|
|
73
|
-
getTask(appName: string, taskId: string): Observable<TaskDetailsCloudModel>;
|
|
74
|
-
/**
|
|
75
|
-
* Gets the variables of a task.
|
|
76
|
-
*
|
|
77
|
-
* @param appName Name of the app
|
|
78
|
-
* @param taskId ID of the target task
|
|
79
|
-
* @returns Task variables
|
|
80
|
-
*/
|
|
81
|
-
getTaskVariables(appName: string, taskId: string): Observable<TaskVariableCloud[]>;
|
|
82
|
-
/**
|
|
83
|
-
* Gets a form definition.
|
|
84
|
-
*
|
|
85
|
-
* @param appName Name of the app
|
|
86
|
-
* @param formKey key of the target task
|
|
87
|
-
* @param version Version of the form
|
|
88
|
-
* @returns Form definition
|
|
89
|
-
*/
|
|
90
|
-
getForm(appName: string, formKey: string, version?: number): Observable<FormContent>;
|
|
91
|
-
getRestWidgetData(formName: string, widgetId: string, body?: any): Observable<FormFieldOption[]>;
|
|
92
|
-
/**
|
|
93
|
-
* Parses JSON data to create a corresponding form.
|
|
94
|
-
*
|
|
95
|
-
* @param json JSON data to create the form
|
|
96
|
-
* @param data Values for the form's fields
|
|
97
|
-
* @param readOnly Toggles whether the form should be read-only
|
|
98
|
-
* @returns Form created from the JSON specification
|
|
99
|
-
*/
|
|
100
|
-
parseForm(json: any, data?: TaskVariableCloud[], readOnly?: boolean): FormModel;
|
|
101
|
-
getPreviewState(): boolean;
|
|
102
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormCloudService, never>;
|
|
103
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FormCloudService>;
|
|
104
|
-
}
|
|
@@ -1,34 +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 { UploadApi } from '@alfresco/js-api';
|
|
18
|
-
import { FormFieldOption, FormModel, FormValues } from '@alfresco/adf-core';
|
|
19
|
-
import { TaskDetailsCloudModel } from '../../task/models/task-details-cloud.model';
|
|
20
|
-
import { TaskVariableCloud } from '../models/task-variable-cloud.model';
|
|
21
|
-
import { FormContent } from '../../services/form-fields.interfaces';
|
|
22
|
-
import { Observable } from 'rxjs';
|
|
23
|
-
export interface FormCloudServiceInterface {
|
|
24
|
-
uploadApi: UploadApi;
|
|
25
|
-
getTaskForm(appName: string, taskId: string, version?: number): Observable<any>;
|
|
26
|
-
saveTaskForm(appName: string, taskId: string, processInstanceId: string, formId: string, values: FormValues): Observable<TaskDetailsCloudModel>;
|
|
27
|
-
createTemporaryRawRelatedContent(file: any, nodeId: string, contentHost: string): Observable<any>;
|
|
28
|
-
completeTaskForm(appName: string, taskId: string, processInstanceId: string, formId: string, formValues: FormValues, outcome: string, version: number): Observable<TaskDetailsCloudModel>;
|
|
29
|
-
getTask(appName: string, taskId: string): Observable<TaskDetailsCloudModel>;
|
|
30
|
-
getTaskVariables(appName: string, taskId: string): Observable<TaskVariableCloud[]>;
|
|
31
|
-
getForm(appName: string, formKey: string, version?: number): Observable<FormContent>;
|
|
32
|
-
parseForm(json: any, data?: TaskVariableCloud[], readOnly?: boolean): FormModel;
|
|
33
|
-
getRestWidgetData(formName: string, widgetId: string, body: Map<string, string>): Observable<FormFieldOption[]>;
|
|
34
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FormModel } from '@alfresco/adf-core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class FormUtilsService {
|
|
4
|
-
getRestUrlVariablesMap(formModel: FormModel, restUrl: string, inputBody: {
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
}): {
|
|
7
|
-
[key: string]: any;
|
|
8
|
-
};
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormUtilsService, never>;
|
|
10
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FormUtilsService>;
|
|
11
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { AuthenticationApi, Node, UploadApi } from '@alfresco/js-api';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ProcessCloudContentService {
|
|
5
|
-
private readonly apiService;
|
|
6
|
-
private readonly nodesApiService;
|
|
7
|
-
private readonly contentService;
|
|
8
|
-
private readonly downloadService;
|
|
9
|
-
uploadApi: UploadApi;
|
|
10
|
-
authenticationApi: AuthenticationApi;
|
|
11
|
-
createTemporaryRawRelatedContent(file: File, nodeId: string): Observable<Node>;
|
|
12
|
-
getRawContentNode(nodeId: string): Observable<Blob>;
|
|
13
|
-
downloadNodeContent(blob: Blob, fileName: string): void;
|
|
14
|
-
downloadFile(nodeId: string): Promise<void>;
|
|
15
|
-
getAuthTicket(): Promise<string>;
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessCloudContentService, never>;
|
|
17
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ProcessCloudContentService>;
|
|
18
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export interface OutputData {
|
|
3
|
-
version?: string;
|
|
4
|
-
time?: number;
|
|
5
|
-
blocks: any[];
|
|
6
|
-
}
|
|
7
|
-
export declare class RichTextParserService {
|
|
8
|
-
private static readonly CUSTOM_PARSER;
|
|
9
|
-
parse(richText: OutputData): string | Error;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RichTextParserService, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RichTextParserService>;
|
|
12
|
-
}
|
|
@@ -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 { DestroyRef } from '@angular/core';
|
|
18
|
-
import * as i0 from "@angular/core";
|
|
19
|
-
export declare class FormCloudSpinnerService {
|
|
20
|
-
private readonly formService;
|
|
21
|
-
private readonly overlay;
|
|
22
|
-
private overlayRef?;
|
|
23
|
-
initSpinnerHandling(destroyRef: DestroyRef): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormCloudSpinnerService, never>;
|
|
25
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FormCloudSpinnerService>;
|
|
26
|
-
}
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
18
|
-
import { UntypedFormControl } from '@angular/forms';
|
|
19
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
20
|
-
import { ComponentSelectionMode } from '../../types';
|
|
21
|
-
import { IdentityGroupModel } from '../models/identity-group.model';
|
|
22
|
-
import * as i0 from "@angular/core";
|
|
23
|
-
export declare class GroupCloudComponent implements OnInit, OnChanges {
|
|
24
|
-
private readonly identityGroupService;
|
|
25
|
-
/** Label for the user selection component. */
|
|
26
|
-
label: string;
|
|
27
|
-
/** Name of the application. If specified this shows the groups who have access to the app. */
|
|
28
|
-
appName: string;
|
|
29
|
-
/** Title of the field */
|
|
30
|
-
title: string;
|
|
31
|
-
/** Group selection mode (single/multiple). */
|
|
32
|
-
mode: ComponentSelectionMode;
|
|
33
|
-
/** Array of groups to be pre-selected. This pre-selects all groups in multi selection mode and only the first group of the array in single selection mode. */
|
|
34
|
-
preSelectGroups: IdentityGroupModel[];
|
|
35
|
-
/**
|
|
36
|
-
* This flag enables the validation on the preSelectGroups passed as input.
|
|
37
|
-
* In case the flag is true the components call the identity service to verify the validity of the information passed as input.
|
|
38
|
-
* Otherwise, no check will be done.
|
|
39
|
-
*/
|
|
40
|
-
validate: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Show the info in readonly mode
|
|
43
|
-
*/
|
|
44
|
-
readOnly: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Mark this field as required
|
|
47
|
-
*/
|
|
48
|
-
required: boolean;
|
|
49
|
-
/** FormControl to list of group */
|
|
50
|
-
groupChipsCtrl: UntypedFormControl;
|
|
51
|
-
/** FormControl to search the group */
|
|
52
|
-
searchGroupsControl: UntypedFormControl;
|
|
53
|
-
/** Role names of the groups to be listed. */
|
|
54
|
-
roles: string[];
|
|
55
|
-
/** Emitted when a group is selected. */
|
|
56
|
-
selectGroup: EventEmitter<IdentityGroupModel>;
|
|
57
|
-
/** Emitted when a group is removed. */
|
|
58
|
-
removeGroup: EventEmitter<IdentityGroupModel>;
|
|
59
|
-
/** Emitted when a group selection change. */
|
|
60
|
-
changedGroups: EventEmitter<IdentityGroupModel[]>;
|
|
61
|
-
/** Emitted when an warning occurs. */
|
|
62
|
-
warning: EventEmitter<any>;
|
|
63
|
-
private readonly groupInput;
|
|
64
|
-
private searchGroups;
|
|
65
|
-
selectedGroups: IdentityGroupModel[];
|
|
66
|
-
invalidGroups: IdentityGroupModel[];
|
|
67
|
-
searchGroups$: BehaviorSubject<IdentityGroupModel[]>;
|
|
68
|
-
subscriptAnimationState: string;
|
|
69
|
-
isFocused: boolean;
|
|
70
|
-
touched: boolean;
|
|
71
|
-
validateGroupsMessage: string;
|
|
72
|
-
searchedValue: string;
|
|
73
|
-
validationLoading: boolean;
|
|
74
|
-
searchLoading: boolean;
|
|
75
|
-
typingUniqueValueNotEmpty$: Observable<any>;
|
|
76
|
-
private readonly destroyRef;
|
|
77
|
-
ngOnInit(): void;
|
|
78
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
79
|
-
private initSearch;
|
|
80
|
-
private initializeStream;
|
|
81
|
-
private isGroupAlreadySelected;
|
|
82
|
-
private searchGroup;
|
|
83
|
-
private getPreselectedGroups;
|
|
84
|
-
private validatePreselectGroups;
|
|
85
|
-
private checkPreselectValidationErrors;
|
|
86
|
-
private generateInvalidGroupsMessage;
|
|
87
|
-
private loadPreSelectGroups;
|
|
88
|
-
onSelect(group: IdentityGroupModel): void;
|
|
89
|
-
onRemove(groupToRemove: IdentityGroupModel): void;
|
|
90
|
-
private isPreselectedGroupInvalid;
|
|
91
|
-
removeDuplicatedGroups(groups: IdentityGroupModel[]): IdentityGroupModel[];
|
|
92
|
-
private groupChipsCtrlValue;
|
|
93
|
-
private removeGroupFromSelected;
|
|
94
|
-
private removeGroupFromValidation;
|
|
95
|
-
private resetSearchGroups;
|
|
96
|
-
private isSingleSelectionReadonly;
|
|
97
|
-
private isSingleMode;
|
|
98
|
-
private isMultipleMode;
|
|
99
|
-
private hasPreSelectGroups;
|
|
100
|
-
private hasModeChanged;
|
|
101
|
-
private isValidationChanged;
|
|
102
|
-
private hasPreselectedGroupsChanged;
|
|
103
|
-
private hasPreselectedGroupsCleared;
|
|
104
|
-
private setTypingError;
|
|
105
|
-
hasPreselectError(): boolean;
|
|
106
|
-
isReadonly(): boolean;
|
|
107
|
-
updateSearchControlState(): void;
|
|
108
|
-
getDisplayName(group: IdentityGroupModel): string;
|
|
109
|
-
hasError(): boolean;
|
|
110
|
-
isValidationLoading(): boolean;
|
|
111
|
-
markAsTouched(): void;
|
|
112
|
-
isTouched(): boolean;
|
|
113
|
-
isSelected(): boolean;
|
|
114
|
-
isDirty(): boolean;
|
|
115
|
-
setFocus(isFocused: boolean): void;
|
|
116
|
-
isValidationEnabled(): boolean;
|
|
117
|
-
getValidationPattern(): string;
|
|
118
|
-
getValidationMaxLength(): string;
|
|
119
|
-
getValidationMinLength(): string;
|
|
120
|
-
getGroupNameInitials(group: IdentityGroupModel): string;
|
|
121
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GroupCloudComponent, never>;
|
|
122
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GroupCloudComponent, "adf-cloud-group", never, { "label": { "alias": "label"; "required": false; }; "appName": { "alias": "appName"; "required": false; }; "title": { "alias": "title"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "preSelectGroups": { "alias": "preSelectGroups"; "required": false; }; "validate": { "alias": "validate"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "required": { "alias": "required"; "required": false; }; "groupChipsCtrl": { "alias": "groupChipsCtrl"; "required": false; }; "searchGroupsControl": { "alias": "searchGroupsControl"; "required": false; }; "roles": { "alias": "roles"; "required": false; }; }, { "selectGroup": "selectGroup"; "removeGroup": "removeGroup"; "changedGroups": "changedGroups"; "warning": "warning"; }, never, never, true, never>;
|
|
123
|
-
}
|