diff --git a/projects/components/src/lib/components/button/button.component.html b/projects/components/src/lib/components/button/button.component.html index 0df2206..d2eed00 100644 --- a/projects/components/src/lib/components/button/button.component.html +++ b/projects/components/src/lib/components/button/button.component.html @@ -1,11 +1,11 @@ @switch (type) { @case ('raised') { - } @case ('stroked') { - } diff --git a/projects/components/src/lib/components/button/button.component.ts b/projects/components/src/lib/components/button/button.component.ts index 1736f1d..45e3ed3 100644 --- a/projects/components/src/lib/components/button/button.component.ts +++ b/projects/components/src/lib/components/button/button.component.ts @@ -17,6 +17,7 @@ export class ButtonComponent { @Input({ required: true }) type!: 'raised' | 'stroked'; @Input({ required: true }) function!: () => Promise | void; + @Input({ required: false }) disabled: boolean = false; @Input({ required: false }) color: 'primary' | 'accent' | 'warn' = 'primary'; protected loading = false; diff --git a/src/app/components/dialogs/dialogs.component.html b/src/app/components/dialogs/dialogs.component.html index f9e2bf2..dacac16 100644 --- a/src/app/components/dialogs/dialogs.component.html +++ b/src/app/components/dialogs/dialogs.component.html @@ -1,5 +1,5 @@ -

content.headline.dialogs

-

content.text.dialogs

+

content.headline.dialogs

+

content.text.dialogs

dialog.simple_dialog.title

dialog.simple_dialog.content

diff --git a/src/app/components/enum/enum.component.html b/src/app/components/enum/enum.component.html index e831ee1..9cb9755 100644 --- a/src/app/components/enum/enum.component.html +++ b/src/app/components/enum/enum.component.html @@ -1,7 +1,7 @@ -

content.headline.enum

-

-

content.headline.enum_options

-

content.text.enum_options

+

content.headline.enum

+

+

content.headline.enum_options

+

content.text.enum_options

Hero Type @@ -12,8 +12,8 @@

content.headline.enum_options

}
-

content.headline.pipe

-

content.text.pipe

+

content.headline.pipe

+

content.text.pipe

Original value: {{ HeroType.Scientist }} Original value: {{ '{{ HeroType.Scientist }}' }} diff --git a/src/app/components/loading/loading.component.html b/src/app/components/loading/loading.component.html index 69f6ae0..f8ee22c 100644 --- a/src/app/components/loading/loading.component.html +++ b/src/app/components/loading/loading.component.html @@ -1,3 +1,4 @@ +

content.text.loading_button

{{ text }} @@ -14,3 +15,7 @@ {{ longText }}

+ + {{ longText }} + +

diff --git a/src/app/components/loading/loading.component.ts b/src/app/components/loading/loading.component.ts index c4a136c..e120a68 100644 --- a/src/app/components/loading/loading.component.ts +++ b/src/app/components/loading/loading.component.ts @@ -2,6 +2,7 @@ import { Component, signal } from '@angular/core'; import { MatButtonModule } from '@angular/material/button'; import { MatProgressSpinnerModule } from '@angular/material/progress-spinner'; import { ButtonComponent } from '@bolzplatzarena/components/button'; +import { TranslateModule } from '@ngx-translate/core'; @Component({ selector: 'app-loading', @@ -10,6 +11,7 @@ import { ButtonComponent } from '@bolzplatzarena/components/button'; ButtonComponent, MatButtonModule, MatProgressSpinnerModule, + TranslateModule, ], templateUrl: './loading.component.html', }) diff --git a/src/app/components/table/table.component.html b/src/app/components/table/table.component.html index 5e95015..5433e84 100644 --- a/src/app/components/table/table.component.html +++ b/src/app/components/table/table.component.html @@ -1,6 +1,6 @@ -

content.headline.table

-

content.text.table

-

content.text.column

+

content.headline.table

+

content.text.table

+

content.text.column