diff --git a/.gitignore b/.gitignore index de49b8b..4aceb65 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,6 @@ artifacts/ .nuke/temp temp/ .vs/ -.vs \ No newline at end of file +.vs +.idea +.idea/* \ No newline at end of file diff --git a/.vs/ProjectEvaluation/simpleblazormultiselect.metadata.v7.bin b/.vs/ProjectEvaluation/simpleblazormultiselect.metadata.v7.bin deleted file mode 100644 index f279fd7..0000000 Binary files a/.vs/ProjectEvaluation/simpleblazormultiselect.metadata.v7.bin and /dev/null differ diff --git a/.vs/ProjectEvaluation/simpleblazormultiselect.projects.v7.bin b/.vs/ProjectEvaluation/simpleblazormultiselect.projects.v7.bin deleted file mode 100644 index 454c547..0000000 Binary files a/.vs/ProjectEvaluation/simpleblazormultiselect.projects.v7.bin and /dev/null differ diff --git a/.vs/SimpleBlazorMultiselect/DesignTimeBuild/.dtbcache.v2 b/.vs/SimpleBlazorMultiselect/DesignTimeBuild/.dtbcache.v2 deleted file mode 100644 index 69dfdff..0000000 Binary files a/.vs/SimpleBlazorMultiselect/DesignTimeBuild/.dtbcache.v2 and /dev/null differ diff --git a/.vs/SimpleBlazorMultiselect/FileContentIndex/521afcf7-e3f0-4867-af5b-9ea40655bba0.vsidx b/.vs/SimpleBlazorMultiselect/FileContentIndex/521afcf7-e3f0-4867-af5b-9ea40655bba0.vsidx deleted file mode 100644 index 7e04949..0000000 Binary files a/.vs/SimpleBlazorMultiselect/FileContentIndex/521afcf7-e3f0-4867-af5b-9ea40655bba0.vsidx and /dev/null differ diff --git a/.vs/SimpleBlazorMultiselect/FileContentIndex/52f2e013-6fa4-466f-a058-1fbd281631e2.vsidx b/.vs/SimpleBlazorMultiselect/FileContentIndex/52f2e013-6fa4-466f-a058-1fbd281631e2.vsidx deleted file mode 100644 index 08aeb68..0000000 Binary files a/.vs/SimpleBlazorMultiselect/FileContentIndex/52f2e013-6fa4-466f-a058-1fbd281631e2.vsidx and /dev/null differ diff --git a/.vs/SimpleBlazorMultiselect/FileContentIndex/7a7af007-2658-4f50-9f2d-3e9a246df53e.vsidx b/.vs/SimpleBlazorMultiselect/FileContentIndex/7a7af007-2658-4f50-9f2d-3e9a246df53e.vsidx deleted file mode 100644 index c9abd7b..0000000 Binary files a/.vs/SimpleBlazorMultiselect/FileContentIndex/7a7af007-2658-4f50-9f2d-3e9a246df53e.vsidx and /dev/null differ diff --git a/.vs/SimpleBlazorMultiselect/config/applicationhost.config b/.vs/SimpleBlazorMultiselect/config/applicationhost.config deleted file mode 100644 index 269dc55..0000000 --- a/.vs/SimpleBlazorMultiselect/config/applicationhost.config +++ /dev/null @@ -1,1021 +0,0 @@ - - - - - - - - -
-
-
-
-
-
-
-
- - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
- -
-
-
-
-
-
- -
-
-
-
-
- -
-
-
- -
-
- -
-
- -
-
-
- - -
-
-
-
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.vs/SimpleBlazorMultiselect/v17/.futdcache.v2 b/.vs/SimpleBlazorMultiselect/v17/.futdcache.v2 deleted file mode 100644 index 6b97c30..0000000 Binary files a/.vs/SimpleBlazorMultiselect/v17/.futdcache.v2 and /dev/null differ diff --git a/.vs/SimpleBlazorMultiselect/v17/.suo b/.vs/SimpleBlazorMultiselect/v17/.suo deleted file mode 100644 index 17bf233..0000000 Binary files a/.vs/SimpleBlazorMultiselect/v17/.suo and /dev/null differ diff --git a/.vs/SimpleBlazorMultiselect/v17/DocumentLayout.json b/.vs/SimpleBlazorMultiselect/v17/DocumentLayout.json deleted file mode 100644 index 5313972..0000000 --- a/.vs/SimpleBlazorMultiselect/v17/DocumentLayout.json +++ /dev/null @@ -1,226 +0,0 @@ -{ - "Version": 1, - "WorkspaceRootPath": "E:\\Projects\\dotnet\\BlazorMultiSelectDropdown\\SimpleBlazorMultiselect_RazorLibraryComponent\\", - "Documents": [ - { - "AbsoluteMoniker": "D:0:0:{025632E8-CB51-4E49-B47C-B9C75D35A874}|src\\SimpleBlazorMultiselect.Demo\\SimpleBlazorMultiselect.Demo.csproj|e:\\projects\\dotnet\\blazormultiselectdropdown\\simpleblazormultiselect_razorlibrarycomponent\\src\\simpleblazormultiselect.demo\\layout\\navmenu.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}", - "RelativeMoniker": "D:0:0:{025632E8-CB51-4E49-B47C-B9C75D35A874}|src\\SimpleBlazorMultiselect.Demo\\SimpleBlazorMultiselect.Demo.csproj|solutionrelative:src\\simpleblazormultiselect.demo\\layout\\navmenu.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}" - }, - { - "AbsoluteMoniker": "D:0:0:{025632E8-CB51-4E49-B47C-B9C75D35A874}|src\\SimpleBlazorMultiselect.Demo\\SimpleBlazorMultiselect.Demo.csproj|e:\\projects\\dotnet\\blazormultiselectdropdown\\simpleblazormultiselect_razorlibrarycomponent\\src\\simpleblazormultiselect.demo\\pages\\basicdropdown.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}", - "RelativeMoniker": "D:0:0:{025632E8-CB51-4E49-B47C-B9C75D35A874}|src\\SimpleBlazorMultiselect.Demo\\SimpleBlazorMultiselect.Demo.csproj|solutionrelative:src\\simpleblazormultiselect.demo\\pages\\basicdropdown.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}" - }, - { - "AbsoluteMoniker": "D:0:0:{025632E8-CB51-4E49-B47C-B9C75D35A874}|src\\SimpleBlazorMultiselect.Demo\\SimpleBlazorMultiselect.Demo.csproj|e:\\projects\\dotnet\\blazormultiselectdropdown\\simpleblazormultiselect_razorlibrarycomponent\\src\\simpleblazormultiselect.demo\\pages\\objectbinding.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}", - "RelativeMoniker": "D:0:0:{025632E8-CB51-4E49-B47C-B9C75D35A874}|src\\SimpleBlazorMultiselect.Demo\\SimpleBlazorMultiselect.Demo.csproj|solutionrelative:src\\simpleblazormultiselect.demo\\pages\\objectbinding.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}" - }, - { - "AbsoluteMoniker": "D:0:0:{025632E8-CB51-4E49-B47C-B9C75D35A874}|src\\SimpleBlazorMultiselect.Demo\\SimpleBlazorMultiselect.Demo.csproj|e:\\projects\\dotnet\\blazormultiselectdropdown\\simpleblazormultiselect_razorlibrarycomponent\\src\\simpleblazormultiselect.demo\\models\\person.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{025632E8-CB51-4E49-B47C-B9C75D35A874}|src\\SimpleBlazorMultiselect.Demo\\SimpleBlazorMultiselect.Demo.csproj|solutionrelative:src\\simpleblazormultiselect.demo\\models\\person.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{025632E8-CB51-4E49-B47C-B9C75D35A874}|src\\SimpleBlazorMultiselect.Demo\\SimpleBlazorMultiselect.Demo.csproj|e:\\projects\\dotnet\\blazormultiselectdropdown\\simpleblazormultiselect_razorlibrarycomponent\\src\\simpleblazormultiselect.demo\\models\\simpleitem.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{025632E8-CB51-4E49-B47C-B9C75D35A874}|src\\SimpleBlazorMultiselect.Demo\\SimpleBlazorMultiselect.Demo.csproj|solutionrelative:src\\simpleblazormultiselect.demo\\models\\simpleitem.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{025632E8-CB51-4E49-B47C-B9C75D35A874}|src\\SimpleBlazorMultiselect.Demo\\SimpleBlazorMultiselect.Demo.csproj|e:\\projects\\dotnet\\blazormultiselectdropdown\\simpleblazormultiselect_razorlibrarycomponent\\src\\simpleblazormultiselect.demo\\pages\\customstyling.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}", - "RelativeMoniker": "D:0:0:{025632E8-CB51-4E49-B47C-B9C75D35A874}|src\\SimpleBlazorMultiselect.Demo\\SimpleBlazorMultiselect.Demo.csproj|solutionrelative:src\\simpleblazormultiselect.demo\\pages\\customstyling.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}" - }, - { - "AbsoluteMoniker": "D:0:0:{1F3DCC28-1FD5-4F3C-B43D-564A44DBE398}|src\\SimpleBlazorMultiselect\\SimpleBlazorMultiselect.csproj|e:\\projects\\dotnet\\blazormultiselectdropdown\\simpleblazormultiselect_razorlibrarycomponent\\src\\simpleblazormultiselect\\simplemultiselect.razor.css||{A5401142-F49D-43DB-90B1-F57BA349E55C}", - "RelativeMoniker": "D:0:0:{1F3DCC28-1FD5-4F3C-B43D-564A44DBE398}|src\\SimpleBlazorMultiselect\\SimpleBlazorMultiselect.csproj|solutionrelative:src\\simpleblazormultiselect\\simplemultiselect.razor.css||{A5401142-F49D-43DB-90B1-F57BA349E55C}" - }, - { - "AbsoluteMoniker": "D:0:0:{1F3DCC28-1FD5-4F3C-B43D-564A44DBE398}|src\\SimpleBlazorMultiselect\\SimpleBlazorMultiselect.csproj|e:\\projects\\dotnet\\blazormultiselectdropdown\\simpleblazormultiselect_razorlibrarycomponent\\src\\simpleblazormultiselect\\simplemultiselect.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}", - "RelativeMoniker": "D:0:0:{1F3DCC28-1FD5-4F3C-B43D-564A44DBE398}|src\\SimpleBlazorMultiselect\\SimpleBlazorMultiselect.csproj|solutionrelative:src\\simpleblazormultiselect\\simplemultiselect.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}" - }, - { - "AbsoluteMoniker": "D:0:0:{1F3DCC28-1FD5-4F3C-B43D-564A44DBE398}|src\\SimpleBlazorMultiselect\\SimpleBlazorMultiselect.csproj|e:\\projects\\dotnet\\blazormultiselectdropdown\\simpleblazormultiselect_razorlibrarycomponent\\src\\simpleblazormultiselect\\simplemultiselect.razor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{1F3DCC28-1FD5-4F3C-B43D-564A44DBE398}|src\\SimpleBlazorMultiselect\\SimpleBlazorMultiselect.csproj|solutionrelative:src\\simpleblazormultiselect\\simplemultiselect.razor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - }, - { - "AbsoluteMoniker": "D:0:0:{025632E8-CB51-4E49-B47C-B9C75D35A874}|src\\SimpleBlazorMultiselect.Demo\\SimpleBlazorMultiselect.Demo.csproj|e:\\projects\\dotnet\\blazormultiselectdropdown\\simpleblazormultiselect_razorlibrarycomponent\\src\\simpleblazormultiselect.demo\\pages\\customstyling.razor.css||{A5401142-F49D-43DB-90B1-F57BA349E55C}", - "RelativeMoniker": "D:0:0:{025632E8-CB51-4E49-B47C-B9C75D35A874}|src\\SimpleBlazorMultiselect.Demo\\SimpleBlazorMultiselect.Demo.csproj|solutionrelative:src\\simpleblazormultiselect.demo\\pages\\customstyling.razor.css||{A5401142-F49D-43DB-90B1-F57BA349E55C}" - }, - { - "AbsoluteMoniker": "D:0:0:{025632E8-CB51-4E49-B47C-B9C75D35A874}|src\\SimpleBlazorMultiselect.Demo\\SimpleBlazorMultiselect.Demo.csproj|e:\\projects\\dotnet\\blazormultiselectdropdown\\simpleblazormultiselect_razorlibrarycomponent\\src\\simpleblazormultiselect.demo\\wwwroot\\index.html||{40D31677-CBC0-4297-A9EF-89D907823A98}", - "RelativeMoniker": "D:0:0:{025632E8-CB51-4E49-B47C-B9C75D35A874}|src\\SimpleBlazorMultiselect.Demo\\SimpleBlazorMultiselect.Demo.csproj|solutionrelative:src\\simpleblazormultiselect.demo\\wwwroot\\index.html||{40D31677-CBC0-4297-A9EF-89D907823A98}" - }, - { - "AbsoluteMoniker": "D:0:0:{025632E8-CB51-4E49-B47C-B9C75D35A874}|src\\SimpleBlazorMultiselect.Demo\\SimpleBlazorMultiselect.Demo.csproj|e:\\projects\\dotnet\\blazormultiselectdropdown\\simpleblazormultiselect_razorlibrarycomponent\\src\\simpleblazormultiselect.demo\\app.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}", - "RelativeMoniker": "D:0:0:{025632E8-CB51-4E49-B47C-B9C75D35A874}|src\\SimpleBlazorMultiselect.Demo\\SimpleBlazorMultiselect.Demo.csproj|solutionrelative:src\\simpleblazormultiselect.demo\\app.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}" - } - ], - "DocumentGroupContainers": [ - { - "Orientation": 0, - "VerticalTabListWidth": 256, - "DocumentGroups": [ - { - "DockedWidth": 200, - "SelectedChildIndex": 2, - "Children": [ - { - "$type": "Document", - "DocumentIndex": 7, - "Title": "SimpleMultiselect.razor", - "DocumentMoniker": "E:\\Projects\\dotnet\\BlazorMultiSelectDropdown\\SimpleBlazorMultiselect_RazorLibraryComponent\\src\\SimpleBlazorMultiselect\\SimpleMultiselect.razor", - "RelativeDocumentMoniker": "src\\SimpleBlazorMultiselect\\SimpleMultiselect.razor", - "ToolTip": "E:\\Projects\\dotnet\\BlazorMultiSelectDropdown\\SimpleBlazorMultiselect_RazorLibraryComponent\\src\\SimpleBlazorMultiselect\\SimpleMultiselect.razor", - "RelativeToolTip": "src\\SimpleBlazorMultiselect\\SimpleMultiselect.razor", - "ViewState": "AQIAAAAAAAAAAAAAAAAAAAYAAAA0AAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000759|", - "WhenOpened": "2025-03-06T13:17:43.243Z", - "IsPinned": true, - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 8, - "Title": "SimpleMultiselect.razor.cs", - "DocumentMoniker": "E:\\Projects\\dotnet\\BlazorMultiSelectDropdown\\SimpleBlazorMultiselect_RazorLibraryComponent\\src\\SimpleBlazorMultiselect\\SimpleMultiselect.razor.cs", - "RelativeDocumentMoniker": "src\\SimpleBlazorMultiselect\\SimpleMultiselect.razor.cs", - "ToolTip": "E:\\Projects\\dotnet\\BlazorMultiSelectDropdown\\SimpleBlazorMultiselect_RazorLibraryComponent\\src\\SimpleBlazorMultiselect\\SimpleMultiselect.razor.cs", - "RelativeToolTip": "src\\SimpleBlazorMultiselect\\SimpleMultiselect.razor.cs", - "ViewState": "AQIAAGAAAAAAAAAAAADwv4gAAAABAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-03-06T13:17:53.941Z", - "IsPinned": true, - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 0, - "Title": "NavMenu.razor", - "DocumentMoniker": "E:\\Projects\\dotnet\\BlazorMultiSelectDropdown\\SimpleBlazorMultiselect_RazorLibraryComponent\\src\\SimpleBlazorMultiselect.Demo\\Layout\\NavMenu.razor", - "RelativeDocumentMoniker": "src\\SimpleBlazorMultiselect.Demo\\Layout\\NavMenu.razor", - "ToolTip": "E:\\Projects\\dotnet\\BlazorMultiSelectDropdown\\SimpleBlazorMultiselect_RazorLibraryComponent\\src\\SimpleBlazorMultiselect.Demo\\Layout\\NavMenu.razor", - "RelativeToolTip": "src\\SimpleBlazorMultiselect.Demo\\Layout\\NavMenu.razor", - "ViewState": "AQIAADUAAAAAAAAAAAAIwEoAAABUAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000759|", - "WhenOpened": "2025-03-06T13:54:22.492Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 1, - "Title": "BasicDropdown.razor", - "DocumentMoniker": "E:\\Projects\\dotnet\\BlazorMultiSelectDropdown\\SimpleBlazorMultiselect_RazorLibraryComponent\\src\\SimpleBlazorMultiselect.Demo\\Pages\\BasicDropdown.razor", - "RelativeDocumentMoniker": "src\\SimpleBlazorMultiselect.Demo\\Pages\\BasicDropdown.razor", - "ToolTip": "E:\\Projects\\dotnet\\BlazorMultiSelectDropdown\\SimpleBlazorMultiselect_RazorLibraryComponent\\src\\SimpleBlazorMultiselect.Demo\\Pages\\BasicDropdown.razor", - "RelativeToolTip": "src\\SimpleBlazorMultiselect.Demo\\Pages\\BasicDropdown.razor", - "ViewState": "AQIAAAAAAAAAAAAAAAAAAAAAAAAVAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000759|", - "WhenOpened": "2025-03-06T13:21:37.266Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 3, - "Title": "Person.cs", - "DocumentMoniker": "E:\\Projects\\dotnet\\BlazorMultiSelectDropdown\\SimpleBlazorMultiselect_RazorLibraryComponent\\src\\SimpleBlazorMultiselect.Demo\\Models\\Person.cs", - "RelativeDocumentMoniker": "src\\SimpleBlazorMultiselect.Demo\\Models\\Person.cs", - "ToolTip": "E:\\Projects\\dotnet\\BlazorMultiSelectDropdown\\SimpleBlazorMultiselect_RazorLibraryComponent\\src\\SimpleBlazorMultiselect.Demo\\Models\\Person.cs", - "RelativeToolTip": "src\\SimpleBlazorMultiselect.Demo\\Models\\Person.cs", - "ViewState": "AQIAAAAAAAAAAAAAAAAAAAUAAAAkAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-03-06T13:52:39.332Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 4, - "Title": "SimpleItem.cs", - "DocumentMoniker": "E:\\Projects\\dotnet\\BlazorMultiSelectDropdown\\SimpleBlazorMultiselect_RazorLibraryComponent\\src\\SimpleBlazorMultiselect.Demo\\Models\\SimpleItem.cs", - "RelativeDocumentMoniker": "src\\SimpleBlazorMultiselect.Demo\\Models\\SimpleItem.cs", - "ToolTip": "E:\\Projects\\dotnet\\BlazorMultiSelectDropdown\\SimpleBlazorMultiselect_RazorLibraryComponent\\src\\SimpleBlazorMultiselect.Demo\\Models\\SimpleItem.cs", - "RelativeToolTip": "src\\SimpleBlazorMultiselect.Demo\\Models\\SimpleItem.cs", - "ViewState": "AQIAAAAAAAAAAAAAAAAAAAEAAAAAAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-03-06T13:52:26.725Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 2, - "Title": "ObjectBinding.razor", - "DocumentMoniker": "E:\\Projects\\dotnet\\BlazorMultiSelectDropdown\\SimpleBlazorMultiselect_RazorLibraryComponent\\src\\SimpleBlazorMultiselect.Demo\\Pages\\ObjectBinding.razor", - "RelativeDocumentMoniker": "src\\SimpleBlazorMultiselect.Demo\\Pages\\ObjectBinding.razor", - "ToolTip": "E:\\Projects\\dotnet\\BlazorMultiSelectDropdown\\SimpleBlazorMultiselect_RazorLibraryComponent\\src\\SimpleBlazorMultiselect.Demo\\Pages\\ObjectBinding.razor", - "RelativeToolTip": "src\\SimpleBlazorMultiselect.Demo\\Pages\\ObjectBinding.razor", - "ViewState": "AQIAAAAAAAAAAAAAAAAAAAAAAAAVAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000759|", - "WhenOpened": "2025-03-06T13:51:20.529Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 9, - "Title": "CustomStyling.razor.css", - "DocumentMoniker": "E:\\Projects\\dotnet\\BlazorMultiSelectDropdown\\SimpleBlazorMultiselect_RazorLibraryComponent\\src\\SimpleBlazorMultiselect.Demo\\Pages\\CustomStyling.razor.css", - "RelativeDocumentMoniker": "src\\SimpleBlazorMultiselect.Demo\\Pages\\CustomStyling.razor.css", - "ToolTip": "E:\\Projects\\dotnet\\BlazorMultiSelectDropdown\\SimpleBlazorMultiselect_RazorLibraryComponent\\src\\SimpleBlazorMultiselect.Demo\\Pages\\CustomStyling.razor.css", - "RelativeToolTip": "src\\SimpleBlazorMultiselect.Demo\\Pages\\CustomStyling.razor.css", - "ViewState": "AQIAAAAAAAAAAAAAAAAAAAsAAAAXAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003000|", - "WhenOpened": "2025-03-06T13:30:58.066Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 5, - "Title": "CustomStyling.razor", - "DocumentMoniker": "E:\\Projects\\dotnet\\BlazorMultiSelectDropdown\\SimpleBlazorMultiselect_RazorLibraryComponent\\src\\SimpleBlazorMultiselect.Demo\\Pages\\CustomStyling.razor", - "RelativeDocumentMoniker": "src\\SimpleBlazorMultiselect.Demo\\Pages\\CustomStyling.razor", - "ToolTip": "E:\\Projects\\dotnet\\BlazorMultiSelectDropdown\\SimpleBlazorMultiselect_RazorLibraryComponent\\src\\SimpleBlazorMultiselect.Demo\\Pages\\CustomStyling.razor", - "RelativeToolTip": "src\\SimpleBlazorMultiselect.Demo\\Pages\\CustomStyling.razor", - "ViewState": "AQIAAAAAAAAAAAAAAAAAAAoAAAAwAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000759|", - "WhenOpened": "2025-03-06T13:30:46.694Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 6, - "Title": "SimpleMultiselect.razor.css", - "DocumentMoniker": "E:\\Projects\\dotnet\\BlazorMultiSelectDropdown\\SimpleBlazorMultiselect_RazorLibraryComponent\\src\\SimpleBlazorMultiselect\\SimpleMultiselect.razor.css", - "RelativeDocumentMoniker": "src\\SimpleBlazorMultiselect\\SimpleMultiselect.razor.css", - "ToolTip": "E:\\Projects\\dotnet\\BlazorMultiSelectDropdown\\SimpleBlazorMultiselect_RazorLibraryComponent\\src\\SimpleBlazorMultiselect\\SimpleMultiselect.razor.css", - "RelativeToolTip": "src\\SimpleBlazorMultiselect\\SimpleMultiselect.razor.css", - "ViewState": "AQIAAAMAAAAAAAAAAAAAABwAAAABAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003000|", - "WhenOpened": "2025-03-06T13:18:09.605Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 10, - "Title": "index.html", - "DocumentMoniker": "E:\\Projects\\dotnet\\BlazorMultiSelectDropdown\\SimpleBlazorMultiselect_RazorLibraryComponent\\src\\SimpleBlazorMultiselect.Demo\\wwwroot\\index.html", - "RelativeDocumentMoniker": "src\\SimpleBlazorMultiselect.Demo\\wwwroot\\index.html", - "ToolTip": "E:\\Projects\\dotnet\\BlazorMultiSelectDropdown\\SimpleBlazorMultiselect_RazorLibraryComponent\\src\\SimpleBlazorMultiselect.Demo\\wwwroot\\index.html", - "RelativeToolTip": "src\\SimpleBlazorMultiselect.Demo\\wwwroot\\index.html", - "ViewState": "AQIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001512|", - "WhenOpened": "2025-03-06T13:16:04.926Z", - "EditorCaption": "" - }, - { - "$type": "Document", - "DocumentIndex": 11, - "Title": "App.razor", - "DocumentMoniker": "E:\\Projects\\dotnet\\BlazorMultiSelectDropdown\\SimpleBlazorMultiselect_RazorLibraryComponent\\src\\SimpleBlazorMultiselect.Demo\\App.razor", - "RelativeDocumentMoniker": "src\\SimpleBlazorMultiselect.Demo\\App.razor", - "ToolTip": "E:\\Projects\\dotnet\\BlazorMultiSelectDropdown\\SimpleBlazorMultiselect_RazorLibraryComponent\\src\\SimpleBlazorMultiselect.Demo\\App.razor", - "RelativeToolTip": "src\\SimpleBlazorMultiselect.Demo\\App.razor", - "ViewState": "AQIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000759|", - "WhenOpened": "2025-03-06T13:16:01.897Z", - "EditorCaption": "" - } - ] - } - ] - } - ] -} \ No newline at end of file diff --git a/README.md b/README.md index f426780..bab59ab 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ dotnet add package SimpleBlazorMultiselect See the project `SimpleBlazorMultiselectDemo` for more examples of how to use the component, or take a look at the properties page on the [wiki](https://github.com/BorisGerretzen/SimpleBlazorMultiselect/wiki/Properties). You can also view a live demo [here](https://borisgerretzen.github.io/SimpleBlazorMultiselect/). +To view the source code of the demo, take a look in the `demo` folder of this repository. Below are some short examples, they all use the following `@code` block: ```csharp diff --git a/SimpleBlazorMultiselect.sln b/SimpleBlazorMultiselect.sln index bcfdd65..d0c60d6 100644 --- a/SimpleBlazorMultiselect.sln +++ b/SimpleBlazorMultiselect.sln @@ -1,37 +1,105 @@ -Microsoft Visual Studio Solution File, Format Version 12.00 + +Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.9.34728.123 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "_build", "build\_build.csproj", "{49DA0B6E-92AE-41C0-8763-16D0303F2015}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SimpleBlazorMultiselect", "src\SimpleBlazorMultiselect\SimpleBlazorMultiselect.csproj", "{1F3DCC28-1FD5-4F3C-B43D-564A44DBE398}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{827E0CD3-B72D-47B6-A68D-7590B98EB39B}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SimpleBlazorMultiselect.Demo", "src\SimpleBlazorMultiselect.Demo\SimpleBlazorMultiselect.Demo.csproj", "{025632E8-CB51-4E49-B47C-B9C75D35A874}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleBlazorMultiselect", "src\SimpleBlazorMultiselect\SimpleBlazorMultiselect.csproj", "{223C122B-FEFB-4AB0-8EF8-ED2BB94378CF}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleBlazorMultiselect.Tests", "src\SimpleBlazorMultiselect.Tests\SimpleBlazorMultiselect.Tests.csproj", "{753C970D-2A63-4ABB-8BE0-A524DF8C2BDB}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{0AB3BF05-4346-4AA6-1389-037BE0695223}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleBlazorMultiselect.Tests", "tests\SimpleBlazorMultiselect.Tests\SimpleBlazorMultiselect.Tests.csproj", "{D69FB0BD-6BA3-4789-9278-E01AC2A49919}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "demo", "demo", "{A39C23D2-F2C0-258D-165A-CF1E7FEE6E7B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleBlazorMultiselect.Demo.Wasm", "demo\SimpleBlazorMultiselect.Demo.Wasm\SimpleBlazorMultiselect.Demo.Wasm.csproj", "{8505F798-2740-4D5C-A94C-B75E79980E0B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleBlazorMultiselect.Demo.Server", "demo\SimpleBlazorMultiselect.Demo.Server\SimpleBlazorMultiselect.Demo.Server.csproj", "{71E4E57A-A40F-459B-BB41-A26EB10D2841}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleBlazorMultiselect.Demo.Shared", "demo\SimpleBlazorMultiselect.Demo.Shared\SimpleBlazorMultiselect.Demo.Shared.csproj", "{35CEC199-EE74-4A2E-8E18-0F695B667D46}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 Release|Any CPU = Release|Any CPU + Release|x64 = Release|x64 + Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {49DA0B6E-92AE-41C0-8763-16D0303F2015}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {49DA0B6E-92AE-41C0-8763-16D0303F2015}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1F3DCC28-1FD5-4F3C-B43D-564A44DBE398}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1F3DCC28-1FD5-4F3C-B43D-564A44DBE398}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1F3DCC28-1FD5-4F3C-B43D-564A44DBE398}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1F3DCC28-1FD5-4F3C-B43D-564A44DBE398}.Release|Any CPU.Build.0 = Release|Any CPU - {025632E8-CB51-4E49-B47C-B9C75D35A874}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {025632E8-CB51-4E49-B47C-B9C75D35A874}.Debug|Any CPU.Build.0 = Debug|Any CPU - {025632E8-CB51-4E49-B47C-B9C75D35A874}.Release|Any CPU.ActiveCfg = Release|Any CPU - {025632E8-CB51-4E49-B47C-B9C75D35A874}.Release|Any CPU.Build.0 = Release|Any CPU - {753C970D-2A63-4ABB-8BE0-A524DF8C2BDB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {753C970D-2A63-4ABB-8BE0-A524DF8C2BDB}.Debug|Any CPU.Build.0 = Debug|Any CPU - {753C970D-2A63-4ABB-8BE0-A524DF8C2BDB}.Release|Any CPU.ActiveCfg = Release|Any CPU - {753C970D-2A63-4ABB-8BE0-A524DF8C2BDB}.Release|Any CPU.Build.0 = Release|Any CPU + {223C122B-FEFB-4AB0-8EF8-ED2BB94378CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {223C122B-FEFB-4AB0-8EF8-ED2BB94378CF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {223C122B-FEFB-4AB0-8EF8-ED2BB94378CF}.Debug|x64.ActiveCfg = Debug|Any CPU + {223C122B-FEFB-4AB0-8EF8-ED2BB94378CF}.Debug|x64.Build.0 = Debug|Any CPU + {223C122B-FEFB-4AB0-8EF8-ED2BB94378CF}.Debug|x86.ActiveCfg = Debug|Any CPU + {223C122B-FEFB-4AB0-8EF8-ED2BB94378CF}.Debug|x86.Build.0 = Debug|Any CPU + {223C122B-FEFB-4AB0-8EF8-ED2BB94378CF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {223C122B-FEFB-4AB0-8EF8-ED2BB94378CF}.Release|Any CPU.Build.0 = Release|Any CPU + {223C122B-FEFB-4AB0-8EF8-ED2BB94378CF}.Release|x64.ActiveCfg = Release|Any CPU + {223C122B-FEFB-4AB0-8EF8-ED2BB94378CF}.Release|x64.Build.0 = Release|Any CPU + {223C122B-FEFB-4AB0-8EF8-ED2BB94378CF}.Release|x86.ActiveCfg = Release|Any CPU + {223C122B-FEFB-4AB0-8EF8-ED2BB94378CF}.Release|x86.Build.0 = Release|Any CPU + {D69FB0BD-6BA3-4789-9278-E01AC2A49919}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D69FB0BD-6BA3-4789-9278-E01AC2A49919}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D69FB0BD-6BA3-4789-9278-E01AC2A49919}.Debug|x64.ActiveCfg = Debug|Any CPU + {D69FB0BD-6BA3-4789-9278-E01AC2A49919}.Debug|x64.Build.0 = Debug|Any CPU + {D69FB0BD-6BA3-4789-9278-E01AC2A49919}.Debug|x86.ActiveCfg = Debug|Any CPU + {D69FB0BD-6BA3-4789-9278-E01AC2A49919}.Debug|x86.Build.0 = Debug|Any CPU + {D69FB0BD-6BA3-4789-9278-E01AC2A49919}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D69FB0BD-6BA3-4789-9278-E01AC2A49919}.Release|Any CPU.Build.0 = Release|Any CPU + {D69FB0BD-6BA3-4789-9278-E01AC2A49919}.Release|x64.ActiveCfg = Release|Any CPU + {D69FB0BD-6BA3-4789-9278-E01AC2A49919}.Release|x64.Build.0 = Release|Any CPU + {D69FB0BD-6BA3-4789-9278-E01AC2A49919}.Release|x86.ActiveCfg = Release|Any CPU + {D69FB0BD-6BA3-4789-9278-E01AC2A49919}.Release|x86.Build.0 = Release|Any CPU + {8505F798-2740-4D5C-A94C-B75E79980E0B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8505F798-2740-4D5C-A94C-B75E79980E0B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8505F798-2740-4D5C-A94C-B75E79980E0B}.Debug|x64.ActiveCfg = Debug|Any CPU + {8505F798-2740-4D5C-A94C-B75E79980E0B}.Debug|x64.Build.0 = Debug|Any CPU + {8505F798-2740-4D5C-A94C-B75E79980E0B}.Debug|x86.ActiveCfg = Debug|Any CPU + {8505F798-2740-4D5C-A94C-B75E79980E0B}.Debug|x86.Build.0 = Debug|Any CPU + {8505F798-2740-4D5C-A94C-B75E79980E0B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8505F798-2740-4D5C-A94C-B75E79980E0B}.Release|Any CPU.Build.0 = Release|Any CPU + {8505F798-2740-4D5C-A94C-B75E79980E0B}.Release|x64.ActiveCfg = Release|Any CPU + {8505F798-2740-4D5C-A94C-B75E79980E0B}.Release|x64.Build.0 = Release|Any CPU + {8505F798-2740-4D5C-A94C-B75E79980E0B}.Release|x86.ActiveCfg = Release|Any CPU + {8505F798-2740-4D5C-A94C-B75E79980E0B}.Release|x86.Build.0 = Release|Any CPU + {71E4E57A-A40F-459B-BB41-A26EB10D2841}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {71E4E57A-A40F-459B-BB41-A26EB10D2841}.Debug|Any CPU.Build.0 = Debug|Any CPU + {71E4E57A-A40F-459B-BB41-A26EB10D2841}.Debug|x64.ActiveCfg = Debug|Any CPU + {71E4E57A-A40F-459B-BB41-A26EB10D2841}.Debug|x64.Build.0 = Debug|Any CPU + {71E4E57A-A40F-459B-BB41-A26EB10D2841}.Debug|x86.ActiveCfg = Debug|Any CPU + {71E4E57A-A40F-459B-BB41-A26EB10D2841}.Debug|x86.Build.0 = Debug|Any CPU + {71E4E57A-A40F-459B-BB41-A26EB10D2841}.Release|Any CPU.ActiveCfg = Release|Any CPU + {71E4E57A-A40F-459B-BB41-A26EB10D2841}.Release|Any CPU.Build.0 = Release|Any CPU + {71E4E57A-A40F-459B-BB41-A26EB10D2841}.Release|x64.ActiveCfg = Release|Any CPU + {71E4E57A-A40F-459B-BB41-A26EB10D2841}.Release|x64.Build.0 = Release|Any CPU + {71E4E57A-A40F-459B-BB41-A26EB10D2841}.Release|x86.ActiveCfg = Release|Any CPU + {71E4E57A-A40F-459B-BB41-A26EB10D2841}.Release|x86.Build.0 = Release|Any CPU + {35CEC199-EE74-4A2E-8E18-0F695B667D46}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {35CEC199-EE74-4A2E-8E18-0F695B667D46}.Debug|Any CPU.Build.0 = Debug|Any CPU + {35CEC199-EE74-4A2E-8E18-0F695B667D46}.Debug|x64.ActiveCfg = Debug|Any CPU + {35CEC199-EE74-4A2E-8E18-0F695B667D46}.Debug|x64.Build.0 = Debug|Any CPU + {35CEC199-EE74-4A2E-8E18-0F695B667D46}.Debug|x86.ActiveCfg = Debug|Any CPU + {35CEC199-EE74-4A2E-8E18-0F695B667D46}.Debug|x86.Build.0 = Debug|Any CPU + {35CEC199-EE74-4A2E-8E18-0F695B667D46}.Release|Any CPU.ActiveCfg = Release|Any CPU + {35CEC199-EE74-4A2E-8E18-0F695B667D46}.Release|Any CPU.Build.0 = Release|Any CPU + {35CEC199-EE74-4A2E-8E18-0F695B667D46}.Release|x64.ActiveCfg = Release|Any CPU + {35CEC199-EE74-4A2E-8E18-0F695B667D46}.Release|x64.Build.0 = Release|Any CPU + {35CEC199-EE74-4A2E-8E18-0F695B667D46}.Release|x86.ActiveCfg = Release|Any CPU + {35CEC199-EE74-4A2E-8E18-0F695B667D46}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {223C122B-FEFB-4AB0-8EF8-ED2BB94378CF} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B} + {D69FB0BD-6BA3-4789-9278-E01AC2A49919} = {0AB3BF05-4346-4AA6-1389-037BE0695223} + {8505F798-2740-4D5C-A94C-B75E79980E0B} = {A39C23D2-F2C0-258D-165A-CF1E7FEE6E7B} + {71E4E57A-A40F-459B-BB41-A26EB10D2841} = {A39C23D2-F2C0-258D-165A-CF1E7FEE6E7B} + {35CEC199-EE74-4A2E-8E18-0F695B667D46} = {A39C23D2-F2C0-258D-165A-CF1E7FEE6E7B} + EndGlobalSection EndGlobal diff --git a/build/Build.cs b/build/Build.cs index e94cbaa..86432c0 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -51,14 +51,13 @@ class Build : NukeBuild [Solution] readonly Solution Solution; - AbsolutePath SourceDirectory => RootDirectory / "src"; AbsolutePath ArtifactsDirectory => RootDirectory / "artifacts"; AbsolutePath TempDirectory => RootDirectory / "temp"; AbsolutePath DemoDirectory => TempDirectory / "demo"; - Project LibProject => Solution.GetProject("SimpleBlazorMultiselect"); - Project DemoProject => Solution.GetProject("SimpleBlazorMultiselect.Demo"); - Project TestsProject => Solution.GetProject("SimpleBlazorMultiselect.Tests"); + Project LibProject => Solution.GetAllProjects("*").Single(x => x.Name == "SimpleBlazorMultiselect"); + Project DemoProject => Solution.GetAllProjects("*").Single(x => x.Name == "SimpleBlazorMultiselect.Demo.Wasm"); + Project TestsProject => Solution.GetAllProjects("*").Single(x => x.Name == "SimpleBlazorMultiselect.Tests"); Target Clean => _ => _ .Before(Restore) @@ -66,7 +65,7 @@ class Build : NukeBuild { TempDirectory.CreateOrCleanDirectory(); DemoDirectory.CreateOrCleanDirectory(); - SourceDirectory.GlobDirectories("**/bin", "**/obj") + RootDirectory.GlobDirectories("**/bin", "**/obj") .ForEach(path => { Console.WriteLine($"Removing '{path}'"); diff --git a/demo/README.md b/demo/README.md new file mode 100644 index 0000000..1f4bd9c --- /dev/null +++ b/demo/README.md @@ -0,0 +1,5 @@ +# Demos + +In this folder you can find the demo projects for the library. +In `SimpleBlazorMultiselect.Demo.Shared` you can find the implementation of the various pages of the demo app. +The other two projects showcase how to use the library in Blazor WebAssembly and Blazor Server applications. \ No newline at end of file diff --git a/demo/SimpleBlazorMultiselect.Demo.Server/App.razor b/demo/SimpleBlazorMultiselect.Demo.Server/App.razor new file mode 100644 index 0000000..61ecd87 --- /dev/null +++ b/demo/SimpleBlazorMultiselect.Demo.Server/App.razor @@ -0,0 +1,16 @@ +@using SimpleBlazorMultiselect.Demo.Shared +@using SimpleBlazorMultiselect.Demo.Shared.Layout + + + + + + + + Not found + +

