@alfresco/adf-process-services-cloud 8.1.0-16877609768 → 8.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/adf-process-services-cloud.mjs +269 -336
- package/fesm2022/adf-process-services-cloud.mjs.map +1 -1
- package/lib/app/services/apps-process-cloud.service.d.ts +2 -2
- package/lib/form/components/form-cloud.component.d.ts +12 -1
- package/lib/form/components/widgets/display-rich-text/display-rich-text.widget.scss +0 -1
- package/lib/form/form-cloud.module.d.ts +16 -18
- package/lib/form/services/form-cloud.service.d.ts +1 -1
- package/lib/process/start-process/components/start-process-cloud.component.d.ts +0 -1
- package/lib/process/start-process/components/start-process-cloud.component.scss +4 -0
- package/lib/process/start-process/services/start-process-cloud.service.d.ts +1 -0
- package/lib/process-services-cloud.module.d.ts +22 -23
- package/lib/screen/components/screen-cloud/screen-cloud.component.d.ts +1 -1
- package/lib/screen/public-api.d.ts +3 -1
- package/lib/screen/services/provide-screen.d.ts +37 -0
- package/lib/{services → screen/services}/screen-rendering.service.d.ts +29 -0
- package/lib/services/public-api.d.ts +0 -1
- package/lib/task/task-form/components/task-form-cloud/task-form-cloud.component.d.ts +21 -1
- package/lib/task/task-form/components/user-task-cloud/user-task-cloud.component.d.ts +21 -1
- package/lib/task/task-form/components/user-task-cloud-buttons/user-task-cloud-buttons.component.d.ts +6 -1
- package/package.json +8 -21
- package/public-api.d.ts +0 -1
- package/lib/rich-text-editor/editorjs-config.d.ts +0 -78
- package/lib/rich-text-editor/index.d.ts +0 -17
- package/lib/rich-text-editor/public-api.d.ts +0 -18
- package/lib/rich-text-editor/rich-text-editor.component.d.ts +0 -36
- package/lib/rich-text-editor/rich-text-editor.component.scss +0 -32
- package/lib/rich-text-editor/rich-text-editor.module.d.ts +0 -8
- /package/lib/screen/{models → components/screen-cloud}/screen-cloud.model.d.ts +0 -0
|
@@ -5,8 +5,8 @@ import { Environment } from '../../common/interface/environment.interface';
|
|
|
5
5
|
import { AdfHttpClient } from '@alfresco/adf-core/api';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class AppsProcessCloudService {
|
|
8
|
-
private adfHttpClient;
|
|
9
|
-
private appConfigService;
|
|
8
|
+
private readonly adfHttpClient;
|
|
9
|
+
private readonly appConfigService;
|
|
10
10
|
deployedApps: ApplicationInstanceModel[];
|
|
11
11
|
constructor(adfHttpClient: AdfHttpClient, appConfigService: AppConfigService);
|
|
12
12
|
/**
|
|
@@ -43,6 +43,16 @@ export declare class FormCloudComponent extends FormBaseComponent implements OnC
|
|
|
43
43
|
displayModeConfigurations: FormCloudDisplayModeConfiguration[];
|
|
44
44
|
/** Toggle rendering of the `Complete` button. */
|
|
45
45
|
showCompleteButton: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Custom text for the `Save` button.
|
|
48
|
+
* If not provided, the default text will be used.
|
|
49
|
+
*/
|
|
50
|
+
customSaveButtonText: string;
|
|
51
|
+
/**
|
|
52
|
+
* Custom text for the `Complete` button.
|
|
53
|
+
* If not provided, the default text will be used.
|
|
54
|
+
*/
|
|
55
|
+
customCompleteButtonText: string;
|
|
46
56
|
/** Emitted when the form is submitted with the `Save` or custom outcomes. */
|
|
47
57
|
formSaved: EventEmitter<FormModel>;
|
|
48
58
|
/** Emitted when the form is submitted with the `Complete` outcome. */
|
|
@@ -83,6 +93,7 @@ export declare class FormCloudComponent extends FormBaseComponent implements OnC
|
|
|
83
93
|
onRefreshClicked(): void;
|
|
84
94
|
loadForm(): void;
|
|
85
95
|
findProcessVariablesByTaskId(appName: string, taskId: string): Observable<TaskVariableCloud[]>;
|
|
96
|
+
getCustomOutcomeButtonText(outcome: FormOutcomeModel): string;
|
|
86
97
|
isAProcessTask(taskRepresentation: TaskDetailsCloudModel): boolean;
|
|
87
98
|
getFormByTaskId(appName: string, taskId: string, version?: number): Promise<FormModel>;
|
|
88
99
|
getFormById(appName: string, formId: string, appVersion?: number): void;
|
|
@@ -111,5 +122,5 @@ export declare class FormCloudComponent extends FormBaseComponent implements OnC
|
|
|
111
122
|
findDisplayConfiguration(displayMode?: string): FormCloudDisplayModeConfiguration;
|
|
112
123
|
loadInjectedFieldValidators(injectedFieldValidators: FormFieldValidator[]): void;
|
|
113
124
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormCloudComponent, [{ optional: true; }]>;
|
|
114
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormCloudComponent, "adf-cloud-form", never, { "appName": { "alias": "appName"; "required": false; }; "appVersion": { "alias": "appVersion"; "required": false; }; "formId": { "alias": "formId"; "required": false; }; "processInstanceId": { "alias": "processInstanceId"; "required": false; }; "taskId": { "alias": "taskId"; "required": false; }; "data": { "alias": "data"; "required": false; }; "displayModeConfigurations": { "alias": "displayModeConfigurations"; "required": false; }; "showCompleteButton": { "alias": "showCompleteButton"; "required": false; }; }, { "formSaved": "formSaved"; "formCompleted": "formCompleted"; "formLoaded": "formLoaded"; "formDataRefreshed": "formDataRefreshed"; "formContentClicked": "formContentClicked"; "displayModeOn": "displayModeOn"; "displayModeOff": "displayModeOff"; }, never, ["[empty-form]", "adf-cloud-form-custom-outcomes"], true, never>;
|
|
125
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormCloudComponent, "adf-cloud-form", never, { "appName": { "alias": "appName"; "required": false; }; "appVersion": { "alias": "appVersion"; "required": false; }; "formId": { "alias": "formId"; "required": false; }; "processInstanceId": { "alias": "processInstanceId"; "required": false; }; "taskId": { "alias": "taskId"; "required": false; }; "data": { "alias": "data"; "required": false; }; "displayModeConfigurations": { "alias": "displayModeConfigurations"; "required": false; }; "showCompleteButton": { "alias": "showCompleteButton"; "required": false; }; "customSaveButtonText": { "alias": "customSaveButtonText"; "required": false; }; "customCompleteButtonText": { "alias": "customCompleteButtonText"; "required": false; }; }, { "formSaved": "formSaved"; "formCompleted": "formCompleted"; "formLoaded": "formLoaded"; "formDataRefreshed": "formDataRefreshed"; "formContentClicked": "formContentClicked"; "displayModeOn": "displayModeOn"; "displayModeOff": "displayModeOff"; }, never, ["[empty-form]", "adf-cloud-form-custom-outcomes"], true, never>;
|
|
115
126
|
}
|
|
@@ -11,28 +11,26 @@ import { RadioButtonsCloudWidgetComponent } from './components/widgets/radio-but
|
|
|
11
11
|
import { FilePropertiesTableCloudComponent } from './components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component';
|
|
12
12
|
import { FileViewerWidgetComponent } from './components/widgets/file-viewer/file-viewer.widget';
|
|
13
13
|
import { DisplayRichTextWidgetComponent } from './components/widgets/display-rich-text/display-rich-text.widget';
|
|
14
|
-
import { RichTextEditorComponent } from '../rich-text-editor';
|
|
15
14
|
import { FormSpinnerComponent } from './components/spinner/form-spinner.component';
|
|
16
15
|
import * as i0 from "@angular/core";
|
|
17
|
-
import * as i1 from "
|
|
18
|
-
import * as i2 from "./components/
|
|
19
|
-
import * as i3 from "./components/widgets/properties-viewer/properties-viewer
|
|
20
|
-
import * as i4 from "./components/widgets/
|
|
21
|
-
import * as i5 from "./components/widgets/
|
|
22
|
-
import * as i6 from "./components/widgets/file-
|
|
23
|
-
import * as i7 from "./components/
|
|
24
|
-
import * as i8 from "./components/form-
|
|
25
|
-
import * as i9 from "./components/
|
|
26
|
-
import * as i10 from "./components/widgets/
|
|
27
|
-
import * as i11 from "./components/widgets/
|
|
28
|
-
import * as i12 from "./components/widgets/
|
|
29
|
-
import * as i13 from "./components/widgets/
|
|
30
|
-
import * as i14 from "./components/
|
|
31
|
-
|
|
32
|
-
export declare const FORM_CLOUD_DIRECTIVES: readonly [typeof RichTextEditorComponent, typeof FormSpinnerComponent, typeof PropertiesViewerWrapperComponent, typeof PropertiesViewerWidgetComponent, typeof DisplayRichTextWidgetComponent, typeof FileViewerWidgetComponent, typeof FilePropertiesTableCloudComponent, typeof FormCustomOutcomesComponent, typeof FormDefinitionSelectorCloudComponent, typeof RadioButtonsCloudWidgetComponent, typeof AttachFileCloudWidgetComponent, typeof UploadCloudWidgetComponent, typeof PeopleCloudWidgetComponent, typeof GroupCloudWidgetComponent, typeof FormCloudComponent];
|
|
16
|
+
import * as i1 from "./components/spinner/form-spinner.component";
|
|
17
|
+
import * as i2 from "./components/widgets/properties-viewer/properties-viewer-wrapper/properties-viewer-wrapper.component";
|
|
18
|
+
import * as i3 from "./components/widgets/properties-viewer/properties-viewer.widget";
|
|
19
|
+
import * as i4 from "./components/widgets/display-rich-text/display-rich-text.widget";
|
|
20
|
+
import * as i5 from "./components/widgets/file-viewer/file-viewer.widget";
|
|
21
|
+
import * as i6 from "./components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component";
|
|
22
|
+
import * as i7 from "./components/form-cloud-custom-outcomes.component";
|
|
23
|
+
import * as i8 from "./components/form-definition-selector-cloud.component";
|
|
24
|
+
import * as i9 from "./components/widgets/radio-buttons/radio-buttons-cloud.widget";
|
|
25
|
+
import * as i10 from "./components/widgets/attach-file/attach-file-cloud-widget.component";
|
|
26
|
+
import * as i11 from "./components/widgets/upload/upload-cloud.widget";
|
|
27
|
+
import * as i12 from "./components/widgets/people/people-cloud.widget";
|
|
28
|
+
import * as i13 from "./components/widgets/group/group-cloud.widget";
|
|
29
|
+
import * as i14 from "./components/form-cloud.component";
|
|
30
|
+
export declare const FORM_CLOUD_DIRECTIVES: readonly [typeof FormSpinnerComponent, typeof PropertiesViewerWrapperComponent, typeof PropertiesViewerWidgetComponent, typeof DisplayRichTextWidgetComponent, typeof FileViewerWidgetComponent, typeof FilePropertiesTableCloudComponent, typeof FormCustomOutcomesComponent, typeof FormDefinitionSelectorCloudComponent, typeof RadioButtonsCloudWidgetComponent, typeof AttachFileCloudWidgetComponent, typeof UploadCloudWidgetComponent, typeof PeopleCloudWidgetComponent, typeof GroupCloudWidgetComponent, typeof FormCloudComponent];
|
|
33
31
|
/** @deprecated use ...FORM_CLOUD_DIRECTIVES instead */
|
|
34
32
|
export declare class FormCloudModule {
|
|
35
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormCloudModule, never>;
|
|
36
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormCloudModule, never, [typeof i1.
|
|
34
|
+
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.FormDefinitionSelectorCloudComponent, typeof i9.RadioButtonsCloudWidgetComponent, typeof i10.AttachFileCloudWidgetComponent, typeof i11.UploadCloudWidgetComponent, typeof i12.PeopleCloudWidgetComponent, typeof i13.GroupCloudWidgetComponent, typeof i14.FormCloudComponent], [typeof i1.FormSpinnerComponent, typeof i2.PropertiesViewerWrapperComponent, typeof i3.PropertiesViewerWidgetComponent, typeof i4.DisplayRichTextWidgetComponent, typeof i5.FileViewerWidgetComponent, typeof i6.FilePropertiesTableCloudComponent, typeof i7.FormCustomOutcomesComponent, typeof i8.FormDefinitionSelectorCloudComponent, typeof i9.RadioButtonsCloudWidgetComponent, typeof i10.AttachFileCloudWidgetComponent, typeof i11.UploadCloudWidgetComponent, typeof i12.PeopleCloudWidgetComponent, typeof i13.GroupCloudWidgetComponent, typeof i14.FormCloudComponent]>;
|
|
37
35
|
static ɵinj: i0.ɵɵInjectorDeclaration<FormCloudModule>;
|
|
38
36
|
}
|
|
@@ -96,7 +96,7 @@ export declare class FormCloudService extends BaseCloudService implements FormCl
|
|
|
96
96
|
*
|
|
97
97
|
* @param json JSON data to create the form
|
|
98
98
|
* @param data Values for the form's fields
|
|
99
|
-
* @param readOnly Toggles whether
|
|
99
|
+
* @param readOnly Toggles whether the form should be read-only
|
|
100
100
|
* @returns Form created from the JSON specification
|
|
101
101
|
*/
|
|
102
102
|
parseForm(json: any, data?: TaskVariableCloud[], readOnly?: boolean): FormModel;
|
|
@@ -116,7 +116,6 @@ export declare class StartProcessCloudComponent implements OnChanges, OnInit {
|
|
|
116
116
|
onCustomOutcomeClicked(outcome: string): void;
|
|
117
117
|
startProcessWithoutConfirmation(): void;
|
|
118
118
|
startProcess(): void;
|
|
119
|
-
private unifyErrorResponse;
|
|
120
119
|
cancelStartProcess(): void;
|
|
121
120
|
private resetErrorMessage;
|
|
122
121
|
private resetProcessDefinitionList;
|
|
@@ -7,6 +7,7 @@ import { TaskVariableCloud } from '../../../form/models/task-variable-cloud.mode
|
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export interface QueryParams {
|
|
9
9
|
include: 'variables';
|
|
10
|
+
excludedCategory?: string;
|
|
10
11
|
}
|
|
11
12
|
export declare class StartProcessCloudService extends BaseCloudService {
|
|
12
13
|
/**
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
*/
|
|
17
17
|
import { ModuleWithProviders } from '@angular/core';
|
|
18
18
|
import { PreferenceCloudServiceInterface } from './services/public-api';
|
|
19
|
-
import { RichTextEditorComponent } from './rich-text-editor';
|
|
20
19
|
import { PeopleCloudComponent } from './people/components/people-cloud.component';
|
|
21
20
|
import * as i0 from "@angular/core";
|
|
22
21
|
import * as i1 from "./process/process-cloud.module";
|
|
@@ -24,42 +23,42 @@ import * as i2 from "./task/task-cloud.module";
|
|
|
24
23
|
import * as i3 from "./group/components/group-cloud.component";
|
|
25
24
|
import * as i4 from "./app/components/app-list-cloud/app-list-cloud.component";
|
|
26
25
|
import * as i5 from "./app/components/app-details-cloud/app-details-cloud.component";
|
|
27
|
-
import * as i6 from "./
|
|
28
|
-
import * as i7 from "./form/components/
|
|
29
|
-
import * as i8 from "./form/components/widgets/properties-viewer/properties-viewer
|
|
30
|
-
import * as i9 from "./form/components/widgets/
|
|
31
|
-
import * as i10 from "./form/components/widgets/
|
|
32
|
-
import * as i11 from "./form/components/widgets/file-
|
|
33
|
-
import * as i12 from "./form/components/
|
|
34
|
-
import * as i13 from "./form/components/form-
|
|
35
|
-
import * as i14 from "./form/components/
|
|
36
|
-
import * as i15 from "./form/components/widgets/
|
|
37
|
-
import * as i16 from "./form/components/widgets/
|
|
38
|
-
import * as i17 from "./form/components/widgets/
|
|
39
|
-
import * as i18 from "./form/components/widgets/
|
|
40
|
-
import * as i19 from "./form/components/
|
|
41
|
-
import * as i20 from "./form/components/
|
|
42
|
-
import * as i21 from "./task/task-form/components/
|
|
43
|
-
import * as i22 from "./task/task-form/components/task-
|
|
44
|
-
import * as i23 from "./
|
|
45
|
-
import
|
|
46
|
-
export declare const PROCESS_SERVICES_CLOUD_DIRECTIVES: readonly [typeof import("@alfresco/adf-process-services-cloud").AppListCloudComponent, typeof import("@alfresco/adf-process-services-cloud").AppDetailsCloudComponent, typeof RichTextEditorComponent, typeof import("@alfresco/adf-process-services-cloud").FormSpinnerComponent, typeof import("@alfresco/adf-process-services-cloud").PropertiesViewerWrapperComponent, typeof import("@alfresco/adf-process-services-cloud").PropertiesViewerWidgetComponent, typeof import("@alfresco/adf-process-services-cloud").DisplayRichTextWidgetComponent, typeof import("@alfresco/adf-process-services-cloud").FileViewerWidgetComponent, typeof import("@alfresco/adf-process-services-cloud").FilePropertiesTableCloudComponent, typeof import("@alfresco/adf-process-services-cloud").FormCustomOutcomesComponent, typeof import("@alfresco/adf-process-services-cloud").FormDefinitionSelectorCloudComponent, typeof import("@alfresco/adf-process-services-cloud").RadioButtonsCloudWidgetComponent, typeof import("@alfresco/adf-process-services-cloud").AttachFileCloudWidgetComponent, typeof import("@alfresco/adf-process-services-cloud").UploadCloudWidgetComponent, typeof import("@alfresco/adf-process-services-cloud").PeopleCloudWidgetComponent, typeof import("@alfresco/adf-process-services-cloud").GroupCloudWidgetComponent, typeof import("@alfresco/adf-process-services-cloud").FormCloudComponent, typeof import("@alfresco/adf-process-services-cloud").UserTaskCloudButtonsComponent, typeof import("@alfresco/adf-process-services-cloud").TaskFormCloudComponent, typeof import("@alfresco/adf-process-services-cloud").UserTaskCloudComponent, typeof PeopleCloudComponent, typeof RichTextEditorComponent];
|
|
26
|
+
import * as i6 from "./form/components/spinner/form-spinner.component";
|
|
27
|
+
import * as i7 from "./form/components/widgets/properties-viewer/properties-viewer-wrapper/properties-viewer-wrapper.component";
|
|
28
|
+
import * as i8 from "./form/components/widgets/properties-viewer/properties-viewer.widget";
|
|
29
|
+
import * as i9 from "./form/components/widgets/display-rich-text/display-rich-text.widget";
|
|
30
|
+
import * as i10 from "./form/components/widgets/file-viewer/file-viewer.widget";
|
|
31
|
+
import * as i11 from "./form/components/widgets/attach-file/file-properties-table/file-properties-table-cloud.component";
|
|
32
|
+
import * as i12 from "./form/components/form-cloud-custom-outcomes.component";
|
|
33
|
+
import * as i13 from "./form/components/form-definition-selector-cloud.component";
|
|
34
|
+
import * as i14 from "./form/components/widgets/radio-buttons/radio-buttons-cloud.widget";
|
|
35
|
+
import * as i15 from "./form/components/widgets/attach-file/attach-file-cloud-widget.component";
|
|
36
|
+
import * as i16 from "./form/components/widgets/upload/upload-cloud.widget";
|
|
37
|
+
import * as i17 from "./form/components/widgets/people/people-cloud.widget";
|
|
38
|
+
import * as i18 from "./form/components/widgets/group/group-cloud.widget";
|
|
39
|
+
import * as i19 from "./form/components/form-cloud.component";
|
|
40
|
+
import * as i20 from "./task/task-form/components/user-task-cloud-buttons/user-task-cloud-buttons.component";
|
|
41
|
+
import * as i21 from "./task/task-form/components/task-form-cloud/task-form-cloud.component";
|
|
42
|
+
import * as i22 from "./task/task-form/components/user-task-cloud/user-task-cloud.component";
|
|
43
|
+
import * as i23 from "./people/components/people-cloud.component";
|
|
44
|
+
export declare const PROCESS_SERVICES_CLOUD_DIRECTIVES: readonly [typeof import("@alfresco/adf-process-services-cloud").AppListCloudComponent, typeof import("@alfresco/adf-process-services-cloud").AppDetailsCloudComponent, typeof import("@alfresco/adf-process-services-cloud").FormSpinnerComponent, typeof import("@alfresco/adf-process-services-cloud").PropertiesViewerWrapperComponent, typeof import("@alfresco/adf-process-services-cloud").PropertiesViewerWidgetComponent, typeof import("@alfresco/adf-process-services-cloud").DisplayRichTextWidgetComponent, typeof import("@alfresco/adf-process-services-cloud").FileViewerWidgetComponent, typeof import("@alfresco/adf-process-services-cloud").FilePropertiesTableCloudComponent, typeof import("@alfresco/adf-process-services-cloud").FormCustomOutcomesComponent, typeof import("@alfresco/adf-process-services-cloud").FormDefinitionSelectorCloudComponent, typeof import("@alfresco/adf-process-services-cloud").RadioButtonsCloudWidgetComponent, typeof import("@alfresco/adf-process-services-cloud").AttachFileCloudWidgetComponent, typeof import("@alfresco/adf-process-services-cloud").UploadCloudWidgetComponent, typeof import("@alfresco/adf-process-services-cloud").PeopleCloudWidgetComponent, typeof import("@alfresco/adf-process-services-cloud").GroupCloudWidgetComponent, typeof import("@alfresco/adf-process-services-cloud").FormCloudComponent, typeof import("@alfresco/adf-process-services-cloud").UserTaskCloudButtonsComponent, typeof import("@alfresco/adf-process-services-cloud").TaskFormCloudComponent, typeof import("@alfresco/adf-process-services-cloud").UserTaskCloudComponent, typeof PeopleCloudComponent];
|
|
47
45
|
/**
|
|
48
46
|
* @deprecated this module is deprecated and will be removed in the future versions
|
|
49
47
|
*
|
|
50
48
|
* Instead, import the standalone components directly, or use the following provider API to replicate the behaviour:
|
|
51
|
-
*
|
|
49
|
+
* ```
|
|
52
50
|
* providers: [
|
|
53
51
|
* provideTranslations('adf-process-services-cloud', 'assets/adf-process-services-cloud')
|
|
54
52
|
* provideCloudPreferences()
|
|
55
53
|
* provideCloudFormRenderer(),
|
|
56
54
|
* { provide: TASK_LIST_CLOUD_TOKEN, useClass: TaskListCloudService }
|
|
57
55
|
* ]
|
|
56
|
+
* ```
|
|
58
57
|
*/
|
|
59
58
|
export declare class ProcessServicesCloudModule {
|
|
60
59
|
static forRoot(filterPreferenceServiceInstance?: PreferenceCloudServiceInterface, listPreferenceServiceInstance?: PreferenceCloudServiceInterface): ModuleWithProviders<ProcessServicesCloudModule>;
|
|
61
60
|
static forChild(): ModuleWithProviders<ProcessServicesCloudModule>;
|
|
62
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProcessServicesCloudModule, never>;
|
|
63
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProcessServicesCloudModule, never, [typeof i1.ProcessCloudModule, typeof i2.TaskCloudModule, typeof i3.GroupCloudComponent, typeof i4.AppListCloudComponent, typeof i5.AppDetailsCloudComponent, typeof i6.
|
|
62
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProcessServicesCloudModule, never, [typeof i1.ProcessCloudModule, typeof i2.TaskCloudModule, typeof i3.GroupCloudComponent, typeof i4.AppListCloudComponent, typeof i5.AppDetailsCloudComponent, typeof i6.FormSpinnerComponent, typeof i7.PropertiesViewerWrapperComponent, typeof i8.PropertiesViewerWidgetComponent, typeof i9.DisplayRichTextWidgetComponent, typeof i10.FileViewerWidgetComponent, typeof i11.FilePropertiesTableCloudComponent, typeof i12.FormCustomOutcomesComponent, typeof i13.FormDefinitionSelectorCloudComponent, typeof i14.RadioButtonsCloudWidgetComponent, typeof i15.AttachFileCloudWidgetComponent, typeof i16.UploadCloudWidgetComponent, typeof i17.PeopleCloudWidgetComponent, typeof i18.GroupCloudWidgetComponent, typeof i19.FormCloudComponent, typeof i20.UserTaskCloudButtonsComponent, typeof i21.TaskFormCloudComponent, typeof i22.UserTaskCloudComponent, typeof i23.PeopleCloudComponent], [typeof i1.ProcessCloudModule, typeof i2.TaskCloudModule, typeof i3.GroupCloudComponent, typeof i4.AppListCloudComponent, typeof i5.AppDetailsCloudComponent, typeof i6.FormSpinnerComponent, typeof i7.PropertiesViewerWrapperComponent, typeof i8.PropertiesViewerWidgetComponent, typeof i9.DisplayRichTextWidgetComponent, typeof i10.FileViewerWidgetComponent, typeof i11.FilePropertiesTableCloudComponent, typeof i12.FormCustomOutcomesComponent, typeof i13.FormDefinitionSelectorCloudComponent, typeof i14.RadioButtonsCloudWidgetComponent, typeof i15.AttachFileCloudWidgetComponent, typeof i16.UploadCloudWidgetComponent, typeof i17.PeopleCloudWidgetComponent, typeof i18.GroupCloudWidgetComponent, typeof i19.FormCloudComponent, typeof i20.UserTaskCloudButtonsComponent, typeof i21.TaskFormCloudComponent, typeof i22.UserTaskCloudComponent, typeof i23.PeopleCloudComponent]>;
|
|
64
63
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProcessServicesCloudModule>;
|
|
65
64
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentRef, EventEmitter, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { UserTaskCustomUi } from '
|
|
2
|
+
import { UserTaskCustomUi } from './screen-cloud.model';
|
|
3
3
|
import { MatCheckboxChange } from '@angular/material/checkbox';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class TaskScreenCloudComponent implements OnInit {
|
|
@@ -14,4 +14,6 @@
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
export * from './
|
|
17
|
+
export * from './components/screen-cloud/screen-cloud.model';
|
|
18
|
+
export * from './services/screen-rendering.service';
|
|
19
|
+
export * from './services/provide-screen';
|
|
@@ -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 { InjectionToken, Provider, Type } from '@angular/core';
|
|
18
|
+
export interface CustomScreen {
|
|
19
|
+
key: string;
|
|
20
|
+
component: Type<any>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Injection token for custom screens.
|
|
24
|
+
* This token can be used to inject custom screen components into the application.
|
|
25
|
+
* It allows for multiple screen components to be registered and injected.
|
|
26
|
+
*/
|
|
27
|
+
export declare const APP_CUSTOM_SCREEN_TOKEN: InjectionToken<CustomScreen>;
|
|
28
|
+
/**
|
|
29
|
+
* Provides a custom screen component to be used in the application.
|
|
30
|
+
* This function allows you to register a custom screen component that can be injected
|
|
31
|
+
* into the application using the `APP_CUSTOM_SCREEN_TOKEN`.
|
|
32
|
+
*
|
|
33
|
+
* @param key - A unique key to identify the screen component.
|
|
34
|
+
* @param component - The screen component to be registered.
|
|
35
|
+
* @returns A provider that can be used in the Angular dependency injection system.
|
|
36
|
+
*/
|
|
37
|
+
export declare function provideScreen(key: string, component: Type<any>): Provider;
|
|
@@ -16,7 +16,36 @@
|
|
|
16
16
|
*/
|
|
17
17
|
import { DynamicComponentMapper } from '@alfresco/adf-core';
|
|
18
18
|
import * as i0 from "@angular/core";
|
|
19
|
+
/**
|
|
20
|
+
* Service for managing and rendering custom screen components.
|
|
21
|
+
*
|
|
22
|
+
* Custom screens can be registered using the {@link provideScreen} helper function
|
|
23
|
+
* and the {@link APP_CUSTOM_SCREEN_TOKEN} injection token.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```
|
|
27
|
+
* // Register a custom screen in your Angular module providers:
|
|
28
|
+
* import { provideScreen, ScreenRenderingService } from '@alfresco/adf-process-services-cloud';
|
|
29
|
+
*
|
|
30
|
+
* @Component({
|
|
31
|
+
* template: '<div>My Custom Screen</div>'
|
|
32
|
+
* })
|
|
33
|
+
* class MyCustomScreenComponent {}
|
|
34
|
+
*
|
|
35
|
+
* @NgModule({
|
|
36
|
+
* providers: [
|
|
37
|
+
* provideScreen('my-custom-screen', MyCustomScreenComponent)
|
|
38
|
+
* ]
|
|
39
|
+
* })
|
|
40
|
+
* export class MyModule {}
|
|
41
|
+
*
|
|
42
|
+
* // The custom screen can now be resolved and rendered by ScreenRenderingService.
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
19
45
|
export declare class ScreenRenderingService extends DynamicComponentMapper {
|
|
46
|
+
private customScreens;
|
|
47
|
+
constructor();
|
|
48
|
+
private registerCustomScreens;
|
|
20
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScreenRenderingService, never>;
|
|
21
50
|
static ɵprov: i0.ɵɵInjectableDeclaration<ScreenRenderingService>;
|
|
22
51
|
}
|
|
@@ -20,7 +20,6 @@ export * from './form-fields.interfaces';
|
|
|
20
20
|
export * from './local-preference-cloud.service';
|
|
21
21
|
export * from './notification-cloud.service';
|
|
22
22
|
export * from './preference-cloud.interface';
|
|
23
|
-
export * from './screen-rendering.service';
|
|
24
23
|
export * from './task-list-cloud.service.interface';
|
|
25
24
|
export * from './user-preference-cloud.service';
|
|
26
25
|
export * from './variable-mapper.sevice';
|
|
@@ -42,6 +42,23 @@ export declare class TaskFormCloudComponent {
|
|
|
42
42
|
showCancelButton: boolean;
|
|
43
43
|
/** Toggle rendering of the `Complete` button. */
|
|
44
44
|
showCompleteButton: boolean;
|
|
45
|
+
/** Toggle rendering of the `Save` button. */
|
|
46
|
+
showSaveButton: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Custom text for the `Cancel` button.
|
|
49
|
+
* If not provided, the default text will be used.
|
|
50
|
+
*/
|
|
51
|
+
customCancelButtonText: string;
|
|
52
|
+
/**
|
|
53
|
+
* Custom text for the `Complete` button.
|
|
54
|
+
* If not provided, the default text will be used.
|
|
55
|
+
*/
|
|
56
|
+
customCompleteButtonText: string;
|
|
57
|
+
/**
|
|
58
|
+
* Custom text for the `Save` button.
|
|
59
|
+
* If not provided, the default text will be used.
|
|
60
|
+
*/
|
|
61
|
+
customSaveButtonText: string;
|
|
45
62
|
/** Toggle readonly state of the task. */
|
|
46
63
|
readOnly: boolean;
|
|
47
64
|
/**
|
|
@@ -50,6 +67,8 @@ export declare class TaskFormCloudComponent {
|
|
|
50
67
|
displayModeConfigurations: FormCloudDisplayModeConfiguration[];
|
|
51
68
|
/** Task details. */
|
|
52
69
|
taskDetails: TaskDetailsCloudModel;
|
|
70
|
+
/** Emitted when the form is loaded or reloaded. */
|
|
71
|
+
formLoaded: EventEmitter<FormModel>;
|
|
53
72
|
/** Emitted when the form is saved. */
|
|
54
73
|
formSaved: EventEmitter<FormModel>;
|
|
55
74
|
/** Emitted when the form is submitted with the `Complete` outcome. */
|
|
@@ -98,6 +117,7 @@ export declare class TaskFormCloudComponent {
|
|
|
98
117
|
switchToDisplayMode(newDisplayMode?: string): void;
|
|
99
118
|
onDisplayModeOn(displayModeConfiguration: FormCloudDisplayModeConfiguration): void;
|
|
100
119
|
onDisplayModeOff(displayModeConfiguration: FormCloudDisplayModeConfiguration): void;
|
|
120
|
+
onFormLoaded(form: FormModel): void;
|
|
101
121
|
static ɵfac: i0.ɵɵFactoryDeclaration<TaskFormCloudComponent, never>;
|
|
102
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TaskFormCloudComponent, "adf-cloud-task-form", never, { "appName": { "alias": "appName"; "required": false; }; "candidateUsers": { "alias": "candidateUsers"; "required": false; }; "candidateGroups": { "alias": "candidateGroups"; "required": false; }; "taskId": { "alias": "taskId"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showRefreshButton": { "alias": "showRefreshButton"; "required": false; }; "showValidationIcon": { "alias": "showValidationIcon"; "required": false; }; "showCancelButton": { "alias": "showCancelButton"; "required": false; }; "showCompleteButton": { "alias": "showCompleteButton"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "displayModeConfigurations": { "alias": "displayModeConfigurations"; "required": false; }; "taskDetails": { "alias": "taskDetails"; "required": false; }; }, { "formSaved": "formSaved"; "formCompleted": "formCompleted"; "taskCompleted": "taskCompleted"; "taskClaimed": "taskClaimed"; "taskUnclaimed": "taskUnclaimed"; "cancelClick": "cancelClick"; "error": "error"; "formContentClicked": "formContentClicked"; "executeOutcome": "executeOutcome"; "displayModeOn": "displayModeOn"; "displayModeOff": "displayModeOff"; }, never, never, true, never>;
|
|
122
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TaskFormCloudComponent, "adf-cloud-task-form", never, { "appName": { "alias": "appName"; "required": false; }; "candidateUsers": { "alias": "candidateUsers"; "required": false; }; "candidateGroups": { "alias": "candidateGroups"; "required": false; }; "taskId": { "alias": "taskId"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showRefreshButton": { "alias": "showRefreshButton"; "required": false; }; "showValidationIcon": { "alias": "showValidationIcon"; "required": false; }; "showCancelButton": { "alias": "showCancelButton"; "required": false; }; "showCompleteButton": { "alias": "showCompleteButton"; "required": false; }; "showSaveButton": { "alias": "showSaveButton"; "required": false; }; "customCancelButtonText": { "alias": "customCancelButtonText"; "required": false; }; "customCompleteButtonText": { "alias": "customCompleteButtonText"; "required": false; }; "customSaveButtonText": { "alias": "customSaveButtonText"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "displayModeConfigurations": { "alias": "displayModeConfigurations"; "required": false; }; "taskDetails": { "alias": "taskDetails"; "required": false; }; }, { "formLoaded": "formLoaded"; "formSaved": "formSaved"; "formCompleted": "formCompleted"; "taskCompleted": "taskCompleted"; "taskClaimed": "taskClaimed"; "taskUnclaimed": "taskUnclaimed"; "cancelClick": "cancelClick"; "error": "error"; "formContentClicked": "formContentClicked"; "executeOutcome": "executeOutcome"; "displayModeOn": "displayModeOn"; "displayModeOff": "displayModeOff"; }, never, never, true, never>;
|
|
103
123
|
}
|
|
@@ -41,6 +41,23 @@ export declare class UserTaskCloudComponent implements OnInit, OnChanges {
|
|
|
41
41
|
showCancelButton: boolean;
|
|
42
42
|
/** Toggle rendering of the `Complete` button. */
|
|
43
43
|
showCompleteButton: boolean;
|
|
44
|
+
/** Toggle rendering of the `Save` button. */
|
|
45
|
+
showSaveButton: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Custom text for the `Cancel` button.
|
|
48
|
+
* If not provided, the default text will be used.
|
|
49
|
+
*/
|
|
50
|
+
customCancelButtonText: string;
|
|
51
|
+
/**
|
|
52
|
+
* Custom text for the `Complete` button.
|
|
53
|
+
* If not provided, the default text will be used.
|
|
54
|
+
*/
|
|
55
|
+
customCompleteButtonText: string;
|
|
56
|
+
/**
|
|
57
|
+
* Custom text for the `Save` button.
|
|
58
|
+
* If not provided, the default text will be used.
|
|
59
|
+
*/
|
|
60
|
+
customSaveButtonText: string;
|
|
44
61
|
/** Toggle rendering of the `Open next task` checkbox (for screens only). */
|
|
45
62
|
showNextTaskCheckbox: boolean;
|
|
46
63
|
/** Whether the `Open next task` checkbox is checked by default or not. */
|
|
@@ -64,6 +81,8 @@ export declare class UserTaskCloudComponent implements OnInit, OnChanges {
|
|
|
64
81
|
executeOutcome: EventEmitter<FormOutcomeEvent>;
|
|
65
82
|
/** Emitted when form content is clicked. */
|
|
66
83
|
formContentClicked: EventEmitter<ContentLinkModel>;
|
|
84
|
+
/** Emitted when the form is loaded or reloaded. */
|
|
85
|
+
formLoaded: EventEmitter<FormModel>;
|
|
67
86
|
/** Emitted when the form is saved. */
|
|
68
87
|
formSaved: EventEmitter<FormModel>;
|
|
69
88
|
/**
|
|
@@ -104,6 +123,7 @@ export declare class UserTaskCloudComponent implements OnInit, OnChanges {
|
|
|
104
123
|
onCompleteTask(openNextTask?: boolean): void;
|
|
105
124
|
onCompleteTaskForm(): void;
|
|
106
125
|
onError(data: any): void;
|
|
126
|
+
onFormLoaded(form: FormModel): void;
|
|
107
127
|
onExecuteOutcome(outcome: FormOutcomeEvent): void;
|
|
108
128
|
onFormContentClicked(content: ContentLinkModel): void;
|
|
109
129
|
onFormSaved(): void;
|
|
@@ -113,6 +133,6 @@ export declare class UserTaskCloudComponent implements OnInit, OnChanges {
|
|
|
113
133
|
private loadTask;
|
|
114
134
|
switchToDisplayMode(newDisplayMode?: string): void;
|
|
115
135
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserTaskCloudComponent, never>;
|
|
116
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserTaskCloudComponent, "adf-cloud-user-task", never, { "appName": { "alias": "appName"; "required": false; }; "displayModeConfigurations": { "alias": "displayModeConfigurations"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "showCancelButton": { "alias": "showCancelButton"; "required": false; }; "showCompleteButton": { "alias": "showCompleteButton"; "required": false; }; "showNextTaskCheckbox": { "alias": "showNextTaskCheckbox"; "required": false; }; "isNextTaskCheckboxChecked": { "alias": "isNextTaskCheckboxChecked"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showValidationIcon": { "alias": "showValidationIcon"; "required": false; }; "taskId": { "alias": "taskId"; "required": false; }; }, { "cancelClick": "cancelClick"; "error": "error"; "nextTaskCheckboxCheckedChanged": "nextTaskCheckboxCheckedChanged"; "executeOutcome": "executeOutcome"; "formContentClicked": "formContentClicked"; "formSaved": "formSaved"; "onTaskLoaded": "onTaskLoaded"; "taskClaimed": "taskClaimed"; "taskUnclaimed": "taskUnclaimed"; "taskCompleted": "taskCompleted"; }, never, never, true, never>;
|
|
136
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserTaskCloudComponent, "adf-cloud-user-task", never, { "appName": { "alias": "appName"; "required": false; }; "displayModeConfigurations": { "alias": "displayModeConfigurations"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "showCancelButton": { "alias": "showCancelButton"; "required": false; }; "showCompleteButton": { "alias": "showCompleteButton"; "required": false; }; "showSaveButton": { "alias": "showSaveButton"; "required": false; }; "customCancelButtonText": { "alias": "customCancelButtonText"; "required": false; }; "customCompleteButtonText": { "alias": "customCompleteButtonText"; "required": false; }; "customSaveButtonText": { "alias": "customSaveButtonText"; "required": false; }; "showNextTaskCheckbox": { "alias": "showNextTaskCheckbox"; "required": false; }; "isNextTaskCheckboxChecked": { "alias": "isNextTaskCheckboxChecked"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showValidationIcon": { "alias": "showValidationIcon"; "required": false; }; "taskId": { "alias": "taskId"; "required": false; }; }, { "cancelClick": "cancelClick"; "error": "error"; "nextTaskCheckboxCheckedChanged": "nextTaskCheckboxCheckedChanged"; "executeOutcome": "executeOutcome"; "formContentClicked": "formContentClicked"; "formLoaded": "formLoaded"; "formSaved": "formSaved"; "onTaskLoaded": "onTaskLoaded"; "taskClaimed": "taskClaimed"; "taskUnclaimed": "taskUnclaimed"; "taskCompleted": "taskCompleted"; }, never, never, true, never>;
|
|
117
137
|
}
|
|
118
138
|
export {};
|
package/lib/task/task-form/components/user-task-cloud-buttons/user-task-cloud-buttons.component.d.ts
CHANGED
|
@@ -27,6 +27,11 @@ export declare class UserTaskCloudButtonsComponent {
|
|
|
27
27
|
taskId: string;
|
|
28
28
|
/** Toggle rendering of the `Cancel` button. */
|
|
29
29
|
showCancelButton: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Custom text for the `Cancel` button.
|
|
32
|
+
* If not provided, the default text will be used.
|
|
33
|
+
*/
|
|
34
|
+
customCancelButtonText: string;
|
|
30
35
|
/** Emitted when any error occurs. */
|
|
31
36
|
error: EventEmitter<any>;
|
|
32
37
|
/** Emitted when the cancel button is clicked. */
|
|
@@ -40,5 +45,5 @@ export declare class UserTaskCloudButtonsComponent {
|
|
|
40
45
|
onClaimTask(): void;
|
|
41
46
|
onCancelClick(): void;
|
|
42
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserTaskCloudButtonsComponent, never>;
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserTaskCloudButtonsComponent, "adf-cloud-user-task-cloud-buttons", never, { "appName": { "alias": "appName"; "required": false; }; "canClaimTask": { "alias": "canClaimTask"; "required": false; }; "canUnclaimTask": { "alias": "canUnclaimTask"; "required": false; }; "taskId": { "alias": "taskId"; "required": false; }; "showCancelButton": { "alias": "showCancelButton"; "required": false; }; }, { "error": "error"; "cancelClick": "cancelClick"; "claimTask": "claimTask"; "unclaimTask": "unclaimTask"; }, never, never, true, never>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserTaskCloudButtonsComponent, "adf-cloud-user-task-cloud-buttons", never, { "appName": { "alias": "appName"; "required": false; }; "canClaimTask": { "alias": "canClaimTask"; "required": false; }; "canUnclaimTask": { "alias": "canUnclaimTask"; "required": false; }; "taskId": { "alias": "taskId"; "required": false; }; "showCancelButton": { "alias": "showCancelButton"; "required": false; }; "customCancelButtonText": { "alias": "customCancelButtonText"; "required": false; }; }, { "error": "error"; "cancelClick": "cancelClick"; "claimTask": "claimTask"; "unclaimTask": "unclaimTask"; }, never, never, true, never>;
|
|
44
49
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfresco/adf-process-services-cloud",
|
|
3
3
|
"description": "Alfresco ADF process services cloud",
|
|
4
|
-
"version": "8.1.
|
|
4
|
+
"version": "8.1.1",
|
|
5
5
|
"author": "Hyland Software, Inc. and its affiliates",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -10,22 +10,6 @@
|
|
|
10
10
|
"bugs": {
|
|
11
11
|
"url": "https://github.com/Alfresco/alfresco-ng2-components/issues"
|
|
12
12
|
},
|
|
13
|
-
"dependencies": {
|
|
14
|
-
"@editorjs/code": "2.9.0",
|
|
15
|
-
"@editorjs/editorjs": "^2.28.2",
|
|
16
|
-
"@editorjs/header": "2.8.1",
|
|
17
|
-
"@editorjs/inline-code": "1.5.0",
|
|
18
|
-
"@editorjs/list": "1.9.0",
|
|
19
|
-
"@editorjs/marker": "1.4.0",
|
|
20
|
-
"@editorjs/paragraph": "^2.11.6",
|
|
21
|
-
"@editorjs/underline": "1.1.0",
|
|
22
|
-
"editorjs-html": "4.0.5",
|
|
23
|
-
"editorjs-paragraph-with-alignment": "3.0.0",
|
|
24
|
-
"editorjs-text-alignment-blocktune": "^1.0.3",
|
|
25
|
-
"editorjs-text-color-plugin": "1.13.1",
|
|
26
|
-
"@valano/change-font-size": "1.0.0",
|
|
27
|
-
"tslib": "^2.3.0"
|
|
28
|
-
},
|
|
29
13
|
"peerDependencies": {
|
|
30
14
|
"@angular/animations": ">=14.1.3",
|
|
31
15
|
"@angular/cdk": ">=14.1.2",
|
|
@@ -37,9 +21,9 @@
|
|
|
37
21
|
"@angular/platform-browser": ">=14.1.3",
|
|
38
22
|
"@angular/platform-browser-dynamic": ">=14.1.3",
|
|
39
23
|
"@angular/router": ">=14.1.3",
|
|
40
|
-
"@alfresco/js-api": ">=9.1.
|
|
41
|
-
"@alfresco/adf-core": ">=8.1.
|
|
42
|
-
"@alfresco/adf-content-services": ">=8.1.
|
|
24
|
+
"@alfresco/js-api": ">=9.1.1",
|
|
25
|
+
"@alfresco/adf-core": ">=8.1.1",
|
|
26
|
+
"@alfresco/adf-content-services": ">=8.1.1",
|
|
43
27
|
"@apollo/client": ">=3.7.2",
|
|
44
28
|
"@ngx-translate/core": ">=14.0.0",
|
|
45
29
|
"apollo-angular": ">=4.0.1"
|
|
@@ -63,5 +47,8 @@
|
|
|
63
47
|
"default": "./fesm2022/adf-process-services-cloud.mjs"
|
|
64
48
|
}
|
|
65
49
|
},
|
|
66
|
-
"sideEffects": false
|
|
50
|
+
"sideEffects": false,
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"tslib": "^2.3.0"
|
|
53
|
+
}
|
|
67
54
|
}
|
package/public-api.d.ts
CHANGED
|
@@ -22,7 +22,6 @@ export * from './lib/group/public-api';
|
|
|
22
22
|
export * from './lib/people/public-api';
|
|
23
23
|
export * from './lib/form/public-api';
|
|
24
24
|
export * from './lib/services/public-api';
|
|
25
|
-
export * from './lib/rich-text-editor/public-api';
|
|
26
25
|
export * from './lib/screen/public-api';
|
|
27
26
|
export * from './lib/types';
|
|
28
27
|
export * from './lib/common/index';
|
|
@@ -1,78 +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
|
-
/** Plugin import */
|
|
18
|
-
import CodeTool from '@editorjs/code';
|
|
19
|
-
import Header from '@editorjs/header';
|
|
20
|
-
import Paragraph from '@editorjs/paragraph';
|
|
21
|
-
import InlineCode from '@editorjs/inline-code';
|
|
22
|
-
import List from '@editorjs/list';
|
|
23
|
-
import Underline from '@editorjs/underline';
|
|
24
|
-
export declare const editorJsConfig: {
|
|
25
|
-
autofocus: boolean;
|
|
26
|
-
logLevel: string;
|
|
27
|
-
tools: {
|
|
28
|
-
underline: {
|
|
29
|
-
class: typeof Underline;
|
|
30
|
-
shortcut: string;
|
|
31
|
-
};
|
|
32
|
-
header: {
|
|
33
|
-
class: typeof Header;
|
|
34
|
-
inlineToolbar: boolean;
|
|
35
|
-
tunes: string[];
|
|
36
|
-
};
|
|
37
|
-
paragraph: {
|
|
38
|
-
class: typeof Paragraph;
|
|
39
|
-
inlineToolbar: boolean;
|
|
40
|
-
tunes: string[];
|
|
41
|
-
};
|
|
42
|
-
list: {
|
|
43
|
-
class: typeof List;
|
|
44
|
-
inlineToolbar: boolean;
|
|
45
|
-
config: {
|
|
46
|
-
defaultStyle: string;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
Color: {
|
|
50
|
-
class: any;
|
|
51
|
-
config: {
|
|
52
|
-
customPicker: boolean;
|
|
53
|
-
colorCollections: string[];
|
|
54
|
-
defaultColor: string;
|
|
55
|
-
type: string;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
Marker: {
|
|
59
|
-
class: any;
|
|
60
|
-
shortcut: string;
|
|
61
|
-
};
|
|
62
|
-
'Increase/Decrease font size': {
|
|
63
|
-
class: any;
|
|
64
|
-
config: {
|
|
65
|
-
cssClass: string;
|
|
66
|
-
buttonIcon: string;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
inlineCode: {
|
|
70
|
-
class: typeof InlineCode;
|
|
71
|
-
shortcut: string;
|
|
72
|
-
};
|
|
73
|
-
anyTuneName: {
|
|
74
|
-
class: any;
|
|
75
|
-
};
|
|
76
|
-
code: typeof CodeTool;
|
|
77
|
-
};
|
|
78
|
-
};
|