@alfresco/adf-process-services-cloud 8.5.0-25850979174 → 8.5.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/LICENSE +177 -0
- package/bundles/assets/adf-process-services-cloud/i18n/en-AU.json +386 -0
- package/fesm2022/adf-process-services-cloud.mjs +654 -369
- package/fesm2022/adf-process-services-cloud.mjs.map +1 -1
- package/index.d.ts +3 -6257
- package/lib/app/components/app-details-cloud/app-details-cloud.component.scss +168 -0
- package/lib/app/models/application-instance.model.d.ts +67 -0
- package/lib/app/public-api.d.ts +18 -0
- package/lib/app/services/apps-process-cloud.service.d.ts +25 -0
- package/lib/common/date-range-filter/date-range-filter.component.d.ts +49 -0
- package/lib/common/date-range-filter/date-range-filter.service.d.ts +17 -0
- package/lib/common/index.d.ts +17 -0
- package/lib/common/interface/environment.interface.d.ts +20 -0
- package/lib/common/interface/index.d.ts +17 -0
- package/lib/common/interface/public-api.d.ts +17 -0
- package/lib/common/public-api.d.ts +18 -0
- package/lib/form/components/cloud-form-rendering.service.d.ts +7 -0
- package/lib/form/components/form-cloud-custom-outcomes.component.d.ts +5 -0
- package/lib/form/components/form-cloud.component.d.ts +155 -0
- package/lib/form/components/form-cloud.component.scss +40 -11
- package/lib/form/components/spinner/form-spinner.component.d.ts +6 -0
- package/lib/form/components/spinner/form-spinner.component.scss +1 -1
- package/lib/form/components/widgets/attach-file/attach-file-cloud-widget.component.d.ts +62 -0
- package/lib/form/components/widgets/attach-file/attach-file-cloud-widget.component.scss +3 -20
- package/lib/form/components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component.d.ts +49 -0
- package/lib/form/components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component.scss +1 -1
- package/lib/form/components/widgets/data-table/data-table-adapter.widget.d.ts +42 -0
- package/lib/form/components/widgets/data-table/data-table.widget.d.ts +43 -0
- package/lib/form/components/widgets/data-table/data-table.widget.scss +0 -1
- package/lib/form/components/widgets/data-table/helpers/data-table-path-parser.helper.d.ts +29 -0
- package/lib/form/components/widgets/date/date-cloud.widget.d.ts +47 -0
- package/lib/form/components/widgets/display-external-property/display-external-property.widget.d.ts +39 -0
- package/lib/form/components/widgets/display-external-property/display-external-property.widget.scss +0 -1
- package/lib/form/components/widgets/display-rich-text/display-rich-text.widget.d.ts +37 -0
- package/lib/form/components/widgets/display-rich-text/display-rich-text.widget.scss +0 -9
- package/lib/form/components/widgets/dropdown/dropdown-cloud.widget.d.ts +105 -0
- package/lib/form/components/widgets/dropdown/dropdown-cloud.widget.scss +0 -4
- package/lib/form/components/widgets/dropdown/validators.d.ts +19 -0
- package/lib/form/components/widgets/file-viewer/file-viewer.widget.d.ts +6 -0
- package/lib/form/components/widgets/group/group-cloud.widget.d.ts +37 -0
- package/lib/form/components/widgets/people/people-cloud.widget.d.ts +40 -0
- package/lib/form/components/widgets/properties-viewer/properties-viewer-wrapper/properties-viewer-wrapper.component.d.ts +53 -0
- package/lib/form/components/widgets/properties-viewer/properties-viewer.widget.d.ts +26 -0
- package/lib/form/components/widgets/properties-viewer/properties-viewer.widget.scss +1 -1
- package/lib/form/components/widgets/radio-buttons/radio-buttons-cloud.schema.d.ts +18 -0
- package/lib/form/components/widgets/radio-buttons/radio-buttons-cloud.widget.d.ts +41 -0
- package/lib/form/components/widgets/radio-buttons/radio-buttons-cloud.widget.scss +0 -9
- package/lib/form/components/widgets/upload/upload-cloud.widget.d.ts +55 -0
- package/lib/form/form-cloud.module.d.ts +34 -0
- package/lib/form/models/form-cloud-representation.model.d.ts +48 -0
- package/lib/form/models/task-variable-cloud.model.d.ts +24 -0
- package/lib/form/public-api.d.ts +40 -0
- package/lib/form/services/content-cloud-node-selector.service.d.ts +21 -0
- package/lib/form/services/display-mode.service.d.ts +22 -0
- package/lib/form/services/form-cloud.service.d.ts +104 -0
- package/lib/form/services/form-cloud.service.interface.d.ts +34 -0
- package/lib/form/services/form-utils.service.d.ts +11 -0
- package/lib/form/services/process-cloud-content.service.d.ts +18 -0
- package/lib/form/services/rich-text-parser.service.d.ts +12 -0
- package/lib/form/services/spinner/form-cloud-spinner.service.d.ts +26 -0
- package/lib/group/components/group-cloud.component.d.ts +123 -0
- package/lib/group/components/group-cloud.component.scss +3 -14
- package/lib/group/group-cloud.module.d.ts +8 -0
- package/lib/group/models/identity-group.model.d.ts +21 -0
- package/lib/group/public-api.d.ts +20 -0
- package/lib/group/services/identity-group.service.d.ts +28 -0
- package/lib/models/application-version.model.d.ts +30 -0
- package/lib/models/constant-values.type.d.ts +20 -0
- package/lib/models/data-column-custom-data.d.ts +22 -0
- package/lib/models/date-cloud-filter.model.d.ts +36 -0
- package/lib/models/date-format-cloud.model.d.ts +17 -0
- package/lib/models/engine-event-cloud.model.d.ts +21 -0
- package/lib/models/filter-cloud-model.d.ts +92 -0
- package/lib/models/process-definition-cloud.model.d.ts +32 -0
- package/lib/models/process-instance-variable.model.d.ts +38 -0
- package/lib/models/process-variable-filter.model.d.ts +24 -0
- package/lib/models/task-cloud.model.d.ts +57 -0
- package/lib/models/task-list-sorting.model.d.ts +31 -0
- package/lib/models/variable-definition.d.ts +24 -0
- package/lib/people/components/people-cloud.component.d.ts +167 -0
- package/lib/people/components/people-cloud.component.scss +3 -22
- package/lib/people/models/identity-user.model.d.ts +24 -0
- package/lib/people/people-cloud.module.d.ts +8 -0
- package/lib/people/public-api.d.ts +20 -0
- package/lib/people/services/identity-user.service.d.ts +45 -0
- package/lib/process/process-cloud.module.d.ts +16 -0
- package/lib/process/process-filters/components/edit-process-filter/edit-process-filter-cloud.component.d.ts +182 -0
- package/lib/process/process-filters/components/edit-process-filter/edit-process-filter-cloud.component.scss +0 -23
- package/lib/process/process-filters/components/process-filter-dialog/process-filter-dialog-cloud.component.d.ts +16 -0
- package/lib/process/process-filters/components/process-filters/process-filters-cloud.component.d.ts +146 -0
- package/lib/process/process-filters/components/process-filters/process-filters-cloud.component.scss +3 -3
- package/lib/process/process-filters/models/process-filter-cloud.model.d.ts +110 -0
- package/lib/process/process-filters/process-filters-cloud.module.d.ts +14 -0
- package/lib/process/process-filters/public-api.d.ts +22 -0
- package/lib/process/process-filters/services/process-filter-cloud.service.d.ts +163 -0
- package/lib/process/process-header/components/process-header-cloud.component.d.ts +48 -0
- package/lib/process/process-header/process-header-cloud.module.d.ts +8 -0
- package/lib/process/process-header/public-api.d.ts +18 -0
- package/lib/process/process-list/components/process-list-cloud.component.d.ts +228 -0
- package/lib/process/process-list/datatable/process-list-datatable-adapter.d.ts +23 -0
- package/lib/process/process-list/models/perocess-instance-cloud-view.model.d.ts +19 -0
- package/lib/process/process-list/models/process-cloud-preferences.d.ts +22 -0
- package/lib/process/process-list/models/process-cloud-preset.model.d.ts +35 -0
- package/lib/process/process-list/models/process-cloud-query-request.model.d.ts +80 -0
- package/lib/process/process-list/models/process-list-sorting.model.d.ts +31 -0
- package/lib/process/process-list/process-list-cloud.module.d.ts +7 -0
- package/lib/process/process-list/public-api.d.ts +24 -0
- package/lib/process/process-list/services/process-list-cloud.service.d.ts +56 -0
- package/lib/process/process-list/services/process-task-list-cloud.service.d.ts +30 -0
- package/lib/process/public-api.d.ts +22 -0
- package/lib/process/services/process-cloud.service.d.ts +41 -0
- package/lib/process/start-process/components/start-process-cloud.component.d.ts +146 -0
- package/lib/process/start-process/components/start-process-cloud.component.scss +0 -4
- package/lib/process/start-process/models/process-instance-cloud.model.d.ts +48 -0
- package/lib/process/start-process/models/process-payload-cloud.model.d.ts +35 -0
- package/lib/process/start-process/models/process-with-form-payload-cloud.model.d.ts +24 -0
- package/lib/process/start-process/public-api.d.ts +20 -0
- package/lib/process/start-process/services/start-process-cloud.service.d.ts +64 -0
- package/lib/process-services-cloud.module.d.ts +61 -0
- package/lib/providers.d.ts +36 -0
- package/lib/screen/components/screen-cloud/base-screen/base-screen-cloud.component.d.ts +33 -0
- package/lib/screen/components/screen-cloud/start-process-event-screen/start-process-screen-cloud.component.d.ts +16 -0
- package/lib/screen/components/screen-cloud/start-process-event-screen/start-process-screen.model.d.ts +29 -0
- package/lib/screen/components/screen-cloud/user-task-screen/screen-cloud.component.d.ts +48 -0
- package/lib/screen/components/screen-cloud/user-task-screen/screen-cloud.model.d.ts +38 -0
- package/lib/screen/public-api.d.ts +20 -0
- package/lib/screen/services/provide-screen.d.ts +37 -0
- package/lib/screen/services/screen-rendering.service.d.ts +51 -0
- package/lib/services/base-cloud.service.d.ts +37 -0
- package/lib/services/cloud-token.service.d.ts +24 -0
- package/lib/services/form-fields.interfaces.d.ts +246 -0
- package/lib/services/local-preference-cloud.service.d.ts +51 -0
- package/lib/services/notification-cloud.service.d.ts +7 -0
- package/lib/services/preference-cloud.interface.d.ts +24 -0
- package/lib/services/public-api.d.ts +26 -0
- package/lib/services/task-list-cloud.service.interface.d.ts +47 -0
- package/lib/services/task-type-resolver/task-type-resolver.service.d.ts +15 -0
- package/lib/services/user-preference-cloud.service.d.ts +49 -0
- package/lib/services/variable-mapper.sevice.d.ts +13 -0
- package/lib/services/web-socket.service.d.ts +28 -0
- package/lib/task/models/start-task-cloud-request.model.d.ts +28 -0
- package/lib/task/models/task-details-cloud.model.d.ts +62 -0
- package/lib/task/models/task.model.d.ts +22 -0
- package/lib/task/public-api.d.ts +25 -0
- package/lib/task/services/task-cloud.service.d.ts +145 -0
- package/lib/task/task-cloud.module.d.ts +18 -0
- package/lib/task/task-filters/components/base-task-filters-cloud.component.d.ts +44 -0
- package/lib/task/task-filters/components/edit-task-filters/base-edit-task-filter-cloud.component.d.ts +152 -0
- package/lib/task/task-filters/components/edit-task-filters/edit-service-task-filter/edit-service-task-filter-cloud.component.d.ts +21 -0
- package/lib/task/task-filters/components/edit-task-filters/edit-service-task-filter/edit-service-task-filter-cloud.component.scss +0 -24
- package/lib/task/task-filters/components/edit-task-filters/edit-task-filter/edit-task-filter-cloud.component.d.ts +24 -0
- package/lib/task/task-filters/components/edit-task-filters/edit-task-filter/edit-task-filter-cloud.component.scss +0 -24
- package/lib/task/task-filters/components/service-task-filters/service-task-filters-cloud.component.d.ts +69 -0
- package/lib/task/task-filters/components/service-task-filters/service-task-filters-cloud.component.scss +8 -8
- package/lib/task/task-filters/components/task-assignment-filter/task-assignment-filter.component.d.ts +53 -0
- package/lib/task/task-filters/components/task-assignment-filter/task-assignment-filter.component.scss +0 -16
- package/lib/task/task-filters/components/task-filter-dialog/task-filter-dialog-cloud.component.d.ts +35 -0
- package/lib/task/task-filters/components/task-filters/task-filters-cloud.component.d.ts +106 -0
- package/lib/task/task-filters/components/task-filters/task-filters-cloud.component.scss +3 -3
- package/lib/task/task-filters/models/filter-cloud.model.d.ts +168 -0
- package/lib/task/task-filters/public-api.d.ts +26 -0
- package/lib/task/task-filters/services/service-task-filter-cloud.service.d.ts +127 -0
- package/lib/task/task-filters/services/task-filter-cloud.service.d.ts +158 -0
- package/lib/task/task-filters/task-filters-cloud.module.d.ts +20 -0
- package/lib/task/task-form/components/task-form-cloud/task-form-cloud.component.d.ts +126 -0
- package/lib/task/task-form/components/user-task-cloud/complete-task/complete-task.directive.d.ts +39 -0
- package/lib/task/task-form/components/user-task-cloud/user-task-cloud.component.d.ts +138 -0
- package/lib/task/task-form/components/user-task-cloud-buttons/claim-task/claim-task-cloud.directive.d.ts +41 -0
- package/lib/task/task-form/components/user-task-cloud-buttons/unclaim-task/unclaim-task-cloud.directive.d.ts +39 -0
- package/lib/task/task-form/components/user-task-cloud-buttons/user-task-cloud-buttons.component.d.ts +49 -0
- package/lib/task/task-form/public-api.d.ts +20 -0
- package/lib/task/task-form/task-form.module.d.ts +14 -0
- package/lib/task/task-header/components/task-header-cloud.component.d.ts +86 -0
- package/lib/task/task-header/components/task-header-cloud.component.scss +2 -2
- package/lib/task/task-header/public-api.d.ts +18 -0
- package/lib/task/task-header/task-header-cloud.module.d.ts +8 -0
- package/lib/task/task-list/components/base-task-list-cloud.component.d.ts +131 -0
- package/lib/task/task-list/components/service-task-list/service-task-list-cloud.component.d.ts +16 -0
- package/lib/task/task-list/components/task-list/datatable/task-list-datatable-adapter.d.ts +23 -0
- package/lib/task/task-list/components/task-list/task-list-cloud.component.d.ts +135 -0
- package/lib/task/task-list/models/service-task-cloud.model.d.ts +126 -0
- package/lib/task/task-list/models/task-cloud-view.model.d.ts +19 -0
- package/lib/task/task-list/public-api.d.ts +22 -0
- package/lib/task/task-list/services/service-task-list-cloud.service.d.ts +51 -0
- package/lib/task/task-list/services/task-list-cloud.service.d.ts +36 -0
- package/lib/task/task-list/task-list-cloud.module.d.ts +12 -0
- package/lib/types.d.ts +17 -0
- package/package.json +4 -4
- package/public-api.d.ts +39 -0
- package/lib/process/process-header/components/process-header-cloud.component.scss +0 -3
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { FormFieldModel } from '@alfresco/adf-core';
|
|
18
|
+
import { ValidatorFn } from '@angular/forms';
|
|
19
|
+
export declare const defaultValueValidator: (filed: FormFieldModel) => ValidatorFn;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BaseViewerWidgetComponent } from '@alfresco/adf-core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class FileViewerWidgetComponent extends BaseViewerWidgetComponent {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FileViewerWidgetComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileViewerWidgetComponent, "file-viewer-widget", never, {}, {}, never, never, true, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { OnInit } from '@angular/core';
|
|
18
|
+
import { WidgetComponent } from '@alfresco/adf-core';
|
|
19
|
+
import { UntypedFormControl } from '@angular/forms';
|
|
20
|
+
import { ComponentSelectionMode } from '../../../../types';
|
|
21
|
+
import { IdentityGroupModel } from '../../../../group/models/identity-group.model';
|
|
22
|
+
import * as i0 from "@angular/core";
|
|
23
|
+
export declare class GroupCloudWidgetComponent extends WidgetComponent implements OnInit {
|
|
24
|
+
typeId: string;
|
|
25
|
+
roles: string[];
|
|
26
|
+
mode: ComponentSelectionMode;
|
|
27
|
+
title: string;
|
|
28
|
+
preSelectGroup: IdentityGroupModel[];
|
|
29
|
+
search: UntypedFormControl;
|
|
30
|
+
validate: boolean;
|
|
31
|
+
private readonly destroyRef;
|
|
32
|
+
ngOnInit(): void;
|
|
33
|
+
onChangedGroup(groups: IdentityGroupModel[]): void;
|
|
34
|
+
isMultipleMode(): boolean;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GroupCloudWidgetComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GroupCloudWidgetComponent, "group-cloud-widget", never, {}, {}, never, never, true, never>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { OnInit } from '@angular/core';
|
|
18
|
+
import { WidgetComponent } from '@alfresco/adf-core';
|
|
19
|
+
import { UntypedFormControl } from '@angular/forms';
|
|
20
|
+
import { ComponentSelectionMode } from '../../../../types';
|
|
21
|
+
import { IdentityUserModel } from '../../../../people/models/identity-user.model';
|
|
22
|
+
import * as i0 from "@angular/core";
|
|
23
|
+
export declare class PeopleCloudWidgetComponent extends WidgetComponent implements OnInit {
|
|
24
|
+
private readonly identityUserService;
|
|
25
|
+
typeId: string;
|
|
26
|
+
appName: string;
|
|
27
|
+
roles: string[];
|
|
28
|
+
mode: ComponentSelectionMode;
|
|
29
|
+
title: string;
|
|
30
|
+
preSelectUsers: IdentityUserModel[];
|
|
31
|
+
search: UntypedFormControl;
|
|
32
|
+
groupsRestriction: string[];
|
|
33
|
+
validate: boolean;
|
|
34
|
+
private readonly destroyRef;
|
|
35
|
+
ngOnInit(): void;
|
|
36
|
+
onChangedUser(users: IdentityUserModel[]): void;
|
|
37
|
+
isMultipleMode(): boolean;
|
|
38
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PeopleCloudWidgetComponent, never>;
|
|
39
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PeopleCloudWidgetComponent, "people-cloud-widget", never, {}, {}, never, never, true, never>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 { PresetConfig } from '@alfresco/adf-content-services';
|
|
19
|
+
import { Node } from '@alfresco/js-api';
|
|
20
|
+
import * as i0 from "@angular/core";
|
|
21
|
+
export declare class PropertiesViewerWrapperComponent implements OnInit, OnChanges {
|
|
22
|
+
private readonly nodesApiService;
|
|
23
|
+
node: Node;
|
|
24
|
+
loading: boolean;
|
|
25
|
+
nodeId: string;
|
|
26
|
+
/** Toggles whether the edit button should be shown */
|
|
27
|
+
editable: boolean;
|
|
28
|
+
/** Toggles whether to display empty values in the card view */
|
|
29
|
+
displayEmpty: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Toggles between expanded (ie, full information) and collapsed
|
|
32
|
+
* (ie, reduced information) in the display
|
|
33
|
+
*/
|
|
34
|
+
expanded: boolean;
|
|
35
|
+
/** The multi parameter of the underlying material expansion panel, set to true to allow multi accordion to be expanded at the same time */
|
|
36
|
+
multi: boolean;
|
|
37
|
+
/** Name or configuration of the metadata preset, which defines aspects and their properties */
|
|
38
|
+
preset: string | PresetConfig;
|
|
39
|
+
/** Toggles whether the metadata properties should be shown */
|
|
40
|
+
displayDefaultProperties: boolean;
|
|
41
|
+
/** (optional) shows the given aspect in the expanded card */
|
|
42
|
+
displayAspect: string;
|
|
43
|
+
/** Toggles the clipboard action. */
|
|
44
|
+
copyToClipboardAction: boolean;
|
|
45
|
+
/** Toggles chips for multivalued properties. */
|
|
46
|
+
useChipsForMultiValueProperty: boolean;
|
|
47
|
+
nodeContentLoaded: EventEmitter<Node>;
|
|
48
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
49
|
+
ngOnInit(): void;
|
|
50
|
+
private getNode;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PropertiesViewerWrapperComponent, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PropertiesViewerWrapperComponent, "adf-properties-viewer-wrapper", never, { "nodeId": { "alias": "nodeId"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "displayEmpty": { "alias": "displayEmpty"; "required": false; }; "expanded": { "alias": "expanded"; "required": false; }; "multi": { "alias": "multi"; "required": false; }; "preset": { "alias": "preset"; "required": false; }; "displayDefaultProperties": { "alias": "displayDefaultProperties"; "required": false; }; "displayAspect": { "alias": "displayAspect"; "required": false; }; "copyToClipboardAction": { "alias": "copyToClipboardAction"; "required": false; }; "useChipsForMultiValueProperty": { "alias": "useChipsForMultiValueProperty"; "required": false; }; }, { "nodeContentLoaded": "nodeContentLoaded"; }, never, never, true, never>;
|
|
53
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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 } from '@angular/core';
|
|
18
|
+
import { BaseViewerWidgetComponent } from '@alfresco/adf-core';
|
|
19
|
+
import { Node } from '@alfresco/js-api';
|
|
20
|
+
import * as i0 from "@angular/core";
|
|
21
|
+
export declare class PropertiesViewerWidgetComponent extends BaseViewerWidgetComponent {
|
|
22
|
+
nodeContentLoaded: EventEmitter<Node>;
|
|
23
|
+
onNodeContentLoaded(node: Node): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PropertiesViewerWidgetComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PropertiesViewerWidgetComponent, "adf-properties-viewer-widget", never, {}, { "nodeContentLoaded": "nodeContentLoaded"; }, never, never, true, never>;
|
|
26
|
+
}
|
|
@@ -6,7 +6,7 @@ adf-properties-viewer-widget {
|
|
|
6
6
|
display: block;
|
|
7
7
|
height: 100%;
|
|
8
8
|
width: 100%;
|
|
9
|
-
border: 1px solid var(--
|
|
9
|
+
border: 1px solid var(--mat-sys-outline-variant);
|
|
10
10
|
border-radius: 6px;
|
|
11
11
|
|
|
12
12
|
.adf-properties-viewer-wrapper-loading {
|
|
@@ -0,0 +1,18 @@
|
|
|
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>;
|
|
@@ -0,0 +1,41 @@
|
|
|
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,13 +1,4 @@
|
|
|
1
1
|
.adf {
|
|
2
|
-
&-radio-buttons-widget-cloud {
|
|
3
|
-
.adf-label {
|
|
4
|
-
font-size: var(--adf-radio-buttons-font-size, var(--adf-form-label-font-size, var(--theme-caption-font-size)));
|
|
5
|
-
font-weight: var(--adf-radio-buttons-font-weight, var(--adf-form-label-font-weight, var(--theme-font-weight)));
|
|
6
|
-
color: var(--adf-radio-buttons-color, var(--adf-form-label-color, var(--adf-theme-foreground-secondary-text-color)));
|
|
7
|
-
line-height: normal;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
2
|
&-radio-button-container {
|
|
12
3
|
display: flex;
|
|
13
4
|
flex-direction: column;
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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];
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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';
|
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
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
|
+
}
|