From 06efed8eef076d7f3e6a1fb2fd90ae73947915f0 Mon Sep 17 00:00:00 2001 From: MichalKinas Date: Wed, 15 Nov 2023 11:27:54 +0100 Subject: [PATCH 1/2] [MNT-23166] Add resizing and disable blur for document lists --- .../favorite-libraries/favorite-libraries.component.html | 2 ++ .../src/lib/components/favorites/favorites.component.html | 2 ++ .../aca-content/src/lib/components/files/files.component.html | 2 ++ .../src/lib/components/libraries/libraries.component.html | 2 ++ .../src/lib/components/recent-files/recent-files.component.html | 2 ++ .../search-libraries-results.component.html | 2 ++ .../search/search-results/search-results.component.html | 2 ++ .../src/lib/components/shared-files/shared-files.component.html | 2 ++ .../src/lib/components/trashcan/trashcan.component.html | 2 ++ 9 files changed, 18 insertions(+) diff --git a/projects/aca-content/src/lib/components/favorite-libraries/favorite-libraries.component.html b/projects/aca-content/src/lib/components/favorite-libraries/favorite-libraries.component.html index ebca4ce5ad..9e9177e38a 100644 --- a/projects/aca-content/src/lib/components/favorite-libraries/favorite-libraries.component.html +++ b/projects/aca-content/src/lib/components/favorite-libraries/favorite-libraries.component.html @@ -18,6 +18,8 @@

