Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/BootstrapBlazor.Server/Components/Samples/Alerts.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/alert"
@page "/alert"

<h3>@Title</h3>

Expand Down Expand Up @@ -66,6 +66,6 @@
</Alert>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(Alert)" />

<EventTable Items="@GetEvents()" />
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/anchor-link"
@page "/anchor-link"

<h3>@Localizer["AnchorLinkTitle"]</h3>

Expand All @@ -14,4 +14,4 @@
<div>@((MarkupString)Localizer["AnchorLinkTips5"].Value)</div>
</Tips>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(AnchorLink)" />
4 changes: 2 additions & 2 deletions src/BootstrapBlazor.Server/Components/Samples/Anchors.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/anchor"
@page "/anchor"

<h3>@Localizer["Title"]</h3>

Expand Down Expand Up @@ -33,4 +33,4 @@
</div>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(Anchor)" />
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/auto-complete"
@page "/auto-complete"
@inject IStringLocalizer<AutoCompletes> Localizer

<h3>@Localizer["Title"]</h3>
Expand Down Expand Up @@ -101,4 +101,4 @@
<AutoComplete Items="@StaticItems" IsPopover="true"></AutoComplete>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(AutoComplete)" />
4 changes: 2 additions & 2 deletions src/BootstrapBlazor.Server/Components/Samples/AutoFills.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/auto-fill"
@page "/auto-fill"
@inject IStringLocalizer<AutoFills> Localizer
@inject IOptions<WebsiteOptions> WebsiteOption

Expand Down Expand Up @@ -148,4 +148,4 @@
</section>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(AutoFill<>)" />
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/auto-redirect"
@page "/auto-redirect"
@inject IStringLocalizer<AutoRedirects> Localizer

<h3>@Localizer["Title"]</h3>
Expand All @@ -9,4 +9,4 @@
<ConsoleLogger @ref="Logger" />
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(AutoRedirect)" />
4 changes: 2 additions & 2 deletions src/BootstrapBlazor.Server/Components/Samples/Avatars.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/avatar"
@page "/avatar"
@inject IStringLocalizer<Avatars> Localizer
@inject IOptions<WebsiteOptions> WebsiteOption

Expand Down Expand Up @@ -57,4 +57,4 @@
</div>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(Avatar)" />
4 changes: 2 additions & 2 deletions src/BootstrapBlazor.Server/Components/Samples/Badges.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/badge"
@page "/badge"
@inject IStringLocalizer<Badges> Localizer

<h3>@Localizer["Title"]</h3>
Expand Down Expand Up @@ -49,4 +49,4 @@
</div>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(Badge)" />
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/barcode-generator"
@page "/barcode-generator"
@inject IStringLocalizer<BarcodeGenerators> Localizer

<h3>@Localizer["Title"]</h3>
Expand All @@ -14,6 +14,6 @@
</section>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(BarcodeGenerator)" />

<AttributeTable Title="BarcodeGeneratorOption" Items="@GetOptionsAttributes()" />
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/barcode-reader"
@page "/barcode-reader"
@inject IStringLocalizer<BarcodeReaders> Localizer

<h4>@Localizer["SubTitle"]</h4>
Expand Down Expand Up @@ -33,4 +33,4 @@
<ConsoleLogger @ref="ImageLogger" />
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(BarcodeReader)" />
4 changes: 2 additions & 2 deletions src/BootstrapBlazor.Server/Components/Samples/Blocks.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/block"
@page "/block"
@inject IStringLocalizer<Blocks> Localizer

<h3>@Localizer["Title"]</h3>
Expand Down Expand Up @@ -68,4 +68,4 @@
<p>@((MarkupString)Localizer["Tips"].Value)</p>
</Tips>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(Block)" />
4 changes: 2 additions & 2 deletions src/BootstrapBlazor.Server/Components/Samples/Buttons.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/button"
@page "/button"
@inject IStringLocalizer<Buttons> Localizer

<h3>@Localizer["Title"]</h3>
Expand Down Expand Up @@ -156,7 +156,7 @@
<ToggleButton Text="Toggle" Color="Color.Danger"></ToggleButton>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(Button)" />

<EventTable Items="@GetEvents()" />

Expand Down
4 changes: 2 additions & 2 deletions src/BootstrapBlazor.Server/Components/Samples/Calendars.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/calendar"
@page "/calendar"
@inject IStringLocalizer<Calendars> Localizer

<h3>@Localizer["Title"]</h3>
Expand Down Expand Up @@ -151,6 +151,6 @@
</div>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(BootstrapBlazor.Components.Calendar)" />

<EventTable Items="@GetEvents()" />
4 changes: 2 additions & 2 deletions src/BootstrapBlazor.Server/Components/Samples/Cameras.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/camera"
@page "/camera"
@inject IStringLocalizer<Cameras> Localizer

<h3>@Localizer["Title"]</h3>
Expand Down Expand Up @@ -50,4 +50,4 @@
</section>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(Camera)" />
4 changes: 2 additions & 2 deletions src/BootstrapBlazor.Server/Components/Samples/Captchas.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/captcha"
@page "/captcha"
@inject IStringLocalizer<Captchas> Localizer

<h3>@Localizer["Title"]</h3>
Expand All @@ -17,7 +17,7 @@
<Captcha GetImageName="@GetImageName" />
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(Captcha)" />

<EventTable Items="@GetEvents()" />

Expand Down
4 changes: 2 additions & 2 deletions src/BootstrapBlazor.Server/Components/Samples/Cards.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/card"
@page "/card"
@inject IStringLocalizer<Cards> Localizer

<h3>@Localizer["Title"]</h3>
Expand Down Expand Up @@ -230,4 +230,4 @@
</Card>
</DemoBlock>

