Skip to content

Commit

Permalink
Merge branch 'develop' into ACS-8113
Browse files Browse the repository at this point in the history
  • Loading branch information
jacekpluta authored Jun 30, 2024
2 parents 7a7a549 + 2ad1bcc commit a04d885
Show file tree
Hide file tree
Showing 24 changed files with 74 additions and 85 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Alfresco Content Application

Please refer to the public [documentation](https://alfresco-content-app.netlify.com/) for more details
Please refer to the public [documentation](https://alfresco-content-app.netlify.app/) for more details

## Requirements

Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ The documentation is divided into the following sections:
| 1.5 | File Sharing | Share files, with time expiry if required, externally with uniquely generated URLs. |
| 1.5 | Versioning | The version manager provides access and management of previous file versions, and the ability to upload new versions. |
| 1.5 | Permissions | Granular user permission management of the folders and files throughout the repository. |
| 1.5 | Extensibility | The application provides safe extension points allowing full customisation; see [Documentation](https://alfresco-content-app.netlify.com/#/extending/) for details. |
| 1.5 | Extensibility | The application provides safe extension points allowing full customisation; see [Documentation](https://alfresco-content-app.netlify.app/#/extending/) for details. |
| 1.6 | Library management | Join and favorite libraries. New search input to find Libraries, files and/or folders. |
| 1.7 | Edit Offline | Lock and unlock for editing, download current version, upload new version. |
| 1.7 | Edit with Microsoft Office | Extension to edit online with Alfresco Office Services (AOS) |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@
*/

import { Component, Input, ViewEncapsulation } from '@angular/core';
import { ContentActionRef, ExtensionsModule } from '@alfresco/adf-extensions';
import { ContentActionRef, DynamicExtensionComponent } from '@alfresco/adf-extensions';
import { AppExtensionService } from '@alfresco/aca-shared';
import { CommonModule } from '@angular/common';
import { MatMenuModule } from '@angular/material/menu';
import { TranslateModule } from '@ngx-translate/core';
import { IconModule } from '@alfresco/adf-core';
import { MatDividerModule } from '@angular/material/divider';
import { IconComponent } from '@alfresco/adf-core';

@Component({
standalone: true,
imports: [CommonModule, TranslateModule, MatMenuModule, IconModule, MatDividerModule, ExtensionsModule],
imports: [CommonModule, TranslateModule, MatMenuModule, MatDividerModule, IconComponent, DynamicExtensionComponent],
selector: 'app-context-menu-item',
templateUrl: './context-menu-item.component.html',
encapsulation: ViewEncapsulation.None,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ import { Component, ViewEncapsulation, OnInit, OnDestroy, HostListener, ViewChil
import { MatMenuModule, MatMenuTrigger } from '@angular/material/menu';
import { Subject } from 'rxjs';
import { takeUntil } from 'rxjs/operators';
import { ContentActionRef, ExtensionsModule } from '@alfresco/adf-extensions';
import { ContentActionRef, DynamicExtensionComponent } from '@alfresco/adf-extensions';
import { ContextMenuOverlayRef } from './context-menu-overlay';
import { CONTEXT_MENU_DIRECTION } from './direction.token';
import { Direction } from '@angular/cdk/bidi';
import { AppExtensionService } from '@alfresco/aca-shared';
import { CommonModule } from '@angular/common';
import { TranslateModule } from '@ngx-translate/core';
import { MatDividerModule } from '@angular/material/divider';
import { IconModule } from '@alfresco/adf-core';
import { IconComponent } from '@alfresco/adf-core';
import { ContextMenuItemComponent } from './context-menu-item.component';
import { OutsideEventDirective } from './context-menu-outside-event.directive';

Expand All @@ -45,10 +45,10 @@ import { OutsideEventDirective } from './context-menu-outside-event.directive';
TranslateModule,
MatMenuModule,
MatDividerModule,
IconModule,
ContextMenuItemComponent,
ExtensionsModule,
OutsideEventDirective
OutsideEventDirective,
IconComponent,
DynamicExtensionComponent
],
selector: 'aca-context-menu',
templateUrl: './context-menu.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
*/

import { ContentPipeModule, NameColumnComponent, NodesApiService } from '@alfresco/adf-content-services';
import { NameColumnComponent, NodeNameTooltipPipe, NodesApiService } from '@alfresco/adf-content-services';
import { ChangeDetectorRef, Component, ElementRef, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core';
import { Actions, ofType } from '@ngrx/effects';
import { Subject } from 'rxjs';
Expand All @@ -31,12 +31,12 @@ import { NodeActionTypes } from '@alfresco/aca-shared/store';
import { LockedByComponent, isLocked, AppExtensionService, Badge } from '@alfresco/aca-shared';
import { CommonModule } from '@angular/common';
import { TranslateModule } from '@ngx-translate/core';
import { IconModule } from '@alfresco/adf-core';
import { ExtensionsModule } from '@alfresco/adf-extensions';
import { IconComponent } from '@alfresco/adf-core';
import { DynamicExtensionComponent } from '@alfresco/adf-extensions';

@Component({
standalone: true,
imports: [CommonModule, TranslateModule, LockedByComponent, ContentPipeModule, IconModule, ExtensionsModule],
imports: [CommonModule, TranslateModule, LockedByComponent, IconComponent, NodeNameTooltipPipe, DynamicExtensionComponent],
selector: 'aca-custom-name-column',
templateUrl: './name-column.component.html',
styleUrls: ['./name-column.component.scss'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ import {
ToolbarComponent
} from '@alfresco/aca-shared';
import { NavigateLibraryAction } from '@alfresco/aca-shared/store';
import { DataTableModule, PaginationComponent, TemplateModule, UserPreferencesService } from '@alfresco/adf-core';
import { DocumentListPresetRef, ExtensionsModule } from '@alfresco/adf-extensions';
import { DataTableModule, EmptyContentComponent, PaginationComponent, UserPreferencesService } from '@alfresco/adf-core';
import { DocumentListPresetRef, DynamicColumnComponent } from '@alfresco/adf-extensions';
import { CommonModule } from '@angular/common';
import { DocumentListModule } from '@alfresco/adf-content-services';
import { DocumentListDirective } from '../../directives/document-list.directive';
Expand All @@ -48,14 +48,14 @@ import { TranslateModule } from '@ngx-translate/core';
DocumentListModule,
DocumentListDirective,
ContextActionsDirective,
TemplateModule,
DataTableModule,
ExtensionsModule,
PaginationComponent,
InfoDrawerComponent,
PageLayoutComponent,
TranslateModule,
ToolbarComponent
ToolbarComponent,
EmptyContentComponent,
DynamicColumnComponent
],
templateUrl: './favorite-libraries.component.html',
encapsulation: ViewEncapsulation.None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ import {
import { NodeEntry, Node, PathElement, PathInfo } from '@alfresco/js-api';
import { Component, OnInit, ViewEncapsulation } from '@angular/core';
import { debounceTime, map } from 'rxjs/operators';
import { DocumentListPresetRef, ExtensionsModule } from '@alfresco/adf-extensions';
import { DocumentListPresetRef, DynamicColumnComponent } from '@alfresco/adf-extensions';
import { CommonModule } from '@angular/common';
import { DocumentListModule } from '@alfresco/adf-content-services';
import { DataTableModule, PaginationComponent, TemplateModule } from '@alfresco/adf-core';
import { DataTableModule, EmptyContentComponent, PaginationComponent } from '@alfresco/adf-core';
import { DocumentListDirective } from '../../directives/document-list.directive';
import { TranslateModule } from '@ngx-translate/core';

Expand All @@ -48,15 +48,15 @@ import { TranslateModule } from '@ngx-translate/core';
DocumentListModule,
DocumentListDirective,
ContextActionsDirective,
TemplateModule,
DataTableModule,
ExtensionsModule,
PaginationComponent,
PaginationDirective,
InfoDrawerComponent,
PageLayoutComponent,
TranslateModule,
ToolbarComponent
ToolbarComponent,
EmptyContentComponent,
DynamicColumnComponent
],
templateUrl: './favorites.component.html',
encapsulation: ViewEncapsulation.None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
[resizable]="column.resizable"
>
<ng-template let-context>
<adf-dynamic-column [id]="column.template" [context]="context"> </adf-dynamic-column>
<adf-dynamic-column [id]="column.template" [context]="context"></adf-dynamic-column>
</ng-template>
</data-column>
</ng-container>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import {
import { SetCurrentFolderAction, isAdmin, UploadFileVersionAction, showLoaderSelector } from '@alfresco/aca-shared/store';
import { debounceTime, takeUntil } from 'rxjs/operators';
import { BreadcrumbModule, DocumentListModule, FileUploadEvent, FilterSearch, ShareDataRow, UploadModule } from '@alfresco/adf-content-services';
import { DocumentListPresetRef, ExtensionsModule } from '@alfresco/adf-extensions';
import { DocumentListPresetRef, DynamicColumnComponent } from '@alfresco/adf-extensions';
import { CommonModule } from '@angular/common';
import { TranslateModule } from '@ngx-translate/core';
import { DocumentListDirective } from '../../directives/document-list.directive';
Expand All @@ -58,13 +58,13 @@ import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
DocumentListDirective,
ContextActionsDirective,
DataTableModule,
ExtensionsModule,
PaginationComponent,
MatProgressSpinnerModule,
InfoDrawerComponent,
PaginationDirective,
PageLayoutComponent,
ToolbarComponent
ToolbarComponent,
DynamicColumnComponent
],
templateUrl: './files.component.html',
encapsulation: ViewEncapsulation.None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ import {
PaginationDirective,
ToolbarComponent
} from '@alfresco/aca-shared';
import { DocumentListPresetRef, ExtensionsModule } from '@alfresco/adf-extensions';
import { DocumentListPresetRef, DynamicColumnComponent } from '@alfresco/adf-extensions';
import { CommonModule } from '@angular/common';
import { DocumentListModule } from '@alfresco/adf-content-services';
import { DataTableModule, PaginationComponent, TemplateModule } from '@alfresco/adf-core';
import { DataTableModule, EmptyContentComponent, PaginationComponent } from '@alfresco/adf-core';
import { DocumentListDirective } from '../../directives/document-list.directive';
import { TranslateModule } from '@ngx-translate/core';

Expand All @@ -48,15 +48,15 @@ import { TranslateModule } from '@ngx-translate/core';
DocumentListModule,
DocumentListDirective,
ContextActionsDirective,
TemplateModule,
DataTableModule,
ExtensionsModule,
PaginationComponent,
PaginationDirective,
InfoDrawerComponent,
PageLayoutComponent,
TranslateModule,
ToolbarComponent
ToolbarComponent,
EmptyContentComponent,
DynamicColumnComponent
],
templateUrl: './libraries.component.html',
encapsulation: ViewEncapsulation.None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ import {
PaginationDirective,
ToolbarComponent
} from '@alfresco/aca-shared';
import { DocumentListPresetRef, ExtensionsModule } from '@alfresco/adf-extensions';
import { DocumentListPresetRef, DynamicColumnComponent } from '@alfresco/adf-extensions';
import { CommonModule } from '@angular/common';
import { DocumentListModule } from '@alfresco/adf-content-services';
import { DataTableModule, PaginationComponent, TemplateModule } from '@alfresco/adf-core';
import { DataTableModule, EmptyContentComponent, PaginationComponent } from '@alfresco/adf-core';
import { DocumentListDirective } from '../../directives/document-list.directive';
import { TranslateModule } from '@ngx-translate/core';

Expand All @@ -47,15 +47,15 @@ import { TranslateModule } from '@ngx-translate/core';
DocumentListModule,
DocumentListDirective,
ContextActionsDirective,
TemplateModule,
DataTableModule,
ExtensionsModule,
PaginationComponent,
PaginationDirective,
InfoDrawerComponent,
PageLayoutComponent,
TranslateModule,
ToolbarComponent
ToolbarComponent,
EmptyContentComponent,
DynamicColumnComponent
],
templateUrl: './recent-files.component.html',
encapsulation: ViewEncapsulation.None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import {
PaginationDirective,
ToolbarComponent
} from '@alfresco/aca-shared';
import { DocumentListPresetRef, ExtensionsModule } from '@alfresco/adf-extensions';
import { DocumentListPresetRef, DynamicColumnComponent } from '@alfresco/adf-extensions';
import { CommonModule } from '@angular/common';
import { TranslateModule } from '@ngx-translate/core';
import { SearchInputComponent } from '../search-input/search-input.component';
Expand All @@ -55,14 +55,14 @@ import { DocumentListDirective } from '../../../directives/document-list.directi
MatProgressBarModule,
DocumentListModule,
DataTableModule,
ExtensionsModule,
PaginationComponent,
InfoDrawerComponent,
ContextActionsDirective,
DocumentListDirective,
PaginationDirective,
PageLayoutComponent,
ToolbarComponent
ToolbarComponent,
DynamicColumnComponent
],
selector: 'aca-search-results',
templateUrl: './search-libraries-results.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import { Component, OnInit, ViewEncapsulation } from '@angular/core';
import { NodeEntry, Pagination, ResultSetPaging } from '@alfresco/js-api';
import { ActivatedRoute, Params } from '@angular/router';
import { AlfrescoViewerModule, DocumentListModule, SearchModule, SearchQueryBuilderService, TagService } from '@alfresco/adf-content-services';
import { AlfrescoViewerComponent, DocumentListModule, SearchModule, SearchQueryBuilderService, TagService } from '@alfresco/adf-content-services';
import {
infoDrawerPreview,
NavigateToFolder,
Expand Down Expand Up @@ -59,7 +59,7 @@ import { SearchActionMenuComponent } from '../search-action-menu/search-action-m
import { TagsColumnComponent } from '../../dl-custom-components/tags-column/tags-column.component';
import { MatIconModule } from '@angular/material/icon';
import { SearchResultsRowComponent } from '../search-results-row/search-results-row.component';
import { DocumentListPresetRef, ExtensionsModule } from '@alfresco/adf-extensions';
import { DocumentListPresetRef, DynamicColumnComponent } from '@alfresco/adf-extensions';

@Component({
standalone: true,
Expand All @@ -79,15 +79,15 @@ import { DocumentListPresetRef, ExtensionsModule } from '@alfresco/adf-extension
SearchActionMenuComponent,
TagsColumnComponent,
PaginationComponent,
AlfrescoViewerModule,
MatIconModule,
InfoDrawerComponent,
SearchResultsRowComponent,
PaginationDirective,
ViewerModule,
PageLayoutComponent,
ToolbarComponent,
ExtensionsModule
AlfrescoViewerComponent,
DynamicColumnComponent
],
selector: 'aca-search-results',
templateUrl: './search-results.component.html',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ import {
PaginationDirective,
ToolbarComponent
} from '@alfresco/aca-shared';
import { DocumentListPresetRef, ExtensionsModule } from '@alfresco/adf-extensions';
import { DocumentListPresetRef, DynamicColumnComponent } from '@alfresco/adf-extensions';
import { CommonModule } from '@angular/common';
import { DocumentListModule } from '@alfresco/adf-content-services';
import { DataTableModule, PaginationComponent, TemplateModule } from '@alfresco/adf-core';
import { DataTableModule, EmptyContentComponent, PaginationComponent } from '@alfresco/adf-core';
import { DocumentListDirective } from '../../directives/document-list.directive';
import { TranslateModule } from '@ngx-translate/core';

Expand All @@ -48,15 +48,15 @@ import { TranslateModule } from '@ngx-translate/core';
DocumentListModule,
DocumentListDirective,
ContextActionsDirective,
TemplateModule,
DataTableModule,
ExtensionsModule,
PaginationComponent,
InfoDrawerComponent,
PaginationDirective,
PageLayoutComponent,
TranslateModule,
ToolbarComponent
ToolbarComponent,
EmptyContentComponent,
DynamicColumnComponent
],
templateUrl: './shared-files.component.html',
encapsulation: ViewEncapsulation.None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/

import { Component, Input, OnInit, ViewEncapsulation, OnDestroy } from '@angular/core';
import { ExtensionsModule, NavBarGroupRef, NavBarLinkRef } from '@alfresco/adf-extensions';
import { DynamicExtensionComponent, NavBarGroupRef, NavBarLinkRef } from '@alfresco/adf-extensions';
import { Store } from '@ngrx/store';
import { AppStore, getSideNavState } from '@alfresco/aca-shared/store';
import { Subject } from 'rxjs';
Expand All @@ -37,7 +37,7 @@ import { ExpandMenuComponent } from './components/expand-menu.component';

@Component({
standalone: true,
imports: [CommonModule, SidenavHeaderComponent, MatListModule, ExpandMenuComponent, ExtensionsModule],
imports: [CommonModule, SidenavHeaderComponent, MatListModule, ExpandMenuComponent, DynamicExtensionComponent],
selector: 'app-sidenav',
templateUrl: './sidenav.component.html',
styleUrls: ['./sidenav.component.scss'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ import { Router } from '@angular/router';
import { Subject } from 'rxjs';
import { CommonModule } from '@angular/common';
import { TranslateModule } from '@ngx-translate/core';
import { ContentDirectiveModule } from '@alfresco/adf-content-services';
import { LibraryFavoriteDirective } from '@alfresco/adf-content-services';
import { MatIconModule } from '@angular/material/icon';
import { MatMenuModule } from '@angular/material/menu';

@Component({
standalone: true,
imports: [CommonModule, TranslateModule, ContentDirectiveModule, MatIconModule, MatMenuModule],
imports: [CommonModule, TranslateModule, MatIconModule, MatMenuModule, LibraryFavoriteDirective],
selector: 'app-toggle-favorite-library',
template: `
<button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ import { SelectionState } from '@alfresco/adf-extensions';
import { AppStore, ReloadDocumentListAction, getAppSelection } from '@alfresco/aca-shared/store';
import { Router } from '@angular/router';
import { CommonModule } from '@angular/common';
import { ContentDirectiveModule } from '@alfresco/adf-content-services';
import { NodeFavoriteDirective } from '@alfresco/adf-content-services';
import { MatIconModule } from '@angular/material/icon';
import { TranslateModule } from '@ngx-translate/core';
import { MatMenuModule } from '@angular/material/menu';

@Component({
standalone: true,
imports: [CommonModule, TranslateModule, ContentDirectiveModule, MatIconModule, MatMenuModule],
imports: [CommonModule, TranslateModule, MatIconModule, MatMenuModule, NodeFavoriteDirective],
selector: 'app-toggle-favorite',
template: `
<button mat-menu-item #favorites="adfFavorite" (toggle)="onToggleEvent()" [adf-node-favorite]="(selection$ | async).nodes">
Expand Down
Loading

0 comments on commit a04d885

Please sign in to comment.