From ca2e0df8d7e7f902bf414e8b9a1e64d4a634b398 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Thu, 2 Feb 2023 15:51:53 +0200 Subject: [PATCH] UI: Angular 14 migration --- ui-ngx/package.json | 6 +++--- ...ge-dashboard-layouts-dialog.component.scss | 2 +- ui-ngx/src/theme.scss | 2 +- ui-ngx/yarn.lock | 20 +++++++++---------- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/ui-ngx/package.json b/ui-ngx/package.json index 4d415e1ffd..5d73a97dbd 100644 --- a/ui-ngx/package.json +++ b/ui-ngx/package.json @@ -15,13 +15,13 @@ "private": true, "dependencies": { "@angular/animations": "^13.3.12", - "@angular/cdk": "^12.2.13", + "@angular/cdk": "^13.3.9", "@angular/common": "^13.3.12", "@angular/compiler": "^13.3.12", "@angular/core": "^13.3.12", "@angular/flex-layout": "^13.0.0-beta.38", "@angular/forms": "^13.3.12", - "@angular/material": "^12.2.13", + "@angular/material": "^13.3.9", "@angular/platform-browser": "^13.3.12", "@angular/platform-browser-dynamic": "^13.3.12", "@angular/router": "^13.3.12", @@ -155,4 +155,4 @@ "@types/react": "17.0.37", "ace-builds": "1.4.13" } -} +} \ No newline at end of file diff --git a/ui-ngx/src/app/modules/home/components/dashboard-page/layout/manage-dashboard-layouts-dialog.component.scss b/ui-ngx/src/app/modules/home/components/dashboard-page/layout/manage-dashboard-layouts-dialog.component.scss index e69a74e096..2cb6a84ce8 100644 --- a/ui-ngx/src/app/modules/home/components/dashboard-page/layout/manage-dashboard-layouts-dialog.component.scss +++ b/ui-ngx/src/app/modules/home/components/dashboard-page/layout/manage-dashboard-layouts-dialog.component.scss @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -@use '~@angular/material' as mat; +@use '@angular/material' as mat; @import '../theme.scss'; $tb-warn: mat.get-color-from-palette(map-get($tb-theme, warn), text); diff --git a/ui-ngx/src/theme.scss b/ui-ngx/src/theme.scss index cad2c7262b..89215c3e0f 100644 --- a/ui-ngx/src/theme.scss +++ b/ui-ngx/src/theme.scss @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -@use '~@angular/material' as mat; +@use '@angular/material' as mat; @import '~@mat-datetimepicker/core/datetimepicker/datetimepicker-theme.scss'; @import './scss/constants'; diff --git a/ui-ngx/yarn.lock b/ui-ngx/yarn.lock index 5244646a3a..c85b8d45dc 100644 --- a/ui-ngx/yarn.lock +++ b/ui-ngx/yarn.lock @@ -263,12 +263,12 @@ dependencies: tslib "^2.3.0" -"@angular/cdk@^12.2.13": - version "12.2.13" - resolved "https://registry.yarnpkg.com/@angular/cdk/-/cdk-12.2.13.tgz#1fdbe814adfd6b4ff906c6d9c4c6df07b83f09d8" - integrity sha512-zSKRhECyFqhingIeyRInIyTvYErt4gWo+x5DQr0b7YLUbU8DZSwWnG4w76Ke2s4U8T7ry1jpJBHoX/e8YBpGMg== +"@angular/cdk@^13.3.9": + version "13.3.9" + resolved "https://registry.yarnpkg.com/@angular/cdk/-/cdk-13.3.9.tgz#a177196e872e29be3f84d3a50f778d361c689ff7" + integrity sha512-XCuCbeuxWFyo3EYrgEYx7eHzwl76vaWcxtWXl00ka8d+WAOtMQ6Tf1D98ybYT5uwF9889fFpXAPw98mVnlo3MA== dependencies: - tslib "^2.2.0" + tslib "^2.3.0" optionalDependencies: parse5 "^5.0.0" @@ -363,12 +363,12 @@ resolved "https://registry.yarnpkg.com/@angular/language-service/-/language-service-13.3.12.tgz#1e82c5b833d5097386e4b957248bd4ba96255cbe" integrity sha512-h4zYAmDLxR3DfqfHgOwxuiuX1WDYpYCYwVRYKmk4Mo2AtrRyNwQmkktPgpOFDK9F3gSZ35hbXniuSZbvyy53+g== -"@angular/material@^12.2.13": - version "12.2.13" - resolved "https://registry.yarnpkg.com/@angular/material/-/material-12.2.13.tgz#7f92f95002a2abaa8bb115ca8f0809bdc3f7d3fc" - integrity sha512-6g2GyN4qp2D+DqY2AwrQuPB3cd9gybvQVXvNRbTPXEulHr+LgGei00ySdFHFp6RvdGSMZ4i3LM1Fq3VkFxhCfQ== +"@angular/material@^13.3.9": + version "13.3.9" + resolved "https://registry.yarnpkg.com/@angular/material/-/material-13.3.9.tgz#efd8ab5800b654df01e36426391d31531e412425" + integrity sha512-FU8lcMgo+AL8ckd27B4V097ZPoIZNRHiCe3wpgkImT1qC0YwcyXZVn0MqQTTFSdC9a/aI8wPm3AbTClJEVw5Vw== dependencies: - tslib "^2.2.0" + tslib "^2.3.0" "@angular/platform-browser-dynamic@^13.3.12": version "13.3.12"