Sorry, there's nothing at this address.

+
+
+
+
\ No newline at end of file diff --git a/demo/SimpleBlazorMultiselect.Demo.Server/Pages/_Host.cshtml b/demo/SimpleBlazorMultiselect.Demo.Server/Pages/_Host.cshtml new file mode 100644 index 0000000..c5181a6 --- /dev/null +++ b/demo/SimpleBlazorMultiselect.Demo.Server/Pages/_Host.cshtml @@ -0,0 +1,32 @@ +@page "/" +@using Microsoft.AspNetCore.Components.Web +@namespace SimpleBlazorMultiselect.Demo.Server.Pages +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers + + + + + + + + + + + + + + +
+ + An error has occurred. This application may no longer respond until reloaded. + + + An unhandled exception has occurred. See browser dev tools for details. + + Reload + 🗙 +
+ + + + diff --git a/demo/SimpleBlazorMultiselect.Demo.Server/Program.cs b/demo/SimpleBlazorMultiselect.Demo.Server/Program.cs new file mode 100644 index 0000000..c44696d --- /dev/null +++ b/demo/SimpleBlazorMultiselect.Demo.Server/Program.cs @@ -0,0 +1,24 @@ +using Microsoft.AspNetCore.Components; +using Microsoft.AspNetCore.Components.Web; + +var builder = WebApplication.CreateBuilder(args); +builder.Services.AddRazorPages(); +builder.Services.AddServerSideBlazor(); + +var app = builder.Build(); + +if (!app.Environment.IsDevelopment()) +{ + app.UseHsts(); +} + +app.UseHttpsRedirection(); + +app.UseStaticFiles(); + +app.UseRouting(); + +app.MapBlazorHub(); +app.MapFallbackToPage("/_Host"); + +app.Run(); diff --git a/demo/SimpleBlazorMultiselect.Demo.Server/Properties/launchSettings.json b/demo/SimpleBlazorMultiselect.Demo.Server/Properties/launchSettings.json new file mode 100644 index 0000000..5b5ccea --- /dev/null +++ b/demo/SimpleBlazorMultiselect.Demo.Server/Properties/launchSettings.json @@ -0,0 +1,35 @@ +{ + "iisSettings": { + "iisExpress": { + "applicationUrl": "http://localhost:36159", + "sslPort": 44369 + } + }, + "profiles": { + "http": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "http://localhost:5108", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "https": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "https://localhost:7130;http://localhost:5108", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +} diff --git a/demo/SimpleBlazorMultiselect.Demo.Server/SimpleBlazorMultiselect.Demo.Server.csproj b/demo/SimpleBlazorMultiselect.Demo.Server/SimpleBlazorMultiselect.Demo.Server.csproj new file mode 100644 index 0000000..7512354 --- /dev/null +++ b/demo/SimpleBlazorMultiselect.Demo.Server/SimpleBlazorMultiselect.Demo.Server.csproj @@ -0,0 +1,18 @@ + + + + net8.0 + enable + enable + + + + + + + + <_ContentIncludedByDefault Remove="Layout\MainLayout.razor" /> + <_ContentIncludedByDefault Remove="Layout\NavMenu.razor" /> + <_ContentIncludedByDefault Remove="wwwroot\css\site.css" /> + + diff --git a/demo/SimpleBlazorMultiselect.Demo.Server/_Imports.razor b/demo/SimpleBlazorMultiselect.Demo.Server/_Imports.razor new file mode 100644 index 0000000..cdd1a92 --- /dev/null +++ b/demo/SimpleBlazorMultiselect.Demo.Server/_Imports.razor @@ -0,0 +1,5 @@ +@using Microsoft.AspNetCore.Components.Routing +@using Microsoft.AspNetCore.Components.Web +@using Microsoft.JSInterop +@using SimpleBlazorMultiselect.Demo.Server +@using SimpleBlazorMultiselect \ No newline at end of file diff --git a/demo/SimpleBlazorMultiselect.Demo.Server/appsettings.Development.json b/demo/SimpleBlazorMultiselect.Demo.Server/appsettings.Development.json new file mode 100644 index 0000000..770d3e9 --- /dev/null +++ b/demo/SimpleBlazorMultiselect.Demo.Server/appsettings.Development.json @@ -0,0 +1,9 @@ +{ + "DetailedErrors": true, + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + } +} diff --git a/demo/SimpleBlazorMultiselect.Demo.Server/appsettings.json b/demo/SimpleBlazorMultiselect.Demo.Server/appsettings.json new file mode 100644 index 0000000..10f68b8 --- /dev/null +++ b/demo/SimpleBlazorMultiselect.Demo.Server/appsettings.json @@ -0,0 +1,9 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*" +} diff --git a/src/SimpleBlazorMultiselect.Demo/Globals.cs b/demo/SimpleBlazorMultiselect.Demo.Shared/Globals.cs similarity index 92% rename from src/SimpleBlazorMultiselect.Demo/Globals.cs rename to demo/SimpleBlazorMultiselect.Demo.Shared/Globals.cs index aa71868..5a29210 100644 --- a/src/SimpleBlazorMultiselect.Demo/Globals.cs +++ b/demo/SimpleBlazorMultiselect.Demo.Shared/Globals.cs @@ -1,6 +1,4 @@ -using System.Collections.Generic; - -namespace SimpleBlazorMultiselect.Demo; +namespace SimpleBlazorMultiselect.Demo.Shared; public static class Globals { diff --git a/src/SimpleBlazorMultiselect.Demo/Layout/MainLayout.razor b/demo/SimpleBlazorMultiselect.Demo.Shared/Layout/MainLayout.razor similarity index 100% rename from src/SimpleBlazorMultiselect.Demo/Layout/MainLayout.razor rename to demo/SimpleBlazorMultiselect.Demo.Shared/Layout/MainLayout.razor diff --git a/src/SimpleBlazorMultiselect.Demo/Layout/MainLayout.razor.css b/demo/SimpleBlazorMultiselect.Demo.Shared/Layout/MainLayout.razor.css similarity index 72% rename from src/SimpleBlazorMultiselect.Demo/Layout/MainLayout.razor.css rename to demo/SimpleBlazorMultiselect.Demo.Shared/Layout/MainLayout.razor.css index 038baf1..d49e4b7 100644 --- a/src/SimpleBlazorMultiselect.Demo/Layout/MainLayout.razor.css +++ b/demo/SimpleBlazorMultiselect.Demo.Shared/Layout/MainLayout.razor.css @@ -21,20 +21,20 @@ main { align-items: center; } - .top-row ::deep a, .top-row ::deep .btn-link { - white-space: nowrap; - margin-left: 1.5rem; - text-decoration: none; - } +.top-row ::deep a, .top-row ::deep .btn-link { + white-space: nowrap; + margin-left: 1.5rem; + text-decoration: none; +} - .top-row ::deep a:hover, .top-row ::deep .btn-link:hover { - text-decoration: underline; - } +.top-row ::deep a:hover, .top-row ::deep .btn-link:hover { + text-decoration: underline; +} - .top-row ::deep a:first-child { - overflow: hidden; - text-overflow: ellipsis; - } +.top-row ::deep a:first-child { + overflow: hidden; + text-overflow: ellipsis; +} @media (max-width: 640.98px) { .top-row { @@ -88,9 +88,9 @@ main { z-index: 1000; } - #blazor-error-ui .dismiss { - cursor: pointer; - position: absolute; - right: 0.75rem; - top: 0.5rem; - } +#blazor-error-ui .dismiss { + cursor: pointer; + position: absolute; + right: 0.75rem; + top: 0.5rem; +} diff --git a/src/SimpleBlazorMultiselect.Demo/Layout/NavMenu.razor b/demo/SimpleBlazorMultiselect.Demo.Shared/Layout/NavMenu.razor similarity index 97% rename from src/SimpleBlazorMultiselect.Demo/Layout/NavMenu.razor rename to demo/SimpleBlazorMultiselect.Demo.Shared/Layout/NavMenu.razor index eec6927..7f50b8a 100644 --- a/src/SimpleBlazorMultiselect.Demo/Layout/NavMenu.razor +++ b/demo/SimpleBlazorMultiselect.Demo.Shared/Layout/NavMenu.razor @@ -1,4 +1,5 @@ -