From 4a00cbbfd733c173c62b3a38bc3db59503d224fe Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Mon, 29 May 2023 10:28:48 +0100 Subject: [PATCH] remove flex-layout dependency (#3235) --- package-lock.json | 17 ----------------- package.json | 1 - .../search-results-row.components.spec.ts | 2 +- .../document-display-mode.component.spec.ts | 2 +- .../toggle-info-drawer.component.spec.ts | 2 +- projects/aca-folder-rules/package.json | 1 - .../lib/services/folder-rules.service.spec.ts | 1 - projects/aca-shared/package.json | 1 - 8 files changed, 3 insertions(+), 24 deletions(-) diff --git a/package-lock.json b/package-lock.json index dd365b60c2..db7c572bbd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,6 @@ "@angular/common": "14.1.3", "@angular/compiler": "14.1.3", "@angular/core": "14.1.3", - "@angular/flex-layout": "^14.0.0-beta.40", "@angular/forms": "14.1.3", "@angular/material": "14.1.3", "@angular/material-moment-adapter": "14.1.3", @@ -1741,22 +1740,6 @@ "zone.js": "~0.11.4" } }, - "node_modules/@angular/flex-layout": { - "version": "14.0.0-beta.41", - "resolved": "https://registry.npmjs.org/@angular/flex-layout/-/flex-layout-14.0.0-beta.41.tgz", - "integrity": "sha512-x1YcxqkdFlcbVXEy9ebCgW/F+7n/MXkEkwEcVEIPf5v5qn7HZsjQxgIj35Lf0amvMyF7h35prpoxO1uX5+ntFg==", - "deprecated": "This package has been deprecated. Please see https://blog.angular.io/modern-css-in-angular-layouts-4a259dca9127", - "dependencies": { - "tslib": "^2.3.0" - }, - "peerDependencies": { - "@angular/cdk": "^14.0.0", - "@angular/common": "^14.0.0", - "@angular/core": "^14.0.0", - "@angular/platform-browser": "^14.0.0", - "rxjs": "^6.5.3 || ^7.4.0" - } - }, "node_modules/@angular/forms": { "version": "14.1.3", "resolved": "https://registry.npmjs.org/@angular/forms/-/forms-14.1.3.tgz", diff --git a/package.json b/package.json index 9b0151c617..9d2dda4ff3 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,6 @@ "@angular/common": "14.1.3", "@angular/compiler": "14.1.3", "@angular/core": "14.1.3", - "@angular/flex-layout": "^14.0.0-beta.40", "@angular/forms": "14.1.3", "@angular/material": "14.1.3", "@angular/material-moment-adapter": "14.1.3", diff --git a/projects/aca-content/src/lib/components/search/search-results-row/search-results-row.components.spec.ts b/projects/aca-content/src/lib/components/search/search-results-row/search-results-row.components.spec.ts index d65ac45d10..f1287a6ccc 100644 --- a/projects/aca-content/src/lib/components/search/search-results-row/search-results-row.components.spec.ts +++ b/projects/aca-content/src/lib/components/search/search-results-row/search-results-row.components.spec.ts @@ -24,7 +24,7 @@ import { NodeEntry } from '@alfresco/js-api'; import { ComponentFixture, TestBed } from '@angular/core/testing'; -import { CoreModule } from '@angular/flex-layout'; +import { CoreModule } from '@alfresco/adf-core'; import { AppTestingModule } from '../../../testing/app-testing.module'; import { AppSearchResultsModule } from '../search-results.module'; import { SearchResultsRowComponent } from './search-results-row.component'; diff --git a/projects/aca-content/src/lib/components/toolbar/document-display-mode/document-display-mode.component.spec.ts b/projects/aca-content/src/lib/components/toolbar/document-display-mode/document-display-mode.component.spec.ts index 356f2f6afa..054dbc84c4 100644 --- a/projects/aca-content/src/lib/components/toolbar/document-display-mode/document-display-mode.component.spec.ts +++ b/projects/aca-content/src/lib/components/toolbar/document-display-mode/document-display-mode.component.spec.ts @@ -24,7 +24,7 @@ import { DocumentDisplayModeComponent } from './document-display-mode.component'; import { ComponentFixture, TestBed } from '@angular/core/testing'; -import { CoreModule } from '@angular/flex-layout'; +import { CoreModule } from '@alfresco/adf-core'; import { AppTestingModule } from '../../../testing/app-testing.module'; import { of } from 'rxjs'; diff --git a/projects/aca-content/src/lib/components/toolbar/toggle-info-drawer/toggle-info-drawer.component.spec.ts b/projects/aca-content/src/lib/components/toolbar/toggle-info-drawer/toggle-info-drawer.component.spec.ts index 6f19e0b590..da06bfde63 100644 --- a/projects/aca-content/src/lib/components/toolbar/toggle-info-drawer/toggle-info-drawer.component.spec.ts +++ b/projects/aca-content/src/lib/components/toolbar/toggle-info-drawer/toggle-info-drawer.component.spec.ts @@ -24,7 +24,7 @@ import { ToggleInfoDrawerComponent } from './toggle-info-drawer.component'; import { ComponentFixture, TestBed } from '@angular/core/testing'; -import { CoreModule } from '@angular/flex-layout'; +import { CoreModule } from '@alfresco/adf-core'; import { AppTestingModule } from '../../../testing/app-testing.module'; import { Subject } from 'rxjs'; import { Store } from '@ngrx/store'; diff --git a/projects/aca-folder-rules/package.json b/projects/aca-folder-rules/package.json index 14de26084a..f24a104aa3 100644 --- a/projects/aca-folder-rules/package.json +++ b/projects/aca-folder-rules/package.json @@ -11,7 +11,6 @@ "@alfresco/js-api": "^6.1.0-0", "@angular/animations": "^14.1.3", "@angular/cdk": "^14.1.3", - "@angular/flex-layout": "^14.0.0-beta.40", "@angular/forms": "^14.1.3", "@angular/material": "^14.1.3", "@ngx-translate/core": "^14.0.0", diff --git a/projects/aca-folder-rules/src/lib/services/folder-rules.service.spec.ts b/projects/aca-folder-rules/src/lib/services/folder-rules.service.spec.ts index 7631ce2ec2..864ead07fd 100644 --- a/projects/aca-folder-rules/src/lib/services/folder-rules.service.spec.ts +++ b/projects/aca-folder-rules/src/lib/services/folder-rules.service.spec.ts @@ -36,7 +36,6 @@ import { rulesMock } from '../mock/rules.mock'; import { ruleSetMock } from '../mock/rule-sets.mock'; -import { expect } from '@angular/flex-layout/_private-utils/testing'; import { owningFolderIdMock } from '../mock/node.mock'; import { take } from 'rxjs/operators'; diff --git a/projects/aca-shared/package.json b/projects/aca-shared/package.json index 97bc33567d..324b311a45 100644 --- a/projects/aca-shared/package.json +++ b/projects/aca-shared/package.json @@ -13,7 +13,6 @@ "@angular/common": "^14.1.3", "@angular/compiler": "^14.1.3", "@angular/core": "^14.1.3", - "@angular/flex-layout": "^14.0.0-beta.40", "@angular/forms": "^14.1.3", "@angular/material": "^14.1.3", "@ngrx/effects": "^14.2.0",