<AttributeTable Items="GetAttributes()" />
<AttributeTable Type="typeof(Card)" />
4 changes: 2 additions & 2 deletions src/BootstrapBlazor.Server/Components/Samples/Carousels.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/carousel"
@page "/carousel"
@inject IStringLocalizer<Carousels> Localizer
@inject IOptions<WebsiteOptions> WebsiteOption

Expand Down Expand Up @@ -208,4 +208,4 @@
</Carousel>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(Carousel)" />
4 changes: 2 additions & 2 deletions src/BootstrapBlazor.Server/Components/Samples/Cascaders.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/cascader"
@page "/cascader"
@inject IStringLocalizer<Cascaders> Localizer

<h3>@Localizer["Title"]</h3>
Expand Down Expand Up @@ -126,6 +126,6 @@
<Cascader Color="Color.Primary" Items="@_items" @bind-Value="@Model.Address" DisplayText="@Localizer["CascaderText"]" ShowLabel="true" />
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(Cascader<>)" />

<EventTable Items="@GetEvents()" />
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/checkbox-list"
@page "/checkbox-list"

<h3>@Localizer["Title"]</h3>

Expand Down Expand Up @@ -147,6 +147,6 @@
</section>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(CheckboxList<>)" />

<EventTable Items="@GetEvents()" />
4 changes: 2 additions & 2 deletions src/BootstrapBlazor.Server/Components/Samples/Checkboxs.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/checkbox"
@page "/checkbox"
@inject IStringLocalizer<Checkboxs> Localizer

<h3>@Localizer["Title"]</h3>
Expand Down Expand Up @@ -159,6 +159,6 @@
</ValidateForm>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(Checkbox<>)" />

<EventTable Items="@GetEvents()" />
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@
</section>
</DemoBlock>

<AttributeTable Items="GetAttributes()" />
<AttributeTable Type="typeof(CherryMarkdown)" />
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/clock-picker"
@page "/clock-picker"

<h3>@Localizer["Title"]</h3>

Expand Down Expand Up @@ -35,4 +35,4 @@
</div>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(ClockPicker)" />
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/code-editors"
@page "/code-editors"
@inject IStringLocalizer<CodeEditors> Localizer

<h3>@Localizer["Title"]</h3>
Expand Down Expand Up @@ -37,4 +37,4 @@
</div>
</DemoBlock>

<AttributeTable Items="GetAttributeItems()" />
<AttributeTable Type="typeof(CodeEditor)" />
6 changes: 3 additions & 3 deletions src/BootstrapBlazor.Server/Components/Samples/Collapses.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/collapse"
@page "/collapse"
@inject IStringLocalizer<Collapses> Localizer

<h3>@Localizer["Title"]</h3>
Expand Down Expand Up @@ -175,6 +175,6 @@
</Collapse>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(Collapse)" />

<AttributeTable Items="@GetCollapseItemAttributes()" Title="@nameof(CollapseItem)" />
<AttributeTable Type="typeof(CollapseItem)" Title="@nameof(CollapseItem)" />
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/color-picker"
@page "/color-picker"
@inject IStringLocalizer<ColorPickers> Localizer

<h3>@Localizer["Title"]</h3>
Expand Down Expand Up @@ -60,4 +60,4 @@
<ColorPicker @bind-Value="@_opacityValue" IsSupportOpacity="_opacityIsSupport" IsDisabled="_opacityIsDisabled"></ColorPicker>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(ColorPicker)" />
6 changes: 3 additions & 3 deletions src/BootstrapBlazor.Server/Components/Samples/Consoles.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/console"
@page "/console"
@using System.Collections.Concurrent
@implements IDisposable

Expand Down Expand Up @@ -28,6 +28,6 @@
<Console Items="@Messages" Height="126" ShowAutoScroll="true" OnClear="@OnClear" />
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(BootstrapBlazor.Components.Console)" />

<AttributeTable Items="@GetItemAttributes()" Title="@Localizer["ConsoleMessageItem"]" />
<AttributeTable Type="typeof(BootstrapBlazor.Components.ConsoleMessageItem)" Title="@Localizer["ConsoleMessageItem"]" />
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/count-button"
@page "/count-button"
@inject IStringLocalizer<CountButtons> Localizer

<h3>@Localizer["Title"]</h3>
Expand All @@ -13,4 +13,4 @@
<CountButton Icon="fa-solid fa-home" Count="5" Text="@Localizer["Text"]" CountTextCallback="CountTextCallback" OnClick="OnClick"></CountButton>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(CountButton)" />
4 changes: 2 additions & 2 deletions src/BootstrapBlazor.Server/Components/Samples/CountUps.razor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/count-up"
@page "/count-up"
@inject IStringLocalizer<CountUps> Localizer

<h3>@Localizer["Title"]</h3>
Expand Down Expand Up @@ -98,6 +98,6 @@
<ConsoleLogger @ref="_logger" />
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(CountUp<>)" />

<AttributeTable Items="@GetOptionAttributes()" Title="CountUpOption" />
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/datetime-picker"
@page "/datetime-picker"

<h3>@Localizer["Title"]</h3>

Expand Down Expand Up @@ -242,6 +242,6 @@
</div>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(DateTimePicker<>)" />

<EventTable Items="@GetEvents()" />
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,6 @@
</div>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(DateTimeRange)" />

<EventTable Items="@GetEvents()" />
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@page "/dial-button"
@page "/dial-button"
@inject IStringLocalizer<DialButtons> Localizer

<h3>@Localizer["DialButtonTitle"]</h3>
Expand Down Expand Up @@ -92,4 +92,4 @@
</div>
</DemoBlock>

<AttributeTable Items="@GetAttributes()" />
<AttributeTable Type="typeof(DialButton)" />
Loading
Loading