@alfresco/adf-process-services-cloud 8.4.0-19534494602 → 8.4.0-19535715289
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 +17 -15
- package/fesm2022/adf-process-services-cloud.mjs.map +1 -1
- package/lib/process/process-filters/components/edit-process-filter/edit-process-filter-cloud.component.d.ts +2 -3
- package/lib/task/task-filters/components/edit-task-filters/base-edit-task-filter-cloud.component.d.ts +3 -3
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { inject, Injectable, EventEmitter, DestroyRef, Output, Input, ContentChild, Directive, InjectionToken, Inject, ViewEncapsulation, Component, NgModule, ViewChild, Optional, ChangeDetectorRef, HostListener, ViewContainerRef, ChangeDetectionStrategy, input, output, signal, SecurityContext } from '@angular/core';
|
|
2
|
+
import { inject, Injectable, EventEmitter, DestroyRef, Output, Input, ContentChild, Directive, InjectionToken, Inject, ViewEncapsulation, Component, NgModule, effect, ViewChild, Optional, ChangeDetectorRef, HostListener, ViewContainerRef, ChangeDetectionStrategy, input, output, signal, SecurityContext } from '@angular/core';
|
|
3
3
|
import * as i1$1 from '@alfresco/adf-core';
|
|
4
4
|
import { AppConfigService, JwtHelperService, TranslationService, DataTableSchema, UserPreferenceValues, CustomEmptyContentTemplateDirective, ObjectDataTableAdapter, ColumnsSelectorComponent, MainMenuDataTableTemplateDirective, EmptyContentComponent, NoContentTemplateDirective, LoadingContentTemplateDirective, DataTableComponent, AdfDateFnsAdapter, MOMENT_DATE_FORMATS, IconComponent, UserPreferencesService, DateFnsUtils, ADF_DATE_FORMATS, FullNamePipe, InitialUsernamePipe, FormService, FormModel, FormBaseComponent, WidgetVisibilityService, UploadWidgetContentLinkModel, FormEvent, FormOutcomeModel, ConfirmDialogComponent, FormOutcomeEvent, FormatSpacePipe, FormRendererComponent, ToolbarDividerComponent, ToolbarComponent, WidgetComponent, ThumbnailService, NotificationService, ErrorWidgetComponent, LocalizedDatePipe, UploadDirective, ContentLinkModel, ErrorMessageModel, DEFAULT_DATE_FORMAT, FormFieldEvent, FormFieldTypes, SelectFilterInputComponent, DynamicComponentMapper, CardViewTextItemModel, CardViewSelectItemModel, CardViewDatetimeItemModel, CardViewDateItemModel, CardViewArrayItemModel, CardViewComponent, CustomLoadingContentTemplateDirective, isOutcomeButtonVisible, InplaceFormInputComponent, BaseViewerWidgetComponent, ObjectDataColumn, ObjectDataRow, FormBaseModule, FormRenderingService, provideTranslations } from '@alfresco/adf-core';
|
|
5
5
|
import { from, EMPTY, Subject, throwError, of, BehaviorSubject, combineLatest, firstValueFrom, forkJoin, catchError as catchError$1 } from 'rxjs';
|
|
@@ -4003,6 +4003,7 @@ const SORT_PROPERTY = 'sort';
|
|
|
4003
4003
|
const ORDER_PROPERTY = 'order';
|
|
4004
4004
|
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
4005
4005
|
class BaseEditTaskFilterCloudComponent {
|
|
4006
|
+
static { this.ACTIONS_DISABLED_BY_DEFAULT = [ACTION_SAVE, ACTION_DELETE]; }
|
|
4006
4007
|
constructor() {
|
|
4007
4008
|
/** (required) Name of the app. */
|
|
4008
4009
|
this.appName = '';
|
|
@@ -4049,13 +4050,13 @@ class BaseEditTaskFilterCloudComponent {
|
|
|
4049
4050
|
this.dialog = inject(MatDialog);
|
|
4050
4051
|
this.formBuilder = inject(UntypedFormBuilder);
|
|
4051
4052
|
this.dateAdapter = inject(DateAdapter);
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4053
|
+
// Use effect to react to locale signal changes (must be in injection context)
|
|
4054
|
+
effect(() => {
|
|
4055
|
+
const locale = this.userPreferencesService.localeSignal();
|
|
4056
|
+
if (locale) {
|
|
4057
|
+
this.dateAdapter.setLocale(DateFnsUtils.getLocaleFromString(locale));
|
|
4058
|
+
}
|
|
4059
|
+
});
|
|
4059
4060
|
}
|
|
4060
4061
|
ngOnChanges(changes) {
|
|
4061
4062
|
const { id } = changes;
|
|
@@ -4397,7 +4398,7 @@ class BaseEditTaskFilterCloudComponent {
|
|
|
4397
4398
|
}
|
|
4398
4399
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.6", ngImport: i0, type: BaseEditTaskFilterCloudComponent, decorators: [{
|
|
4399
4400
|
type: Directive
|
|
4400
|
-
}], propDecorators: { appName: [{
|
|
4401
|
+
}], ctorParameters: () => [], propDecorators: { appName: [{
|
|
4401
4402
|
type: Input
|
|
4402
4403
|
}], id: [{
|
|
4403
4404
|
type: Input
|
|
@@ -11597,12 +11598,13 @@ class EditProcessFilterCloudComponent {
|
|
|
11597
11598
|
this.initiatorOptions = [];
|
|
11598
11599
|
this.isLoading = false;
|
|
11599
11600
|
this.destroyRef = inject(DestroyRef);
|
|
11600
|
-
|
|
11601
|
-
|
|
11602
|
-
|
|
11603
|
-
|
|
11604
|
-
|
|
11605
|
-
|
|
11601
|
+
// Use effect to react to locale signal changes (must be in injection context)
|
|
11602
|
+
effect(() => {
|
|
11603
|
+
const locale = this.userPreferencesService.localeSignal();
|
|
11604
|
+
if (locale) {
|
|
11605
|
+
this.dateAdapter.setLocale(DateFnsUtils.getLocaleFromString(locale));
|
|
11606
|
+
}
|
|
11607
|
+
});
|
|
11606
11608
|
}
|
|
11607
11609
|
ngOnChanges(changes) {
|
|
11608
11610
|
const id = changes['id'];
|