diff --git a/package-lock.json b/package-lock.json index b14fdd8a4c..3cb695c93d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,25 +5,25 @@ "requires": true, "dependencies": { "@alfresco/adf-content-services": { - "version": "3.0.0-0282bfa4686accfd24cbac61795891378c25fb64", - "resolved": "https://registry.npmjs.org/@alfresco/adf-content-services/-/adf-content-services-3.0.0-0282bfa4686accfd24cbac61795891378c25fb64.tgz", - "integrity": "sha512-Nr401vcfIWxUBjOzJWCfSELbPBhTmljhMXHyDJrsI4rBFepftSwARzkRJeMvFw21Z4lzBICmx9ZUDIDV43A7Lw==", + "version": "3.0.0-3a5fe3fb92cdc7397cbfd3d0869833ea1f1fe8d5", + "resolved": "https://registry.npmjs.org/@alfresco/adf-content-services/-/adf-content-services-3.0.0-3a5fe3fb92cdc7397cbfd3d0869833ea1f1fe8d5.tgz", + "integrity": "sha512-TVR6PQznEWtrSWqZHaceogd/E32Q1RsQUxcdjysLJvKWwJZ0of3Nkl7PuJkw4l9SLEah85l0O1lZn0la5HgqtQ==", "requires": { "tslib": "^1.9.0" } }, "@alfresco/adf-core": { - "version": "3.0.0-0282bfa4686accfd24cbac61795891378c25fb64", - "resolved": "https://registry.npmjs.org/@alfresco/adf-core/-/adf-core-3.0.0-0282bfa4686accfd24cbac61795891378c25fb64.tgz", - "integrity": "sha512-I/XI+n/+hOpYvWsP7B2oGXmvRLQMDNU6j+PclfPoMb4vMeT7HBtuGukz+K0hvERcHzEfj3N84rrlSTZZ9jDRuQ==", + "version": "3.0.0-3a5fe3fb92cdc7397cbfd3d0869833ea1f1fe8d5", + "resolved": "https://registry.npmjs.org/@alfresco/adf-core/-/adf-core-3.0.0-3a5fe3fb92cdc7397cbfd3d0869833ea1f1fe8d5.tgz", + "integrity": "sha512-XlubGS/9XDsvc0LLmih6t6X/bKq3UI2OfX8O6mZzfTGzztfkqvgvD1T4E8zgVuZg6J0bE8dTyO7RsNZpyQJBdQ==", "requires": { "tslib": "^1.9.0" } }, "@alfresco/adf-extensions": { - "version": "3.0.0-0282bfa4686accfd24cbac61795891378c25fb64", - "resolved": "https://registry.npmjs.org/@alfresco/adf-extensions/-/adf-extensions-3.0.0-0282bfa4686accfd24cbac61795891378c25fb64.tgz", - "integrity": "sha512-Ke/8qTyCWceQPNo5qQ8YCHsQ9Ocg6n4+aiOJumqYhFqdbsapbp6dXcDHULh6ZfawVHInKBGvEIv12j7gjZDL2Q==", + "version": "3.0.0-3a5fe3fb92cdc7397cbfd3d0869833ea1f1fe8d5", + "resolved": "https://registry.npmjs.org/@alfresco/adf-extensions/-/adf-extensions-3.0.0-3a5fe3fb92cdc7397cbfd3d0869833ea1f1fe8d5.tgz", + "integrity": "sha512-Zq+rBpDqc7BJ+rMKxniXMWYWUex6tUOhW1wdSvh9oP5dgyLlHRgsvoyIDeDei76u0cuVjbZziQzzJGlWKShmrA==", "requires": { "tslib": "^1.9.0" } diff --git a/package.json b/package.json index b0a3b1103e..8731635c79 100644 --- a/package.json +++ b/package.json @@ -33,9 +33,9 @@ }, "private": true, "dependencies": { - "@alfresco/adf-content-services": "3.0.0-0282bfa4686accfd24cbac61795891378c25fb64", - "@alfresco/adf-core": "3.0.0-0282bfa4686accfd24cbac61795891378c25fb64", - "@alfresco/adf-extensions": "3.0.0-0282bfa4686accfd24cbac61795891378c25fb64", + "@alfresco/adf-content-services": "3.0.0-3a5fe3fb92cdc7397cbfd3d0869833ea1f1fe8d5", + "@alfresco/adf-core": "3.0.0-3a5fe3fb92cdc7397cbfd3d0869833ea1f1fe8d5", + "@alfresco/adf-extensions": "3.0.0-3a5fe3fb92cdc7397cbfd3d0869833ea1f1fe8d5", "@alfresco/js-api": "3.0.0-d7850f421268e21861e2cd219441b7343efd27ba", "@angular/animations": "7.2.3", "@angular/cdk": "^7.3.0", diff --git a/protractor.conf.js b/protractor.conf.js index 581cfb261f..91c0e5d325 100755 --- a/protractor.conf.js +++ b/protractor.conf.js @@ -2,9 +2,7 @@ // https://github.com/angular/protractor/blob/master/lib/config.ts const path = require('path'); -const { - SpecReporter -} = require('jasmine-spec-reporter'); +const { SpecReporter } = require('jasmine-spec-reporter'); const jasmineReporters = require('jasmine-reporters'); const CDP = require('chrome-remote-interface'); @@ -63,7 +61,13 @@ exports.config = { default_directory: downloadFolder } }, - args: ['--incognito', '--headless', '--remote-debugging-port=9222', '--disable-gpu', '--no-sandbox'] + args: [ + '--incognito', + '--headless', + '--remote-debugging-port=9222', + '--disable-gpu', + '--no-sandbox' + ] } }, @@ -76,21 +80,23 @@ exports.config = { jasmineNodeOpts: { showColors: true, defaultTimeoutInterval: 60000, - print: function () {} + print: function() {} }, - plugins: [{ - package: 'protractor-screenshoter-plugin', - screenshotPath: `${projectRoot}/e2e-output/report`, - screenshotOnExpect: 'failure', - screenshotOnSpec: 'none', - withLogs: true, - writeReportFreq: 'end', - imageToAscii: 'none', - htmlOnExpect: 'none', - htmlOnSpec: 'none', - clearFoldersBeforeTest: true - }], + plugins: [ + { + package: 'protractor-screenshoter-plugin', + screenshotPath: `${projectRoot}/e2e-output/report`, + screenshotOnExpect: 'failure', + screenshotOnSpec: 'none', + withLogs: true, + writeReportFreq: 'end', + imageToAscii: 'none', + htmlOnExpect: 'none', + htmlOnSpec: 'none', + clearFoldersBeforeTest: true + } + ], onPrepare() { require('ts-node').register({ @@ -105,7 +111,8 @@ exports.config = { jasmine.getEnv().addReporter( new SpecReporter({ spec: { - displayStacktrace: true + displayStacktrace: true, + displayDuration: true } }) ); diff --git a/src/app/components/sidenav/sidenav.component.html b/src/app/components/sidenav/sidenav.component.html index e3792dc90e..04cd19d84c 100644 --- a/src/app/components/sidenav/sidenav.component.html +++ b/src/app/components/sidenav/sidenav.component.html @@ -25,7 +25,10 @@ [matRippleCentered]="true" [matRippleRadius]="20" > - {{ item.icon }} + - - {{ item.icon }} - + [value]="item.icon" + > - {{ child.icon }} + - {{ item.icon }} + @@ -160,15 +165,14 @@ #childMenu="matMenuTrigger" [matMenuTriggerFor]="menu" > - - {{ item.icon }} - + [value]="item.icon" + > diff --git a/src/app/services/node-actions.service.ts b/src/app/services/node-actions.service.ts index aa6e1f7fe2..85db1644d8 100644 --- a/src/app/services/node-actions.service.ts +++ b/src/app/services/node-actions.service.ts @@ -250,7 +250,8 @@ export class NodeActionsService { imageResolver: this.imageResolver.bind(this), isSelectionValid: this.canCopyMoveInsideIt.bind(this), breadcrumbTransform: this.customizeBreadcrumb.bind(this), - select: new Subject() + select: new Subject(), + excludeSiteContent: [] }; this.dialog.open(ContentNodeSelectorComponent, {