@alfresco/aca-content 7.4.0-23733497981 → 7.4.0-23739386823
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 { DomSanitizer, HammerModule } from '@angular/platform-browser';
|
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { inject, Injectable, DestroyRef, ViewEncapsulation, Component, SecurityContext, NgZone, RendererFactory2, Input, EventEmitter, HostListener, Output, Directive, InjectionToken, ViewChild, QueryList, ViewChildren, Injector, NgModule, ChangeDetectionStrategy, ChangeDetectorRef, ElementRef, Pipe, Renderer2, ContentChildren } from '@angular/core';
|
|
4
4
|
import * as i2$6 from '@alfresco/adf-core';
|
|
5
|
-
import { TranslationService, ThumbnailService, FileSizePipe, DIALOG_COMPONENT_DATA, TimeAgoPipe, LocalizedDatePipe, IconComponent, NotificationService, ConfirmDialogComponent, DialogComponent, DialogSize, FileUtils, UserPreferencesService, LogoutDirective, AppConfigService, AppConfigValues, UnsavedChangesDialogComponent, AvatarComponent, ShowHeaderMode, PaginationComponent, DataColumnListComponent, DataColumnComponent, CustomEmptyContentTemplateDirective, EmptyContentComponent, DateColumnHeaderComponent, ViewerToolbarComponent, InfoDrawerButtonsDirective, AuthenticationService, ViewerModule, ClipboardService, UnsavedChangesGuard, DataTableSchema, DATATABLE_DIRECTIVES, TEMPLATE_DIRECTIVES, DataTableComponent, AuthGuard,
|
|
5
|
+
import { TranslationService, ThumbnailService, FileSizePipe, DIALOG_COMPONENT_DATA, TimeAgoPipe, LocalizedDatePipe, IconComponent, NotificationService, ConfirmDialogComponent, DialogComponent, DialogSize, FileUtils, UserPreferencesService, LogoutDirective, AppConfigService, AppConfigValues, UnsavedChangesDialogComponent, AvatarComponent, ShowHeaderMode, PaginationComponent, DataColumnListComponent, DataColumnComponent, CustomEmptyContentTemplateDirective, EmptyContentComponent, DateColumnHeaderComponent, ViewerToolbarComponent, InfoDrawerButtonsDirective, AuthenticationService, ViewerModule, ClipboardService, UnsavedChangesGuard, DataTableSchema, DATATABLE_DIRECTIVES, TEMPLATE_DIRECTIVES, DataTableComponent, AuthGuard, provideTranslations, NotificationHistoryComponent, LanguagePickerComponent, AuthGuardEcm } from '@alfresco/adf-core';
|
|
6
6
|
import * as i3$4 from '@alfresco/adf-content-services';
|
|
7
7
|
import { DocumentListService, ContentVersionService, DownloadZipDialogComponent, ContentService, AlfrescoApiService, NodeAction, ContentNodeDialogService, ContentNodeSelectorComponent, NodesApiService, NodeAspectService, NewVersionUploaderService, NewVersionUploaderDataAction, ShareDialogComponent, FolderDialogComponent, LibraryDialogComponent, RenditionService, SearchQueryBuilderService, UploadService, FileModel, SearchAiService, NameColumnComponent, NodeCommentsComponent, ContentMetadataService, TagService, CategoryService, ContentMetadataComponent, VersionManagerComponent, LibraryFavoriteDirective, NodeFavoriteDirective, LibraryMembershipDirective, DocumentListComponent, AgentService, SearchHeaderQueryBuilderService, BreadcrumbComponent, UploadDragAreaComponent, SavedSearchesLegacyService, SavedSearchesService, forbidOnlySpaces, AlfrescoViewerComponent, SearchFormComponent, ResetSearchDirective, SearchFilterChipsComponent, PermissionListComponent, AlfrescoViewerModule, AutoFocusDirective, SitesService, UploadModule, TagNodeListComponent, ContentModule, TrashcanNameColumnComponent, LibraryStatusColumnComponent, LibraryRoleColumnComponent, LibraryNameColumnComponent } from '@alfresco/adf-content-services';
|
|
8
8
|
import { ContentApiService, NodePermissionService, AppHookService, AppSettingsService, AppExtensionService, isLocked, LockedByComponent, UserProfileService, AutoDownloadService, PageComponent, GenericErrorComponent, ContextActionsDirective, InfoDrawerComponent, PaginationDirective, PageLayoutComponent, ToolbarComponent, AppService, AppSharedRuleGuard, PluginEnabledGuard, ExtensionsDataLoaderGuard, NavigationHistoryService, ToolbarMenuItemComponent, DocumentBasePageService, provideContentAppExtensions } from '@alfresco/aca-shared';
|
|
@@ -7246,6 +7246,11 @@ class SearchInputComponent {
|
|
|
7246
7246
|
this.has400LibraryError = true;
|
|
7247
7247
|
});
|
|
7248
7248
|
}
|
|
7249
|
+
ngAfterViewInit() {
|
|
7250
|
+
setTimeout(() => {
|
|
7251
|
+
this.searchInputField.nativeElement.focus();
|
|
7252
|
+
});
|
|
7253
|
+
}
|
|
7249
7254
|
ngOnDestroy() {
|
|
7250
7255
|
this.filterService.removeContentFilters();
|
|
7251
7256
|
}
|
|
@@ -10880,7 +10885,6 @@ class SaveSearchSidenavComponent {
|
|
|
10880
10885
|
this.savedSearchCount = 0;
|
|
10881
10886
|
this.manageSearchesId = 'manage-saved-searches';
|
|
10882
10887
|
this.destroyRef = inject(DestroyRef);
|
|
10883
|
-
this.userPreferenceService = inject(UserPreferencesService);
|
|
10884
10888
|
}
|
|
10885
10889
|
ngOnInit() {
|
|
10886
10890
|
this.savedSearchesService.init();
|
|
@@ -10889,10 +10893,7 @@ class SaveSearchSidenavComponent {
|
|
|
10889
10893
|
this.savedSearchCount = savedSearches.length;
|
|
10890
10894
|
this.savedSearches = savedSearches;
|
|
10891
10895
|
});
|
|
10892
|
-
this.
|
|
10893
|
-
.select(UserPreferenceValues.Locale)
|
|
10894
|
-
.pipe(takeUntilDestroyed(this.destroyRef), delay(10))
|
|
10895
|
-
.subscribe(() => {
|
|
10896
|
+
this.translationService.translate.onLangChange.pipe(takeUntilDestroyed(this.destroyRef)).subscribe(() => {
|
|
10896
10897
|
if (this.item) {
|
|
10897
10898
|
this.item.title = this.translationService.instant('APP.BROWSE.SEARCH.SAVE_SEARCH.NAVBAR.TITLE', { number: this.savedSearchCount });
|
|
10898
10899
|
}
|