@porscheinformatik/clr-addons 21.1.2 → 21.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/porscheinformatik-clr-addons-charts.mjs +0 -6
- package/fesm2022/porscheinformatik-clr-addons-charts.mjs.map +1 -1
- package/fesm2022/porscheinformatik-clr-addons.mjs +2 -4
- package/fesm2022/porscheinformatik-clr-addons.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/clr-addons-phs.css +4 -0
- package/styles/clr-addons-phs.css.map +1 -1
- package/styles/clr-addons-phs.min.css +1 -1
- package/styles/clr-addons-phs.min.css.map +1 -1
|
@@ -1229,7 +1229,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImpo
|
|
|
1229
1229
|
*/
|
|
1230
1230
|
|
|
1231
1231
|
/*
|
|
1232
|
-
* Copyright (c) 2018-
|
|
1232
|
+
* Copyright (c) 2018-2026 Porsche Informatik. All Rights Reserved.
|
|
1233
1233
|
* This software is released under MIT license.
|
|
1234
1234
|
* The full license information can be found in LICENSE in the root directory of this project.
|
|
1235
1235
|
*/
|
|
@@ -1247,7 +1247,7 @@ class ClrLetterAvatar {
|
|
|
1247
1247
|
if (this.name !== undefined) {
|
|
1248
1248
|
return this.name.split(/\s/).reduce((response, word) => {
|
|
1249
1249
|
if (response.length < 2) {
|
|
1250
|
-
return
|
|
1250
|
+
return response + word.slice(0, 1);
|
|
1251
1251
|
}
|
|
1252
1252
|
else {
|
|
1253
1253
|
return response;
|
|
@@ -2581,9 +2581,7 @@ class ClrNumericField {
|
|
|
2581
2581
|
this._unit = null;
|
|
2582
2582
|
this.allowedKeys = new Set(NUMBERS);
|
|
2583
2583
|
/* Control Values Accessor Stuff below */
|
|
2584
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
2585
2584
|
this.onChange = (_) => { };
|
|
2586
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
2587
2585
|
this.onTouched = () => { };
|
|
2588
2586
|
}
|
|
2589
2587
|
ngOnInit() {
|