{{ 'APP.BROWSE.LIBRARIES.MENU.FAVORITE_LIBRARIES.TITL [sortingMode]="'client'" (node-dblclick)="handleNodeClick($event)" [imageResolver]="imageResolver" + [isResizingEnabled]="true" + [blurOnResize]="false" (name-click)="handleNodeClick($event)" > diff --git a/projects/aca-content/src/lib/components/favorites/favorites.component.html b/projects/aca-content/src/lib/components/favorites/favorites.component.html index a5ffc4af7d..a046424807 100644 --- a/projects/aca-content/src/lib/components/favorites/favorites.component.html +++ b/projects/aca-content/src/lib/components/favorites/favorites.component.html @@ -16,6 +16,8 @@

{{ 'APP.BROWSE.FAVORITES.TITLE' | translate }}

[sorting]="['modifiedAt', 'desc']" [sortingMode]="'client'" [imageResolver]="imageResolver" + [isResizingEnabled]="true" + [blurOnResize]="false" (node-dblclick)="handleNodeClick($event)" (name-click)="handleNodeClick($event)" > diff --git a/projects/aca-content/src/lib/components/files/files.component.html b/projects/aca-content/src/lib/components/files/files.component.html index a0704b0455..d3d0cea225 100644 --- a/projects/aca-content/src/lib/components/files/files.component.html +++ b/projects/aca-content/src/lib/components/files/files.component.html @@ -27,6 +27,8 @@ [imageResolver]="imageResolver" [headerFilters]="true" [filterValue]="queryParams" + [isResizingEnabled]="true" + [blurOnResize]="false" (node-dblclick)="handleNodeClick($event)" (name-click)="handleNodeClick($event)" (sorting-changed)="onSortingChanged($event)" diff --git a/projects/aca-content/src/lib/components/libraries/libraries.component.html b/projects/aca-content/src/lib/components/libraries/libraries.component.html index 710bb3591b..0d9773e3f9 100644 --- a/projects/aca-content/src/lib/components/libraries/libraries.component.html +++ b/projects/aca-content/src/lib/components/libraries/libraries.component.html @@ -16,6 +16,8 @@

{{ 'APP.BROWSE.LIBRARIES.MENU.MY_LIBRARIES.TITLE' | t [sorting]="['title', 'asc']" [sortingMode]="'client'" [imageResolver]="imageResolver" + [isResizingEnabled]="true" + [blurOnResize]="false" (node-dblclick)="handleNodeClick($event)" (name-click)="handleNodeClick($event)" > diff --git a/projects/aca-content/src/lib/components/recent-files/recent-files.component.html b/projects/aca-content/src/lib/components/recent-files/recent-files.component.html index cb927eb4d5..0cee480ee8 100644 --- a/projects/aca-content/src/lib/components/recent-files/recent-files.component.html +++ b/projects/aca-content/src/lib/components/recent-files/recent-files.component.html @@ -16,6 +16,8 @@

{{ 'APP.BROWSE.RECENT.TITLE' | translate }}

[sorting]="['modifiedAt', 'desc']" [sortingMode]="'client'" [imageResolver]="imageResolver" + [isResizingEnabled]="true" + [blurOnResize]="false" (node-dblclick)="handleNodeClick($event)" (name-click)="handleNodeClick($event)" > diff --git a/projects/aca-content/src/lib/components/search/search-libraries-results/search-libraries-results.component.html b/projects/aca-content/src/lib/components/search/search-libraries-results/search-libraries-results.component.html index a5ef395177..43a1a3c7a1 100644 --- a/projects/aca-content/src/lib/components/search/search-libraries-results/search-libraries-results.component.html +++ b/projects/aca-content/src/lib/components/search/search-libraries-results/search-libraries-results.component.html @@ -30,6 +30,8 @@ [sorting]="['name', 'asc']" [node]="data" [imageResolver]="imageResolver" + [isResizingEnabled]="true" + [blurOnResize]="false" (node-dblclick)="handleNodeClick($event)" (name-click)="handleNodeClick($event)" > diff --git a/projects/aca-content/src/lib/components/search/search-results/search-results.component.html b/projects/aca-content/src/lib/components/search/search-results/search-results.component.html index 9a5e9e4904..8aa242761a 100644 --- a/projects/aca-content/src/lib/components/search/search-results/search-results.component.html +++ b/projects/aca-content/src/lib/components/search/search-results/search-results.component.html @@ -40,6 +40,8 @@ [sortingMode]="'server'" [sorting]="sorting" [imageResolver]="imageResolver" + [isResizingEnabled]="true" + [blurOnResize]="false" [node]="$any(data)" (node-dblclick)="handleNodeClick($event)" > diff --git a/projects/aca-content/src/lib/components/shared-files/shared-files.component.html b/projects/aca-content/src/lib/components/shared-files/shared-files.component.html index e4cb2b0ee3..6b4bea0515 100644 --- a/projects/aca-content/src/lib/components/shared-files/shared-files.component.html +++ b/projects/aca-content/src/lib/components/shared-files/shared-files.component.html @@ -15,6 +15,8 @@

{{ 'APP.BROWSE.SHARED.TITLE' | translate }}

[sorting]="['modifiedAt', 'desc']" [imageResolver]="imageResolver" [sortingMode]="'client'" + [isResizingEnabled]="true" + [blurOnResize]="false" (node-dblclick)="handleNodeClick($event)" (name-click)="handleNodeClick($event)" > diff --git a/projects/aca-content/src/lib/components/trashcan/trashcan.component.html b/projects/aca-content/src/lib/components/trashcan/trashcan.component.html index 35058cc42d..2f88eccf92 100644 --- a/projects/aca-content/src/lib/components/trashcan/trashcan.component.html +++ b/projects/aca-content/src/lib/components/trashcan/trashcan.component.html @@ -17,6 +17,8 @@

{{ 'APP.BROWSE.TRASHCAN.TITLE' | translate }}

[sortingMode]="'client'" [imageResolver]="imageResolver" [sorting]="['archivedAt', 'desc']" + [isResizingEnabled]="true" + [blurOnResize]="false" > From 76896f79f727ea4dd0f119fd45ad13e20d811932 Mon Sep 17 00:00:00 2001 From: MichalKinas Date: Thu, 16 Nov 2023 10:24:13 +0100 Subject: [PATCH 2/2] [MNT-23166] Bump JS-API and ADF --- package-lock.json | 52 +++++++++++++++++++++++------------------------ package.json | 12 +++++------ 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/package-lock.json b/package-lock.json index b8430faef0..5cc4414b68 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,10 +10,10 @@ "hasInstallScript": true, "license": "LGPL-3.0", "dependencies": { - "@alfresco/adf-content-services": "6.5.1", - "@alfresco/adf-core": "6.5.1", - "@alfresco/adf-extensions": "6.5.1", - "@alfresco/eslint-plugin-eslint-angular": "6.5.1", + "@alfresco/adf-content-services": ">=6.6.0-6880328396", + "@alfresco/adf-core": ">=6.6.0-6880328396", + "@alfresco/adf-extensions": ">=6.6.0-6880328396", + "@alfresco/eslint-plugin-eslint-angular": ">=6.6.0-6880328396", "@alfresco/js-api": "7.2.0", "@angular/animations": "14.1.3", "@angular/cdk": "14.1.3", @@ -42,8 +42,8 @@ "zone.js": "0.11.8" }, "devDependencies": { - "@alfresco/adf-cli": "6.5.1", - "@alfresco/adf-testing": "6.5.1", + "@alfresco/adf-cli": ">=6.6.0-6880328396", + "@alfresco/adf-testing": ">=6.6.0-6880328396", "@angular-devkit/build-angular": "14.2.11", "@angular-devkit/core": "14.1.2", "@angular-devkit/schematics": "14.1.2", @@ -116,9 +116,9 @@ "dev": true }, "node_modules/@alfresco/adf-cli": { - "version": "6.5.1", - "resolved": "https://registry.npmjs.org/@alfresco/adf-cli/-/adf-cli-6.5.1.tgz", - "integrity": "sha512-NG9cOs/6pF4zqXasu0IBU9r0YgOGnOHshuQ/3HcJWyDpaYAZSO7dbOfKrNyiruAL9IpUcx7MReKyItR2wjoWsQ==", + "version": "6.6.0-6880328396", + "resolved": "https://registry.npmjs.org/@alfresco/adf-cli/-/adf-cli-6.6.0-6880328396.tgz", + "integrity": "sha512-l+PlRNKyyiKc73JyvCkYsa0nN8bUbnkn/PNZetGZeL3+Zsh8jNNyzxIi2Rl8QaisOl5hTD8sLBUipxNl6pY51A==", "dev": true, "dependencies": { "@alfresco/js-api": ">=7.2.0", @@ -136,14 +136,14 @@ } }, "node_modules/@alfresco/adf-content-services": { - "version": "6.5.1", - "resolved": "https://registry.npmjs.org/@alfresco/adf-content-services/-/adf-content-services-6.5.1.tgz", - "integrity": "sha512-fSUNy9xJB/odCDyCNxhnEJYjTfW9lF2XnIW9UwjB7VfbYoT3JezlZ6M+2TtorjGjpJ7E8jMG906aszSTrXulsQ==", + "version": "6.6.0-6880328396", + "resolved": "https://registry.npmjs.org/@alfresco/adf-content-services/-/adf-content-services-6.6.0-6880328396.tgz", + "integrity": "sha512-GE8Kt5PqSUjBohJ/TwQtG0o/1EW5xTI2LApLTLX3GxUiDGjoJPfoyNgGgmBrKU6S1L7dZLyOtjrSQ+Ob0bFERA==", "dependencies": { "tslib": "^2.3.0" }, "peerDependencies": { - "@alfresco/adf-core": ">=6.5.1", + "@alfresco/adf-core": ">=6.6.0-6880328396", "@alfresco/js-api": ">=7.2.0", "@angular/animations": ">=14.1.3", "@angular/cdk": ">=14.1.2", @@ -159,9 +159,9 @@ } }, "node_modules/@alfresco/adf-core": { - "version": "6.5.1", - "resolved": "https://registry.npmjs.org/@alfresco/adf-core/-/adf-core-6.5.1.tgz", - "integrity": "sha512-xXmXJOGM5LTjwdTa4VoVoJ85RS6gCe0AoxcqkloS+xoYKdXgy1bNYOTClnn5nSFJSYO5lOZviRMQXtKuXi7i0w==", + "version": "6.6.0-6880328396", + "resolved": "https://registry.npmjs.org/@alfresco/adf-core/-/adf-core-6.6.0-6880328396.tgz", + "integrity": "sha512-/UF8NAvrFHN8Uq6Mv6LbWp6pRYtLL1VUDXMtdX2Z5uVawRuVPbAUumMbl3E8sAI3PDjmP8rlHn2VJHhDvylnvA==", "dependencies": { "angular-oauth2-oidc": "^13.0.1", "angular-oauth2-oidc-jwks": "^13.0.1", @@ -169,7 +169,7 @@ "tslib": "^2.3.0" }, "peerDependencies": { - "@alfresco/adf-extensions": ">=6.5.1", + "@alfresco/adf-extensions": ">=6.6.0-6880328396", "@alfresco/js-api": ">=7.2.0", "@angular/animations": ">=14.1.3", "@angular/cdk": ">=14.1.2", @@ -185,9 +185,9 @@ } }, "node_modules/@alfresco/adf-extensions": { - "version": "6.5.1", - "resolved": "https://registry.npmjs.org/@alfresco/adf-extensions/-/adf-extensions-6.5.1.tgz", - "integrity": "sha512-43/UTEhj82QEGbHt03E0ZRCLPVcjoOEbPH9AHUjGfIAHWuHBz+hLvF3iRV3r8HEOPNDVnyTxUrxpwEZkvxvukw==", + "version": "6.6.0-6880328396", + "resolved": "https://registry.npmjs.org/@alfresco/adf-extensions/-/adf-extensions-6.6.0-6880328396.tgz", + "integrity": "sha512-3xpGQDyKzkxx2RKbmpPw6F+dOX9ZaX2mJeFes2GoPBJzxOvuu2w0vnwdqAyQjHxqgQtG9pNlmlkMiMCl+GZTFg==", "dependencies": { "tslib": "^2.3.0" }, @@ -198,9 +198,9 @@ } }, "node_modules/@alfresco/adf-testing": { - "version": "6.5.1", - "resolved": "https://registry.npmjs.org/@alfresco/adf-testing/-/adf-testing-6.5.1.tgz", - "integrity": "sha512-J+moAgX1/H1aAngzZjhpD3mCMTJaJPMRgrF4VrhiFQlpJyN+9dZ6TdHmFR+9p55OBY1SXbxYZ0QErqkUEH3Xqw==", + "version": "6.6.0-6880328396", + "resolved": "https://registry.npmjs.org/@alfresco/adf-testing/-/adf-testing-6.6.0-6880328396.tgz", + "integrity": "sha512-PObnqRZ+mIRFhKzwUnpCTUHrXVYttBKoMgF+3Yjz25L058zj1KL85mZIwtVUQcOkzmDEMW7bpZuCq6eWXMddTg==", "dev": true, "dependencies": { "@alfresco/js-api": ">=7.2.0", @@ -216,9 +216,9 @@ } }, "node_modules/@alfresco/eslint-plugin-eslint-angular": { - "version": "6.5.1", - "resolved": "https://registry.npmjs.org/@alfresco/eslint-plugin-eslint-angular/-/eslint-plugin-eslint-angular-6.5.1.tgz", - "integrity": "sha512-HxbGbIF4gzGxmacu8J7MfQd3jLVE/sDJ7ODfnpya67V0/l7dxbLZIURmNzguEW9NRpU5VwEXTNVGf84/IJEhjQ==" + "version": "6.6.0-6880328396", + "resolved": "https://registry.npmjs.org/@alfresco/eslint-plugin-eslint-angular/-/eslint-plugin-eslint-angular-6.6.0-6880328396.tgz", + "integrity": "sha512-R8zI6NpTNMudqwLIQykjiB1RVWWZxrpH+xnJYzyHjb7EBwae5H9jsginSep3kxoiDk+0xALFy3EgbV3udC+7zw==" }, "node_modules/@alfresco/js-api": { "version": "7.2.0", diff --git a/package.json b/package.json index 4b3d4c14dc..449cdfc56e 100644 --- a/package.json +++ b/package.json @@ -33,10 +33,10 @@ }, "private": true, "dependencies": { - "@alfresco/adf-content-services": "6.5.1", - "@alfresco/adf-core": "6.5.1", - "@alfresco/adf-extensions": "6.5.1", - "@alfresco/eslint-plugin-eslint-angular": "6.5.1", + "@alfresco/adf-content-services": ">=6.6.0-6880328396", + "@alfresco/adf-core": ">=6.6.0-6880328396", + "@alfresco/adf-extensions": ">=6.6.0-6880328396", + "@alfresco/eslint-plugin-eslint-angular": ">=6.6.0-6880328396", "@alfresco/js-api": "7.2.0", "@angular/animations": "14.1.3", "@angular/cdk": "14.1.3", @@ -65,8 +65,8 @@ "zone.js": "0.11.8" }, "devDependencies": { - "@alfresco/adf-cli": "6.5.1", - "@alfresco/adf-testing": "6.5.1", + "@alfresco/adf-cli": ">=6.6.0-6880328396", + "@alfresco/adf-testing": ">=6.6.0-6880328396", "@angular-devkit/build-angular": "14.2.11", "@angular-devkit/core": "14.1.2", "@angular-devkit/schematics": "14.1.2",