Export Option erweitert

This commit is contained in:
2026-04-02 14:33:03 +02:00
parent 423caf0d55
commit f346b34c05
4 changed files with 700 additions and 576 deletions
+52
View File
@@ -398,6 +398,58 @@
<Label Text="{Binding ExportRangeSummary}"
TextColor="{DynamicResource TextMuted}" />
<Label Text="Filter (optional)"
FontAttributes="Bold"
TextColor="{DynamicResource TextPrimary}" />
<VerticalStackLayout Spacing="4">
<Label Text="Tätigkeit"
TextColor="{DynamicResource TextPrimary}" />
<Picker ItemsSource="{Binding ExportActivities}"
ItemDisplayBinding="{Binding Name, x:DataType=viewModels:ActivityPickerItemViewModel}"
SelectedItem="{Binding SelectedExportActivity}" />
</VerticalStackLayout>
<VerticalStackLayout Spacing="6">
<Label Text="Symptome"
TextColor="{DynamicResource TextPrimary}" />
<Label Text="Mehrfachauswahl möglich."
FontSize="12"
TextColor="{DynamicResource TextMuted}" />
<Button Text="{Binding ExportSymptomFilterToggleText}"
Style="{StaticResource SecondaryButtonStyle}"
Command="{Binding ToggleExportSymptomFilterCommand}" />
<VerticalStackLayout IsVisible="{Binding IsExportSymptomFilterExpanded}"
BindableLayout.ItemsSource="{Binding ExportSymptoms}"
Spacing="8">
<BindableLayout.ItemTemplate>
<DataTemplate x:DataType="viewModels:SelectableSymptomItemViewModel">
<Border Padding="10"
Stroke="{DynamicResource Border}"
BackgroundColor="{DynamicResource SurfaceBackgroundAlt}">
<Grid ColumnDefinitions="Auto,*"
ColumnSpacing="10">
<CheckBox IsChecked="{Binding IsSelected}" />
<Label Grid.Column="1"
Text="{Binding Name}"
VerticalOptions="Center"
TextColor="{DynamicResource TextPrimary}" />
</Grid>
</Border>
</DataTemplate>
</BindableLayout.ItemTemplate>
</VerticalStackLayout>
</VerticalStackLayout>
<Label Text="{Binding ExportFilterSummary}"
TextColor="{DynamicResource TextMuted}" />
<Button Text="Filter zurücksetzen"
Style="{StaticResource SecondaryButtonStyle}"
Command="{Binding ResetExportFiltersCommand}" />
<Label Text="Exportmodus"
FontAttributes="Bold"
TextColor="{DynamicResource TextPrimary}" />