@alfresco/adf-process-services-cloud 9.2.0-32232398905 → 9.2.0-32283329264
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.
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { inject, Injectable, InjectionToken, EventEmitter, DestroyRef, Output, Input, ContentChild, Directive, ViewEncapsulation, Component, NgModule, effect, ViewChild, ChangeDetectorRef, HostListener, ElementRef, Renderer2, signal, ViewContainerRef, ChangeDetectionStrategy, input, output, SecurityContext } from '@angular/core';
|
|
3
3
|
import * as i3 from '@alfresco/adf-core';
|
|
4
4
|
import { AppConfigService, JwtHelperService, OAuth2Service, TranslationService, DataTableSchema, UserPreferencesService, UserPreferenceValues, CustomEmptyContentTemplateDirective, ObjectDataTableAdapter, ColumnsSelectorComponent, MainMenuDataTableTemplateDirective, EmptyContentComponent, NoContentTemplateDirective, LoadingContentTemplateDirective, DataTableComponent, AdfDateFnsAdapter, MOMENT_DATE_FORMATS, StorageService, AuthenticationService, IconModule, DateFnsUtils, ADF_DATE_FORMATS, FullNamePipe, InitialUsernamePipe, FormService, FormModel, FormFieldTypes, ROW_ID_PREFIX, FormBaseComponent, ADF_DISPLAY_TEXT_SETTINGS, WidgetVisibilityService, FormExpressionService, UploadWidgetContentLinkModel, FormEvent, FormOutcomeModel, ConfirmDialogComponent, FormRulesEvent, FormOutcomeEvent, FormRendererComponent, ToolbarDividerComponent, ToolbarComponent, FormatSpacePipe, NotificationService, DownloadService, WidgetComponent, ThumbnailService, ErrorWidgetComponent, LocalizedDatePipe, UploadDirective, ContentLinkModel, ErrorMessageModel, DEFAULT_DATE_FORMAT, FormFieldValueFormatterService, ADF_TYPED_VALUE_FORMATTING_ENABLED, FormFieldEvent, SelectFilterInputComponent, FormRenderingService, DynamicComponentMapper, CardViewUpdateService, ClipboardService, CardViewTextItemModel, CardViewSelectItemModel, CardViewDatetimeItemModel, CardViewDateItemModel, CardViewArrayItemModel, CardViewComponent, CustomLoadingContentTemplateDirective, isOutcomeButtonVisible, InplaceFormInputComponent, BaseViewerWidgetComponent, BaseDisplayTextWidgetComponent, ObjectDataColumn, ObjectDataRow, FormBaseModule, provideTranslations } from '@alfresco/adf-core';
|
|
5
|
-
import { from, EMPTY, isObservable, of, Subject, throwError, BehaviorSubject, combineLatest, firstValueFrom, forkJoin, catchError as catchError$1 } from 'rxjs';
|
|
5
|
+
import { from, EMPTY, isObservable, of, Subject, throwError, BehaviorSubject, combineLatest, firstValueFrom, merge, forkJoin, catchError as catchError$1 } from 'rxjs';
|
|
6
6
|
import { map, take, switchMap, catchError, tap, filter, shareReplay, debounceTime, finalize, mergeMap, distinctUntilChanged, expand, reduce, mapTo, concatMap } from 'rxjs/operators';
|
|
7
7
|
import { AlfrescoApiService, NodeAction, ContentNodeSelectorComponent, NodesApiService, ContentService, ContentNodeSelectorPanelService, NewVersionUploaderService, NewVersionUploaderDataAction, ContentMetadataComponent, AlfrescoViewerComponent } from '@alfresco/adf-content-services';
|
|
8
8
|
import { AdfHttpClient } from '@alfresco/adf-core/api';
|
|
@@ -7101,8 +7101,8 @@ class FormCloudComponent extends FormBaseComponent {
|
|
|
7101
7101
|
this.disableSaveButton = false;
|
|
7102
7102
|
}
|
|
7103
7103
|
});
|
|
7104
|
-
this.formService.formRulesEvent
|
|
7105
|
-
.pipe(
|
|
7104
|
+
merge(this.formService.formVisibilityRefreshed.pipe(filter((event) => event.form?.id === this.form?.id)), this.formService.formRulesEvent.pipe(filter((event) => event?.type === 'fieldValueChanged' && event.form?.id === this.form?.id)))
|
|
7105
|
+
.pipe(takeUntilDestroyed())
|
|
7106
7106
|
.subscribe(() => this.recomputeVisibleOutcomes());
|
|
7107
7107
|
}
|
|
7108
7108
|
onKeyDown(event) {
|
|
@@ -7335,7 +7335,6 @@ class FormCloudComponent extends FormBaseComponent {
|
|
|
7335
7335
|
checkVisibility(field) {
|
|
7336
7336
|
if (field?.form) {
|
|
7337
7337
|
this.visibilityService.refreshVisibility(field.form);
|
|
7338
|
-
this.recomputeVisibleOutcomes();
|
|
7339
7338
|
}
|
|
7340
7339
|
}
|
|
7341
7340
|
refreshFormData(previousData = []) {
|
|
@@ -7349,7 +7348,6 @@ class FormCloudComponent extends FormBaseComponent {
|
|
|
7349
7348
|
this.setCheckParentVisibilityForValidationOnFields();
|
|
7350
7349
|
this.visibilityService.refreshVisibility(this.form);
|
|
7351
7350
|
this.form.validateForm();
|
|
7352
|
-
this.recomputeVisibleOutcomes();
|
|
7353
7351
|
this.onFormLoaded(this.form);
|
|
7354
7352
|
this.formService.formRulesEvent.next(new FormRulesEvent('dataRefreshed', new FormEvent(this.form)));
|
|
7355
7353
|
this.onFormDataRefreshed(this.form);
|