(title: "Confirm dialog title");
11 |
12 | if (confirmation)
13 | {
14 | // do something
15 | }
16 | else
17 | {
18 | // do something
19 | }
20 | }
21 | }
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/ConfirmDialog/LongContentDemoComponent.razor:
--------------------------------------------------------------------------------
1 | This is some placeholder content to show the scrolling behavior for modals. Instead of repeating the text the modal, we use an inline style set a minimum height, thereby extending the length of the overall modal and demonstrating the overflow scrolling. When content becomes longer than the height of the viewport, scrolling will move the modal as needed.
2 | This content should appear at the bottom after you scroll.
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Dropdowns/Dropdown_Demo_01_Single_Button.razor:
--------------------------------------------------------------------------------
1 |
2 | Dropdown button
3 |
4 | Action
5 | Another action
6 | Something else here
7 |
8 |
9 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Dropdowns/Dropdown_Demo_05_B_Directions_DropupCentered.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 | Centered dropup
4 |
5 | Action
6 | Another action
7 | Something else here
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Dropdowns/Dropdown_Demo_06_Active.razor:
--------------------------------------------------------------------------------
1 |
2 | Dropstart
3 |
4 | Action
5 | Another action
6 | Something else here
7 |
8 |
9 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Dropdowns/Dropdown_Demo_07_B_Disabled.razor:
--------------------------------------------------------------------------------
1 |
2 | Dropstart
3 |
4 | Action
5 | Another action
6 | Something else here
7 |
8 |
9 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Dropdowns/Dropdown_Demo_08_Menu_Position.razor:
--------------------------------------------------------------------------------
1 |
2 | Right-aligned menu example
3 |
4 | Action
5 | Another action
6 | Something else here
7 |
8 |
9 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Dropdowns/Dropdown_Demo_09_Header.razor:
--------------------------------------------------------------------------------
1 |
2 | Dropdown
3 |
4 | Dropdown header
5 | Action
6 | Another action
7 | Something else here
8 |
9 |
10 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Dropdowns/Dropdown_Demo_10_Dividers.razor:
--------------------------------------------------------------------------------
1 |
2 | Dropdown
3 |
4 | Action
5 | Another action
6 | Something else here
7 | Dropdown header
8 | Separated link
9 |
10 |
11 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Dropdowns/Dropdown_Demo_11_Text.razor:
--------------------------------------------------------------------------------
1 |
2 | Dropdown
3 |
4 | Some example text that's free-flowing within the dropdown menu.
5 | And this is more example text.
6 |
7 |
8 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/CheckboxInput/CheckboxInput_Demo_01_Basic_Usage.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
Option 1: @option1
6 |
Option 2: @option2
7 |
8 |
9 | @code
10 | {
11 | private bool option1;
12 | private bool option2 = true;
13 | }
14 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/CheckboxInput/CheckboxInput_Demo_03_Events_ValueChanged.razor:
--------------------------------------------------------------------------------
1 |
2 | Current value: @isChecked
3 | @code
4 | {
5 | private bool isChecked;
6 |
7 | private void CheckboxValueChanged(bool value)
8 | {
9 | isChecked = value;
10 |
11 | // do something
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/CurrencyInput/CurrencyInput_Demo_01_Basic_Usage.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Entered Amount: @amount1
5 |
6 | @code {
7 | private int amount1 = 12345678;
8 | }
9 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/CurrencyInput/CurrencyInput_Demo_03_Hide_Currency_Symbol.razor:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 | Entered Value: @amount1
9 |
10 | @code {
11 | private double amount1 = 4.33;
12 | }
13 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/CurrencyInput/CurrencyInput_Demo_04_Using_FractionDigits_and_IntegerDigits.razor:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 | Entered Value: @amount1
10 |
11 | @code {
12 | private double amount1 = 4.33;
13 | }
14 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/CurrencyInput/CurrencyInput_Demo_05_Parentheses_Instead_of_Appending_A_Minus_Sign.razor:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 | Entered Value: @amount1
9 |
10 | @code {
11 | private int amount1 = -21231;
12 | }
13 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/CurrencyInput/CurrencyInput_Demo_07_Enable_Min_Max.razor:
--------------------------------------------------------------------------------
1 |
2 | Amount
3 |
4 | Tip: The amount must be between 10 and 500.
5 |
6 | Entered Amount: @amount
7 |
8 | @code {
9 | private decimal? amount;
10 | }
11 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/CurrencyInput/CurrencyInput_Demo_09_Allow_Negative_Numbers.razor:
--------------------------------------------------------------------------------
1 |
2 | Amount
3 |
4 | Tip: Negative numbers are also allowed.
5 |
6 | Entered Amount: @amount
7 |
8 | @code {
9 | private int amount;
10 | }
11 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/DateInput/DateInput_Demo_01_Basic_Usage.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Entered date: @date1
5 |
6 | @code {
7 | private DateOnly date1 = DateOnly.FromDateTime(DateTime.Now.AddDays(1));
8 | }
9 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/NumberInput/NumberInput_Demo_01_Basic_Usage.razor:
--------------------------------------------------------------------------------
1 |
2 | Amount
3 |
4 |
5 | Entered Amount: @amount
6 |
7 | @code {
8 | private int amount;
9 | }
10 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/NumberInput/NumberInput_Demo_03_Enable_Min_Max.razor:
--------------------------------------------------------------------------------
1 |
2 | Amount
3 |
4 | Tip: The amount must be between 10 and 500.
5 |
6 | Entered Amount: @amount
7 |
8 | @code {
9 | private decimal? amount;
10 | }
11 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/NumberInput/NumberInput_Demo_06_Allow_Negative_Numbers.razor:
--------------------------------------------------------------------------------
1 |
2 | Amount
3 |
4 | Tip: Negative numbers are also allowed.
5 |
6 | Entered Amount: @amount
7 |
8 | @code {
9 | private int amount;
10 | }
11 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/PasswordInput/PasswordInput_Demo_01_Basic_Usage.razor:
--------------------------------------------------------------------------------
1 |
4 | Entered password: @enteredPassword
5 |
6 | @code {
7 | private string? enteredPassword = null;
8 | }
9 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/PasswordInput/PasswordInput_Demo_02_Disable_B.razor:
--------------------------------------------------------------------------------
1 |
4 | Entered text: @enteredPassword
5 |
6 | Disable
7 | Enable
8 |
9 | @code {
10 | private PasswordInput? passwordInputRef;
11 |
12 | private string? enteredPassword = null;
13 |
14 | private void Disable() => passwordInputRef.Disable();
15 |
16 | private void Enable() => passwordInputRef.Enable();
17 | }
18 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/PasswordInput/PasswordInput_Demo_04_Events_ValueChanged.razor:
--------------------------------------------------------------------------------
1 |
4 | Entered password: @enteredPassword
5 |
6 | @code {
7 | private string? enteredPassword = null;
8 |
9 | private void PasswordChanged(string? value)
10 | {
11 | enteredPassword = value;
12 |
13 | // do something
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/RadioInput/RadioInput_Demo_01_Basic_Usage.razor:
--------------------------------------------------------------------------------
1 | Would you like to receive notifications?
2 |
3 |
4 |
5 |
6 |
IsYesOn: @isYesOn
7 |
IsNoOn: @isNoOn
8 |
9 | @code
10 | {
11 | private bool isYesOn;
12 | private bool isNoOn = true;
13 | }
14 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/RangeInput/RangeInput_Demo_01_Basic_Usage_A.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 | @code {
4 | int amount1 = 10;
5 | }
6 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/RangeInput/RangeInput_Demo_03_Min_Max.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 | @amount1
4 |
5 |
6 | @code {
7 | int amount1 = -3;
8 | }
9 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/RangeInput/RangeInput_Demo_05_Decimals.razor:
--------------------------------------------------------------------------------
1 |
2 | @amount1
3 |
4 | @code {
5 | decimal amount1 = 0;
6 | }
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/Switch/Switch_Demo_01_Basic_Usage.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Switch 1 Status: @agree1
5 | Switch 2 Status: @agree2
6 |
7 | @code {
8 | bool agree1;
9 | bool agree2 = true;
10 | }
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/Switch/Switch_Demo_02_B_Disable.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Disable
6 | Enable
7 |
8 | @code {
9 | private Switch switch1 = default!;
10 | private bool agree = true;
11 |
12 | private void Disable() => switch1.Disable();
13 |
14 | private void Enable() => switch1.Enable();
15 | }
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/Switch/Switch_Demo_03_Reverse.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 | @code {
4 | bool agree;
5 | }
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/TextAreaInput/TextAreaInput_Demo_01_Basic_Usage.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Entered text: @enteredText
5 |
6 | @code {
7 | private string? enteredText = null;
8 | }
9 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/TextAreaInput/TextAreaInput_Demo_02_Text_Alignment.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Entered text: @enteredText
5 |
6 |
7 |
8 | Entered text: @enteredText2
9 |
10 | @code {
11 | private string? enteredText = "sample text";
12 | private string? enteredText2 = "sample text 2";
13 | }
14 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/TextAreaInput/TextAreaInput_Demo_04_MaxLength.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Entered text: @enteredText
5 |
6 | @code {
7 | private string? enteredText = null;
8 | }
9 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/TextAreaInput/TextAreaInput_Demo_06_Events_ValueChanged.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Entered text: @enteredText
5 |
6 | @code {
7 | private string? enteredText = null;
8 |
9 | private void TextChanged(string? value)
10 | {
11 | enteredText = value;
12 |
13 | // do something
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/TextInput/TextInput_Demo_01_Basic_Usage.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Entered text: @enteredText
5 |
6 | @code {
7 | private string? enteredText = null;
8 | }
9 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/TextInput/TextInput_Demo_02_Text_Alignment.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Entered text: @enteredText
5 |
6 |
7 |
8 | Entered text: @enteredText2
9 |
10 | @code {
11 | private string? enteredText = "sample text";
12 | private string? enteredText2 = "sample text 2";
13 | }
14 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/TextInput/TextInput_Demo_03_Disable_B.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Entered text: @enteredText
5 |
6 | Disable
7 | Enable
8 |
9 | @code {
10 | private TextInput? textInputRef;
11 |
12 | private string? enteredText = null;
13 |
14 | private void Disable() => textInputRef.Disable();
15 |
16 | private void Enable() => textInputRef.Enable();
17 | }
18 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/TextInput/TextInput_Demo_04_MaxLength.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Entered text: @enteredText
5 |
6 | @code {
7 | private string? enteredText = null;
8 | }
9 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/TextInput/TextInput_Demo_06_Events_ValueChanged.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Entered employee name: @employeeName
5 |
6 | @code {
7 | private string? employeeName = null;
8 |
9 | private void EmployeeNameChanged(string? value)
10 | {
11 | employeeName = value;
12 |
13 | // do something
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/TimeInput/TimeInput_Demo_01_Basic_Usage.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Entered date: @date1
5 |
6 | @code {
7 | private TimeOnly date1 = new TimeOnly(13, 14);
8 | }
9 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/TimeInput/TimeInput_Demo_02_Generic_Type.razor:
--------------------------------------------------------------------------------
1 |
2 | TimeOnly :
3 |
4 |
5 |
6 |
7 | Entered time: @time1
8 |
9 |
10 | TimeOnly? :
11 |
12 |
13 |
14 |
15 | Entered time: @time2
16 |
17 | @code {
18 | private TimeOnly time1 = new TimeOnly(6, 40);
19 | private TimeOnly? time2;
20 | }
21 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/TimeInput/TimeInput_Demo_04_B_Disable.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Entered time: @time1
5 |
6 | Disable
7 | Enable
8 |
9 | @code {
10 | private TimeInput timeInput1 = default!;
11 |
12 | private TimeOnly time1 = new TimeOnly(10, 50); // 10:50 AM
13 |
14 | private void Disable() => timeInput1.Disable();
15 |
16 | private void Enable() => timeInput1.Enable();
17 | }
18 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Form/TimeInput/TimeInput_Demo_06_Events_Value_Changed.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Changed time: @time1
5 |
6 | Update Time
7 |
8 | @code {
9 | private TimeOnly time1 = new TimeOnly(10, 0); // 10:00 AM
10 |
11 | private void TimeChanged(TimeOnly timeOnly)
12 | {
13 | time1 = timeOnly;
14 | }
15 |
16 | private void UpdateTime() => time1 = new TimeOnly(11, 0);
17 | }
18 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Grid/06-selection/Grid_Demo_04_B_Selected_Row_CSS_Variables.razor:
--------------------------------------------------------------------------------
1 | --bb-table-selected-row-color: rgba(0, 0, 0, 0.0725);
2 | --bb-table-selected-row-background-color: rgba(0, 0, 0, 0.075);
3 | --bb-table-selected-row-hover-color: #000;
4 | --bb-table-selected-row-hover-background-color: rgba(0, 0, 0, 0.075);
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Icons/Icon_Demo_01_Examples.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Icons/Icon_Demo_02_Sizes.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Icons/Icon_Demo_03_Font_Awesome_Icons.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Icons/Icon_Demo_05_Inline_Text_With_Icon.razor:
--------------------------------------------------------------------------------
1 | Inline text
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Icons/Icon_Demo_06_A_Link_With_Icon.razor:
--------------------------------------------------------------------------------
1 |
2 | Example link text
3 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Icons/Icon_Demo_06_B_Link_With_Custom_Icon.razor:
--------------------------------------------------------------------------------
1 |
2 | Example link text
3 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Icons/Icon_Demo_07_A_Button_With_Icon_And_Text.razor:
--------------------------------------------------------------------------------
1 | Button
2 | Button
3 | Button
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Icons/Icon_Demo_07_B_Button_With_Icon_Only.razor:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Icons/Icon_Demo_07_C_Button_With_Font_Awesome_Icon.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Icons/Icon_Demo_09_Tooltip.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Images/Image_Demo_01_Examples.razor:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Images/Image_Demo_02_Thumbnail.razor:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Images/Image_Demo_03_Aligning_Images_A.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Images/Image_Demo_03_Aligning_Images_B.razor:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Images/Image_Demo_03_Aligning_Images_C.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Maps/GoogleMapDemoComponentBase.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap.Demo.RCL;
2 |
3 | public class GoogleMapDemoComponentBase : ComponentBase
4 | {
5 | public string ApiKey = default!;
6 |
7 | [Inject] private IConfiguration Configuration { get; set; } = default!;
8 |
9 | protected override void OnInitialized()
10 | {
11 | ApiKey = Configuration["GoogleMap:ApiKey"].ToString();
12 | base.OnInitialized();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Maps/GoogleMap_Demo_01_Examples.razor:
--------------------------------------------------------------------------------
1 | @inherits GoogleMapDemoComponentBase
2 |
3 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Markdown/Markdown_Demo_02_Headers.razor:
--------------------------------------------------------------------------------
1 |
2 | # This is a H1 header
3 | ## This is a H2 header
4 | ### This is a H3 header
5 | #### This is a H4 header
6 | ##### This is a H5 header
7 | ###### This is a H6 header
8 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Markdown/Markdown_Demo_03_Paragraphs_and_Line_Breaks.razor:
--------------------------------------------------------------------------------
1 |
2 | Add lines between your text with the **Enter** key.
3 | Your text gets better spaced and makes it easier to read.
4 |
5 |
6 | Add lines between your text with the **Enter** key.
7 | Your text gets better spaced and makes it easier to read.
8 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Markdown/Markdown_Demo_04_Blockquotes.razor:
--------------------------------------------------------------------------------
1 |
2 | > A well-known quote, contained in a blockquote element.
3 |
4 |
5 |
6 | > Single line quote
7 | >> Nested quote
8 | >> multiple line
9 | >> quote
10 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Markdown/Markdown_Demo_05_Horizontal_Rules.razor:
--------------------------------------------------------------------------------
1 |
2 | above
3 | ---
4 | below
5 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Markdown/Markdown_Demo_06_Emphasis_bold_italics_strikethrough.razor:
--------------------------------------------------------------------------------
1 |
2 | Use _emphasis_ in comments to express **strong** opinions and point out ~~corrections~~
3 | **_Bold, italicized text_**
4 | **~~Bold, strike-through text~~**
5 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Markdown/Markdown_Demo_08_Tables_A_Example.razor:
--------------------------------------------------------------------------------
1 |
2 | | Heading 1 | Heading 2 | Heading 3 |
3 | |--|--|--|
4 | | Cell A1 | Cell A2 | Cell A3 |
5 | | Cell B1 | Cell B2 | Cell B3 second line of text |
6 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Markdown/Markdown_Demo_08_Tables_B_Custom_CssClass.razor:
--------------------------------------------------------------------------------
1 |
2 | | Heading 1 | Heading 2 | Heading 3 |
3 | |--|--|--|
4 | | Cell A1 | Cell A2 | Cell A3 |
5 | | Cell B1 | Cell B2 | Cell B3 |
6 | | Cell C1 | Cell C2 | Cell C3 |
7 | | Cell D1 | Cell D2 | Cell D3 |
8 | | Cell E1 | Cell E2 | Cell E3 |
9 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Markdown/Markdown_Demo_09_Lists_A_Ordered.razor:
--------------------------------------------------------------------------------
1 |
2 | 1. First item
3 | 1. Second item
4 | 1. Third item
5 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Markdown/Markdown_Demo_09_Lists_B_Unordered.razor:
--------------------------------------------------------------------------------
1 |
2 | - Item 1
3 | - Item 2
4 | - Item 3
5 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Markdown/Markdown_Demo_09_Lists_C_Nested.razor:
--------------------------------------------------------------------------------
1 |
2 | 1. First item
3 | - Item 1
4 | - Item 2
5 | - Item 3
6 | 1. Second item
7 | - Nested item 1
8 | - Further nested item 1
9 | - Further nested item 2
10 | - Further nested item 3
11 | - Nested item 2
12 | - Nested item 3
13 | 1. Third item
14 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Markdown/Markdown_Demo_09_Lists_D_Nested.razor:
--------------------------------------------------------------------------------
1 |
2 | 1. First item
3 | 1. Item 1
4 | 1. Item 2
5 | 1. Item 3
6 | 1. Second item
7 | 1. Nested item 1
8 | 1. Further nested item 1
9 | 1. Further nested item 2
10 | 1. Further nested item 3
11 | 1. Nested item 2
12 | 1. Nested item 3
13 | 1. Third item
14 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Markdown/Markdown_Demo_09_Lists_E_Nested.razor:
--------------------------------------------------------------------------------
1 |
2 | - First item
3 | - Item 1
4 | - Item 2
5 | - Item 3
6 | - Second item
7 | - Nested item 1
8 | - Further nested item 1
9 | - Further nested item 2
10 | - Further nested item 3
11 | - Nested item 2
12 | - Nested item 3
13 | - Third item
14 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Markdown/Markdown_Demo_10_Links.razor:
--------------------------------------------------------------------------------
1 |
2 | [BlazorBootstrap - Docs](https://docs.blazorbootstrap.com/)
3 | [BlazorBootstrap - Demos](https://demos.blazorbootstrap.com/)
4 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Markdown/Markdown_Demo_11_Images.razor:
--------------------------------------------------------------------------------
1 |
2 | 
3 |
4 |
5 |
6 | 
7 |
8 |
9 |
10 | 
11 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Markdown/Markdown_Demo_12_Checklist_or_Task_List.razor:
--------------------------------------------------------------------------------
1 |
2 | - [ ] A
3 | - [ ] B
4 | - [ ] C
5 | - [x] A
6 | - [x] B
7 | - [x] C
8 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Markdown/Markdown_Demo_13_Emoji.razor:
--------------------------------------------------------------------------------
1 |
2 | Emoji
3 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Markdown/Markdown_Demo_14_Attachments.razor:
--------------------------------------------------------------------------------
1 |
2 | Attachments
3 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Markdown/Markdown_Demo_15_Mathematical_Notations_and_Characters.razor:
--------------------------------------------------------------------------------
1 |
2 | Mathematical notation and characters
3 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Modal/Modal_Demo_02_A_Show_Dynamic_Component.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 | Show Employee Component
4 |
5 | @code {
6 | private Modal modal = default!;
7 |
8 | private async Task ShowEmployeeComponent()
9 | {
10 | var parameters = new Dictionary();
11 | parameters.Add("EmployeeId", 321);
12 | await modal.ShowAsync(title: "Employee Details", parameters: parameters);
13 | }
14 | }
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Offcanvas/Offcanvas_Demo_02_A_Show_Dynamic_Component.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 | Show Employee Component
4 |
5 | @code {
6 | private Offcanvas offcanvas = default!;
7 |
8 | private async Task ShowEmployeeComponent()
9 | {
10 | var parameters = new Dictionary();
11 | parameters.Add("EmployeeId", 321);
12 | await offcanvas.ShowAsync(title: "Employee Details", parameters: parameters);
13 | }
14 | }
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Pagination/Pagination_Demo_01_Examples.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Pagination/Pagination_Demo_02_Working_With_Icons.razor:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Pagination/Pagination_Demo_03_Disabled_And_Active_States.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Pagination/Pagination_Demo_04_Sizing.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Pagination/Pagination_Demo_05_Alignment.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Pagination/Pagination_Demo_06_Events.razor:
--------------------------------------------------------------------------------
1 |
4 |
5 | Current Page Number: @currentPageNumber
6 |
7 |
8 | @code {
9 | int currentPageNumber = 2;
10 |
11 | private async Task OnPageChangedAsync(int newPageNumber)
12 | {
13 | await Task.Run(() => { currentPageNumber = newPageNumber; });
14 | }
15 | }
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Placeholders/Placeholder_Demo_01_Examples.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Placeholders/Placeholder_Demo_02_Width.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Placeholders/Placeholder_Demo_04_Sizing.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Preload/Preload_Demo_01_Global_Preload_For_Application_A.razor:
--------------------------------------------------------------------------------
1 | @using BlazorBootstrap
2 | .
3 | .
4 |
5 | ... MainLayout.razor code goes here ...
6 |
7 | .
8 | .
9 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Preload/Preload_Demo_01_Global_Preload_For_Application_B.razor:
--------------------------------------------------------------------------------
1 | @code {
2 |
3 | [Inject] protected PreloadService PreloadService { get; set; } = default!;
4 |
5 | private void GetEmployees()
6 | {
7 | try
8 | {
9 | PreloadService.Show();
10 |
11 | // call the service/api to get the employees
12 | }
13 | catch
14 | {
15 | // handle exception
16 | }
17 | finally
18 | {
19 | PreloadService.Hide();
20 | }
21 | }
22 | }
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Progress/Progress_Demo_02_Labels.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Progress/Progress_Demo_04_Height.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Progress/Progress_Demo_07_MultipleBars.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/ScriptLoader/ScriptLoader_Demo_01_Examples.razor:
--------------------------------------------------------------------------------
1 |
5 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/ScriptLoader/ScriptLoader_Demo_02_Events.razor:
--------------------------------------------------------------------------------
1 |
7 |
8 | @message
9 |
10 | @code {
11 | string? message;
12 | private void OnScriptLoad() => message = "Script loaded successfully.";
13 | private void OnScriptError(string errorMessage) => message = errorMessage;
14 | }
15 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Services/ModalService/ModalService_Demo_100_Global_Modal_Service_For_Application_01.razor:
--------------------------------------------------------------------------------
1 | @inherits LayoutComponentBase
2 |
3 | ...
4 |
5 | ... MainLayour.razor code goes here ...
6 |
7 | ...
8 |
9 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/SortableList/SortableList_Demo_00_Setup.razor:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/SortableList/SortableList_Demo_04_Disable_Sorting.razor:
--------------------------------------------------------------------------------
1 |
5 |
6 | @item.Name
7 |
8 |
9 |
10 | @code {
11 | public List items = Enumerable.Range(1, 5).Select(i => new Employee { Id = i, Name = $"Item {i}" }).ToList();
12 |
13 | public class Employee
14 | {
15 | public int Id { get; set; }
16 | public string? Name { get; set; }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/SortableList/SortableList_Demo_09_Empty_Data.razor:
--------------------------------------------------------------------------------
1 |
4 |
5 | @item.Name
6 |
7 |
8 |
9 | @code {
10 | public List items = null!;
11 |
12 | public record Employee(int Id, string? Name);
13 | }
14 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Spinners/Spinners_Demo_01_Border_Spinner.razor:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Spinners/Spinners_Demo_02_Colors.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Spinners/Spinners_Demo_03_Grow_spinner_A.razor:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Spinners/Spinners_Demo_03_Grow_spinner_B.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Spinners/Spinners_Demo_04_Loading_dots_spinner_A.razor:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Spinners/Spinners_Demo_05_Alignment_A_Margin.razor:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Spinners/Spinners_Demo_05_Alignment_B_Palcement_Flex_01.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Spinners/Spinners_Demo_05_Alignment_B_Palcement_Flex_02.razor:
--------------------------------------------------------------------------------
1 |
2 | Loading...
3 |
4 |
5 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Spinners/Spinners_Demo_05_Alignment_C_Palcement_Floats.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Spinners/Spinners_Demo_05_Alignment_D_Palcement_Text_align.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Spinners/Spinners_Demo_06_Size_A_Border.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Spinners/Spinners_Demo_06_Size_B_Grow.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Spinners/Spinners_Demo_06_Size_C_Dots.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Spinners/Spinners_Demo_07_Visible.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Hide
5 | Show
6 |
7 |
8 | @code {
9 | private bool visible = true;
10 |
11 | private void Hide() => visible = false;
12 |
13 | private void Show() => visible = true;
14 | }
15 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Tabs/Tabs_Demo_02_Enable_FadeEffect.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | This is the placeholder content for the Home tab.
5 |
6 |
7 |
8 |
9 | This is the placeholder content for the Profile tab.
10 |
11 |
12 |
13 |
14 | This is the placeholder content for the Contact tab.
15 |
16 |
17 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/ThemeSwitcher/ThemeSwitcher_Demo_01_How_It_Works.razor:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/ThemeSwitcher/ThemeSwitcher_Demo_02_Position_A.razor:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/ThemeSwitcher/ThemeSwitcher_Demo_02_Position_B.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/ThemeSwitcher/ThemeSwitcher_Demo_03_Events.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 | @code
4 | {
5 | [Inject]
6 | ToastService ToastService { get; set; } = default!;
7 |
8 | private void OnThemeChanged(string themeName)
9 | {
10 | // do something when the theme changes
11 | ToastService.Notify(new(ToastType.Success, $"Theme changed to {themeName}"));
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Toasts/Toasts_Demo_06_Global_Toasts_Service_For_Application_01.razor:
--------------------------------------------------------------------------------
1 | @inherits LayoutComponentBase
2 |
3 | ...
4 |
5 | ... MainLayour.razor code goes here ...
6 |
7 | ...
8 |
9 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Toasts/Toasts_Demo_06_Global_Toasts_Service_For_Application_02.razor:
--------------------------------------------------------------------------------
1 | @code {
2 |
3 | [Inject] protected ToastService ToastService { get; set; } = default!;
4 |
5 | private void SaveEmployee()
6 | {
7 | try
8 | {
9 | // TODO: call the service/api to save the employee details
10 |
11 | ToastService.Notify(new(ToastType.Success, $"Employee details saved successfully."));
12 | }
13 | catch(Exception ex)
14 | {
15 | // handle exception
16 |
17 | ToastService.Notify(new(ToastType.Danger, $"Error: {ex.Message}."));
18 | }
19 | }
20 | }
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Toasts/Toasts_Demo_07_Toast_With_Content.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 | Toast with Content
4 |
5 | @code {
6 | List messages = [];
7 |
8 | private void ShowToast() =>
9 | messages.Add(
10 | new ToastMessage
11 | {
12 | Type = ToastType.Info,
13 | Title = "Blazor Bootstrap",
14 | Content = @Hello, world! This is a toast message. Show more toast
,
15 | });
16 | }
17 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Tooltips/Tooltips_Demo_01_Examples.razor:
--------------------------------------------------------------------------------
1 | Tooltip Left
2 | Tooltip Top
3 | Tooltip Right
4 | Tooltip Bottom
5 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Tooltips/Tooltips_Demo_02_Disabled_Button_With_Tooltip.razor:
--------------------------------------------------------------------------------
1 |
2 | Disabled button
3 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Tooltips/Tooltips_Demo_03_Icon_With_Click_Event.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | @code{
6 | private void OnClick()
7 | {
8 | Console.WriteLine($"clicked");
9 | }
10 | }
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Tooltips/Tooltips_Demo_04_Dynamically_Update_Tooltip_Text.razor:
--------------------------------------------------------------------------------
1 |
2 | Tooltip Bottom
3 |
4 | Change Tooltip
5 |
6 | @code {
7 | private string text = "Tooltip text";
8 |
9 | private void ChangeTooltip() => text = $"Updated {DateTime.Now.ToLongTimeString()}";
10 | }
11 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Tooltips/Tooltips_Demo_05_Tooltip_With_Navigation_Link.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Pages/Tooltips/Tooltips_Demo_08_HTML.razor:
--------------------------------------------------------------------------------
1 | Tooltip with HTML
2 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Shared/CarbonAds.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap.Demo.RCL
2 |
3 | @if (!isLocalUrl)
4 | {
5 |
9 | }
10 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Shared/CarbonAds.razor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap.Demo.RCL;
2 |
3 | public partial class CarbonAds : ComponentBase
4 | {
5 | #region Properties, Indexers
6 |
7 | [Parameter]
8 | public string? Class { get; set; }
9 |
10 | private bool isLocalUrl;
11 |
12 | [Inject]
13 | private NavigationManager _navigationManager { get; set; } = default!;
14 |
15 | #endregion
16 |
17 | #region Methods
18 |
19 | protected override void OnInitialized()
20 | {
21 | isLocalUrl = _navigationManager.Uri.Contains("localhost");
22 | }
23 |
24 | #endregion
25 | }
26 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Shared/Demo.razor.css:
--------------------------------------------------------------------------------
1 | .highlight-toolbar {
2 | /*color: #212529;*/
3 | /*background-color: #f8f9fa;*/
4 | color: var(--bs-body-color);
5 | background-color: var(--bs-body-bg);
6 | }
7 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Shared/PageHero.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap.Demo.RCL
2 | @inherits BlazorBootstrapComponentBase
3 |
4 | @Heading
5 |
6 | @LeadSection
7 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Shared/PageHero.razor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap.Demo.RCL;
2 |
3 | public partial class PageHero : BlazorBootstrapComponentBase
4 | {
5 | [Parameter]
6 | public string? Heading { get; set; }
7 |
8 | [Parameter]
9 | public RenderFragment? LeadSection { get; set; }
10 | }
11 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Shared/Skippy.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap.Demo.RCL
2 | @inherits ComponentBase
3 |
4 |
11 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Shared/Skippy.razor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap.Demo.RCL;
2 |
3 | public partial class Skippy : ComponentBase
4 | {
5 | [Parameter]
6 | public string Url { get; set; } = default!;
7 |
8 | [Parameter]
9 | public RenderFragment ChildContent { get; set; } = default!;
10 | }
11 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Components/Shared/Skippy.razor.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.RCL/Components/Shared/Skippy.razor.css
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Models/Customer.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap.Demo.RCL.Models;
2 |
3 | public record Customer(int CustomerId, string? CustomerName);
4 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Models/Customer2.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap.Demo.RCL.Models;
2 |
3 | public record Customer2
4 | (
5 | int CustomerId,
6 | string? CustomerName,
7 | string? Phone,
8 | string? Email,
9 | string? Address,
10 | string? PostalZip,
11 | string? Country
12 | );
13 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Models/Department.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap.Demo.RCL.Models;
2 |
3 | public class Department
4 | {
5 | public string? Name { get; set; }
6 | public List Employees { get; set; }
7 |
8 | public Department(string name, List employees)
9 | {
10 | Name = name;
11 | Employees = employees;
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Models/Employee.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap.Demo.RCL.Models;
2 |
3 | public class Employee
4 | {
5 | public int Id { get; set; }
6 | public string? FirstName { get; set; }
7 | public string? LastName { get; set; }
8 | public string? Designation { get; set; }
9 | public decimal Salary { get; set; }
10 | public DateTime DOJ { get; set; }
11 | public bool IsActive { get; set; }
12 | }
13 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Models/Employee1.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap.Demo.RCL.Models;
2 |
3 | public record class Employee1
4 | {
5 | public int Id { get; set; }
6 | public string? Name { get; set; }
7 | public string? Designation { get; set; }
8 | public DateOnly DOJ { get; set; }
9 | public bool IsActive { get; set; }
10 | }
11 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Models/Employee2.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap.Demo.RCL.Models;
2 |
3 | public record class Employee2
4 | {
5 | public int Id { get; init; }
6 | public string? Name { get; init; }
7 | public string? Designation { get; init; }
8 | public decimal Salary { get; init; }
9 | public bool IsActive { get; init; }
10 | }
11 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Models/Employee3.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap.Demo.RCL.Models;
2 |
3 | public record class Employee3
4 | {
5 | public int Id { get; init; }
6 | public string? FirstName { get; init; }
7 | public string? LastName { get; init; }
8 | public string? Email { get; set; }
9 | public string? Company { get; set; }
10 | public string? Designation { get; init; }
11 | public DateOnly DOJ { get; init; }
12 | public decimal Salary { get; init; }
13 | public bool IsActive { get; init; }
14 | }
15 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Models/Employee4.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap.Demo.RCL.Models;
2 |
3 | public record class Employee4
4 | {
5 | public int? Id { get; set; }
6 | public string? Name { get; set; }
7 | public string? Designation { get; set; }
8 | public DateOnly? DOJ { get; set; }
9 | public bool IsActive { get; set; }
10 | }
11 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/RegisterServices.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap.Demo.RCL;
2 |
3 | public static class RegisterServices
4 | {
5 | public static IServiceCollection AddDemoServices(this IServiceCollection services)
6 | {
7 | services.AddScoped();
8 | services.AddScoped();
9 |
10 | return services;
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Services/ICustomerService.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap.Demo.RCL.Services;
2 |
3 | public interface ICustomerService
4 | {
5 | public Task> GetCustomersAsync(FilterItem filter, CancellationToken cancellationToken = default);
6 | public Task, int>> GetCustomersAsync(IEnumerable filters, int pageNumber, int pageSize, string sortKey, SortDirection sortDirection, CancellationToken cancellationToken = default);
7 | }
8 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Services/IEmployeeService.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap.Demo.RCL.Services;
2 |
3 | public interface IEmployeeService
4 | {
5 | public Tuple, int> GetEmployees(IEnumerable filters, int pageNumber, int pageSize, string sortKey, SortDirection sortDirection);
6 | }
7 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/Usings.cs:
--------------------------------------------------------------------------------
1 | global using BlazorBootstrap.Demo.RCL.Models;
2 | global using BlazorBootstrap.Demo.RCL.Services;
3 | global using Microsoft.AspNetCore.Components;
4 | global using Microsoft.AspNetCore.Components.Rendering;
5 | global using Microsoft.AspNetCore.Components.Routing;
6 | global using Microsoft.Extensions.Configuration;
7 | global using Microsoft.Extensions.DependencyInjection;
8 | global using Microsoft.JSInterop;
9 | global using System.Linq.Expressions;
10 | global using System.Net.Http.Json;
11 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/_Imports.razor:
--------------------------------------------------------------------------------
1 | @using System.Net.Http
2 | @using System.Net.Http.Json
3 | @using Microsoft.AspNetCore.Components.Forms
4 | @using Microsoft.AspNetCore.Components.Routing
5 | @using Microsoft.AspNetCore.Components.Web
6 | @using Microsoft.AspNetCore.Components.Web.Virtualization
7 | @using Microsoft.JSInterop
8 | @using BlazorBootstrap
9 | @using System.Threading.Tasks
10 | @using Microsoft.Extensions.Configuration;
11 | @using BlazorBootstrap.Demo.RCL.Models;
12 | @using BlazorBootstrap.Demo.RCL.Services;
13 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/wwwroot/docs/persian-sample-doc-919.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.RCL/wwwroot/docs/persian-sample-doc-919.pdf
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/wwwroot/icons/archive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.RCL/wwwroot/icons/archive.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/wwwroot/icons/bin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.RCL/wwwroot/icons/bin.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/wwwroot/icons/calendar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.RCL/wwwroot/icons/calendar.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/wwwroot/icons/cancel-button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.RCL/wwwroot/icons/cancel-button.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/wwwroot/icons/cancelled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.RCL/wwwroot/icons/cancelled.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/wwwroot/icons/folder-add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.RCL/wwwroot/icons/folder-add.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/wwwroot/icons/folder-copy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.RCL/wwwroot/icons/folder-copy.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/wwwroot/icons/folder-delete.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.RCL/wwwroot/icons/folder-delete.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/wwwroot/icons/folder-move.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.RCL/wwwroot/icons/folder-move.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/wwwroot/icons/folder-rename.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.RCL/wwwroot/icons/folder-rename.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/wwwroot/icons/folder-search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.RCL/wwwroot/icons/folder-search.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/wwwroot/icons/folder-sync.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.RCL/wwwroot/icons/folder-sync.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/wwwroot/icons/loading-bar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.RCL/wwwroot/icons/loading-bar.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/wwwroot/icons/new-email.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.RCL/wwwroot/icons/new-email.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/wwwroot/icons/refresh.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.RCL/wwwroot/icons/refresh.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/wwwroot/images/slide-01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.RCL/wwwroot/images/slide-01.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/wwwroot/images/slide-02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.RCL/wwwroot/images/slide-02.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/wwwroot/images/slide-03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.RCL/wwwroot/images/slide-03.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/wwwroot/images/slide-04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.RCL/wwwroot/images/slide-04.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/wwwroot/images/slide-05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.RCL/wwwroot/images/slide-05.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.RCL/wwwroot/images/slide-06.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.RCL/wwwroot/images/slide-06.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.Server/BlazorBootstrap.Demo.Server.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net9.0
5 | enable
6 | enable
7 | 17d839f8-f71e-4856-829b-ccf23589bb77
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.Server/Components/Routes.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Not found
8 |
9 | Sorry, there's nothing at this address.
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.Server/Components/_Imports.razor:
--------------------------------------------------------------------------------
1 | @using System.Net.Http
2 | @using System.Net.Http.Json
3 | @using Microsoft.AspNetCore.Components.Forms
4 | @using Microsoft.AspNetCore.Components.Routing
5 | @using Microsoft.AspNetCore.Components.Web
6 | @using static Microsoft.AspNetCore.Components.Web.RenderMode
7 | @using Microsoft.AspNetCore.Components.Web.Virtualization
8 | @using Microsoft.JSInterop
9 | @using BlazorBootstrap.Demo.Server
10 | @using BlazorBootstrap.Demo.Server.Components
11 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.Server/Usings.cs:
--------------------------------------------------------------------------------
1 | global using BlazorBootstrap.Demo.RCL;
2 | global using BlazorBootstrap.Demo.Server.Components;
3 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.Server/appsettings.Development.json:
--------------------------------------------------------------------------------
1 | {
2 | "DetailedErrors": true,
3 | "Logging": {
4 | "LogLevel": {
5 | "Default": "Information",
6 | "Microsoft": "Warning",
7 | "Microsoft.Hosting.Lifetime": "Information",
8 | "Microsoft.AspNetCore.SignalR": "Debug"
9 | }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.Server/wwwroot/images/logo/128X128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.Server/wwwroot/images/logo/128X128.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.Server/wwwroot/images/logo/150X150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.Server/wwwroot/images/logo/150X150.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.Server/wwwroot/images/logo/16X16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.Server/wwwroot/images/logo/16X16.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.Server/wwwroot/images/logo/180X180.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.Server/wwwroot/images/logo/180X180.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.Server/wwwroot/images/logo/192X192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.Server/wwwroot/images/logo/192X192.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.Server/wwwroot/images/logo/24X24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.Server/wwwroot/images/logo/24X24.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.Server/wwwroot/images/logo/256X256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.Server/wwwroot/images/logo/256X256.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.Server/wwwroot/images/logo/310X310.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.Server/wwwroot/images/logo/310X310.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.Server/wwwroot/images/logo/32X32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.Server/wwwroot/images/logo/32X32.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.Server/wwwroot/images/logo/48X48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.Server/wwwroot/images/logo/48X48.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.Server/wwwroot/images/logo/64X64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.Server/wwwroot/images/logo/64X64.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.Server/wwwroot/images/logo/96X96.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.Server/wwwroot/images/logo/96X96.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.Server/wwwroot/images/placeholder.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.Server/wwwroot/images/placeholder.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.WebAssembly/App.razor:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | Not found
8 |
9 | Sorry, there's nothing at this address.
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.WebAssembly/Program.cs:
--------------------------------------------------------------------------------
1 | var builder = WebAssemblyHostBuilder.CreateDefault(args);
2 |
3 | builder.RootComponents.Add("#app");
4 | builder.RootComponents.Add("head::after");
5 |
6 | builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
7 |
8 | // Register services
9 | builder.Services.AddBlazorBootstrap();
10 | builder.Services.AddDemoServices();
11 |
12 | await builder.Build().RunAsync();
13 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.WebAssembly/Usings.cs:
--------------------------------------------------------------------------------
1 | global using BlazorBootstrap.Demo.RCL;
2 | global using Microsoft.AspNetCore.Components.Web;
3 | global using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
4 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.WebAssembly/_Imports.razor:
--------------------------------------------------------------------------------
1 | @using System.Net.Http
2 | @using System.Net.Http.Json
3 | @using System.Threading.Tasks
4 | @using Microsoft.AspNetCore.Components.Forms
5 | @using Microsoft.AspNetCore.Components.Routing
6 | @using Microsoft.AspNetCore.Components.Web
7 | @using Microsoft.AspNetCore.Components.Web.Virtualization
8 | @using Microsoft.AspNetCore.Components.WebAssembly.Http
9 | @using Microsoft.JSInterop
10 | @using BlazorBootstrap
11 | @using BlazorBootstrap.Demo.WebAssembly
12 |
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/logo/128X128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/logo/128X128.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/logo/150X150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/logo/150X150.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/logo/16X16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/logo/16X16.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/logo/180X180.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/logo/180X180.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/logo/192X192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/logo/192X192.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/logo/24X24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/logo/24X24.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/logo/256X256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/logo/256X256.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/logo/310X310.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/logo/310X310.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/logo/32X32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/logo/32X32.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/logo/48X48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/logo/48X48.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/logo/64X64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/logo/64X64.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/logo/96X96.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/logo/96X96.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/placeholder.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/BlazorBootstrap.Demo.WebAssembly/wwwroot/images/placeholder.png
--------------------------------------------------------------------------------
/BlazorBootstrap.Demo.WebAssembly/wwwroot/staticwebapp.config.json:
--------------------------------------------------------------------------------
1 | {
2 | "navigationFallback": {
3 | "rewrite": "/index.html",
4 | "exclude": [ "/images/*.{png,jpg,gif}", "/css/*" ]
5 | }
6 | }
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Accordion/Accordion.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 |
6 | @ChildContent
7 |
8 |
9 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Alert/Alert.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 | @ChildContent
6 | @if (Dismissable)
7 | {
8 |
9 | }
10 |
11 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Badge/Badge.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 | @ChildContent
6 | @if (!string.IsNullOrWhiteSpace(VisuallyHiddenText))
7 | {
8 | @VisuallyHiddenText
9 | }
10 |
11 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Callout/Callout.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 | @if (!HideHeading)
6 | {
7 |
8 |
9 | @heading
10 |
11 |
12 | }
13 |
14 | @ChildContent
15 |
16 |
17 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Card/Card.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 | @ChildContent
6 |
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Card/CardBody.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 | @ChildContent
6 |
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Card/CardBody.razor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public partial class CardBody : BlazorBootstrapComponentBase
4 | {
5 | #region Properties, Indexers
6 |
7 | protected override string? ClassNames =>
8 | BuildClassNames(Class, (BootstrapClass.CardBody, true));
9 |
10 | ///
11 | /// Gets or sets the content to be rendered within the component.
12 | ///
13 | ///
14 | /// Default value is null.
15 | ///
16 | [Parameter]
17 | public RenderFragment ChildContent { get; set; } = default!;
18 |
19 | #endregion
20 | }
21 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Card/CardFooter.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 | @ChildContent
6 |
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Card/CardFooter.razor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public partial class CardFooter : BlazorBootstrapComponentBase
4 | {
5 | #region Properties, Indexers
6 |
7 | protected override string? ClassNames =>
8 | BuildClassNames(Class, (BootstrapClass.CardFooter, true));
9 |
10 | ///
11 | /// Gets or sets the content to be rendered within the component.
12 | ///
13 | ///
14 | /// Default value is null.
15 | ///
16 | [Parameter]
17 | public RenderFragment ChildContent { get; set; } = default!;
18 |
19 | #endregion
20 | }
21 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Card/CardGroup.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 | @ChildContent
6 |
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Card/CardGroup.razor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public partial class CardGroup : BlazorBootstrapComponentBase
4 | {
5 | #region Properties, Indexers
6 |
7 | protected override string? ClassNames =>
8 | BuildClassNames(Class, (BootstrapClass.CardGroup, true));
9 |
10 | ///
11 | /// Gets or sets the content to be rendered within the component.
12 | ///
13 | ///
14 | /// Default value is null.
15 | ///
16 | [Parameter]
17 | public RenderFragment ChildContent { get; set; } = default!;
18 |
19 | #endregion
20 | }
21 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Card/CardHeader.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 | @ChildContent
6 |
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Card/CardLink.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 | @ChildContent
6 |
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Card/CardText.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 | @ChildContent
6 |
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Card/CardText.razor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public partial class CardText : BlazorBootstrapComponentBase
4 | {
5 | #region Properties, Indexers
6 |
7 | protected override string? ClassNames =>
8 | BuildClassNames(Class, (BootstrapClass.CardText, true));
9 |
10 | ///
11 | /// Gets or sets the content to be rendered within the component.
12 | ///
13 | [Parameter]
14 | public RenderFragment ChildContent { get; set; } = default!;
15 |
16 | #endregion
17 | }
18 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Carousel/CarouselCaption.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 | @ChildContent
6 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Carousel/CarouselItem.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
10 | @ChildContent
11 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Charts/BarChart.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapChart
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Charts/DoughnutChart.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapChart
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Charts/LineChart.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapChart
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Charts/PieChart.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapChart
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Charts/PolarAreaChart.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapChart
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Charts/RadarChart.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapChart
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Charts/ScatterChart.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapChart
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Collapse/Collapse.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 | @ChildContent
6 |
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Core/BlazorBootstrapInterop.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public class BlazorBootstrapInterop
4 | {
5 | #region Fields and Constants
6 |
7 | private const string Prefix = "window.blazorBootstrap.";
8 |
9 | public const string ScrollToElementBottom = Prefix + "scrollToElementBottom";
10 |
11 | public const string ScrollToElementTop = Prefix + "scrollToElementTop";
12 |
13 | #endregion
14 | }
15 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Dropdown/DropdownActionButton.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
10 | @ChildContent
11 |
12 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Dropdown/DropdownDivider.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Dropdown/DropdownDivider.razor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public partial class DropdownDivider : BlazorBootstrapComponentBase
4 | {
5 | #region Properties, Indexers
6 |
7 | protected override string? ClassNames =>
8 | BuildClassNames(Class, (BootstrapClass.DropdownDivider, true));
9 |
10 | #endregion
11 | }
12 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Dropdown/DropdownHeader.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 |
6 | @ChildContent
7 |
8 |
9 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Dropdown/DropdownHeader.razor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public partial class DropdownHeader : BlazorBootstrapComponentBase
4 | {
5 | #region Properties, Indexers
6 |
7 | protected override string? ClassNames =>
8 | BuildClassNames(Class, (BootstrapClass.DropdownHeader, true));
9 |
10 | ///
11 | /// Gets or sets the content to be rendered within the component.
12 | ///
13 | [Parameter]
14 | public RenderFragment ChildContent { get; set; } = default!;
15 |
16 | #endregion
17 | }
18 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Dropdown/DropdownMenu.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Dropdown/DropdownToggleButton.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
10 | @ChildContent
11 |
12 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Form/CurrencyInput/CurrencyInput.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 | @typeparam TValue
4 |
5 |
18 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Form/NumberInput/NumberInput.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 | @typeparam TValue
4 |
5 |
17 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Form/RadioInput/RadioInput.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 |
14 |
15 | @if (!string.IsNullOrWhiteSpace(Label))
16 | {
17 | @Label
18 | }
19 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Form/SelectInput/SelectInput.razor:
--------------------------------------------------------------------------------
1 | @* @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 | *@
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Form/TextAreaInput/TextAreaInput.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Form/TextInput/TextInput.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Grid/GridColumn.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 | @typeparam TItem
4 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Grid/GridColumns.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 | @ChildContent
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Grid/GridColumns.razor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public partial class GridColumns : BlazorBootstrapComponentBase
4 | {
5 | ///
6 | /// Specifies the content to be rendered inside the grid columns component.
7 | ///
8 | ///
9 | /// Default value is .
10 | ///
11 | [Parameter]
12 | public RenderFragment? ChildContent { get; set; } = default!;
13 | }
14 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Grid/GridDetailView.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 | @typeparam TItem
4 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Grid/GridEmptyDataTemplate.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 | @typeparam TItem
4 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Grid/GridLoadingTemplate.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 | @typeparam TItem
4 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Grid/GridTemplates.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 | @ChildContent
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Grid/GridTemplates.razor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public partial class GridTemplates : BlazorBootstrapComponentBase
4 | {
5 | ///
6 | /// Specifies the content to be rendered inside the grid templates component.
7 | ///
8 | ///
9 | /// Default value is null.
10 | ///
11 | [Parameter]
12 | public RenderFragment? ChildContent { get; set; } = default!;
13 | }
14 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Icon/Icon.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Image/Image.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Image/Image.razor.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/blazorbootstrap/Components/Image/Image.razor.css
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Layout/BlazorBootstrapLayout.razor.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/blazorbootstrap/Components/Layout/BlazorBootstrapLayout.razor.css
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Maps/GoogleMap.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Markdown/Markdown.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 | @((MarkupString)html)
6 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Pagination/PaginationItem.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Pagination/PaginationLink.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 | @if (Enum.IsDefined(typeof(IconName), LinkIcon) && LinkIcon != IconName.None)
6 | {
7 |
8 |
9 |
10 | }
11 | else
12 | {
13 | @Text
14 | }
15 |
16 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Placeholders/Placeholder.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Placeholders/PlaceholderContainer.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 | @ChildContent
6 |
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Progress/Progress.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 | @ChildContent
6 |
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Progress/ProgressBar.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 | @Label
6 |
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Ribbon/RibbonGroup.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 | @ChildContent
6 |
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Ribbon/RibbonGroup.razor.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/blazorbootstrap/Components/Ribbon/RibbonGroup.razor.css
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Ribbon/RibbonItem.razor.css:
--------------------------------------------------------------------------------
1 | .bb-ribbon-item {
2 | cursor: pointer;
3 | /*width: 64px;*/
4 | }
5 |
6 | .bb-ribbon-item:hover {
7 | background-color: rgba(var(--bs-secondary-rgb), 0.10) !important;
8 | }
9 |
10 | .bb-ribbon-item.active {
11 | }
12 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Ribbon/RibbonItemGroup.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 |
6 |
7 | @ChildContent
8 |
9 |
10 |
@Text
11 |
12 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Ribbon/RibbonItemGroup.razor.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/blazorbootstrap/Components/Ribbon/RibbonItemGroup.razor.css
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Ribbon/RibbonTab.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/ScriptLoader/ScriptLoader.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Sidebar/SidebarItemGroup.razor.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Sidebar2/Sidebar2ItemGroup.razor.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/blazorbootstrap/Components/Sidebar2/Sidebar2ItemGroup.razor.css
--------------------------------------------------------------------------------
/blazorbootstrap/Components/SortableList/SortableList.razor.css:
--------------------------------------------------------------------------------
1 | ::deep .bb-sortable-list-handle {
2 | cursor: grab !important;
3 | }
4 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Tabs/Tab.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
--------------------------------------------------------------------------------
/blazorbootstrap/Components/ThemeSwitcher/ThemeSwitcher.razor.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/blazorbootstrap/Components/ThemeSwitcher/ThemeSwitcher.razor.css
--------------------------------------------------------------------------------
/blazorbootstrap/Components/Tooltip/Tooltip.razor:
--------------------------------------------------------------------------------
1 | @namespace BlazorBootstrap
2 | @inherits BlazorBootstrapComponentBase
3 |
4 |
14 | @ChildContent
15 |
--------------------------------------------------------------------------------
/blazorbootstrap/Constants/BootstrapAttributes.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | ///
4 | /// This class provides constants representing common Bootstrap attributes.
5 | ///
6 | public static class BootstrapAttributes
7 | {
8 | #region Fields and Constants
9 |
10 | public const string DataBootstrapRide = "data-bs-ride";
11 | public const string DataBootstrapToggle = "data-bs-toggle";
12 | public const string DataBootstrapTouch = "data-bs-touch";
13 |
14 | #endregion
15 | }
16 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/Alignment.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum Alignment
4 | {
5 | None,
6 | Start,
7 | Center,
8 | End
9 | }
10 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/Anchor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum Anchor
4 | {
5 | None,
6 | Start,
7 | Center, // default
8 | End
9 | }
10 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/AutoCompleteSize.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum AutoCompleteSize
4 | {
5 | Default,
6 | Large,
7 | Small
8 | }
9 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/BackgroundColor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum BackgroundColor
4 | {
5 | None,
6 | Primary,
7 | Secondary,
8 | Success,
9 | Danger,
10 | Warning,
11 | Info,
12 | Light,
13 | Dark,
14 | Body,
15 | White,
16 | Transparent
17 |
18 | // TODO:Review
19 | // https://getbootstrap.com/docs/5.1/utilities/background/#background-gradient
20 | // https://getbootstrap.com/docs/5.1/utilities/background/#opacity
21 | }
22 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/BadgeIndicatorType.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum BadgeIndicatorType
4 | {
5 | None,
6 | RoundedPill,
7 | RoundedCircle
8 | }
9 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/BadgePlacement.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum BadgePlacement
4 | {
5 | None,
6 | TopLeft,
7 | TopCenter,
8 | TopRight,
9 | MiddleLeft,
10 | MiddleCenter,
11 | MiddleRight,
12 | BottomLeft,
13 | BottomCenter,
14 | BottomRight
15 | }
16 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/ButtonSize.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum ButtonSize
4 | {
5 | None,
6 | ExtraSmall,
7 | Small,
8 | Medium,
9 | Large,
10 | ExtraLarge
11 | }
12 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/ButtonType.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum ButtonType
4 | {
5 | Button,
6 | Submit,
7 | Reset,
8 | Link
9 | }
10 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/CarouselAutoPlay.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum CarouselAutoPlay
4 | {
5 | None,
6 | StartOnPageLoad,
7 | StartAfterUserInteraction
8 | }
9 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/ChartType.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum ChartType
4 | {
5 | Line,
6 | Bar,
7 | Pie,
8 | Doughnut,
9 | PolarArea,
10 | Radar,
11 | Scatter,
12 | Bubble
13 | }
14 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/CheckboxState.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum CheckboxState
4 | {
5 | Checked = 1,
6 | Unchecked,
7 | Indeterminate
8 | }
9 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/Color/AlterColor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum AlertColor
4 | {
5 | None,
6 | Primary,
7 | Secondary,
8 | Success,
9 | Danger,
10 | Warning,
11 | Info,
12 | Light,
13 | Dark
14 | }
15 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/Color/BadgeColor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum BadgeColor
4 | {
5 | None,
6 | Primary,
7 | Secondary,
8 | Success,
9 | Danger,
10 | Warning,
11 | Info,
12 | Light,
13 | Dark
14 | }
15 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/Color/ButtonColor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum ButtonColor
4 | {
5 | None,
6 | Primary,
7 | Secondary,
8 | Success,
9 | Danger,
10 | Warning,
11 | Info,
12 | Light,
13 | Dark,
14 | Link
15 | }
16 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/Color/CalloutColor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum CalloutColor
4 | {
5 | Default,
6 | Danger,
7 | Warning,
8 | Info,
9 | Success
10 | }
11 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/Color/CardColor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum CardColor
4 | {
5 | None,
6 | Primary,
7 | Secondary,
8 | Success,
9 | Danger,
10 | Warning,
11 | Info,
12 | Light,
13 | Dark
14 | }
15 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/Color/DropdownColor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum DropdownColor
4 | {
5 | None,
6 | Primary,
7 | Secondary,
8 | Success,
9 | Danger,
10 | Warning,
11 | Info,
12 | Light,
13 | Dark,
14 | Link
15 | }
16 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/Color/IconColor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum IconColor
4 | {
5 | None,
6 | Primary,
7 | Secondary,
8 | Success,
9 | Danger,
10 | Warning,
11 | Info,
12 | Light,
13 | Dark,
14 | Body,
15 | Muted,
16 | White
17 | }
18 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/Color/LinkColor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum LinkColor
4 | {
5 | None,
6 | Primary,
7 | Secondary,
8 | Success,
9 | Danger,
10 | Warning,
11 | Info,
12 | Light,
13 | Dark
14 | }
15 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/Color/PlaceholderColor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum PlaceholderColor
4 | {
5 | None,
6 | Primary,
7 | Secondary,
8 | Success,
9 | Danger,
10 | Warning,
11 | Info,
12 | Light,
13 | Dark
14 | }
15 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/Color/ProgressColor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum ProgressColor
4 | {
5 | None,
6 | Primary,
7 | Secondary,
8 | Success,
9 | Danger,
10 | Warning,
11 | Info,
12 | Dark
13 | }
14 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/Color/SpinnerColor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum SpinnerColor
4 | {
5 | None = 0,
6 | Primary,
7 | Secondary,
8 | Success,
9 | Danger,
10 | Warning,
11 | Info,
12 | Light,
13 | Dark
14 | }
15 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/Color/TabColor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum TabColor
4 | {
5 | None,
6 | Primary,
7 | Secondary,
8 | Success,
9 | Danger,
10 | Warning,
11 | Info,
12 | Light,
13 | Dark
14 | }
15 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/Color/TextColor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum TextColor
4 | {
5 | None,
6 | Primary,
7 | Secondary,
8 | Success,
9 | Danger,
10 | Warning,
11 | Info,
12 | Light,
13 | Dark,
14 | Body,
15 | Muted,
16 | White
17 | }
18 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/Color/TooltipColor.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum TooltipColor
4 | {
5 | None,
6 | Primary,
7 | Secondary,
8 | Success,
9 | Danger,
10 | Warning,
11 | Info,
12 | Light,
13 | Dark
14 | }
15 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/DialogSize.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum DialogSize
4 | {
5 | ///
6 | /// Default ConfirmDialog width 500px will be applied.
7 | ///
8 | Regular,
9 |
10 | ///
11 | /// ConfirmDialog width 300px will be applied.
12 | ///
13 | Small,
14 |
15 | ///
16 | /// ConfirmDialog width 800px will be applied.
17 | ///
18 | Large,
19 |
20 | ///
21 | /// ConfirmDialog width 1140px will be applied.
22 | ///
23 | ExtraLarge
24 | }
25 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/DropdownAutoCloseBehavior.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum DropdownAutoCloseBehavior
4 | {
5 | ///
6 | /// will be closed (only) by clicking inside the dropdown menu.
7 | ///
8 | Inside,
9 |
10 | ///
11 | /// will be closed (only) by clicking outside the dropdown menu.
12 | ///
13 | Outside,
14 |
15 | ///
16 | /// will be closed by clicking outside or inside the dropdown menu.
17 | ///
18 | Both
19 | }
20 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/DropdownItemType.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum DropdownItemType
4 | {
5 | Button,
6 | Link
7 | }
8 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/DropdownMenuPosition.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum DropdownMenuPosition
4 | {
5 | Start,
6 | End
7 | }
8 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/DropdownSize.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum DropdownSize
4 | {
5 | None,
6 | Small,
7 | Large,
8 | }
9 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/FlexDirection.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum FlexDirection
4 | {
5 | Column,
6 | ColumnReverse,
7 | Row,
8 | RowReverse
9 | }
10 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/FreezeDirection.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum FreezeDirection
4 | {
5 | Left,
6 | Right
7 | }
8 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/GridSelectionMode.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum GridSelectionMode
4 | {
5 | Single,
6 | Multiple
7 | }
8 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/GridSummaryColumnType.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum GridSummaryColumnType
4 | {
5 | None,
6 | Average,
7 | Count,
8 | Max,
9 | Min,
10 | Sum
11 | }
12 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/HeadingSize.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum HeadingSize
4 | {
5 | H1,
6 | H2,
7 | H3,
8 | H4,
9 | H5,
10 | H6
11 | }
12 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/ModalSize.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum ModalSize
4 | {
5 | ///
6 | /// Default modal width 500px will be applied.
7 | ///
8 | Regular,
9 |
10 | ///
11 | /// Modal width 300px will be applied.
12 | ///
13 | Small,
14 |
15 | ///
16 | /// Modal width 800px will be applied.
17 | ///
18 | Large,
19 |
20 | ///
21 | /// Modal width 1140px will be applied.
22 | ///
23 | ExtraLarge
24 | }
25 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/ModalType.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum ModalType
4 | {
5 | None,
6 | Primary,
7 | Secondary,
8 | Success,
9 | Danger,
10 | Warning,
11 | Info,
12 | Light,
13 | Dark
14 | }
15 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/OffcanvasSize.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum OffcanvasSize
4 | {
5 | ///
6 | /// Default modal width 400px will be applied.
7 | ///
8 | Regular,
9 |
10 | ///
11 | /// Modal width 300px will be applied.
12 | ///
13 | Small,
14 |
15 | ///
16 | /// Modal width 800px will be applied.
17 | ///
18 | Large
19 | }
20 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/Orientation.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum Orientation
4 | {
5 | Portrait,
6 | Landscape,
7 | }
8 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/PaginationSize.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum PaginationSize
4 | {
5 | None,
6 | Small,
7 | Large
8 | }
9 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/PlaceholderAnimation.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum PlaceholderAnimation
4 | {
5 | ///
6 | /// Glow animation
7 | ///
8 | Glow,
9 |
10 | ///
11 | /// Wave animation
12 | ///
13 | Wave
14 | }
15 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/PlaceholderSize.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum PlaceholderSize
4 | {
5 | None,
6 | ExtraSmall,
7 | Small,
8 | Large
9 | }
10 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/PlaceholderWidth.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum PlaceholderWidth
4 | {
5 | Col1,
6 | Col2,
7 | Col3,
8 | Col4,
9 | Col5,
10 | Col6,
11 | Col7,
12 | Col8,
13 | Col9,
14 | Col10,
15 | Col11,
16 | Col12
17 | }
18 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/Placement.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum Placement
4 | {
5 | Start = 1,
6 | End,
7 | Top,
8 | Bottom
9 | }
10 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/Priority.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum Priority
4 | {
5 | High = 0,
6 | Medium,
7 | Low
8 | }
9 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/ProgressType.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum ProgressType
4 | {
5 | Default = 1,
6 | Striped,
7 | StripedAndAnimated
8 | }
9 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/SortDirection.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum SortDirection
4 | {
5 | None = 0,
6 | Ascending = 1,
7 | Descending = 2
8 | }
9 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/SortableListPullMode.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum SortableListPullMode
4 | {
5 | True,
6 | False,
7 | Clone,
8 | //@Array
9 | }
10 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/SortableListPutMode.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum SortableListPutMode
4 | {
5 | True,
6 | False,
7 | //@Array
8 | }
9 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/SpinnerSize.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum SpinnerSize
4 | {
5 | Small,
6 | Medium,
7 | Large,
8 | ExtraLarge
9 | }
10 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/SpinnerType.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum SpinnerType
4 | {
5 | Border,
6 | Grow,
7 | Dots
8 | }
9 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/Target.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum Target
4 | {
5 | None,
6 | Blank,
7 | Parent,
8 | Self,
9 | Top
10 | }
11 |
--------------------------------------------------------------------------------
/blazorbootstrap/Enums/TooltipPlacement.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public enum TooltipPlacement
4 | {
5 | ///
6 | /// Dynamically reorient the tooltip.
7 | ///
8 | Auto,
9 |
10 | ///
11 | /// Top side.
12 | ///
13 | Top,
14 |
15 | ///
16 | /// Bottom side.
17 | ///
18 | Bottom,
19 |
20 | ///
21 | /// Left side.
22 | ///
23 | Left,
24 |
25 | ///
26 | /// Right side.
27 | ///
28 | Right
29 | }
30 |
--------------------------------------------------------------------------------
/blazorbootstrap/EventArguments/CarouselEventArgs.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public class CarouselEventArgs : EventArgs
4 | {
5 | ///
6 | /// The direction in which the is sliding (either "left" or "right").
7 | ///
8 | public string? Direction { get; set; }
9 |
10 | ///
11 | /// The index of the current item.
12 | ///
13 | public int From { get; set; }
14 |
15 | ///
16 | /// The index of the next item.
17 | ///
18 | public int To { get; set; }
19 | }
20 |
--------------------------------------------------------------------------------
/blazorbootstrap/EventArguments/FilterEventArgs.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public record FilterEventArgs(string Text, FilterOperator FilterOperator);
4 |
--------------------------------------------------------------------------------
/blazorbootstrap/EventArguments/GoogleMapMarkerEventArgs.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public class GoogleMapMarkerEventArgs : EventArgs
4 | {
5 | #region Constructors
6 |
7 | public GoogleMapMarkerEventArgs(GoogleMapMarker marker)
8 | {
9 | Marker = marker;
10 | }
11 |
12 | #endregion
13 |
14 | #region Properties, Indexers
15 |
16 | ///
17 | /// Gets the elementId.
18 | ///
19 | public GoogleMapMarker Marker { get; }
20 |
21 | #endregion
22 | }
23 |
--------------------------------------------------------------------------------
/blazorbootstrap/EventArguments/GridRowEventArgs.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public class GridRowEventArgs : EventArgs
4 | {
5 | #region Constructors
6 |
7 | public GridRowEventArgs(TItem item)
8 | {
9 | Item = item;
10 | }
11 |
12 | #endregion
13 |
14 | #region Properties, Indexers
15 |
16 | public TItem Item { get; set; }
17 |
18 | #endregion
19 | }
20 |
--------------------------------------------------------------------------------
/blazorbootstrap/EventArguments/Ribbon/RibbonItemEventArgs.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public class RibbonItemEventArgs : EventArgs
4 | {
5 | #region Constructors
6 |
7 | public RibbonItemEventArgs(string name)
8 | {
9 | Name = name;
10 | }
11 |
12 | #endregion
13 |
14 | #region Properties, Indexers
15 |
16 | ///
17 | /// Gets the name.
18 | ///
19 | public string? Name { get; }
20 |
21 | #endregion
22 | }
23 |
--------------------------------------------------------------------------------
/blazorbootstrap/EventArguments/Ribbon/RibbonTabEventArgs.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public class RibbonTabEventArgs
4 | {
5 | #region Constructors
6 |
7 | public RibbonTabEventArgs(string name, string title)
8 | {
9 | Name = name;
10 | Title = title;
11 | }
12 |
13 | #endregion
14 |
15 | #region Properties, Indexers
16 |
17 | ///
18 | /// Gets the name.
19 | ///
20 | public string Name { get; }
21 |
22 | ///
23 | /// Gets the title.
24 | ///
25 | public string Title { get; }
26 |
27 | #endregion
28 | }
29 |
--------------------------------------------------------------------------------
/blazorbootstrap/EventArguments/Tabs/TabEventArgs.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public class TabEventArgs
4 | {
5 | #region Constructors
6 |
7 | public TabEventArgs(string name, string title)
8 | {
9 | Name = name;
10 | Title = title;
11 | }
12 |
13 | #endregion
14 |
15 | #region Properties, Indexers
16 |
17 | ///
18 | /// Gets the name.
19 | ///
20 | public string Name { get; }
21 |
22 | ///
23 | /// Gets the title.
24 | ///
25 | public string Title { get; }
26 |
27 | #endregion
28 | }
29 |
--------------------------------------------------------------------------------
/blazorbootstrap/EventArguments/ToastEventArgs.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public class ToastEventArgs : EventArgs
4 | {
5 | #region Constructors
6 |
7 | public ToastEventArgs(Guid toastId, string elementId)
8 | {
9 | ToastId = toastId;
10 | ElementId = elementId;
11 | }
12 |
13 | #endregion
14 |
15 | #region Properties, Indexers
16 |
17 | ///
18 | /// Gets the elementId.
19 | ///
20 | public string ElementId { get; set; }
21 |
22 | ///
23 | /// Gets the toast Id.
24 | ///
25 | public Guid ToastId { get; set; }
26 |
27 | #endregion
28 | }
29 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/AutoCompleteDataProviderDelegate.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | ///
4 | /// Data provider (delegate).
5 | ///
6 | public delegate Task> AutoCompleteDataProviderDelegate(AutoCompleteDataProviderRequest request);
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/AutoCompleteDataProviderResult.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public class AutoCompleteDataProviderResult
4 | {
5 | #region Properties, Indexers
6 |
7 | ///
8 | /// The provided items by the request.
9 | ///
10 | public IEnumerable? Data { get; init; }
11 |
12 | ///
13 | /// The total item count in the source (for pagination and infinite scroll).
14 | ///
15 | ///
16 | /// Default value is null.
17 | ///
18 | public int? TotalCount { get; init; }
19 |
20 | #endregion
21 | }
22 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/BreadcrumbItem.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public class BreadcrumbItem
4 | {
5 | #region Properties, Indexers
6 |
7 | public string? Href { get; set; }
8 | public bool IsCurrentPage { get; set; }
9 | public string? Text { get; set; }
10 |
11 | #endregion
12 | }
13 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/Charts/ChartData.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public class ChartData
4 | {
5 | #region Properties, Indexers
6 |
7 | [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
8 | public List? Datasets { get; set; }
9 |
10 | [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
11 | public List? Labels { get; set; }
12 |
13 | #endregion
14 | }
15 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/Charts/ChartDataset/BarChart/BarChartDatasetData.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public record BarChartDatasetData : ChartDatasetData
4 | {
5 | #region Constructors
6 |
7 | public BarChartDatasetData(string? datasetLabel, double data) : base(datasetLabel, data) { }
8 |
9 | #endregion
10 | }
11 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/Charts/ChartDataset/ChartDatasetData.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public interface IChartDatasetData { }
4 |
5 | public record ChartDatasetData : IChartDatasetData
6 | {
7 | #region Constructors
8 |
9 | public ChartDatasetData(string? datasetLabel, object? data)
10 | {
11 | DatasetLabel = datasetLabel;
12 | Data = data;
13 | }
14 |
15 | #endregion
16 |
17 | #region Properties, Indexers
18 |
19 | public string? DatasetLabel { get; init; }
20 |
21 | public object? Data { get; init; }
22 |
23 | #endregion
24 | }
25 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/Charts/ChartDataset/DoughnutChart/DoughnutChartDatasetData.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public record DoughnutChartDatasetData : ChartDatasetData
4 | {
5 | #region Constructors
6 |
7 | public DoughnutChartDatasetData(string? datasetLabel, double data, string? backgroundColor) : base(datasetLabel, data)
8 | {
9 | BackgroundColor = backgroundColor;
10 | }
11 |
12 | #endregion
13 |
14 | #region Properties, Indexers
15 |
16 | public string? BackgroundColor { get; init; }
17 |
18 | #endregion
19 | }
20 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/Charts/ChartDataset/LineChart/LineChartDatasetData.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public record LineChartDatasetData : ChartDatasetData
4 | {
5 | #region Constructors
6 |
7 | public LineChartDatasetData(string? datasetLabel, double data) : base(datasetLabel, data) { }
8 |
9 | #endregion
10 | }
11 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/Charts/ChartDataset/PieChart/PieChartDatasetData.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public record PieChartDatasetData : ChartDatasetData
4 | {
5 | #region Constructors
6 |
7 | public PieChartDatasetData(string? datasetLabel, double data, string? backgroundColor) : base(datasetLabel, data)
8 | {
9 | BackgroundColor = backgroundColor;
10 | }
11 |
12 | #endregion
13 |
14 | #region Properties, Indexers
15 |
16 | public string? BackgroundColor { get; init; }
17 |
18 | #endregion
19 | }
20 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/Charts/ChartDataset/ScatterChart/ScatterChartDataPoint.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public record ScatterChartDataPoint(double X, double Y);
4 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/Charts/ChartDataset/ScatterChart/ScatterChartDatasetData.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public record ScatterChartDatasetData : ChartDatasetData
4 | {
5 | #region Constructors
6 |
7 | public ScatterChartDatasetData(string? datasetLabel, ScatterChartDataPoint? data) : base(datasetLabel, data) { }
8 |
9 | #endregion
10 | }
11 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/Charts/ChartLabel.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public class ChartLabel { }
4 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/Charts/ChartOptions/DoughnutChartOptions.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public class DoughnutChartOptions : ChartOptions
4 | {
5 | #region Properties, Indexers
6 |
7 | public DoughnutChartPlugins Plugins { get; set; } = new();
8 |
9 | #endregion
10 | }
11 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/Charts/ChartOptions/PieChartOptions.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public class PieChartOptions : ChartOptions
4 | {
5 | #region Properties, Indexers
6 |
7 | public PieChartPlugins Plugins { get; set; } = new();
8 |
9 | #endregion
10 | }
11 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/Charts/ChartOptions/PolarAreaChartOptions.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public class PolarAreaChartOptions : ChartOptions
4 | {
5 | #region Properties, Indexers
6 |
7 | public PolarAreaChartPlugins Plugins { get; set; } = new();
8 |
9 | #endregion
10 | }
11 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/Charts/ChartOptions/RadarChartOptions.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public class RadarChartOptions : ChartOptions
4 | {
5 | }
6 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/Charts/ChartRGB.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public record ChartRGB(int R, int G, int B);
4 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/Charts/ChartRGBA.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public record ChartRGBA(int R, int G, int B, double A);
4 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/FilterOperatorInfo.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public record FilterOperatorInfo(string Symbol, string Text, FilterOperator FilterOperator);
4 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/GridDataProviderDelegate.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | ///
4 | /// Data provider (delegate).
5 | ///
6 | public delegate Task> GridDataProviderDelegate(GridDataProviderRequest request);
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/GridFiltersTranslationDelegate.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | ///
4 | /// Grid filters translation provider (delegate).
5 | ///
6 | public delegate Task> GridFiltersTranslationDelegate();
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/GridSettings.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public class GridSettings
4 | {
5 | #region Properties, Indexers
6 |
7 | ///
8 | /// Current filters.
9 | ///
10 | public IEnumerable? Filters { get; set; }
11 |
12 | ///
13 | /// Page number.
14 | ///
15 | public int PageNumber { get; set; }
16 |
17 | ///
18 | /// Size of the page.
19 | ///
20 | public int PageSize { get; set; }
21 |
22 | #endregion
23 | }
24 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/GridSettingsProviderDelegate.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | ///
4 | /// Grid settings provider (delegate).
5 | ///
6 | public delegate Task GridSettingsProviderDelegate();
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/Maps/GoogleMapCenter.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public record class GoogleMapCenter
4 | {
5 | #region Constructors
6 |
7 | public GoogleMapCenter(double latitude, double longitude)
8 | {
9 | Latitude = latitude;
10 | Longitude = longitude;
11 | }
12 |
13 | #endregion
14 |
15 | #region Properties, Indexers
16 |
17 | [JsonPropertyName("lat")]
18 | public double Latitude { get; }
19 |
20 | [JsonPropertyName("lng")]
21 | public double Longitude { get; }
22 |
23 | #endregion
24 | }
25 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/Maps/GoogleMapMarker.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public class GoogleMapMarker
4 | {
5 | #region Properties, Indexers
6 |
7 | [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
8 | public string? Content { get; set; }
9 |
10 | public PinElement? PinElement { get; set; }
11 |
12 | public GoogleMapMarkerPosition? Position { get; set; }
13 |
14 | [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
15 | public string? Title { get; set; }
16 |
17 | #endregion
18 | }
19 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/Maps/GoogleMapMarkerPosition.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public record class GoogleMapMarkerPosition
4 | {
5 | #region Constructors
6 |
7 | public GoogleMapMarkerPosition(double latitude, double longitude)
8 | {
9 | Latitude = latitude;
10 | Longitude = longitude;
11 | }
12 |
13 | #endregion
14 |
15 | #region Properties, Indexers
16 |
17 | [JsonPropertyName("lat")]
18 | public double Latitude { get; }
19 |
20 | [JsonPropertyName("lng")]
21 | public double Longitude { get; }
22 |
23 | #endregion
24 | }
25 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/MarkdownPattern.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public record MarkdownPattern(string Rule, string Template);
4 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/PdfViewerModel.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public class PdfViewerModel
4 | {
5 | public int PageNumber { get; set; } = 0;
6 | public int PagesCount { get; set; } = 0;
7 | }
8 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/Sidebar2DataProviderDelegate.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | ///
4 | /// Data provider (delegate).
5 | ///
6 | public delegate Task Sidebar2DataProviderDelegate(Sidebar2DataProviderRequest request);
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/Sidebar2DataProviderResult.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public class Sidebar2DataProviderResult
4 | {
5 | #region Properties, Indexers
6 |
7 | ///
8 | /// The provided items by the request.
9 | ///
10 | public IEnumerable? Data { get; init; }
11 |
12 | #endregion
13 | }
14 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/SidebarDataProviderDelegate.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | ///
4 | /// Data provider (delegate).
5 | ///
6 | public delegate Task SidebarDataProviderDelegate(SidebarDataProviderRequest request);
7 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/SidebarDataProviderResult.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public class SidebarDataProviderResult
4 | {
5 | #region Properties, Indexers
6 |
7 | ///
8 | /// The provided items by the request.
9 | ///
10 | public IEnumerable? Data { get; init; }
11 |
12 | #endregion
13 | }
14 |
--------------------------------------------------------------------------------
/blazorbootstrap/Models/SpinnerCircle.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public record SpinnerCircle(int Radius, int Cx, int Cy);
--------------------------------------------------------------------------------
/blazorbootstrap/Models/TickMark.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public class TickMark
4 | {
5 | public string? Label { get; set; }
6 | public string? Value { get; set; }
7 | }
8 |
--------------------------------------------------------------------------------
/blazorbootstrap/Services/BreadcrumbService.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public class BreadcrumbService
4 | {
5 | #region Events
6 |
7 | internal event Action> OnNotify = default!;
8 |
9 | #endregion
10 |
11 | #region Methods
12 |
13 | public void Notify(List items) => OnNotify?.Invoke(items);
14 |
15 | #endregion
16 | }
17 |
--------------------------------------------------------------------------------
/blazorbootstrap/Services/PreloadService.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public class PreloadService
4 | {
5 | #region Events
6 |
7 | internal event Action OnHide = default!;
8 | internal event Action OnShow = default!;
9 |
10 | #endregion
11 |
12 | #region Methods
13 |
14 | public void Hide() => OnHide?.Invoke();
15 |
16 | public void Show(SpinnerColor spinnerColor = SpinnerColor.Light, string? loadingText = null) => OnShow?.Invoke(spinnerColor, loadingText);
17 |
18 | #endregion
19 | }
20 |
--------------------------------------------------------------------------------
/blazorbootstrap/Services/ToastService.cs:
--------------------------------------------------------------------------------
1 | namespace BlazorBootstrap;
2 |
3 | public class ToastService
4 | {
5 | #region Events
6 |
7 | internal event Action OnNotify = default!;
8 |
9 | #endregion
10 |
11 | #region Methods
12 |
13 | public void Notify(ToastMessage toastMessage) => OnNotify?.Invoke(toastMessage);
14 |
15 | #endregion
16 | }
17 |
--------------------------------------------------------------------------------
/blazorbootstrap/Usings.cs:
--------------------------------------------------------------------------------
1 | global using Microsoft.AspNetCore.Components;
2 | global using Microsoft.AspNetCore.Components.Forms;
3 | global using Microsoft.AspNetCore.Components.Routing;
4 | global using Microsoft.AspNetCore.Components.Web;
5 | global using Microsoft.JSInterop;
6 | global using System.Drawing;
7 | global using System.Globalization;
8 | global using System.Linq.Expressions;
9 | global using System.Text.Json.Serialization;
10 | global using System.Text.RegularExpressions;
--------------------------------------------------------------------------------
/blazorbootstrap/_Imports.razor:
--------------------------------------------------------------------------------
1 | @using Microsoft.AspNetCore.Components.Forms;
2 | @using Microsoft.AspNetCore.Components.Routing;
3 | @using Microsoft.AspNetCore.Components.Web;
4 | @using BlazorBootstrap;
--------------------------------------------------------------------------------
/blazorbootstrap/wwwroot/icon/128X128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/blazorbootstrap/wwwroot/icon/128X128.png
--------------------------------------------------------------------------------
/docs/.gitignore:
--------------------------------------------------------------------------------
1 | # Dependencies
2 | /node_modules
3 |
4 | # Production
5 | /build
6 |
7 | # Generated files
8 | .docusaurus
9 | .cache-loader
10 |
11 | # Misc
12 | .DS_Store
13 | .env.local
14 | .env.development.local
15 | .env.test.local
16 | .env.production.local
17 |
18 | npm-debug.log*
19 | yarn-debug.log*
20 | yarn-error.log*
21 |
--------------------------------------------------------------------------------
/docs/babel.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
3 | };
4 |
--------------------------------------------------------------------------------
/docs/blog/2021-11-23-blazorbootstrap-0.0.1.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: BlazorBootstrap v0.0.1
3 | authors:
4 | name: Vikram Reddy
5 | title: Creator
6 | url: https://github.com/gvreddy04
7 | image_url: https://avatars.githubusercontent.com/u/2337067
8 | tags: [v0.0.1, blazorbootstrap]
9 | ---
10 |
11 | Welcome to BlazorBoostrap! This is our first release. We have created a few components used most frequently by the developers.
12 |
13 |
14 |
15 | ### New Components
16 |
17 | - Alert
18 | - Button
19 | - Icon
20 | - Modals
21 | - Offcanvas
22 | - Tooltip
23 |
--------------------------------------------------------------------------------
/docs/blog/2021-11-27-blazorbootstrap-0.0.2.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: BlazorBootstrap v0.0.2
3 | authors:
4 | name: Vikram Reddy
5 | title: Creator
6 | url: https://github.com/gvreddy04
7 | image_url: https://avatars.githubusercontent.com/u/2337067
8 | tags: [v0.0.2, blazorbootstrap]
9 | ---
10 |
11 | In this release, our focus was more on documenting the individual components.
12 |
13 |
14 |
15 | Initial documentation is available for the below components:
16 |
17 | - Alert
18 | - Button
19 | - Icon
20 | - Modal
21 | - Offcanvas
22 | - Tooltip
--------------------------------------------------------------------------------
/docs/blog/2021-12-08-blazorbootstrap-0.0.3.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: BlazorBootstrap v0.0.3
3 | authors:
4 | name: Vikram Reddy
5 | title: Creator
6 | url: https://github.com/gvreddy04
7 | image_url: https://avatars.githubusercontent.com/u/2337067
8 | tags: [v0.0.3, blazorbootstrap]
9 | ---
10 |
11 | In this release, we added the Toasts component and improved documentation.
12 |
13 |
14 |
15 | ### New Component
16 |
17 | - Toasts
--------------------------------------------------------------------------------
/docs/blog/2021-12-21-blazorbootstrap-0.1.1.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: BlazorBootstrap v0.1.1
3 | authors:
4 | name: Vikram Reddy
5 | title: Creator
6 | url: https://github.com/gvreddy04
7 | image_url: https://avatars.githubusercontent.com/u/2337067
8 | tags: [v0.1.1, blazorbootstrap, alert]
9 | ---
10 |
11 | In this release, we made minor updates to the Alert component parameter. Also, docs and demos are updated.
12 |
13 |
14 |
15 | ### Component changes
16 |
17 | - Alert
18 | - Parameter renamed from Dismisable to Dismissable
19 | - Docs update
20 | - Demos update
21 |
22 | ### Demo Website
23 |
24 | - https://demos.getblazorbootstrap.com/
--------------------------------------------------------------------------------
/docs/blog/2022-04-30-blazorbootstrap-0.2.3.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: BlazorBootstrap v0.2.3
3 | authors:
4 | name: Vikram Reddy
5 | title: Creator
6 | url: https://github.com/gvreddy04
7 | image_url: https://avatars.githubusercontent.com/u/2337067
8 | tags: [v0.2.3, blazorbootstrap, placeholders]
9 | ---
10 |
11 | We are excited to release `0.2.3` with a new component and minor updates.
12 |
13 |
14 |
15 | ### Updates
16 |
17 | - New `Tabs` component
18 | - Other improvements
19 |
20 | ### Links
21 |
22 | - [Demo Website](https://demos.getblazorbootstrap.com/)
23 | - [Tabs Component](https://demos.getblazorbootstrap.com/tabs)
--------------------------------------------------------------------------------
/docs/blog/2022-06-19-blazorbootstrap-0.2.4.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: BlazorBootstrap v0.2.4
3 | authors:
4 | name: Vikram Reddy
5 | title: Creator
6 | url: https://github.com/gvreddy04
7 | image_url: https://avatars.githubusercontent.com/u/2337067
8 | tags: [v0.2.4, blazorbootstrap, placeholders]
9 | ---
10 |
11 | We are excited to release `0.2.4` with bug fixes and docs enhancement.
12 |
13 |
14 |
15 | ### Updates
16 |
17 | - `Alert` component bug fixes
18 | - Docs enhancement
19 |
20 | ### Links
21 |
22 | - [Demo Website](https://demos.getblazorbootstrap.com/)
23 | - [Alert Component](https://getblazorbootstrap.com/docs/components/alerts)
--------------------------------------------------------------------------------
/docs/blog/2022-09-17-blazorbootstrap-0.4.2.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: BlazorBootstrap v0.4.2
3 | authors:
4 | name: Vikram Reddy
5 | title: Creator
6 | url: https://github.com/gvreddy04
7 | image_url: https://avatars.githubusercontent.com/u/2337067
8 | tags: [v0.4.2, blazorbootstrap, autocomplete]
9 | ---
10 |
11 | We are excited to release `0.4.2` with bug fixes.
12 |
13 | ### Bug fixes
14 |
15 | - `AutoComplete` component bug fix
16 |
17 | ### Links
18 |
19 | - [Demo Website](https://demos.getblazorbootstrap.com/)
20 | - [Blazor AutoComplete Component Documentation](https://getblazorbootstrap.com/docs/components/autocomplete)
--------------------------------------------------------------------------------
/docs/blog/authors.yml:
--------------------------------------------------------------------------------
1 | Vikram:
2 | name: Vikram Reddy Gaddam
3 | title: Creator of BlazorBootstrap
4 | url: https://github.com/gvreddy04
5 | image_url: https://avatars.githubusercontent.com/u/2337067
6 |
7 | Vijay:
8 | name: Vijay Reddy Gaddam
9 | title: BlazorBootstrap Maintainer
10 | url: https://github.com/gvreddy579
11 |
12 |
--------------------------------------------------------------------------------
/docs/carbon-ad.mdx:
--------------------------------------------------------------------------------
1 | import CarbonAd from '/src/js/carbon-ad.js'
2 |
3 |
4 |
--------------------------------------------------------------------------------
/docs/docs/01-getting-started/_category_.json:
--------------------------------------------------------------------------------
1 | {
2 | "label": "Getting Started",
3 | "position": 1
4 | }
5 |
--------------------------------------------------------------------------------
/docs/docs/02-layout/_category_.json:
--------------------------------------------------------------------------------
1 | {
2 | "label": "Layout",
3 | "position": 2
4 | }
5 |
--------------------------------------------------------------------------------
/docs/docs/03-content/_category_.json:
--------------------------------------------------------------------------------
1 | {
2 | "label": "Content",
3 | "position": 3
4 | }
5 |
--------------------------------------------------------------------------------
/docs/docs/04-forms/_category_.json:
--------------------------------------------------------------------------------
1 | {
2 | "label": "Forms",
3 | "position": 4
4 | }
5 |
--------------------------------------------------------------------------------
/docs/docs/05-components/_category_.json:
--------------------------------------------------------------------------------
1 | {
2 | "label": "Components",
3 | "position": 5
4 | }
5 |
--------------------------------------------------------------------------------
/docs/docs/06-data-visualization/_category_.json:
--------------------------------------------------------------------------------
1 | {
2 | "label": "Data Visualization",
3 | "position": 6
4 | }
5 |
--------------------------------------------------------------------------------
/docs/docs/07-services/_category_.json:
--------------------------------------------------------------------------------
1 | {
2 | "label": "Services",
3 | "position": 7
4 | }
5 |
--------------------------------------------------------------------------------
/docs/src/components/HomepageFeatures.module.css:
--------------------------------------------------------------------------------
1 | .features {
2 | display: flex;
3 | align-items: center;
4 | padding: 2rem 0;
5 | width: 100%;
6 | }
7 |
8 | .featureSvg {
9 | height: 200px;
10 | width: 200px;
11 | }
12 |
--------------------------------------------------------------------------------
/docs/src/pages/index.module.css:
--------------------------------------------------------------------------------
1 | /**
2 | * CSS files with the .module.css suffix will be treated as CSS modules
3 | * and scoped locally.
4 | */
5 |
6 | .heroBanner {
7 | padding: 4rem 0;
8 | text-align: center;
9 | position: relative;
10 | overflow: hidden;
11 | }
12 |
13 | @media screen and (max-width: 966px) {
14 | .heroBanner {
15 | padding: 2rem;
16 | }
17 | }
18 |
19 | .buttons {
20 | display: flex;
21 | align-items: center;
22 | justify-content: center;
23 | }
24 |
25 | .mb_3{
26 | margin-bottom: 3rem;
27 | }
--------------------------------------------------------------------------------
/docs/static/.nojekyll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/docs/static/.nojekyll
--------------------------------------------------------------------------------
/docs/static/CNAME:
--------------------------------------------------------------------------------
1 | docs.blazorbootstrap.com
--------------------------------------------------------------------------------
/docs/static/img/blazorbootstrap.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/docs/static/img/blazorbootstrap.png
--------------------------------------------------------------------------------
/docs/static/img/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/docs/static/img/favicon.ico
--------------------------------------------------------------------------------
/docs/static/img/logo/128X128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/docs/static/img/logo/128X128.png
--------------------------------------------------------------------------------
/docs/static/img/logo/150X150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/docs/static/img/logo/150X150.png
--------------------------------------------------------------------------------
/docs/static/img/logo/16X16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/docs/static/img/logo/16X16.png
--------------------------------------------------------------------------------
/docs/static/img/logo/180X180.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/docs/static/img/logo/180X180.png
--------------------------------------------------------------------------------
/docs/static/img/logo/192X192.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/docs/static/img/logo/192X192.png
--------------------------------------------------------------------------------
/docs/static/img/logo/24X24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/docs/static/img/logo/24X24.png
--------------------------------------------------------------------------------
/docs/static/img/logo/256X256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/docs/static/img/logo/256X256.png
--------------------------------------------------------------------------------
/docs/static/img/logo/310X310.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/docs/static/img/logo/310X310.png
--------------------------------------------------------------------------------
/docs/static/img/logo/32X32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/docs/static/img/logo/32X32.png
--------------------------------------------------------------------------------
/docs/static/img/logo/48X48.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/docs/static/img/logo/48X48.png
--------------------------------------------------------------------------------
/docs/static/img/logo/64X64.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/docs/static/img/logo/64X64.png
--------------------------------------------------------------------------------
/docs/static/img/logo/96X96.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/docs/static/img/logo/96X96.png
--------------------------------------------------------------------------------
/docs/static/img/tutorial/docsVersionDropdown.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/docs/static/img/tutorial/docsVersionDropdown.png
--------------------------------------------------------------------------------
/docs/static/img/tutorial/localeDropdown.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vikramlearning/blazorbootstrap/2896fa6000829b32276be106981cd2398295e42e/docs/static/img/tutorial/localeDropdown.png
--------------------------------------------------------------------------------