From ffe6ba026483645fd6a3f3554c8bb138578136d4 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Tue, 3 Feb 2026 14:19:42 +0200 Subject: [PATCH] Angular 20 migration --- ui-ngx/package.json | 6 ++-- .../cf-alarm-rule-condition.component.scss | 2 +- ...alarm-rule-filter-predicate.component.html | 2 +- ...t-api-key-description-panel.component.scss | 2 +- .../calculated-field-dialog.component.scss | 4 +-- .../calculated-field-output.component.html | 2 +- .../github-badge/github-badge.component.scss | 10 +++--- ...emetry-from-database-config.component.scss | 4 +-- .../lib/cards/api-usage-widget.component.scss | 16 ++++----- .../usage-info-widget.component.scss | 8 ++--- .../home/components/widget/lib/maps/map.scss | 2 +- .../panels/map-timeline-panel.component.scss | 4 +-- .../lib/multiple-input-widget.component.ts | 2 +- .../lib/rpc/slider-widget.component.scss | 24 ++++++------- .../common/key/data-keys.component.scss | 6 ++-- ...-layer-color-settings-panel.component.scss | 2 +- .../map/map-data-layer-dialog.component.scss | 2 +- .../widget/lib/table-widget.models.ts | 14 ++++---- .../components/widget/lib/table-widget.scss | 2 +- .../components/widget/widget.component.ts | 16 ++++----- .../remove-app-dialog.component.scss | 2 +- .../layout/custom-mobile-page.component.scss | 2 +- .../default-mobile-page-panel.component.scss | 2 +- .../mobile-bundle-dialog.component.scss | 2 +- .../sent-notification-dialog.component.scss | 4 +-- ...tion-template-configuration.component.scss | 6 ++-- ...emplate-notification-dialog.component.scss | 4 +-- .../rulechain/rule-node-config.component.scss | 2 +- ...force-two-factor-auth-login.component.scss | 2 +- .../pages/login/link-expired.component.scss | 2 +- .../login/pages/login/login.component.scss | 8 ++--- .../login/pages/login/password.component.scss | 2 +- .../two-factor-auth-login.component.scss | 2 +- .../components/script-lang.component.scss | 2 +- ...string-pattern-autocomplete.component.scss | 6 ++-- .../time/timewindow-panel.component.scss | 2 +- ui-ngx/src/form.scss | 22 ++++++------ ui-ngx/src/styles.scss | 18 +++++----- ui-ngx/src/theme-overwrites.scss | 2 +- ui-ngx/yarn.lock | 35 ++++++++----------- 40 files changed, 125 insertions(+), 132 deletions(-) diff --git a/ui-ngx/package.json b/ui-ngx/package.json index 46b88e6698..6757300da0 100644 --- a/ui-ngx/package.json +++ b/ui-ngx/package.json @@ -14,12 +14,12 @@ "private": true, "dependencies": { "@angular/animations": "20.3.16", - "@angular/cdk": "19.2.19", + "@angular/cdk": "20.2.14", "@angular/common": "20.3.16", "@angular/compiler": "20.3.16", "@angular/core": "20.3.16", "@angular/forms": "20.3.16", - "@angular/material": "19.2.19", + "@angular/material": "20.2.14", "@angular/platform-browser": "20.3.16", "@angular/platform-browser-dynamic": "20.3.16", "@angular/router": "20.3.16", @@ -28,7 +28,7 @@ "@flowjs/ngx-flow": "20.0.2", "@geoman-io/leaflet-geoman-free": "2.18.3", "@iplab/ngx-color-picker": "^20.0.0", - "@mat-datetimepicker/core": "~15.0.2", + "@mat-datetimepicker/core": "~16.0.1", "@mdi/svg": "^7.4.47", "@messageformat/core": "^3.4.0", "@ngrx/effects": "^20.1.0", diff --git a/ui-ngx/src/app/modules/home/components/alarm-rules/cf-alarm-rule-condition.component.scss b/ui-ngx/src/app/modules/home/components/alarm-rules/cf-alarm-rule-condition.component.scss index 62876c2476..96494ab98d 100644 --- a/ui-ngx/src/app/modules/home/components/alarm-rules/cf-alarm-rule-condition.component.scss +++ b/ui-ngx/src/app/modules/home/components/alarm-rules/cf-alarm-rule-condition.component.scss @@ -21,7 +21,7 @@ display: flex; flex: 1; &-button { - --mat-outlined-button-horizontal-padding: 3px 0px 12px; + --mat-button-outlined-horizontal-padding: 3px 0px 12px; display: block; width: 100%; } diff --git a/ui-ngx/src/app/modules/home/components/alarm-rules/filter/alarm-rule-filter-predicate.component.html b/ui-ngx/src/app/modules/home/components/alarm-rules/filter/alarm-rule-filter-predicate.component.html index 9d3ad7286a..273535d394 100644 --- a/ui-ngx/src/app/modules/home/components/alarm-rules/filter/alarm-rule-filter-predicate.component.html +++ b/ui-ngx/src/app/modules/home/components/alarm-rules/filter/alarm-rule-filter-predicate.component.html @@ -58,7 +58,7 @@ } @case (filterPredicateType.COMPLEX) {
-