@alfresco/aca-content 7.4.0-23644208372 → 7.4.0-23733497981
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/assets/app.extensions.json +10 -3
- package/assets/i18n/en.json +7 -0
- package/fesm2022/alfresco-aca-content.mjs +67 -3
- package/fesm2022/alfresco-aca-content.mjs.map +1 -1
- package/lib/components/files/files.component.d.ts +2 -1
- package/lib/components/repository-view/repository-view.component.d.ts +5 -0
- package/package.json +1 -1
|
@@ -190,22 +190,29 @@
|
|
|
190
190
|
"route": "recent-files"
|
|
191
191
|
},
|
|
192
192
|
{
|
|
193
|
-
"id": "app.navbar.
|
|
193
|
+
"id": "app.navbar.repositoryView",
|
|
194
194
|
"order": 500,
|
|
195
|
+
"title": "APP.BROWSE.REPOSITORY_VIEW.SIDENAV_LINK.LABEL",
|
|
196
|
+
"description": "APP.BROWSE.REPOSITORY_VIEW.SIDENAV_LINK.TOOLTIP",
|
|
197
|
+
"route": "repository"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"id": "app.navbar.favorites",
|
|
201
|
+
"order": 600,
|
|
195
202
|
"title": "APP.BROWSE.FAVORITES.SIDENAV_LINK.LABEL",
|
|
196
203
|
"description": "APP.BROWSE.FAVORITES.SIDENAV_LINK.TOOLTIP",
|
|
197
204
|
"route": "favorites"
|
|
198
205
|
},
|
|
199
206
|
{
|
|
200
207
|
"id": "app.navbar.shared",
|
|
201
|
-
"order":
|
|
208
|
+
"order": 700,
|
|
202
209
|
"title": "APP.BROWSE.SHARED.SIDENAV_LINK.LABEL",
|
|
203
210
|
"description": "APP.BROWSE.SHARED.SIDENAV_LINK.TOOLTIP",
|
|
204
211
|
"route": "shared"
|
|
205
212
|
},
|
|
206
213
|
{
|
|
207
214
|
"id": "app.navbar.trashcan",
|
|
208
|
-
"order":
|
|
215
|
+
"order": 800,
|
|
209
216
|
"title": "APP.BROWSE.TRASHCAN.SIDENAV_LINK.LABEL",
|
|
210
217
|
"description": "APP.BROWSE.TRASHCAN.SIDENAV_LINK.TOOLTIP",
|
|
211
218
|
"route": "trashcan"
|
package/assets/i18n/en.json
CHANGED
|
@@ -114,6 +114,13 @@
|
|
|
114
114
|
"TITLE": "Permissions"
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
|
+
"REPOSITORY_VIEW": {
|
|
118
|
+
"TITLE": "Repository",
|
|
119
|
+
"SIDENAV_LINK": {
|
|
120
|
+
"LABEL": "Repository",
|
|
121
|
+
"TOOLTIP": "View the repository"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
117
124
|
"LIBRARIES": {
|
|
118
125
|
"TITLE": "File Libraries",
|
|
119
126
|
"DESCRIPTION": "Access File Libraries",
|
|
@@ -6273,6 +6273,7 @@ class FilesComponent extends PageComponent {
|
|
|
6273
6273
|
this.columns = [];
|
|
6274
6274
|
this.isFilterHeaderActive = false;
|
|
6275
6275
|
this._errorTranslationKey = 'APP.MESSAGES.ERRORS.MISSING_CONTENT';
|
|
6276
|
+
this.navigationPath = '/personal-files';
|
|
6276
6277
|
}
|
|
6277
6278
|
get errorTranslationKey() {
|
|
6278
6279
|
return this._errorTranslationKey;
|
|
@@ -6299,7 +6300,7 @@ class FilesComponent extends PageComponent {
|
|
|
6299
6300
|
void this.updateCurrentNode(node.entry);
|
|
6300
6301
|
}
|
|
6301
6302
|
else {
|
|
6302
|
-
void this.router.navigate([
|
|
6303
|
+
void this.router.navigate([this.navigationPath, node.entry.parentId], {
|
|
6303
6304
|
replaceUrl: true
|
|
6304
6305
|
});
|
|
6305
6306
|
}
|
|
@@ -6538,7 +6539,7 @@ class FilesComponent extends PageComponent {
|
|
|
6538
6539
|
}
|
|
6539
6540
|
}
|
|
6540
6541
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: FilesComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
6541
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.19", type: FilesComponent, isStandalone: true, selector: "aca-files", usesInheritance: true, ngImport: i0, template: "<aca-page-layout [hasError]=\"!isValidPath\">\n <div class=\"aca-page-layout-header\">\n <aca-search-ai-input-container\n *ngIf=\"searchAiInputState.active; else header\"\n [agentId]=\"searchAiInputState.selectedAgentId\" />\n <ng-template #header>\n <div class=\"aca-header-container\">\n <adf-breadcrumb\n [root]=\"title\"\n [folderNode]=\"node\"\n [selectedRowItemsCount]=\"selectedRowItemsCount\" [maxItems]=\"isSmallScreen ? 1 : 0\"\n (navigate)=\"onBreadcrumbNavigate($event)\" />\n <aca-toolbar [items]=\"actions\" />\n </div>\n </ng-template>\n </div>\n\n <div class=\"aca-page-layout-error\">\n <aca-generic-error [text]=\"errorTranslationKey\" />\n </div>\n\n <div class=\"aca-page-layout-content\">\n <div class=\"aca-main-content\" *ngIf=\"!(showLoader$ | async)\">\n <adf-upload-drag-area [rootFolderId]=\"node?.id\" [disabled]=\"!canUpload\" (updateFileVersion)=\"onUploadNewVersion($event)\">\n <adf-document-list\n #documentList\n acaDocumentList\n acaContextActions\n [selectionMode]=\"'multiple'\"\n [multiselect]=\"true\"\n [currentFolderId]=\"node?.id\"\n [loading]=\"true\"\n [showHeader]=\"showHeader\"\n [node]=\"nodeResult\"\n [allowDropFiles]=\"true\"\n [displayCheckboxesOnHover]=\"true\"\n [preselectNodes]=\"selectedNodesState?.nodes\"\n [navigate]=\"false\"\n [sorting]=\"['name', 'asc']\"\n [imageResolver]=\"imageResolver\"\n [headerFilters]=\"true\"\n [filterValue]=\"queryParams\"\n [isDataProvidedExternally]=\"!!queryParams\"\n [isResizingEnabled]=\"true\"\n [blurOnResize]=\"false\"\n [displayDragAndDropHint]=\"canUpload\"\n (node-dblclick)=\"handleNodeClick($event)\"\n (name-click)=\"handleNodeClick($event)\"\n (selectedItemsCountChanged)=\"onSelectedItemsCountChanged($event)\"\n (filterSelection)=\"onFilterSelected($event)\"\n (error)=\"onError($event)\"\n >\n <data-columns>\n <ng-container *ngFor=\"let column of columns; trackBy: trackByColumnId\">\n <ng-container *ngIf=\"column.template && !(column.desktopOnly && isSmallScreen)\">\n <data-column\n [id]=\"column.id\"\n [key]=\"column.key\"\n [title]=\"column.title\"\n [type]=\"column.type\"\n [format]=\"column.format\"\n [class]=\"column.class\"\n [sortable]=\"column.sortable\"\n [sortingKey]=\"column.sortingKey || column.key\"\n [isHidden]=\"column.isHidden\"\n [draggable]=\"column.draggable\"\n [resizable]=\"column.resizable\"\n >\n <ng-template let-context>\n <adf-dynamic-column [id]=\"column.template\" [context]=\"context\" />\n </ng-template>\n </data-column>\n </ng-container>\n\n <ng-container *ngIf=\"!column.template && !(column.desktopOnly && isSmallScreen)\">\n <data-column\n [id]=\"column.id\"\n [key]=\"column.key\"\n [title]=\"column.title\"\n [type]=\"column.type\"\n [format]=\"column.format\"\n [class]=\"column.class\"\n [sortable]=\"column.sortable\"\n [sortingKey]=\"column.sortingKey || column.key\"\n [isHidden]=\"column.isHidden\"\n [draggable]=\"column.draggable\"\n [resizable]=\"column.resizable\"\n />\n </ng-container>\n </ng-container>\n </data-columns>\n\n <adf-custom-empty-content-template *ngIf=\"isFilterHeaderActive\">\n <ng-container>\n <div class=\"empty-search__block\" aria-live=\"polite\">\n <p class=\"empty-search__text\">\n {{ 'APP.BROWSE.SEARCH.NO_FILTER_RESULTS' | translate }}\n </p>\n </div>\n </ng-container>\n </adf-custom-empty-content-template>\n </adf-document-list>\n\n <adf-pagination acaPagination [target]=\"documentList\" />\n </adf-upload-drag-area>\n </div>\n\n <mat-progress-spinner *ngIf=\"showLoader$ | async\"\n id=\"adf-document-list-loading\"\n class=\"adf-document-list-loading-margin\"\n [color]=\"'primary'\"\n [mode]=\"'indeterminate'\" />\n\n <div class=\"aca-sidebar\" *ngIf=\"infoDrawerOpened$ | async\">\n <aca-info-drawer [node]=\"selection.last\" />\n </div>\n </div>\n</aca-page-layout>\n", styles: [".adf-document-list-loading-margin{margin:auto}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "component", type: GenericErrorComponent, selector: "aca-generic-error", inputs: ["text"] }, { kind: "directive", type: DocumentListDirective, selector: "[acaDocumentList]" }, { kind: "directive", type: ContextActionsDirective, selector: "[acaContextActions]", inputs: ["acaContextEnable", "customActions"], exportAs: ["acaContextActions"] }, { kind: "component", type: PaginationComponent, selector: "adf-pagination", inputs: ["target", "supportedPageSizes", "pagination"], outputs: ["change", "changePageNumber", "changePageSize", "nextPage", "prevPage"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i2$3.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "component", type: InfoDrawerComponent, selector: "aca-info-drawer", inputs: ["nodeId", "node"] }, { kind: "directive", type: PaginationDirective, selector: "[acaPagination]" }, { kind: "component", type: PageLayoutComponent, selector: "aca-page-layout", inputs: ["hasError"] }, { kind: "component", type: ToolbarComponent, selector: "aca-toolbar", inputs: ["items"] }, { kind: "component", type: SearchAiInputContainerComponent, selector: "aca-search-ai-input-container", inputs: ["placeholder", "agentId", "usedInAiResultsPage"] }, { kind: "component", type: DynamicColumnComponent, selector: "adf-dynamic-column", inputs: ["id", "context"] }, { kind: "component", type: BreadcrumbComponent, selector: "adf-breadcrumb", inputs: ["folderNode", "root", "rootId", "target", "transform", "maxItems", "selectedRowItemsCount", "readOnly"], outputs: ["navigate"] }, { kind: "component", type: UploadDragAreaComponent, selector: "adf-upload-drag-area" }, { kind: "component", type: DocumentListComponent, selector: "adf-document-list", inputs: ["includeFields", "where", "filters", "permissionsStyle", "locationFormat", "navigate", "showHeader", "navigationMode", "thumbnails", "selectionMode", "multiselect", "contentActions", "contentActionsPosition", "contextMenuActions", "emptyFolderImageUrl", "allowDropFiles", "sorting", "additionalSorting", "sortingMode", "rowStyle", "rowStyleClass", "loading", "_rowFilter", "rowFilter", "imageResolver", "stickyHeader", "headerFilters", "filterValue", "currentFolderId", "preselectNodes", "node", "maxItems", "columnsPresetKey", "setColumnsVisibility", "setColumnsWidths", "setColumnsOrder", "maxColumnsVisible", "isResizingEnabled", "blurOnResize", "displayCheckboxesOnHover", "displayDragAndDropHint", "isDataProvidedExternally"], outputs: ["nodeClick", "nodeDblClick", "folderChange", "preview", "ready", "error", "nodeSelected", "filterSelection", "columnsWidthChanged", "columnsVisibilityChanged", "columnsOrderChanged", "selectedItemsCountChanged"] }, { kind: "component", type: DataColumnListComponent, selector: "data-columns" }, { kind: "component", type: DataColumnComponent, selector: "data-column", inputs: ["id", "key", "customData", "type", "format", "sortable", "draggable", "resizable", "isHidden", "title", "subtitle", "formatTooltip", "sr-title", "class", "copyContent", "editable", "focus", "sortingKey", "order", "currencyConfig", "decimalConfig", "dateConfig"] }, { kind: "directive", type: CustomEmptyContentTemplateDirective, selector: "adf-custom-empty-content-template, empty-folder-content" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
6542
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.19", type: FilesComponent, isStandalone: true, selector: "aca-files", inputs: { navigationPath: "navigationPath" }, usesInheritance: true, ngImport: i0, template: "<aca-page-layout [hasError]=\"!isValidPath\">\n <div class=\"aca-page-layout-header\">\n <aca-search-ai-input-container\n *ngIf=\"searchAiInputState.active; else header\"\n [agentId]=\"searchAiInputState.selectedAgentId\" />\n <ng-template #header>\n <div class=\"aca-header-container\">\n <adf-breadcrumb\n [root]=\"title\"\n [folderNode]=\"node\"\n [selectedRowItemsCount]=\"selectedRowItemsCount\" [maxItems]=\"isSmallScreen ? 1 : 0\"\n (navigate)=\"onBreadcrumbNavigate($event)\" />\n <aca-toolbar [items]=\"actions\" />\n </div>\n </ng-template>\n </div>\n\n <div class=\"aca-page-layout-error\">\n <aca-generic-error [text]=\"errorTranslationKey\" />\n </div>\n\n <div class=\"aca-page-layout-content\">\n <div class=\"aca-main-content\" *ngIf=\"!(showLoader$ | async)\">\n <adf-upload-drag-area [rootFolderId]=\"node?.id\" [disabled]=\"!canUpload\" (updateFileVersion)=\"onUploadNewVersion($event)\">\n <adf-document-list\n #documentList\n acaDocumentList\n acaContextActions\n [selectionMode]=\"'multiple'\"\n [multiselect]=\"true\"\n [currentFolderId]=\"node?.id\"\n [loading]=\"true\"\n [showHeader]=\"showHeader\"\n [node]=\"nodeResult\"\n [allowDropFiles]=\"true\"\n [displayCheckboxesOnHover]=\"true\"\n [preselectNodes]=\"selectedNodesState?.nodes\"\n [navigate]=\"false\"\n [sorting]=\"['name', 'asc']\"\n [imageResolver]=\"imageResolver\"\n [headerFilters]=\"true\"\n [filterValue]=\"queryParams\"\n [isDataProvidedExternally]=\"!!queryParams\"\n [isResizingEnabled]=\"true\"\n [blurOnResize]=\"false\"\n [displayDragAndDropHint]=\"canUpload\"\n (node-dblclick)=\"handleNodeClick($event)\"\n (name-click)=\"handleNodeClick($event)\"\n (selectedItemsCountChanged)=\"onSelectedItemsCountChanged($event)\"\n (filterSelection)=\"onFilterSelected($event)\"\n (error)=\"onError($event)\"\n >\n <data-columns>\n <ng-container *ngFor=\"let column of columns; trackBy: trackByColumnId\">\n <ng-container *ngIf=\"column.template && !(column.desktopOnly && isSmallScreen)\">\n <data-column\n [id]=\"column.id\"\n [key]=\"column.key\"\n [title]=\"column.title\"\n [type]=\"column.type\"\n [format]=\"column.format\"\n [class]=\"column.class\"\n [sortable]=\"column.sortable\"\n [sortingKey]=\"column.sortingKey || column.key\"\n [isHidden]=\"column.isHidden\"\n [draggable]=\"column.draggable\"\n [resizable]=\"column.resizable\"\n >\n <ng-template let-context>\n <adf-dynamic-column [id]=\"column.template\" [context]=\"context\" />\n </ng-template>\n </data-column>\n </ng-container>\n\n <ng-container *ngIf=\"!column.template && !(column.desktopOnly && isSmallScreen)\">\n <data-column\n [id]=\"column.id\"\n [key]=\"column.key\"\n [title]=\"column.title\"\n [type]=\"column.type\"\n [format]=\"column.format\"\n [class]=\"column.class\"\n [sortable]=\"column.sortable\"\n [sortingKey]=\"column.sortingKey || column.key\"\n [isHidden]=\"column.isHidden\"\n [draggable]=\"column.draggable\"\n [resizable]=\"column.resizable\"\n />\n </ng-container>\n </ng-container>\n </data-columns>\n\n <adf-custom-empty-content-template *ngIf=\"isFilterHeaderActive\">\n <ng-container>\n <div class=\"empty-search__block\" aria-live=\"polite\">\n <p class=\"empty-search__text\">\n {{ 'APP.BROWSE.SEARCH.NO_FILTER_RESULTS' | translate }}\n </p>\n </div>\n </ng-container>\n </adf-custom-empty-content-template>\n </adf-document-list>\n\n <adf-pagination acaPagination [target]=\"documentList\" />\n </adf-upload-drag-area>\n </div>\n\n <mat-progress-spinner *ngIf=\"showLoader$ | async\"\n id=\"adf-document-list-loading\"\n class=\"adf-document-list-loading-margin\"\n [color]=\"'primary'\"\n [mode]=\"'indeterminate'\" />\n\n <div class=\"aca-sidebar\" *ngIf=\"infoDrawerOpened$ | async\">\n <aca-info-drawer [node]=\"selection.last\" />\n </div>\n </div>\n</aca-page-layout>\n", styles: [".adf-document-list-loading-margin{margin:auto}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "component", type: GenericErrorComponent, selector: "aca-generic-error", inputs: ["text"] }, { kind: "directive", type: DocumentListDirective, selector: "[acaDocumentList]" }, { kind: "directive", type: ContextActionsDirective, selector: "[acaContextActions]", inputs: ["acaContextEnable", "customActions"], exportAs: ["acaContextActions"] }, { kind: "component", type: PaginationComponent, selector: "adf-pagination", inputs: ["target", "supportedPageSizes", "pagination"], outputs: ["change", "changePageNumber", "changePageSize", "nextPage", "prevPage"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i2$3.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "component", type: InfoDrawerComponent, selector: "aca-info-drawer", inputs: ["nodeId", "node"] }, { kind: "directive", type: PaginationDirective, selector: "[acaPagination]" }, { kind: "component", type: PageLayoutComponent, selector: "aca-page-layout", inputs: ["hasError"] }, { kind: "component", type: ToolbarComponent, selector: "aca-toolbar", inputs: ["items"] }, { kind: "component", type: SearchAiInputContainerComponent, selector: "aca-search-ai-input-container", inputs: ["placeholder", "agentId", "usedInAiResultsPage"] }, { kind: "component", type: DynamicColumnComponent, selector: "adf-dynamic-column", inputs: ["id", "context"] }, { kind: "component", type: BreadcrumbComponent, selector: "adf-breadcrumb", inputs: ["folderNode", "root", "rootId", "target", "transform", "maxItems", "selectedRowItemsCount", "readOnly"], outputs: ["navigate"] }, { kind: "component", type: UploadDragAreaComponent, selector: "adf-upload-drag-area" }, { kind: "component", type: DocumentListComponent, selector: "adf-document-list", inputs: ["includeFields", "where", "filters", "permissionsStyle", "locationFormat", "navigate", "showHeader", "navigationMode", "thumbnails", "selectionMode", "multiselect", "contentActions", "contentActionsPosition", "contextMenuActions", "emptyFolderImageUrl", "allowDropFiles", "sorting", "additionalSorting", "sortingMode", "rowStyle", "rowStyleClass", "loading", "_rowFilter", "rowFilter", "imageResolver", "stickyHeader", "headerFilters", "filterValue", "currentFolderId", "preselectNodes", "node", "maxItems", "columnsPresetKey", "setColumnsVisibility", "setColumnsWidths", "setColumnsOrder", "maxColumnsVisible", "isResizingEnabled", "blurOnResize", "displayCheckboxesOnHover", "displayDragAndDropHint", "isDataProvidedExternally"], outputs: ["nodeClick", "nodeDblClick", "folderChange", "preview", "ready", "error", "nodeSelected", "filterSelection", "columnsWidthChanged", "columnsVisibilityChanged", "columnsOrderChanged", "selectedItemsCountChanged"] }, { kind: "component", type: DataColumnListComponent, selector: "data-columns" }, { kind: "component", type: DataColumnComponent, selector: "data-column", inputs: ["id", "key", "customData", "type", "format", "sortable", "draggable", "resizable", "isHidden", "title", "subtitle", "formatTooltip", "sr-title", "class", "copyContent", "editable", "focus", "sortingKey", "order", "currencyConfig", "decimalConfig", "dateConfig"] }, { kind: "directive", type: CustomEmptyContentTemplateDirective, selector: "adf-custom-empty-content-template, empty-folder-content" }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
6542
6543
|
}
|
|
6543
6544
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: FilesComponent, decorators: [{
|
|
6544
6545
|
type: Component,
|
|
@@ -6563,7 +6564,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
6563
6564
|
DataColumnComponent,
|
|
6564
6565
|
CustomEmptyContentTemplateDirective
|
|
6565
6566
|
], encapsulation: ViewEncapsulation.None, selector: 'aca-files', template: "<aca-page-layout [hasError]=\"!isValidPath\">\n <div class=\"aca-page-layout-header\">\n <aca-search-ai-input-container\n *ngIf=\"searchAiInputState.active; else header\"\n [agentId]=\"searchAiInputState.selectedAgentId\" />\n <ng-template #header>\n <div class=\"aca-header-container\">\n <adf-breadcrumb\n [root]=\"title\"\n [folderNode]=\"node\"\n [selectedRowItemsCount]=\"selectedRowItemsCount\" [maxItems]=\"isSmallScreen ? 1 : 0\"\n (navigate)=\"onBreadcrumbNavigate($event)\" />\n <aca-toolbar [items]=\"actions\" />\n </div>\n </ng-template>\n </div>\n\n <div class=\"aca-page-layout-error\">\n <aca-generic-error [text]=\"errorTranslationKey\" />\n </div>\n\n <div class=\"aca-page-layout-content\">\n <div class=\"aca-main-content\" *ngIf=\"!(showLoader$ | async)\">\n <adf-upload-drag-area [rootFolderId]=\"node?.id\" [disabled]=\"!canUpload\" (updateFileVersion)=\"onUploadNewVersion($event)\">\n <adf-document-list\n #documentList\n acaDocumentList\n acaContextActions\n [selectionMode]=\"'multiple'\"\n [multiselect]=\"true\"\n [currentFolderId]=\"node?.id\"\n [loading]=\"true\"\n [showHeader]=\"showHeader\"\n [node]=\"nodeResult\"\n [allowDropFiles]=\"true\"\n [displayCheckboxesOnHover]=\"true\"\n [preselectNodes]=\"selectedNodesState?.nodes\"\n [navigate]=\"false\"\n [sorting]=\"['name', 'asc']\"\n [imageResolver]=\"imageResolver\"\n [headerFilters]=\"true\"\n [filterValue]=\"queryParams\"\n [isDataProvidedExternally]=\"!!queryParams\"\n [isResizingEnabled]=\"true\"\n [blurOnResize]=\"false\"\n [displayDragAndDropHint]=\"canUpload\"\n (node-dblclick)=\"handleNodeClick($event)\"\n (name-click)=\"handleNodeClick($event)\"\n (selectedItemsCountChanged)=\"onSelectedItemsCountChanged($event)\"\n (filterSelection)=\"onFilterSelected($event)\"\n (error)=\"onError($event)\"\n >\n <data-columns>\n <ng-container *ngFor=\"let column of columns; trackBy: trackByColumnId\">\n <ng-container *ngIf=\"column.template && !(column.desktopOnly && isSmallScreen)\">\n <data-column\n [id]=\"column.id\"\n [key]=\"column.key\"\n [title]=\"column.title\"\n [type]=\"column.type\"\n [format]=\"column.format\"\n [class]=\"column.class\"\n [sortable]=\"column.sortable\"\n [sortingKey]=\"column.sortingKey || column.key\"\n [isHidden]=\"column.isHidden\"\n [draggable]=\"column.draggable\"\n [resizable]=\"column.resizable\"\n >\n <ng-template let-context>\n <adf-dynamic-column [id]=\"column.template\" [context]=\"context\" />\n </ng-template>\n </data-column>\n </ng-container>\n\n <ng-container *ngIf=\"!column.template && !(column.desktopOnly && isSmallScreen)\">\n <data-column\n [id]=\"column.id\"\n [key]=\"column.key\"\n [title]=\"column.title\"\n [type]=\"column.type\"\n [format]=\"column.format\"\n [class]=\"column.class\"\n [sortable]=\"column.sortable\"\n [sortingKey]=\"column.sortingKey || column.key\"\n [isHidden]=\"column.isHidden\"\n [draggable]=\"column.draggable\"\n [resizable]=\"column.resizable\"\n />\n </ng-container>\n </ng-container>\n </data-columns>\n\n <adf-custom-empty-content-template *ngIf=\"isFilterHeaderActive\">\n <ng-container>\n <div class=\"empty-search__block\" aria-live=\"polite\">\n <p class=\"empty-search__text\">\n {{ 'APP.BROWSE.SEARCH.NO_FILTER_RESULTS' | translate }}\n </p>\n </div>\n </ng-container>\n </adf-custom-empty-content-template>\n </adf-document-list>\n\n <adf-pagination acaPagination [target]=\"documentList\" />\n </adf-upload-drag-area>\n </div>\n\n <mat-progress-spinner *ngIf=\"showLoader$ | async\"\n id=\"adf-document-list-loading\"\n class=\"adf-document-list-loading-margin\"\n [color]=\"'primary'\"\n [mode]=\"'indeterminate'\" />\n\n <div class=\"aca-sidebar\" *ngIf=\"infoDrawerOpened$ | async\">\n <aca-info-drawer [node]=\"selection.last\" />\n </div>\n </div>\n</aca-page-layout>\n", styles: [".adf-document-list-loading-margin{margin:auto}\n"] }]
|
|
6566
|
-
}]
|
|
6567
|
+
}], propDecorators: { navigationPath: [{
|
|
6568
|
+
type: Input
|
|
6569
|
+
}] } });
|
|
6567
6570
|
|
|
6568
6571
|
/*!
|
|
6569
6572
|
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
@@ -9657,6 +9660,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
9657
9660
|
args: [{ selector: 'aca-library-list', standalone: true, imports: [LibrariesBaseComponent], encapsulation: ViewEncapsulation.None, template: "<aca-libraries-base\n [list]=\"list\"\n [isLoading]=\"isLoading\"\n [pagination]=\"pagination\"\n [columns]=\"columns\"\n [titleKey]=\"'APP.BROWSE.LIBRARIES.MENU.ALL_LIBRARIES.TITLE'\"\n [emptyTitleKey]=\"'APP.BROWSE.LIBRARIES.EMPTY_STATE.ALL_LIBRARIES.TITLE'\"\n [emptySubtitleKey]=\"'APP.BROWSE.LIBRARIES.EMPTY_STATE.ALL_LIBRARIES.TEXT'\"\n (changePageSize)=\"onChangePageSize($event)\"\n (changePageNumber)=\"getList($event)\"\n (nextPage)=\"getList($event)\"\n (prevPage)=\"getList($event)\"\n/>\n" }]
|
|
9658
9661
|
}] });
|
|
9659
9662
|
|
|
9663
|
+
/*!
|
|
9664
|
+
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
9665
|
+
*
|
|
9666
|
+
* Alfresco Example Content Application
|
|
9667
|
+
*
|
|
9668
|
+
* This file is part of the Alfresco Example Content Application.
|
|
9669
|
+
* If the software was purchased under a paid Alfresco license, the terms of
|
|
9670
|
+
* the paid license agreement will prevail. Otherwise, the software is
|
|
9671
|
+
* provided under the following open source license terms:
|
|
9672
|
+
*
|
|
9673
|
+
* The Alfresco Example Content Application is free software: you can redistribute it and/or modify
|
|
9674
|
+
* it under the terms of the GNU Lesser General Public License as published by
|
|
9675
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
9676
|
+
* (at your option) any later version.
|
|
9677
|
+
*
|
|
9678
|
+
* The Alfresco Example Content Application is distributed in the hope that it will be useful,
|
|
9679
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
9680
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
9681
|
+
* GNU Lesser General Public License for more details.
|
|
9682
|
+
*
|
|
9683
|
+
* You should have received a copy of the GNU Lesser General Public License
|
|
9684
|
+
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
9685
|
+
*/
|
|
9686
|
+
class RepositoryViewComponent {
|
|
9687
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: RepositoryViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9688
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.19", type: RepositoryViewComponent, isStandalone: true, selector: "aca-repository-view", ngImport: i0, template: "<aca-files [navigationPath]=\"'/repository'\" />\n", dependencies: [{ kind: "component", type: FilesComponent, selector: "aca-files", inputs: ["navigationPath"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
9689
|
+
}
|
|
9690
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: RepositoryViewComponent, decorators: [{
|
|
9691
|
+
type: Component,
|
|
9692
|
+
args: [{ imports: [FilesComponent], encapsulation: ViewEncapsulation.None, selector: 'aca-repository-view', template: "<aca-files [navigationPath]=\"'/repository'\" />\n" }]
|
|
9693
|
+
}] });
|
|
9694
|
+
|
|
9660
9695
|
/*!
|
|
9661
9696
|
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
|
9662
9697
|
*
|
|
@@ -9802,6 +9837,35 @@ const CONTENT_LAYOUT_ROUTES = [
|
|
|
9802
9837
|
...createViewRoutes('personal-files')
|
|
9803
9838
|
]
|
|
9804
9839
|
},
|
|
9840
|
+
{
|
|
9841
|
+
path: 'repository',
|
|
9842
|
+
children: [
|
|
9843
|
+
{
|
|
9844
|
+
path: '',
|
|
9845
|
+
component: RepositoryViewComponent,
|
|
9846
|
+
data: {
|
|
9847
|
+
sortingPreferenceKey: 'repository',
|
|
9848
|
+
title: 'APP.BROWSE.REPOSITORY_VIEW.TITLE',
|
|
9849
|
+
defaultNodeId: '-root-'
|
|
9850
|
+
}
|
|
9851
|
+
},
|
|
9852
|
+
...createViewRoutes('repository')
|
|
9853
|
+
]
|
|
9854
|
+
},
|
|
9855
|
+
{
|
|
9856
|
+
path: 'repository/:folderId',
|
|
9857
|
+
children: [
|
|
9858
|
+
{
|
|
9859
|
+
path: '',
|
|
9860
|
+
component: RepositoryViewComponent,
|
|
9861
|
+
data: {
|
|
9862
|
+
title: 'APP.BROWSE.REPOSITORY_VIEW.TITLE',
|
|
9863
|
+
sortingPreferenceKey: 'repository'
|
|
9864
|
+
}
|
|
9865
|
+
},
|
|
9866
|
+
...createViewRoutes('repository')
|
|
9867
|
+
]
|
|
9868
|
+
},
|
|
9805
9869
|
{
|
|
9806
9870
|
path: 'libraries',
|
|
9807
9871
|
children: [
|