Browse Source
Merge pull request #15182 from thingsboard/rc
Merge rc into master
pull/15184/head
Viacheslav Klimov
7 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
2 additions and
2 deletions
-
ui-ngx/src/app/shared/components/color-picker/hsla-input.component.ts
-
ui-ngx/src/app/shared/components/color-picker/rgba-input.component.ts
|
|
@ -41,7 +41,7 @@ export class HslaInputComponent { |
|
|
@Input() |
|
|
@Input() |
|
|
public suffixValue = '%'; |
|
|
public suffixValue = '%'; |
|
|
|
|
|
|
|
|
public get value() { |
|
|
public get value(): ReturnType<Color['getHsla']> { |
|
|
return this.color.getHsla(); |
|
|
return this.color.getHsla(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ -41,7 +41,7 @@ export class RgbaInputComponent { |
|
|
@Input() |
|
|
@Input() |
|
|
public suffixValue = '%'; |
|
|
public suffixValue = '%'; |
|
|
|
|
|
|
|
|
public get value() { |
|
|
public get value(): ReturnType<Color['getRgba']> { |
|
|
return this.color.getRgba(); |
|
|
return this.color.getRgba(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|