|
| 1 | +@inject IStringLocalizer<BarcodeGenerateSettings> Localizer |
| 2 | + |
| 3 | +<GroupBox Title="@Localizer["BarcodeGeneratorGroupBoxText"]"> |
| 4 | + <div class="row form-inline g-3"> |
| 5 | + <div class="col-12 col-sm-6"> |
| 6 | + <BootstrapInput Value="Value" ShowLabel="true" UseInputEvent="true" OnValueChanged="OnValueChanged" /> |
| 7 | + </div> |
| 8 | + <div class="col-12 col-sm-6"> |
| 9 | + <Select @bind-Value="Format" OnValueChanged="OnFormatChanged" ShowLabel="true" /> |
| 10 | + </div> |
| 11 | + <div class="col-12 col-sm-6"> |
| 12 | + <Slider @bind-Value="Width" Min="1" Max="6" ShowLabel="true" /> |
| 13 | + </div> |
| 14 | + <div class="col-12 col-sm-6"> |
| 15 | + <Slider @bind-Value="Height" Min="10" Max="300" Step="5" ShowLabel="true" /> |
| 16 | + </div> |
| 17 | + <div class="col-12"> |
| 18 | + <Slider @bind-Value="Margin" Min="-30" Max="100" ShowLabel="true" /> |
| 19 | + </div> |
| 20 | + <div class="col-12 col-sm-6"> |
| 21 | + <Slider @bind-Value="MarginLeft" Min="-30" Max="100" ShowLabel="true" /> |
| 22 | + </div> |
| 23 | + <div class="col-12 col-sm-6"> |
| 24 | + <Slider @bind-Value="MarginTop" Min="-30" Max="100" ShowLabel="true" /> |
| 25 | + </div> |
| 26 | + <div class="col-12 col-sm-6"> |
| 27 | + <Slider @bind-Value="MarginRight" Min="-30" Max="100" ShowLabel="true" /> |
| 28 | + </div> |
| 29 | + <div class="col-12 col-sm-6"> |
| 30 | + <Slider @bind-Value="MarginBottom" Min="-30" Max="100" ShowLabel="true" /> |
| 31 | + </div> |
| 32 | + <div class="col-12 col-sm-6"> |
| 33 | + <ColorPicker @bind-Value="Background" ShowLabel="true" /> |
| 34 | + </div> |
| 35 | + <div class="col-12 col-sm-6"> |
| 36 | + <ColorPicker @bind-Value="LineColor" ShowLabel="true" /> |
| 37 | + </div> |
| 38 | + <div class="col-12 col-sm-6"> |
| 39 | + <Switch @bind-Value="DisplayValue" ShowLabel="true" /> |
| 40 | + </div> |
| 41 | + <div class="col-12 col-sm-6"> |
| 42 | + <BootstrapInput @bind-Value="Text" ShowLabel="true" /> |
| 43 | + </div> |
| 44 | + <div class="col-12 col-sm-6"> |
| 45 | + <Select @bind-Value="TextAlign" ShowLabel="true" /> |
| 46 | + </div> |
| 47 | + <div class="col-12 col-sm-6"> |
| 48 | + <Select @bind-Value="TextPosition" ShowLabel="true" /> |
| 49 | + </div> |
| 50 | + <div class="col-12 col-sm-6"> |
| 51 | + <Select @bind-Value="Font" ShowLabel="true" /> |
| 52 | + </div> |
| 53 | + <div class="col-12 col-sm-6"> |
| 54 | + <Select @bind-Value="FontOptions" ShowLabel="true" /> |
| 55 | + </div> |
| 56 | + <div class="col-12 col-sm-6"> |
| 57 | + <Slider @bind-Value="FontSize" Min="8" Max="52" ShowLabel="true" /> |
| 58 | + </div> |
| 59 | + <div class="col-12 col-sm-6"> |
| 60 | + <Slider @bind-Value="TextMargin" Min="-30" Max="100" ShowLabel="true" /> |
| 61 | + </div> |
| 62 | + <div class="col-12"> |
| 63 | + <Textarea Value="@SvgString" DisplayText="Svg" ShowLabel="true" readonly /> |
| 64 | + </div> |
| 65 | + </div> |
| 66 | +</GroupBox> |
0 commit comments