Browse Source

Merge branch 'main' into task/upgrade-stripe-to-version-20.4.1

pull/6631/head
Thomas Kaul 2 days ago
committed by GitHub
parent
commit
8a36f3d5b4
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      CHANGELOG.md
  2. 9
      libs/ui/src/lib/historical-market-data-editor/historical-market-data-editor-dialog/historical-market-data-editor-dialog.component.ts
  3. 2
      libs/ui/src/lib/no-transactions-info/no-transactions-info.component.ts
  4. 4
      libs/ui/src/lib/shared/abstract-mat-form-field.ts
  5. 1
      libs/ui/tsconfig.json
  6. 16
      package-lock.json
  7. 4
      package.json

2
CHANGELOG.md

@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Improved the language localization for Spanish (`es`)
- Upgraded `countries-list` from version `3.2.2` to `3.3.0`
- Upgraded `ng-extract-i18n-merge` from `3.2.1` to `3.3.0`
- Upgraded `stripe` from version `20.3.0` to `20.4.1`
## 2.251.0 - 2026-03-24

9
libs/ui/src/lib/historical-market-data-editor/historical-market-data-editor-dialog/historical-market-data-editor-dialog.component.ts

@ -25,6 +25,7 @@ import { MatInputModule } from '@angular/material/input';
import { IonIcon } from '@ionic/angular/standalone';
import { addIcons } from 'ionicons';
import { calendarClearOutline, refreshOutline } from 'ionicons/icons';
import { isNil } from 'lodash';
import { HistoricalMarketDataEditorDialogParams } from './interfaces/interfaces';
@ -90,7 +91,9 @@ export class GfHistoricalMarketDataEditorDialogComponent implements OnInit {
}
public onUpdate() {
if (this.marketPrice() === undefined) {
const marketPrice = this.marketPrice();
if (isNil(marketPrice)) {
return;
}
@ -100,8 +103,8 @@ export class GfHistoricalMarketDataEditorDialogComponent implements OnInit {
marketData: {
marketData: [
{
date: this.data.dateString,
marketPrice: this.marketPrice()
marketPrice,
date: this.data.dateString
}
]
},

2
libs/ui/src/lib/no-transactions-info/no-transactions-info.component.ts

@ -24,5 +24,5 @@ export class GfNoTransactionsInfoComponent {
@HostBinding('class.has-border') @Input() hasBorder = true;
public routerLinkPortfolioActivities =
internalRoutes.portfolio.subRoutes.activities.routerLink;
internalRoutes.portfolio.subRoutes?.activities.routerLink;
}

4
libs/ui/src/lib/shared/abstract-mat-form-field.ts

@ -37,7 +37,7 @@ export abstract class AbstractMatFormField<T>
private static nextId = 0;
protected constructor(
protected _elementRef: ElementRef,
protected _elementRef: ElementRef<HTMLElement>,
protected _focusMonitor: FocusMonitor,
public readonly ngControl: NgControl
) {
@ -137,7 +137,7 @@ export abstract class AbstractMatFormField<T>
public ngDoCheck() {
if (this.ngControl) {
this.errorState = this.ngControl.invalid && this.ngControl.touched;
this.errorState = !!(this.ngControl.invalid && this.ngControl.touched);
this.stateChanges.next();
}
}

1
libs/ui/tsconfig.json

@ -19,6 +19,7 @@
"target": "es2020",
// TODO: Remove once solved in tsconfig.base.json
"strict": false,
"strictNullChecks": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true
},

16
package-lock.json

@ -60,7 +60,7 @@
"color": "5.0.3",
"cookie-parser": "1.4.7",
"countries-and-timezones": "3.8.0",
"countries-list": "3.2.2",
"countries-list": "3.3.0",
"countup.js": "2.9.0",
"date-fns": "4.1.0",
"dotenv": "17.2.3",
@ -76,7 +76,7 @@
"lodash": "4.17.23",
"marked": "17.0.2",
"ms": "3.0.0-canary.1",
"ng-extract-i18n-merge": "3.2.1",
"ng-extract-i18n-merge": "3.3.0",
"ngx-device-detector": "11.0.0",
"ngx-markdown": "21.1.0",
"ngx-skeleton-loader": "12.0.0",
@ -17192,9 +17192,9 @@
}
},
"node_modules/countries-list": {
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/countries-list/-/countries-list-3.2.2.tgz",
"integrity": "sha512-ABJ/RWQBrPWy+hRuZoW+0ooK8p65Eo3WmUZwHm6v4wmfSPznNAKzjy3+UUYrJK2v3182BVsgWxdB6ROidj39kw==",
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/countries-list/-/countries-list-3.3.0.tgz",
"integrity": "sha512-XRUjS+dcZuNh/fg3+mka3bXgcg4TbQZ1gaK5IJqO6qulerBANl1bmrd20P2dgmPkBpP+5FnejiSF1gd7bgAg+g==",
"license": "MIT"
},
"node_modules/countup.js": {
@ -26416,9 +26416,9 @@
"license": "MIT"
},
"node_modules/ng-extract-i18n-merge": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/ng-extract-i18n-merge/-/ng-extract-i18n-merge-3.2.1.tgz",
"integrity": "sha512-Yq8uEBa32/Imlo+vnyY6rk+h0VOjWQT8r4Vgiw/YlnK0AzIXFxr6H/Ji3gTJKVsuRY6Tt1swBgmnkAUeDmklRw==",
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/ng-extract-i18n-merge/-/ng-extract-i18n-merge-3.3.0.tgz",
"integrity": "sha512-9VCi2gMSjvlz5+bvJ9wTzHEeEiVCM0lb/uvGx2K3FavG4p0HKhg0Y9Tjr/Hr23DSHAQQXS0gssIvznWW3DHIXQ==",
"license": "MIT",
"dependencies": {
"@angular-devkit/architect": ">=0.2000.0 <0.2200.0",

4
package.json

@ -105,7 +105,7 @@
"color": "5.0.3",
"cookie-parser": "1.4.7",
"countries-and-timezones": "3.8.0",
"countries-list": "3.2.2",
"countries-list": "3.3.0",
"countup.js": "2.9.0",
"date-fns": "4.1.0",
"dotenv": "17.2.3",
@ -121,7 +121,7 @@
"lodash": "4.17.23",
"marked": "17.0.2",
"ms": "3.0.0-canary.1",
"ng-extract-i18n-merge": "3.2.1",
"ng-extract-i18n-merge": "3.3.0",
"ngx-device-detector": "11.0.0",
"ngx-markdown": "21.1.0",
"ngx-skeleton-loader": "12.0.0",

Loading…
Cancel
Save