@alfresco/adf-process-services 9.2.0-45181608250 → 9.2.0-45225533165

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.
@@ -1,6 +1,6 @@
1
1
  import { DateFnsUtils, DataTableSchema, UserPreferencesService, DEFAULT_PAGINATION, EmptyContentComponent, DataTableComponent, LoadingContentTemplateDirective, NoContentTemplateDirective, CustomEmptyContentTemplateDirective, CustomLoadingContentTemplateDirective, TranslationService, AppConfigService, CardViewTextItemModel, CardViewDateItemModel, CardViewComponent, DataColumnListComponent, DataColumnComponent, WidgetComponent, FormService, FormFieldTypes, FORM_FIELD_VALIDATORS, DatePickerFieldValidator, DateTimePickerFieldValidator, DropdownFieldValidator, FormBaseComponent, WidgetVisibilityService, FormModel, FormOutcomeModel, FormEvent, FormErrorEvent, FormOutcomeEvent, FormRendererComponent, FormatSpacePipe, ThumbnailService, ContentLinkModel, ErrorWidgetComponent, DownloadService, UrlService, InitialUsernamePipe, BaseViewerWidgetComponent, ADF_DATE_FORMATS, AdfDateFnsAdapter, ErrorMessageModel, ADF_DATETIME_FORMATS, AdfDateTimeFnsAdapter, FormFieldEvent, FormWidgetModel, AuthenticationService, LoginDialogPanelComponent, AppConfigValues, FormRenderingService, UserPreferenceValues, ShowHeaderMode, CardViewUpdateService, CardViewSelectItemModel, CardViewIntItemModel, CardViewMapItemModel, CardViewItemLengthValidator, CommentModel, CommentsComponent, ADF_COMMENTS_SERVICE, InfoDrawerTabComponent, InfoDrawerComponent, FormFieldModel, User, LocalizedDatePipe, EmptyListHeaderDirective, EmptyListComponent, UploadDirective, provideTranslations } from '@alfresco/adf-core';
2
2
  import * as i0 from '@angular/core';
3
- import { inject, Injectable, EventEmitter, Output, Input, ContentChild, Component, DestroyRef, ViewEncapsulation, HostListener, Directive, ChangeDetectorRef, ViewChild, ElementRef, isDevMode, NgZone, NgModule } from '@angular/core';
3
+ import { inject, Injectable, EventEmitter, Output, Input, ContentChild, Component, DestroyRef, ViewEncapsulation, HostListener, Directive, ChangeDetectorRef, ViewChild, ElementRef, signal, ChangeDetectionStrategy, isDevMode, NgZone, NgModule } from '@angular/core';
4
4
  import { LazyApi, TasksApi, ProcessDefinitionsApi, ProcessInstancesApi, ProcessInstanceVariablesApi, UserFiltersApi, RuntimeAppDefinitionsApi, TaskQueryRepresentation, ResultListDataRepresentationTaskRepresentation, ModelsApi, TaskActionsApi, ChecklistsApi, UsersApi, ActivitiGroupsApi, UserProfileApi, CustomModelApi, FormModelsApi, TaskFormsApi, FormSaveRepresentation, ActivitiContentApi, AlfrescoApi, ContentApi, IntegrationAlfrescoOnPremiseApi, TaskRepresentation, UserTaskFilterRepresentation, ActivitiCommentsApi } from '@alfresco/js-api';
5
5
  import { AlfrescoApiService, NodesApiService, AlfrescoViewerComponent, ContentNodeSelectorPanelComponent, DocumentListService, SitesService, SearchService, ContentService, ContentNodeDialogService, AlfrescoIconComponent, UploadService } from '@alfresco/adf-content-services';
6
6
  import { from, BehaviorSubject, Observable, forkJoin, of, throwError, merge, Subject, zip, EMPTY } from 'rxjs';
@@ -34,11 +34,11 @@ import * as i2$4 from '@angular/material/input';
34
34
  import { MatInputModule } from '@angular/material/input';
35
35
  import * as i7 from '@angular/material/autocomplete';
36
36
  import { MatAutocompleteModule, MatAutocompleteTrigger } from '@angular/material/autocomplete';
37
+ import * as i1$1 from '@angular/material/checkbox';
38
+ import { MatCheckboxModule } from '@angular/material/checkbox';
37
39
  import * as i2$5 from '@angular/material/radio';
