mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-06-02 17:34:51 +00:00
[ACS-9430] [ACA] - Wrong styling of checkboxes
This commit is contained in:
parent
2c7c4419e1
commit
095e8ea9f3
137
migrations.json
137
migrations.json
@ -1,137 +0,0 @@
|
|||||||
{
|
|
||||||
"migrations": [
|
|
||||||
{
|
|
||||||
"cli": "nx",
|
|
||||||
"version": "19.2.0-beta.2",
|
|
||||||
"description": "Updates the default workspace data directory to .nx/workspace-data",
|
|
||||||
"implementation": "./src/migrations/update-19-2-0/move-workspace-data-directory",
|
|
||||||
"package": "nx",
|
|
||||||
"name": "19-2-0-move-graph-cache-directory"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cli": "nx",
|
|
||||||
"version": "19.2.2-beta.0",
|
|
||||||
"description": "Updates the nx wrapper.",
|
|
||||||
"implementation": "./src/migrations/update-17-3-0/update-nxw",
|
|
||||||
"package": "nx",
|
|
||||||
"name": "19-2-2-update-nx-wrapper"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"version": "19.2.4-beta.0",
|
|
||||||
"description": "Set project name in nx.json explicitly",
|
|
||||||
"implementation": "./src/migrations/update-19-2-4/set-project-name",
|
|
||||||
"x-repair-skip": true,
|
|
||||||
"package": "nx",
|
|
||||||
"name": "19-2-4-set-project-name"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cli": "nx",
|
|
||||||
"version": "19.1.0-beta.6",
|
|
||||||
"description": "Migrate no-extra-semi rules into user config, out of nx extendable configs",
|
|
||||||
"implementation": "./src/migrations/update-19-1-0-migrate-no-extra-semi/migrate-no-extra-semi",
|
|
||||||
"package": "@nx/eslint-plugin",
|
|
||||||
"name": "update-19-1-0-rename-no-extra-semi"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cli": "nx",
|
|
||||||
"version": "19.1.0-beta.2",
|
|
||||||
"requires": { "@angular/core": ">=18.0.0" },
|
|
||||||
"description": "Update the @angular/cli package version to ~18.0.0.",
|
|
||||||
"factory": "./src/migrations/update-19-1-0/update-angular-cli",
|
|
||||||
"package": "@nx/angular",
|
|
||||||
"name": "update-angular-cli-version-18-0-0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cli": "nx",
|
|
||||||
"version": "19.2.1-beta.0",
|
|
||||||
"requires": { "@angular-eslint/eslint-plugin": ">=18.0.0" },
|
|
||||||
"description": "Installs the '@typescript-eslint/utils' package when having installed '@angular-eslint/eslint-plugin' or '@angular-eslint/eslint-plugin-template' with version >=18.0.0.",
|
|
||||||
"factory": "./src/migrations/update-19-2-1/add-typescript-eslint-utils",
|
|
||||||
"package": "@nx/angular",
|
|
||||||
"name": "add-typescript-eslint-utils"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cli": "nx",
|
|
||||||
"version": "19.5.0-beta.1",
|
|
||||||
"requires": { "@angular/core": ">=18.1.0" },
|
|
||||||
"description": "Update the @angular/cli package version to ~18.1.0.",
|
|
||||||
"factory": "./src/migrations/update-19-5-0/update-angular-cli",
|
|
||||||
"package": "@nx/angular",
|
|
||||||
"name": "update-angular-cli-version-18-1-0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cli": "nx",
|
|
||||||
"version": "19.6.0-beta.4",
|
|
||||||
"description": "Ensure Module Federation DTS is turned off by default.",
|
|
||||||
"factory": "./src/migrations/update-19-6-0/turn-off-dts-by-default",
|
|
||||||
"package": "@nx/angular",
|
|
||||||
"name": "update-19-6-0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cli": "nx",
|
|
||||||
"version": "19.6.0-beta.7",
|
|
||||||
"requires": { "@angular/core": ">=18.2.0" },
|
|
||||||
"description": "Update the @angular/cli package version to ~18.2.0.",
|
|
||||||
"factory": "./src/migrations/update-19-6-0/update-angular-cli",
|
|
||||||
"package": "@nx/angular",
|
|
||||||
"name": "update-angular-cli-version-18-2-0"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"cli": "nx",
|
|
||||||
"version": "19.6.1-beta.0",
|
|
||||||
"description": "Ensure Target Defaults are set correctly for Module Federation.",
|
|
||||||
"factory": "./src/migrations/update-19-6-1/ensure-depends-on-for-mf",
|
|
||||||
"package": "@nx/angular",
|
|
||||||
"name": "update-19-6-1-ensure-module-federation-target-defaults"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"version": "18.0.0",
|
|
||||||
"description": "Updates two-way bindings that have an invalid expression to use the longform expression instead.",
|
|
||||||
"factory": "./migrations/invalid-two-way-bindings/bundle",
|
|
||||||
"package": "@angular/core",
|
|
||||||
"name": "invalid-two-way-bindings"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"version": "18.0.0",
|
|
||||||
"description": "Replace deprecated HTTP related modules with provider functions",
|
|
||||||
"factory": "./migrations/http-providers/bundle",
|
|
||||||
"package": "@angular/core",
|
|
||||||
"name": "migration-http-providers"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"version": "18.1.0",
|
|
||||||
"description": "Updates calls to afterRender with an explicit phase to the new API",
|
|
||||||
"factory": "./migrations/after-render-phase/bundle",
|
|
||||||
"package": "@angular/core",
|
|
||||||
"name": "migration-after-render-phase"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"version": "18.0.0-0",
|
|
||||||
"description": "Updates Angular Material to v18",
|
|
||||||
"factory": "./ng-update/index_bundled#updateToV18",
|
|
||||||
"package": "@angular/material",
|
|
||||||
"name": "migration-v18"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"version": "18.0.0-0",
|
|
||||||
"description": "Updates the Angular CDK to v18",
|
|
||||||
"factory": "./ng-update/index#updateToV18",
|
|
||||||
"package": "@angular/cdk",
|
|
||||||
"name": "migration-v18"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"description": "As of NgRx v18, the `TypedAction` has been removed in favor of `Action`.",
|
|
||||||
"version": "18-beta",
|
|
||||||
"factory": "./18_0_0-beta/index",
|
|
||||||
"package": "@ngrx/store",
|
|
||||||
"name": "ngrx-store-migration-18-beta"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"description": "As of NgRx v18, the `concatLatestFrom` import has been removed from `@ngrx/effects` in favor of the `@ngrx/operators` package.",
|
|
||||||
"version": "18-beta",
|
|
||||||
"factory": "./18_0_0-beta/index",
|
|
||||||
"package": "@ngrx/effects",
|
|
||||||
"name": "ngrx-effects-migration-18-beta"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
5076
package-lock.json
generated
5076
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -49,7 +49,7 @@
|
|||||||
"@fontsource/open-sans": "^5.1.0",
|
"@fontsource/open-sans": "^5.1.0",
|
||||||
"@mat-datetimepicker/core": "14.0.0",
|
"@mat-datetimepicker/core": "14.0.0",
|
||||||
"@ngrx/effects": "18.1.1",
|
"@ngrx/effects": "18.1.1",
|
||||||
"@ngrx/operators": "^18.0.0",
|
"@ngrx/operators": "18.1.1",
|
||||||
"@ngrx/router-store": "18.1.1",
|
"@ngrx/router-store": "18.1.1",
|
||||||
"@ngrx/store": "18.1.1",
|
"@ngrx/store": "18.1.1",
|
||||||
"@ngrx/store-devtools": "18.1.1",
|
"@ngrx/store-devtools": "18.1.1",
|
||||||
@ -76,7 +76,7 @@
|
|||||||
"@angular-eslint/eslint-plugin-template": "18.4.3",
|
"@angular-eslint/eslint-plugin-template": "18.4.3",
|
||||||
"@angular-eslint/schematics": "18.4.3",
|
"@angular-eslint/schematics": "18.4.3",
|
||||||
"@angular-eslint/template-parser": "18.4.3",
|
"@angular-eslint/template-parser": "18.4.3",
|
||||||
"@angular/cli": "~18.2.0",
|
"@angular/cli": "18.2.15",
|
||||||
"@angular/compiler-cli": "18.2.9",
|
"@angular/compiler-cli": "18.2.9",
|
||||||
"@angular/language-service": "18.2.9",
|
"@angular/language-service": "18.2.9",
|
||||||
"@cspell/eslint-plugin": "^8.14.1",
|
"@cspell/eslint-plugin": "^8.14.1",
|
||||||
|
@ -40,7 +40,7 @@ import { ContentActionRef } from '@alfresco/adf-extensions';
|
|||||||
import { MatSnackBarModule } from '@angular/material/snack-bar';
|
import { MatSnackBarModule } from '@angular/material/snack-bar';
|
||||||
import { Location } from '@angular/common';
|
import { Location } from '@angular/common';
|
||||||
|
|
||||||
describe('DetailsComponent', () => {
|
fdescribe('DetailsComponent', () => {
|
||||||
let component: DetailsComponent;
|
let component: DetailsComponent;
|
||||||
let fixture: ComponentFixture<DetailsComponent>;
|
let fixture: ComponentFixture<DetailsComponent>;
|
||||||
let contentApiService: ContentApiService;
|
let contentApiService: ContentApiService;
|
||||||
@ -191,6 +191,38 @@ describe('DetailsComponent', () => {
|
|||||||
expect(component.nodeIcon).toContain(expectedIcon);
|
expect(component.nodeIcon).toContain(expectedIcon);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('should set aspectActions from extension mock', () => {
|
||||||
|
const extensionMock = {
|
||||||
|
getAllowedSidebarActions: () =>
|
||||||
|
of([
|
||||||
|
{
|
||||||
|
id: 'app.sidebar.close',
|
||||||
|
order: 100,
|
||||||
|
title: 'close',
|
||||||
|
icon: 'highlight_off'
|
||||||
|
}
|
||||||
|
])
|
||||||
|
};
|
||||||
|
|
||||||
|
extensionsServiceMock.getAllowedSidebarActions.and.returnValue(of(extensionMock));
|
||||||
|
fixture.detectChanges();
|
||||||
|
fixture
|
||||||
|
.whenStable()
|
||||||
|
.then(() => {
|
||||||
|
expect(component.aspectActions).toEqual([
|
||||||
|
{
|
||||||
|
id: 'app.sidebar.close',
|
||||||
|
order: 100,
|
||||||
|
title: 'close',
|
||||||
|
icon: 'highlight_off'
|
||||||
|
} as ContentActionRef
|
||||||
|
]);
|
||||||
|
})
|
||||||
|
.catch((error) => {
|
||||||
|
fail(`An error occurred: ${error}`);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
it('should disable the permissions tab for smart folders based on aspects', () => {
|
it('should disable the permissions tab for smart folders based on aspects', () => {
|
||||||
node.entry.isFolder = true;
|
node.entry.isFolder = true;
|
||||||
node.entry.aspectNames = ['smf:customConfigSmartFolder'];
|
node.entry.aspectNames = ['smf:customConfigSmartFolder'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user