Files
Wino-Mail/Wino.Mail/Views/Account/MergedAccountDetailsPage.xaml
2025-01-19 23:52:27 +01:00

171 lines
25 KiB
XML

<abstract:MergedAccountDetailsPageAbstract
x:Class="Wino.Views.Account.MergedAccountDetailsPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:abstract="using:Wino.Views.Abstract"
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
xmlns:controls1="using:Wino.Controls"
xmlns:coreControls="using:Wino.Core.UWP.Controls"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:data="using:Wino.Mail.ViewModels.Data"
xmlns:domain="using:Wino.Core.Domain"
xmlns:helpers="using:Wino.Helpers"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
x:Name="MainPage"
mc:Ignorable="d">
<Page.Resources>
<DataTemplate x:Key="LinkedAccountTemplate" x:DataType="data:AccountProviderDetailViewModel">
<controls:SettingsCard
Margin="0,2,0,0"
Command="{Binding ViewModel.UnlinkAccountCommand, Mode=OneWay, ElementName=MainPage}"
CommandParameter="{x:Bind}"
Description="{x:Bind Account.Address}"
Header="{x:Bind Account.Name}"
IsClickEnabled="True">
<controls:SettingsCard.HeaderIcon>
<coreControls:WinoFontIcon FontSize="64" Icon="{x:Bind helpers:XamlHelpers.GetProviderIcon(Account)}" />
</controls:SettingsCard.HeaderIcon>
<controls:SettingsCard.ActionIcon>
<PathIcon
HorizontalAlignment="Center"
VerticalAlignment="Center"
Data="F1 M 5.009766 16.240234 C 5.009766 16.077475 5.04069 15.919597 5.102539 15.766602 C 5.164388 15.613607 5.253906 15.478516 5.371094 15.361328 L 10.732422 10 L 5.371094 4.628906 C 5.130208 4.388021 5.009766 4.091798 5.009766 3.740234 C 5.009766 3.570965 5.042317 3.409832 5.107422 3.256836 C 5.172526 3.103842 5.262044 2.970379 5.375977 2.856445 C 5.489909 2.742514 5.623372 2.652996 5.776367 2.587891 C 5.929361 2.522787 6.090494 2.490234 6.259766 2.490234 C 6.422525 2.490234 6.582031 2.524414 6.738281 2.592773 C 6.894531 2.661133 7.027994 2.750652 7.138672 2.861328 L 13.388672 9.111328 C 13.499349 9.222006 13.588867 9.355469 13.657227 9.511719 C 13.725586 9.667969 13.759766 9.827475 13.759766 9.990234 C 13.759766 10.335287 13.636067 10.631511 13.388672 10.878906 L 7.138672 17.128906 C 7.021484 17.246094 6.886393 17.33724 6.733398 17.402344 C 6.580403 17.467447 6.419271 17.5 6.25 17.5 C 6.074219 17.5 5.911458 17.467447 5.761719 17.402344 C 5.611979 17.33724 5.480143 17.247721 5.366211 17.133789 C 5.252278 17.019857 5.164388 16.886393 5.102539 16.733398 C 5.04069 16.580404 5.009766 16.416016 5.009766 16.240234 Z " />
</controls:SettingsCard.ActionIcon>
</controls:SettingsCard>
</DataTemplate>
<DataTemplate x:Key="UnlinkedAccountTemplate" x:DataType="data:AccountProviderDetailViewModel">
<controls:SettingsCard
Margin="0,2,0,0"
Command="{Binding ViewModel.LinkAccountCommand, Mode=OneWay, ElementName=MainPage}"
CommandParameter="{x:Bind}"
Description="{x:Bind Account.Address}"
FlowDirection="RightToLeft"
Header="{x:Bind Account.Name}"
IsClickEnabled="True">
<controls:SettingsCard.HeaderIcon>
<coreControls:WinoFontIcon FontSize="64" Icon="{x:Bind helpers:XamlHelpers.GetProviderIcon(Account)}" />
</controls:SettingsCard.HeaderIcon>
<controls:SettingsCard.ActionIcon>
<PathIcon
HorizontalAlignment="Center"
VerticalAlignment="Center"
Data="F1 M 5.009766 16.240234 C 5.009766 16.077475 5.04069 15.919597 5.102539 15.766602 C 5.164388 15.613607 5.253906 15.478516 5.371094 15.361328 L 10.732422 10 L 5.371094 4.628906 C 5.130208 4.388021 5.009766 4.091798 5.009766 3.740234 C 5.009766 3.570965 5.042317 3.409832 5.107422 3.256836 C 5.172526 3.103842 5.262044 2.970379 5.375977 2.856445 C 5.489909 2.742514 5.623372 2.652996 5.776367 2.587891 C 5.929361 2.522787 6.090494 2.490234 6.259766 2.490234 C 6.422525 2.490234 6.582031 2.524414 6.738281 2.592773 C 6.894531 2.661133 7.027994 2.750652 7.138672 2.861328 L 13.388672 9.111328 C 13.499349 9.222006 13.588867 9.355469 13.657227 9.511719 C 13.725586 9.667969 13.759766 9.827475 13.759766 9.990234 C 13.759766 10.335287 13.636067 10.631511 13.388672 10.878906 L 7.138672 17.128906 C 7.021484 17.246094 6.886393 17.33724 6.733398 17.402344 C 6.580403 17.467447 6.419271 17.5 6.25 17.5 C 6.074219 17.5 5.911458 17.467447 5.761719 17.402344 C 5.611979 17.33724 5.480143 17.247721 5.366211 17.133789 C 5.252278 17.019857 5.164388 16.886393 5.102539 16.733398 C 5.04069 16.580404 5.009766 16.416016 5.009766 16.240234 Z " />
</controls:SettingsCard.ActionIcon>
</controls:SettingsCard>
</DataTemplate>
</Page.Resources>
<ScrollViewer>
<StackPanel>
<controls:SettingsCard
Command="{x:Bind ViewModel.RenameLinkCommand}"
Description="{x:Bind domain:Translator.SettingsRenameMergeAccount_Description}"
Header="{x:Bind domain:Translator.SettingsRenameMergeAccount_Title}"
IsActionIconVisible="False"
IsClickEnabled="True">
<controls:SettingsCard.HeaderIcon>
<SymbolIcon Symbol="Rename" />
</controls:SettingsCard.HeaderIcon>
</controls:SettingsCard>
<controls:SettingsCard
Grid.Row="2"
Grid.ColumnSpan="3"
Command="{x:Bind ViewModel.UnlinkAccountsCommand}"
Description="{x:Bind domain:Translator.SettingsUnlinkAccounts_Description}"
Header="{x:Bind domain:Translator.SettingsUnlinkAccounts_Title}"
IsActionIconVisible="False"
IsClickEnabled="True">
<controls:SettingsCard.HeaderIcon>
<PathIcon Data="F1 M 0 9.375 C 0 8.515625 0.112305 7.687175 0.336914 6.889648 C 0.561523 6.092123 0.877279 5.345053 1.28418 4.648438 C 1.691081 3.951824 2.179362 3.318686 2.749023 2.749023 C 3.318685 2.179363 3.951823 1.691082 4.648438 1.28418 C 5.345052 0.877279 6.092122 0.561523 6.889648 0.336914 C 7.687174 0.112305 8.515625 0 9.375 0 C 10.234375 0 11.062825 0.112305 11.860352 0.336914 C 12.657877 0.561523 13.40332 0.877279 14.09668 1.28418 C 14.790039 1.691082 15.423177 2.18099 15.996094 2.753906 C 16.56901 3.326824 17.058918 3.959961 17.46582 4.65332 C 17.872721 5.34668 18.188477 6.092123 18.413086 6.889648 C 18.637695 7.687175 18.75 8.515625 18.75 9.375 C 18.75 10.234375 18.637695 11.062826 18.413086 11.860352 C 18.188477 12.657878 17.872721 13.404948 17.46582 14.101562 C 17.058918 14.798178 16.570637 15.431315 16.000977 16.000977 C 15.431314 16.570639 14.798176 17.05892 14.101562 17.46582 C 13.404947 17.872721 12.657877 18.188477 11.860352 18.413086 C 11.062825 18.637695 10.234375 18.75 9.375 18.75 C 8.509114 18.75 7.677409 18.637695 6.879883 18.413086 C 6.082356 18.188477 5.336914 17.872721 4.643555 17.46582 C 3.950195 17.05892 3.318685 16.570639 2.749023 16.000977 C 2.179362 15.431315 1.691081 14.799805 1.28418 14.106445 C 0.877279 13.413086 0.561523 12.666016 0.336914 11.865234 C 0.112305 11.064453 0 10.234375 0 9.375 Z M 17.5 9.375 C 17.5 8.626303 17.402344 7.906901 17.207031 7.216797 C 17.011719 6.526693 16.738281 5.880534 16.386719 5.27832 C 16.035156 4.676107 15.611979 4.127604 15.117188 3.632812 C 14.622396 3.138021 14.073893 2.714844 13.47168 2.363281 C 12.869465 2.011719 12.223307 1.738281 11.533203 1.542969 C 10.843099 1.347656 10.123697 1.25 9.375 1.25 C 8.626302 1.25 7.906901 1.347656 7.216797 1.542969 C 6.526692 1.738281 5.880533 2.011719 5.27832 2.363281 C 4.676106 2.714844 4.127604 3.138021 3.632812 3.632812 C 3.138021 4.127604 2.714844 4.676107 2.363281 5.27832 C 2.011719 5.880534 1.738281 6.526693 1.542969 7.216797 C 1.347656 7.906901 1.25 8.626303 1.25 9.375 C 1.25 10.123698 1.347656 10.8431 1.542969 11.533203 C 1.738281 12.223308 2.011719 12.869467 2.363281 13.47168 C 2.714844 14.073894 3.138021 14.622396 3.632812 15.117188 C 4.127604 15.611979 4.676106 16.035156 5.27832 16.386719 C 5.880533 16.738281 6.526692 17.011719 7.216797 17.207031 C 7.906901 17.402344 8.626302 17.5 9.375 17.5 C 10.123697 17.5 10.843099 17.402344 11.533203 17.207031 C 12.223307 17.011719 12.869465 16.738281 13.47168 16.386719 C 14.073893 16.035156 14.622396 15.611979 15.117188 15.117188 C 15.611979 14.622396 16.035156 14.073894 16.386719 13.47168 C 16.738281 12.869467 17.011719 12.223308 17.207031 11.533203 C 17.402344 10.8431 17.5 10.123698 17.5 9.375 Z M 5.625 10 C 5.455729 10 5.309245 9.938151 5.185547 9.814453 C 5.061849 9.690756 5 9.544271 5 9.375 C 5 9.205729 5.061849 9.059245 5.185547 8.935547 C 5.309245 8.81185 5.455729 8.75 5.625 8.75 L 13.125 8.75 C 13.294271 8.75 13.440755 8.81185 13.564453 8.935547 C 13.68815 9.059245 13.75 9.205729 13.75 9.375 C 13.75 9.544271 13.68815 9.690756 13.564453 9.814453 C 13.440755 9.938151 13.294271 10 13.125 10 Z " Foreground="{StaticResource DeleteBrush}" />
</controls:SettingsCard.HeaderIcon>
</controls:SettingsCard>
<controls:SettingsCard
HorizontalContentAlignment="Stretch"
VerticalContentAlignment="Stretch"
ContentAlignment="Vertical"
Description="{x:Bind domain:Translator.SettingsManageLink_Description}"
Header="{x:Bind domain:Translator.SettingsManageLink_Title}">
<controls:SettingsCard.HeaderIcon>
<PathIcon
HorizontalAlignment="Center"
VerticalAlignment="Center"
Data="F1 M 15.078125 1.25 C 15.566406 1.25 16.033527 1.349285 16.479492 1.547852 C 16.925455 1.74642 17.31608 2.013348 17.651367 2.348633 C 17.986652 2.68392 18.25358 3.074545 18.452148 3.520508 C 18.650715 3.966473 18.75 4.433594 18.75 4.921875 L 18.75 8.125 C 18.75 8.294271 18.68815 8.440756 18.564453 8.564453 C 18.440754 8.688151 18.29427 8.75 18.125 8.75 C 17.955729 8.75 17.809244 8.688151 17.685547 8.564453 C 17.561848 8.440756 17.5 8.294271 17.5 8.125 L 17.5 4.951172 C 17.5 4.625651 17.433268 4.314779 17.299805 4.018555 C 17.16634 3.722332 16.987305 3.461914 16.762695 3.237305 C 16.538086 3.012695 16.277668 2.83366 15.981445 2.700195 C 15.685221 2.566732 15.374349 2.5 15.048828 2.5 L 3.378906 2.5 C 3.483073 2.597656 3.570963 2.688803 3.642578 2.773438 C 3.714192 2.858074 3.75 2.975262 3.75 3.125 C 3.75 3.294271 3.688151 3.440756 3.564453 3.564453 C 3.440755 3.688152 3.294271 3.75 3.125 3.75 C 2.955729 3.75 2.809245 3.688152 2.685547 3.564453 L 1.435547 2.314453 C 1.311849 2.190756 1.25 2.044271 1.25 1.875 C 1.25 1.70573 1.311849 1.559246 1.435547 1.435547 L 2.685547 0.185547 C 2.809245 0.06185 2.955729 0 3.125 0 C 3.294271 0 3.440755 0.06185 3.564453 0.185547 C 3.688151 0.309246 3.75 0.45573 3.75 0.625 C 3.75 0.77474 3.712565 0.891928 3.637695 0.976562 C 3.562825 1.061199 3.476562 1.152344 3.378906 1.25 Z M 14.521484 10 C 14.521484 10.15625 14.594727 10.296225 14.741211 10.419922 C 14.887695 10.54362 15.050455 10.672201 15.229492 10.805664 C 15.408527 10.939128 15.571288 11.088867 15.717773 11.254883 C 15.864257 11.420898 15.937499 11.62435 15.9375 11.865234 C 15.937499 12.001953 15.896809 12.169597 15.81543 12.368164 C 15.734049 12.566732 15.636393 12.7653 15.522461 12.963867 C 15.408527 13.162436 15.289713 13.352865 15.166016 13.535156 C 15.042317 13.717448 14.934896 13.860678 14.84375 13.964844 C 14.641927 14.205729 14.384766 14.326172 14.072266 14.326172 C 13.942057 14.326172 13.803711 14.300131 13.657227 14.248047 C 13.510742 14.195964 13.367513 14.140625 13.227539 14.082031 C 13.087564 14.023438 12.954102 13.9681 12.827148 13.916016 C 12.700195 13.863933 12.587891 13.837891 12.490234 13.837891 C 12.392578 13.837891 12.314453 13.857422 12.255859 13.896484 C 12.197266 13.935547 12.150064 13.984375 12.114258 14.042969 C 12.07845 14.101562 12.052408 14.168295 12.036133 14.243164 C 12.019855 14.318034 12.005207 14.394531 11.992188 14.472656 L 11.826172 15.361328 C 11.787109 15.582683 11.705729 15.753581 11.582031 15.874023 C 11.458333 15.994467 11.311849 16.082357 11.142578 16.137695 C 10.973307 16.193035 10.792643 16.225586 10.600586 16.235352 C 10.408528 16.245117 10.224609 16.25 10.048828 16.25 L 10 16.25 C 9.824219 16.25 9.635416 16.245117 9.433594 16.235352 C 9.231771 16.225586 9.042969 16.191406 8.867188 16.132812 C 8.691406 16.074219 8.538411 15.983073 8.408203 15.859375 C 8.277994 15.735678 8.193359 15.563151 8.154297 15.341797 L 7.958984 14.208984 C 7.945963 14.117839 7.898763 14.033203 7.817383 13.955078 C 7.736002 13.876953 7.646484 13.837891 7.548828 13.837891 C 7.418619 13.837891 7.286783 13.862305 7.15332 13.911133 C 7.019856 13.959961 6.884766 14.0153 6.748047 14.077148 C 6.611328 14.138998 6.471354 14.194336 6.328125 14.243164 C 6.184896 14.291992 6.044922 14.316406 5.908203 14.316406 C 5.582682 14.316406 5.322266 14.195964 5.126953 13.955078 C 5.035807 13.850912 4.930013 13.709311 4.80957 13.530273 C 4.689127 13.351237 4.575195 13.160808 4.467773 12.958984 C 4.360352 12.757162 4.267578 12.558594 4.189453 12.363281 C 4.111328 12.167969 4.072266 11.998698 4.072266 11.855469 C 4.072266 11.601562 4.145508 11.391602 4.291992 11.225586 C 4.438477 11.05957 4.599609 10.913086 4.775391 10.786133 C 4.951172 10.65918 5.112305 10.537109 5.258789 10.419922 C 5.405273 10.302734 5.478516 10.162761 5.478516 10 C 5.478516 9.83724 5.405273 9.695639 5.258789 9.575195 C 5.112305 9.454753 4.949544 9.329428 4.770508 9.199219 C 4.591471 9.069011 4.428711 8.920898 4.282227 8.754883 C 4.135742 8.588867 4.0625 8.382162 4.0625 8.134766 C 4.0625 7.991537 4.10319 7.822266 4.18457 7.626953 C 4.26595 7.431641 4.363606 7.234701 4.477539 7.036133 C 4.591471 6.837565 4.710286 6.648764 4.833984 6.469727 C 4.957682 6.290691 5.065104 6.145834 5.15625 6.035156 C 5.358073 5.794271 5.615234 5.673829 5.927734 5.673828 C 6.057942 5.673829 6.194661 5.698243 6.337891 5.74707 C 6.48112 5.795899 6.621094 5.851238 6.757812 5.913086 C 6.894531 5.974936 7.026367 6.030273 7.15332 6.079102 C 7.280273 6.12793 7.395833 6.152344 7.5 6.152344 C 7.636718 6.152344 7.740885 6.114909 7.8125 6.040039 C 7.884114 5.96517 7.937825 5.869141 7.973633 5.751953 C 8.009439 5.634766 8.035481 5.501303 8.051758 5.351562 C 8.068033 5.201823 8.089192 5.050456 8.115234 4.897461 C 8.141275 4.744467 8.178711 4.597982 8.227539 4.458008 C 8.276367 4.318034 8.352864 4.195964 8.457031 4.091797 C 8.535156 4.013673 8.631185 3.951824 8.745117 3.90625 C 8.859049 3.860678 8.979492 3.826498 9.106445 3.803711 C 9.233398 3.780926 9.363606 3.766277 9.49707 3.759766 C 9.630533 3.753256 9.755859 3.75 9.873047 3.75 L 10.019531 3.75 C 10.195312 3.75 10.382486 3.754883 10.581055 3.764648 C 10.779622 3.774414 10.966797 3.808594 11.142578 3.867188 C 11.318359 3.925781 11.469727 4.016928 11.59668 4.140625 C 11.723633 4.264324 11.806641 4.43685 11.845703 4.658203 L 12.041016 5.791016 C 12.060546 5.908204 12.114257 5.997723 12.202148 6.05957 C 12.290038 6.12142 12.389322 6.152344 12.5 6.152344 C 12.610677 6.152344 12.731119 6.12793 12.861328 6.079102 C 12.991536 6.030273 13.125 5.974936 13.261719 5.913086 C 13.398438 5.851238 13.536783 5.795899 13.676758 5.74707 C 13.81673 5.698243 13.951822 5.673829 14.082031 5.673828 C 14.231771 5.673829 14.376627 5.706381 14.516602 5.771484 C 14.656575 5.836589 14.772135 5.927734 14.863281 6.044922 C 14.954426 6.1556 15.060221 6.300456 15.180664 6.479492 C 15.301106 6.658529 15.416666 6.847331 15.527344 7.045898 C 15.638021 7.244467 15.732422 7.441407 15.810547 7.636719 C 15.888672 7.832032 15.927734 8.001303 15.927734 8.144531 C 15.927734 8.398438 15.854492 8.608398 15.708008 8.774414 C 15.561523 8.94043 15.400391 9.086914 15.224609 9.213867 C 15.048828 9.34082 14.887695 9.462891 14.741211 9.580078 C 14.594727 9.697266 14.521484 9.83724 14.521484 10 Z M 13.271484 10 C 13.271483 9.759115 13.310546 9.549154 13.388672 9.370117 C 13.466796 9.191081 13.569335 9.02832 13.696289 8.881836 C 13.823241 8.735352 13.969726 8.598633 14.135742 8.47168 C 14.301757 8.344727 14.4694 8.209636 14.638672 8.066406 C 14.554036 7.871094 14.459635 7.682292 14.355469 7.5 C 14.251302 7.317709 14.134114 7.141928 14.003906 6.972656 C 13.76953 7.057292 13.522135 7.151693 13.261719 7.255859 C 13.001302 7.360026 12.740885 7.412109 12.480469 7.412109 C 12.324218 7.412109 12.179361 7.392578 12.045898 7.353516 C 11.912435 7.314453 11.777344 7.255859 11.640625 7.177734 C 11.425781 7.054037 11.259766 6.915691 11.142578 6.762695 C 11.025391 6.609701 10.9375 6.443686 10.878906 6.264648 C 10.820312 6.085613 10.776367 5.893556 10.74707 5.688477 C 10.717773 5.483399 10.683594 5.266928 10.644531 5.039062 C 10.540364 5.026042 10.436197 5.016276 10.332031 5.009766 C 10.227864 5.003256 10.120442 5.000001 10.009766 5 C 9.899088 5.000001 9.791666 5.003256 9.6875 5.009766 C 9.583333 5.016276 9.479166 5.026042 9.375 5.039062 C 9.329427 5.266928 9.291992 5.481771 9.262695 5.683594 C 9.233398 5.885417 9.187825 6.075847 9.125977 6.254883 C 9.064127 6.43392 8.974609 6.601563 8.857422 6.757812 C 8.740234 6.914063 8.574219 7.054037 8.359375 7.177734 C 8.222656 7.26237 8.089192 7.322592 7.958984 7.358398 C 7.828775 7.394206 7.682291 7.412109 7.519531 7.412109 C 7.259114 7.412109 7.000325 7.360026 6.743164 7.255859 C 6.486002 7.151693 6.240234 7.054037 6.005859 6.962891 C 5.758463 7.294923 5.54362 7.659506 5.361328 8.056641 C 5.530599 8.19987 5.698242 8.336589 5.864258 8.466797 C 6.030273 8.597006 6.176758 8.735352 6.303711 8.881836 C 6.430664 9.02832 6.533203 9.191081 6.611328 9.370117 C 6.689453 9.549154 6.728516 9.759115 6.728516 10 C 6.728516 10.240886 6.689453 10.450847 6.611328 10.629883 C 6.533203 10.80892 6.430664 10.97168 6.303711 11.118164 C 6.176758 11.264648 6.030273 11.401367 5.864258 11.52832 C 5.698242 11.655273 5.530599 11.790365 5.361328 11.933594 C 5.445963 12.128906 5.540364 12.317709 5.644531 12.5 C 5.748698 12.682292 5.865885 12.858073 5.996094 13.027344 C 6.223958 12.942709 6.466471 12.848308 6.723633 12.744141 C 6.980794 12.639975 7.236328 12.587891 7.490234 12.587891 C 7.698567 12.587891 7.897135 12.62207 8.085938 12.69043 C 8.274739 12.758789 8.44401 12.856445 8.59375 12.983398 C 8.743489 13.110352 8.870442 13.260092 8.974609 13.432617 C 9.078775 13.605144 9.150391 13.792318 9.189453 13.994141 L 9.355469 14.960938 C 9.466146 14.973959 9.571939 14.983725 9.672852 14.990234 C 9.773763 14.996745 9.879557 15 9.990234 15 C 10.100911 15 10.208333 14.996745 10.3125 14.990234 C 10.416666 14.983725 10.524088 14.973959 10.634766 14.960938 C 10.667317 14.765625 10.698242 14.57194 10.727539 14.379883 C 10.756836 14.187826 10.799153 14.002279 10.854492 13.823242 C 10.90983 13.644206 10.987955 13.474936 11.088867 13.31543 C 11.189778 13.155925 11.328125 13.017578 11.503906 12.900391 C 11.653646 12.802734 11.811523 12.726237 11.977539 12.670898 C 12.143555 12.615561 12.314453 12.587891 12.490234 12.587891 C 12.607422 12.587891 12.731119 12.604167 12.861328 12.636719 C 12.991536 12.669271 13.121744 12.708334 13.251953 12.753906 C 13.38216 12.799479 13.510741 12.848308 13.637695 12.900391 C 13.764647 12.952475 13.883463 12.998047 13.994141 13.037109 C 14.241536 12.705078 14.45638 12.340495 14.638672 11.943359 C 14.4694 11.800131 14.301757 11.663412 14.135742 11.533203 C 13.969726 11.402995 13.823241 11.264648 13.696289 11.118164 C 13.569335 10.97168 13.466796 10.810547 13.388672 10.634766 C 13.310546 10.458984 13.271483 10.247396 13.271484 10 Z M 11.25 10 C 11.25 10.175781 11.217447 10.338542 11.152344 10.488281 C 11.087239 10.638021 10.997721 10.769857 10.883789 10.883789 C 10.769856 10.997722 10.638021 11.08724 10.488281 11.152344 C 10.338541 11.217448 10.175781 11.25 10 11.25 C 9.824219 11.25 9.65983 11.217448 9.506836 11.152344 C 9.353841 11.08724 9.222005 10.99935 9.111328 10.888672 C 9.00065 10.777995 8.91276 10.646159 8.847656 10.493164 C 8.782552 10.34017 8.75 10.175781 8.75 10 C 8.75 9.824219 8.782552 9.661459 8.847656 9.511719 C 8.91276 9.361979 9.002278 9.230144 9.116211 9.116211 C 9.230143 9.002279 9.361979 8.912761 9.511719 8.847656 C 9.661458 8.782553 9.824219 8.75 10 8.75 C 10.169271 8.75 10.330403 8.782553 10.483398 8.847656 C 10.636393 8.912761 10.769856 9.002279 10.883789 9.116211 C 10.997721 9.230144 11.087239 9.363607 11.152344 9.516602 C 11.217447 9.669597 11.25 9.830729 11.25 10 Z M 18.75 18.125 C 18.75 18.294271 18.68815 18.440756 18.564453 18.564453 L 17.314453 19.814453 C 17.190754 19.93815 17.04427 20 16.875 20 C 16.705729 20 16.559244 19.93815 16.435547 19.814453 C 16.311848 19.690756 16.25 19.544271 16.25 19.375 C 16.25 19.22526 16.287434 19.108072 16.362305 19.023438 C 16.437174 18.938803 16.523438 18.847656 16.621094 18.75 L 4.921875 18.75 C 4.433594 18.75 3.966471 18.650717 3.520508 18.452148 C 3.074544 18.25358 2.683919 17.986654 2.348633 17.651367 C 2.013346 17.31608 1.746419 16.925455 1.547852 16.479492 C 1.349284 16.033529 1.25 15.566406 1.25 15.078125 L 1.25 11.875 C 1.25 11.705729 1.311849 11.559245 1.435547 11.435547 C 1.559245 11.31185 1.705729 11.25 1.875 11.25 C 2.044271 11.25 2.190755 11.31185 2.314453 11.435547 C 2.438151 11.559245 2.5 11.705729 2.5 11.875 L 2.5 15.048828 C 2.5 15.37435 2.566732 15.685222 2.700195 15.981445 C 2.833659 16.27767 3.012695 16.538086 3.237305 16.762695 C 3.461914 16.987305 3.722331 17.166342 4.018555 17.299805 C 4.314778 17.433268 4.625651 17.5 4.951172 17.5 L 16.621094 17.5 C 16.529947 17.408854 16.445312 17.317709 16.367188 17.226562 C 16.289062 17.135416 16.25 17.018229 16.25 16.875 C 16.25 16.705729 16.311848 16.559244 16.435547 16.435547 C 16.559244 16.31185 16.705729 16.25 16.875 16.25 C 17.04427 16.25 17.190754 16.31185 17.314453 16.435547 L 18.564453 17.685547 C 18.68815 17.809244 18.75 17.955729 18.75 18.125 Z " />
</controls:SettingsCard.HeaderIcon>
<Grid Margin="0,12,0,0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="20" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid Grid.Column="0">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<TextBlock
HorizontalAlignment="Center"
FontWeight="SemiBold"
Text="{x:Bind domain:Translator.LinkedAccountsTitle}" />
<ListView
Grid.Row="1"
IsItemClickEnabled="False"
ItemTemplate="{StaticResource LinkedAccountTemplate}"
ItemsSource="{x:Bind ViewModel.LinkedAccounts}"
SelectionMode="None">
<ListView.Header>
<TextBlock
x:Name="NoLinkedAccountsMessage"
Grid.Row="1"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Foreground="{ThemeResource InfoBarWarningSeverityIconBackground}"
HorizontalTextAlignment="Center"
Text="{x:Bind domain:Translator.LinkedAccountsCreatePolicyMessage}"
Visibility="{x:Bind ViewModel.ShouldDeleteMergedAccount, Mode=OneWay}" />
</ListView.Header>
</ListView>
</Grid>
<Grid Grid.Column="2">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<TextBlock
HorizontalAlignment="Center"
FontWeight="SemiBold"
Text="{x:Bind domain:Translator.MergedAccountsAvailableAccountsTitle}" />
<ListView
Grid.Row="1"
IsItemClickEnabled="False"
ItemTemplate="{StaticResource UnlinkedAccountTemplate}"
ItemsSource="{x:Bind ViewModel.UnlinkedAccounts}"
SelectionMode="None" />
</Grid>
<controls:SettingsCard
Grid.Row="1"
Grid.ColumnSpan="3"
Margin="0,24,0,6"
Command="{x:Bind ViewModel.SaveChangesCommand}"
Description="{x:Bind domain:Translator.SettingsLinkedAccountsSave_Description}"
Header="{x:Bind domain:Translator.SettingsLinkedAccountsSave_Title}"
HeaderIcon="Save"
IsClickEnabled="True" />
</Grid>
</controls:SettingsCard>
</StackPanel>
</ScrollViewer>
</abstract:MergedAccountDetailsPageAbstract>