38
40
  import { MatRadioModule } from '@angular/material/radio';
39
41
  import { ESCAPE, ENTER } from '@angular/cdk/keycodes';
40
- import * as i1$1 from '@angular/material/checkbox';
41
- import { MatCheckboxModule } from '@angular/material/checkbox';
42
42
  import * as i3$5 from '@angular/material/core';
43
43
  import { DateAdapter, MAT_DATE_FORMATS, MatLineModule } from '@angular/material/core';
44
44
  import * as i3$3 from '@angular/material/datepicker';
@@ -4092,6 +4092,126 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImpo
4092
4092
  args: ['inputValue', { static: true }]
4093
4093
  }] } });
4094
4094
 
4095
+ /*!
4096
+ * @license
4097
+ * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.
4098
+ *
4099
+ * Licensed under the Apache License, Version 2.0 (the "License");
4100
+ * you may not use this file except in compliance with the License.
4101
+ * You may obtain a copy of the License at
4102
+ *
4103
+ * http://www.apache.org/licenses/LICENSE-2.0
4104
+ *
4105
+ * Unless required by applicable law or agreed to in writing, software
4106
+ * distributed under the License is distributed on an "AS IS" BASIS,
4107
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
4108
+ * See the License for the specific language governing permissions and
4109
+ * limitations under the License.
4110
+ */
4111
+ /* eslint-disable @angular-eslint/component-selector */
4112
+ class CheckboxGroupWidgetComponent extends WidgetComponent {
4113
+ constructor() {
4114
+ super(...arguments);
4115
+ this.taskFormService = inject(TaskFormService);
4116
+ this.processDefinitionService = inject(ProcessDefinitionService);
4117
+ this.destroyRef = inject(DestroyRef);
4118
+ this.changeDetectorRef = inject(ChangeDetectorRef);
4119
+ this.loading = signal(false, ...(ngDevMode ? [{ debugName: "loading" }] : /* istanbul ignore next */ []));
4120
+ // isSelected runs for every option on every change detection pass, so the ids are only rebuilt when the value changes
4121
+ this.selectedIds = new Set();
4122
+ }
4123
+ get disabled() {
4124
+ return this.readOnly || this.field.readOnly || !!this.field.form?.readOnly || this.loading();
4125
+ }
4126
+ ngOnInit() {
4127
+ this.listenForExternalChanges();
4128
+ if (this.field?.optionType !== 'rest' || !this.field.restUrl || this.field.form?.readOnly) {
4129
+ return;
4130
+ }
4131
+ const form = this.field.form;
4132
+ if (!form?.taskId && !form?.processDefinitionId) {
4133
+ return;
4134
+ }
4135
+ this.loading.set(true);
4136
+ const options$ = form.taskId
4137
+ ? this.taskFormService.getRestFieldValues(form.taskId, this.field.id)
4138
+ : this.processDefinitionService.getRestFieldValuesByProcessId(form.processDefinitionId, this.field.id);
4139
+ options$
4140
+ .pipe(takeUntilDestroyed(this.destroyRef), finalize(() => this.loading.set(false)))
4141
+ .subscribe({
4142
+ next: (options) => {
4143
+ this.field.options = options || [];
4144
+ const saved = this.field.getFormValue();
4145
+ const available = saved.filter((selected) => this.field.options.some((option) => option.id === selected.id));
4146
+ if (available.length !== saved.length) {
4147
+ // the server is authoritative for REST options, so selections it no longer offers are dropped and rules/dirty-state are notified
4148
+ this.field.value = available;
4149
+ this.onFieldChanged(this.field);
4150
+ }
4151
+ this.changeDetectorRef.markForCheck();
4152
+ },
4153
+ error: (error) => this.widgetError.emit(error)
4154
+ });
4155
+ }
4156
+ isSelected(option) {
4157
+ return this.getSelectedIds().has(option.id);
4158
+ }
4159
+ isInvalidFieldRequired() {
4160
+ return this.isRequired() && !this.field.isValid && this.field.getFormValue().length === 0 && !this.field.validationSummary?.isActive();
4161
+ }
4162
+ markAsTouched() {
4163
+ super.markAsTouched();
4164
+ this.changeDetectorRef.markForCheck();
4165
+ }
4166
+ onSelectionChange(option, checked) {
4167
+ if (this.disabled) {
4168
+ return;
4169
+ }
4170
+ const selected = this.field.getFormValue();
4171
+ const remaining = selected.filter((entry) => entry.id !== option.id);
4172
+ this.field.value = checked ? this.sortByOptionOrder([...remaining, option]) : remaining;
4173
+ this.markAsTouched();
4174
+ this.onFieldChanged(this.field);
4175
+ }
4176
+ // the field model is mutated outside the template (rules, form reset, validation), so OnPush needs an explicit notification
4177
+ listenForExternalChanges() {
4178
+ if (!this.field) {
4179
+ return;
4180
+ }
4181
+ const refresh = () => this.changeDetectorRef.markForCheck();
4182
+ this.formService.formFieldValueChanged
4183
+ .pipe(filter((event) => event.field === this.field), takeUntilDestroyed(this.destroyRef))
4184
+ .subscribe(refresh);
4185
+ this.formService.formState.commits
4186
+ .pipe(filter(({ field }) => field === this.field), takeUntilDestroyed(this.destroyRef))
4187
+ .subscribe(refresh);
4188
+ this.field.validationSummaryChanges$.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(refresh);
4189
+ }
4190
+ getSelectedIds() {
4191
+ const value = this.field.value;
4192
+ if (this.selectedIdsField !== this.field || this.selectedIdsValue !== value) {
4193
+ this.selectedIdsField = this.field;
4194
+ this.selectedIdsValue = value;
4195
+ this.selectedIds = new Set(this.field.getFormValue().map((entry) => entry.id));
4196
+ }
4197
+ return this.selectedIds;
4198
+ }
4199
+ // keeps the value stable regardless of click order; selections missing from the options stay last
4200
+ sortByOptionOrder(selection) {
4201
+ const position = (entry) => {
4202
+ const index = this.field.options.findIndex((candidate) => candidate.id === entry.id);
4203
+ return index === -1 ? this.field.options.length : index;
4204
+ };
4205
+ return [...selection].sort((a, b) => position(a) - position(b));
4206
+ }
4207
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: CheckboxGroupWidgetComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
4208
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.26", type: CheckboxGroupWidgetComponent, isStandalone: true, selector: "checkbox-group-widget", host: { listeners: { "click": "event($event)" } }, usesInheritance: true, ngImport: i0, template: "@if (field) {\n<div class=\"adf-checkbox-group-widget {{field.className}}\" [class.adf-readonly]=\"disabled\" [id]=\"field.id\" data-automation-id=\"adf-checkbox-group-widget\">\n <div [id]=\"field.id + '-label'\" class=\"adf-label\" data-automation-id=\"adf-checkbox-group-widget-label\">\n {{ field.name | translate }} @if (isRequired()) {\n <span class=\"adf-asterisk\" aria-hidden=\"true\">*</span>\n }\n </div>\n <fieldset\n class=\"adf-checkbox-group\"\n data-automation-id=\"adf-checkbox-group-widget-group\"\n [class.adf-checkbox-group-horizontal]=\"field.alignmentType === 'horizontal'\"\n [attr.aria-labelledby]=\"field.id + '-label'\"\n [attr.aria-required]=\"isRequired()\"\n [attr.aria-invalid]=\"isTouched() && !field.isValid\"\n [attr.aria-describedby]=\"isTouched() ? field.id + '-error' : null\"\n [attr.aria-busy]=\"loading()\"\n >\n @for (option of field.options; track option.id) {\n <mat-checkbox\n [id]=\"field.id + '-' + option.id\"\n [attr.data-automation-id]=\"'adf-checkbox-group-option-' + field.id + '-' + option.id\"\n [title]=\"field.tooltip\"\n [checked]=\"isSelected(option)\"\n [disabled]=\"disabled\"\n (change)=\"onSelectionChange(option, $event.checked)\"\n >\n <span class=\"adf-checkbox-group-option-label\">{{ option.name }}</span>\n </mat-checkbox>\n }\n </fieldset>\n <div [id]=\"field.id + '-error'\" aria-live=\"polite\" data-automation-id=\"adf-checkbox-group-widget-error\">\n @if (isTouched()) {\n <error-widget [error]=\"field.validationSummary\" [required]=\"isInvalidFieldRequired() ? ('FORM.FIELD.REQUIRED' | translate) : ''\" />\n }\n </div>\n</div>\n}\n", styles: [".adf-checkbox-group-widget{margin-bottom:15px}.adf-checkbox-group-widget>.adf-label{font-size:var(--adf-checkbox-group-font-size, var(--adf-form-label-font-size, var(--mat-sys-body-medium-size)));font-weight:var(--adf-checkbox-group-font-weight, var(--adf-form-label-font-weight, var(--mat-sys-body-medium-weight)));color:var(--adf-checkbox-group-color, var(--adf-form-label-color, var(--mat-sys-on-surface-variant)))}.adf-checkbox-group-widget .adf-checkbox-group{border:0;padding:0;min-width:0;margin-top:15px;margin-left:5px;display:flex;flex-direction:column}.adf-checkbox-group-widget .adf-checkbox-group-horizontal{flex-flow:row wrap}.adf-checkbox-group-widget mat-checkbox{margin:5px}\n"], dependencies: [{ kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i1$1.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { kind: "component", type: ErrorWidgetComponent, selector: "error-widget", inputs: ["error", "required"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
4209
+ }
4210
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: CheckboxGroupWidgetComponent, decorators: [{
4211
+ type: Component,
4212
+ args: [{ selector: 'checkbox-group-widget', imports: [MatCheckboxModule, TranslatePipe, ErrorWidgetComponent], host: { '(click)': 'event($event)' }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (field) {\n<div class=\"adf-checkbox-group-widget {{field.className}}\" [class.adf-readonly]=\"disabled\" [id]=\"field.id\" data-automation-id=\"adf-checkbox-group-widget\">\n <div [id]=\"field.id + '-label'\" class=\"adf-label\" data-automation-id=\"adf-checkbox-group-widget-label\">\n {{ field.name | translate }} @if (isRequired()) {\n <span class=\"adf-asterisk\" aria-hidden=\"true\">*</span>\n }\n </div>\n <fieldset\n class=\"adf-checkbox-group\"\n data-automation-id=\"adf-checkbox-group-widget-group\"\n [class.adf-checkbox-group-horizontal]=\"field.alignmentType === 'horizontal'\"\n [attr.aria-labelledby]=\"field.id + '-label'\"\n [attr.aria-required]=\"isRequired()\"\n [attr.aria-invalid]=\"isTouched() && !field.isValid\"\n [attr.aria-describedby]=\"isTouched() ? field.id + '-error' : null\"\n [attr.aria-busy]=\"loading()\"\n >\n @for (option of field.options; track option.id) {\n <mat-checkbox\n [id]=\"field.id + '-' + option.id\"\n [attr.data-automation-id]=\"'adf-checkbox-group-option-' + field.id + '-' + option.id\"\n [title]=\"field.tooltip\"\n [checked]=\"isSelected(option)\"\n [disabled]=\"disabled\"\n (change)=\"onSelectionChange(option, $event.checked)\"\n >\n <span class=\"adf-checkbox-group-option-label\">{{ option.name }}</span>\n </mat-checkbox>\n }\n </fieldset>\n <div [id]=\"field.id + '-error'\" aria-live=\"polite\" data-automation-id=\"adf-checkbox-group-widget-error\">\n @if (isTouched()) {\n <error-widget [error]=\"field.validationSummary\" [required]=\"isInvalidFieldRequired() ? ('FORM.FIELD.REQUIRED' | translate) : ''\" />\n }\n </div>\n</div>\n}\n", styles: [".adf-checkbox-group-widget{margin-bottom:15px}.adf-checkbox-group-widget>.adf-label{font-size:var(--adf-checkbox-group-font-size, var(--adf-form-label-font-size, var(--mat-sys-body-medium-size)));font-weight:var(--adf-checkbox-group-font-weight, var(--adf-form-label-font-weight, var(--mat-sys-body-medium-weight)));color:var(--adf-checkbox-group-color, var(--adf-form-label-color, var(--mat-sys-on-surface-variant)))}.adf-checkbox-group-widget .adf-checkbox-group{border:0;padding:0;min-width:0;margin-top:15px;margin-left:5px;display:flex;flex-direction:column}.adf-checkbox-group-widget .adf-checkbox-group-horizontal{flex-flow:row wrap}.adf-checkbox-group-widget mat-checkbox{margin:5px}\n"] }]
4213
+ }] });
4214
+
4095
4215
  /*!
4096
4216
  * @license
4097
4217
  * Copyright © 2005-2026 Hyland Software, Inc. and its affiliates. All rights reserved.
@@ -6004,6 +6124,7 @@ const WIDGET_DIRECTIVES = [
6004
6124
  FileViewerWidgetComponent,
6005
6125
  FunctionalGroupWidgetComponent,
6006
6126
  PeopleWidgetComponent,
6127
+ CheckboxGroupWidgetComponent,
6007
6128
  RadioButtonsWidgetComponent,
6008
6129
  TypeaheadWidgetComponent,
6009
6130
  UploadWidgetComponent
@@ -6065,6 +6186,7 @@ class ProcessFormRenderingService extends FormRenderingService {
6065
6186
  this.register({
6066
6187
  [FormFieldTypes.DROPDOWN]: () => DropdownWidgetComponent,
6067
6188
  [FormFieldTypes.TYPEAHEAD]: () => TypeaheadWidgetComponent,
6189
+ [FormFieldTypes.CHECKBOX_GROUP]: () => CheckboxGroupWidgetComponent,
6068
6190
  [FormFieldTypes.RADIO_BUTTONS]: () => RadioButtonsWidgetComponent,
6069
6191
  [FormFieldTypes.UPLOAD]: () => AttachFileWidgetComponent,
6070
6192
  [FormFieldTypes.ATTACH_FOLDER]: () => AttachFolderWidgetComponent,
@@ -10753,8 +10875,8 @@ class ProcessModule {
10753
10875
  };
10754
10876
  }
10755
10877
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ProcessModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
10756
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.26", ngImport: i0, type: ProcessModule, imports: [ProcessCommentsComponent, ProcessInstanceListComponent, ProcessFiltersComponent, ProcessInstanceDetailsComponent, ProcessInstanceHeaderComponent, ProcessInstanceTasksComponent, StartProcessInstanceComponent, TaskFormComponent, AttachFormComponent, ChecklistComponent, TaskFiltersComponent, TaskListComponent, TaskDetailsComponent, TaskHeaderComponent, StartTaskComponent, TaskStandaloneComponent, ClaimTaskDirective, UnclaimTaskDirective, TaskCommentsComponent, AppsListComponent, SelectAppsDialogComponent, TaskAttachmentListComponent, ProcessAttachmentListComponent, CreateProcessAttachmentComponent, AttachmentComponent, PeopleComponent, PeopleSearchComponent, PeopleSearchFieldComponent, PeopleSelectorComponent, PeopleListComponent, FormListComponent, FormCustomOutcomesComponent, StartFormComponent, FormComponent, AttachFileWidgetComponent, AttachFolderWidgetComponent, AttachFileWidgetDialogComponent, ContentWidgetComponent, DocumentWidgetComponent, DropdownWidgetComponent, DynamicTableWidgetComponent, DropdownEditorComponent, AmountEditorComponent, BooleanEditorComponent, DateEditorComponent, DateTimeEditorComponent, RowEditorComponent, TextEditorComponent, FileViewerWidgetComponent, FunctionalGroupWidgetComponent, PeopleWidgetComponent, RadioButtonsWidgetComponent, TypeaheadWidgetComponent, UploadWidgetComponent], exports: [ProcessCommentsComponent, ProcessInstanceListComponent, ProcessFiltersComponent, ProcessInstanceDetailsComponent, ProcessInstanceHeaderComponent, ProcessInstanceTasksComponent, StartProcessInstanceComponent, TaskFormComponent, AttachFormComponent, ChecklistComponent, TaskFiltersComponent, TaskListComponent, TaskDetailsComponent, TaskHeaderComponent, StartTaskComponent, TaskStandaloneComponent, ClaimTaskDirective, UnclaimTaskDirective, TaskCommentsComponent, AppsListComponent, SelectAppsDialogComponent, TaskAttachmentListComponent, ProcessAttachmentListComponent, CreateProcessAttachmentComponent, AttachmentComponent, PeopleComponent, PeopleSearchComponent, PeopleSearchFieldComponent, PeopleSelectorComponent, PeopleListComponent, FormListComponent, FormCustomOutcomesComponent, StartFormComponent, FormComponent, AttachFileWidgetComponent, AttachFolderWidgetComponent, AttachFileWidgetDialogComponent, ContentWidgetComponent, DocumentWidgetComponent, DropdownWidgetComponent, DynamicTableWidgetComponent, DropdownEditorComponent, AmountEditorComponent, BooleanEditorComponent, DateEditorComponent, DateTimeEditorComponent, RowEditorComponent, TextEditorComponent, FileViewerWidgetComponent, FunctionalGroupWidgetComponent, PeopleWidgetComponent, RadioButtonsWidgetComponent, TypeaheadWidgetComponent, UploadWidgetComponent] }); }
10757
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ProcessModule, providers: [provideTranslations('adf-process-services', 'assets/adf-process-services')], imports: [PROCESS_COMMENTS_DIRECTIVES, PROCESS_LIST_DIRECTIVES, TaskFormComponent, AttachFormComponent, ChecklistComponent, TaskFiltersComponent, TaskListComponent, TaskDetailsComponent, TaskHeaderComponent, StartTaskComponent, TaskStandaloneComponent, TASK_COMMENTS_DIRECTIVES, APPS_LIST_DIRECTIVES, ATTACHMENT_DIRECTIVES, PEOPLE_DIRECTIVES, FormListComponent, StartFormComponent, FormComponent, AttachFileWidgetComponent, AttachFolderWidgetComponent, AttachFileWidgetDialogComponent, ContentWidgetComponent, DocumentWidgetComponent, DropdownWidgetComponent, DynamicTableWidgetComponent, DropdownEditorComponent, AmountEditorComponent, BooleanEditorComponent, DateEditorComponent, DateTimeEditorComponent, RowEditorComponent, TextEditorComponent, FileViewerWidgetComponent, FunctionalGroupWidgetComponent, PeopleWidgetComponent, RadioButtonsWidgetComponent, TypeaheadWidgetComponent, UploadWidgetComponent] }); }
10878
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.26", ngImport: i0, type: ProcessModule, imports: [ProcessCommentsComponent, ProcessInstanceListComponent, ProcessFiltersComponent, ProcessInstanceDetailsComponent, ProcessInstanceHeaderComponent, ProcessInstanceTasksComponent, StartProcessInstanceComponent, TaskFormComponent, AttachFormComponent, ChecklistComponent, TaskFiltersComponent, TaskListComponent, TaskDetailsComponent, TaskHeaderComponent, StartTaskComponent, TaskStandaloneComponent, ClaimTaskDirective, UnclaimTaskDirective, TaskCommentsComponent, AppsListComponent, SelectAppsDialogComponent, TaskAttachmentListComponent, ProcessAttachmentListComponent, CreateProcessAttachmentComponent, AttachmentComponent, PeopleComponent, PeopleSearchComponent, PeopleSearchFieldComponent, PeopleSelectorComponent, PeopleListComponent, FormListComponent, FormCustomOutcomesComponent, StartFormComponent, FormComponent, AttachFileWidgetComponent, AttachFolderWidgetComponent, AttachFileWidgetDialogComponent, ContentWidgetComponent, DocumentWidgetComponent, DropdownWidgetComponent, DynamicTableWidgetComponent, DropdownEditorComponent, AmountEditorComponent, BooleanEditorComponent, DateEditorComponent, DateTimeEditorComponent, RowEditorComponent, TextEditorComponent, FileViewerWidgetComponent, FunctionalGroupWidgetComponent, PeopleWidgetComponent, CheckboxGroupWidgetComponent, RadioButtonsWidgetComponent, TypeaheadWidgetComponent, UploadWidgetComponent], exports: [ProcessCommentsComponent, ProcessInstanceListComponent, ProcessFiltersComponent, ProcessInstanceDetailsComponent, ProcessInstanceHeaderComponent, ProcessInstanceTasksComponent, StartProcessInstanceComponent, TaskFormComponent, AttachFormComponent, ChecklistComponent, TaskFiltersComponent, TaskListComponent, TaskDetailsComponent, TaskHeaderComponent, StartTaskComponent, TaskStandaloneComponent, ClaimTaskDirective, UnclaimTaskDirective, TaskCommentsComponent, AppsListComponent, SelectAppsDialogComponent, TaskAttachmentListComponent, ProcessAttachmentListComponent, CreateProcessAttachmentComponent, AttachmentComponent, PeopleComponent, PeopleSearchComponent, PeopleSearchFieldComponent, PeopleSelectorComponent, PeopleListComponent, FormListComponent, FormCustomOutcomesComponent, StartFormComponent, FormComponent, AttachFileWidgetComponent, AttachFolderWidgetComponent, AttachFileWidgetDialogComponent, ContentWidgetComponent, DocumentWidgetComponent, DropdownWidgetComponent, DynamicTableWidgetComponent, DropdownEditorComponent, AmountEditorComponent, BooleanEditorComponent, DateEditorComponent, DateTimeEditorComponent, RowEditorComponent, TextEditorComponent, FileViewerWidgetComponent, FunctionalGroupWidgetComponent, PeopleWidgetComponent, CheckboxGroupWidgetComponent, RadioButtonsWidgetComponent, TypeaheadWidgetComponent, UploadWidgetComponent] }); }
10879
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ProcessModule, providers: [provideTranslations('adf-process-services', 'assets/adf-process-services')], imports: [PROCESS_COMMENTS_DIRECTIVES, PROCESS_LIST_DIRECTIVES, TaskFormComponent, AttachFormComponent, ChecklistComponent, TaskFiltersComponent, TaskListComponent, TaskDetailsComponent, TaskHeaderComponent, StartTaskComponent, TaskStandaloneComponent, TASK_COMMENTS_DIRECTIVES, APPS_LIST_DIRECTIVES, ATTACHMENT_DIRECTIVES, PEOPLE_DIRECTIVES, FormListComponent, StartFormComponent, FormComponent, AttachFileWidgetComponent, AttachFolderWidgetComponent, AttachFileWidgetDialogComponent, ContentWidgetComponent, DocumentWidgetComponent, DropdownWidgetComponent, DynamicTableWidgetComponent, DropdownEditorComponent, AmountEditorComponent, BooleanEditorComponent, DateEditorComponent, DateTimeEditorComponent, RowEditorComponent, TextEditorComponent, FileViewerWidgetComponent, FunctionalGroupWidgetComponent, PeopleWidgetComponent, CheckboxGroupWidgetComponent, RadioButtonsWidgetComponent, TypeaheadWidgetComponent, UploadWidgetComponent] }); }
10758
10880
  }
10759
10881
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImport: i0, type: ProcessModule, decorators: [{
10760
10882
  type: NgModule,
@@ -10821,5 +10943,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.26", ngImpo
10821
10943
  * Generated bundle index. Do not edit.
10822
10944
  */
10823
10945
 
10824
- export { APPS_LIST_DIRECTIVES, APP_LIST_LAYOUT_GRID, APP_LIST_LAYOUT_LIST, ATTACHMENT_DIRECTIVES, ActivitiContentService, AmountEditorComponent, AppsListComponent, AppsProcessService, AttachFileWidgetComponent, AttachFileWidgetDialogComponent, AttachFileWidgetDialogService, AttachFolderWidgetComponent, AttachFormComponent, AttachmentComponent, BooleanEditorComponent, ChecklistComponent, ClaimTaskDirective, CommentProcessService, ContentWidgetComponent, CreateProcessAttachmentComponent, DYNAMIC_TABLE_WIDGET_DIRECTIVES, DateEditorComponent, DateTimeEditorComponent, DocumentWidgetComponent, DropdownEditorComponent, DropdownWidgetComponent, DynamicTableWidgetComponent, EcmModelService, EditorService, ExternalAlfrescoApiService, FORM_DIRECTIVES, FileViewerWidgetComponent, Form, FormComponent, FormCustomOutcomesComponent, FormDefinitionModel, FormListComponent, FunctionalGroupWidgetComponent, ModelService, PEOPLE_DIRECTIVES, PRESET_KEY, PROCESS_COMMENTS_DIRECTIVES, PROCESS_FORM_FIELD_VALIDATORS, PROCESS_LIST_DIRECTIVES, PeopleComponent, PeopleListComponent, PeopleProcessService, PeopleSearchComponent, PeopleSearchFieldComponent, PeopleSelectorComponent, PeopleWidgetComponent, ProcessAttachmentListComponent, ProcessCommentsComponent, ProcessContentService, ProcessDefinitionService, ProcessDropdownFieldValidator, ProcessFilterService, ProcessFiltersComponent, ProcessFormRenderingService, ProcessInstanceDetailsComponent, ProcessInstanceHeaderComponent, ProcessInstanceListComponent, ProcessInstanceTasksComponent, ProcessModule, ProcessService, ProcessUploadService, RadioButtonsWidgetComponent, RowEditorComponent, SelectAppsDialogComponent, StartFormComponent, StartProcessInstanceComponent, StartTaskComponent, TASK_COMMENTS_DIRECTIVES, TASK_LIST_DIRECTIVES, TaskAttachmentListComponent, TaskCommentsComponent, TaskCommentsService, TaskDetailsComponent, TaskDetailsEvent, TaskFilterService, TaskFiltersComponent, TaskFormComponent, TaskFormService, TaskHeaderComponent, TaskListComponent, TaskListService, TaskService, TaskStandaloneComponent, TaskUploadService, TextEditorComponent, TypeaheadWidgetComponent, UnclaimTaskDirective, UploadWidgetComponent, ValidateDynamicTableRowEvent, WIDGET_DIRECTIVES, dropdownRequiredValidator, getDropdownOptionValue, isDropdownRestField, processPresetsDefaultModel };
10946
+ export { APPS_LIST_DIRECTIVES, APP_LIST_LAYOUT_GRID, APP_LIST_LAYOUT_LIST, ATTACHMENT_DIRECTIVES, ActivitiContentService, AmountEditorComponent, AppsListComponent, AppsProcessService, AttachFileWidgetComponent, AttachFileWidgetDialogComponent, AttachFileWidgetDialogService, AttachFolderWidgetComponent, AttachFormComponent, AttachmentComponent, BooleanEditorComponent, CheckboxGroupWidgetComponent, ChecklistComponent, ClaimTaskDirective, CommentProcessService, ContentWidgetComponent, CreateProcessAttachmentComponent, DYNAMIC_TABLE_WIDGET_DIRECTIVES, DateEditorComponent, DateTimeEditorComponent, DocumentWidgetComponent, DropdownEditorComponent, DropdownWidgetComponent, DynamicTableWidgetComponent, EcmModelService, EditorService, ExternalAlfrescoApiService, FORM_DIRECTIVES, FileViewerWidgetComponent, Form, FormComponent, FormCustomOutcomesComponent, FormDefinitionModel, FormListComponent, FunctionalGroupWidgetComponent, ModelService, PEOPLE_DIRECTIVES, PRESET_KEY, PROCESS_COMMENTS_DIRECTIVES, PROCESS_FORM_FIELD_VALIDATORS, PROCESS_LIST_DIRECTIVES, PeopleComponent, PeopleListComponent, PeopleProcessService, PeopleSearchComponent, PeopleSearchFieldComponent, PeopleSelectorComponent, PeopleWidgetComponent, ProcessAttachmentListComponent, ProcessCommentsComponent, ProcessContentService, ProcessDefinitionService, ProcessDropdownFieldValidator, ProcessFilterService, ProcessFiltersComponent, ProcessFormRenderingService, ProcessInstanceDetailsComponent, ProcessInstanceHeaderComponent, ProcessInstanceListComponent, ProcessInstanceTasksComponent, ProcessModule, ProcessService, ProcessUploadService, RadioButtonsWidgetComponent, RowEditorComponent, SelectAppsDialogComponent, StartFormComponent, StartProcessInstanceComponent, StartTaskComponent, TASK_COMMENTS_DIRECTIVES, TASK_LIST_DIRECTIVES, TaskAttachmentListComponent, TaskCommentsComponent, TaskCommentsService, TaskDetailsComponent, TaskDetailsEvent, TaskFilterService, TaskFiltersComponent, TaskFormComponent, TaskFormService, TaskHeaderComponent, TaskListComponent, TaskListService, TaskService, TaskStandaloneComponent, TaskUploadService, TextEditorComponent, TypeaheadWidgetComponent, UnclaimTaskDirective, UploadWidgetComponent, ValidateDynamicTableRowEvent, WIDGET_DIRECTIVES, dropdownRequiredValidator, getDropdownOptionValue, isDropdownRestField, processPresetsDefaultModel };
10825
10947
  //# sourceMappingURL=adf-process-services.mjs.map