diff --git a/.github/workflows/azure-static-web-apps-brave-coast-0edcf6600.yml b/.github/workflows/azure-static-web-apps-brave-coast-0edcf6600.yml index 45eca3f9..7c7d88fd 100644 --- a/.github/workflows/azure-static-web-apps-brave-coast-0edcf6600.yml +++ b/.github/workflows/azure-static-web-apps-brave-coast-0edcf6600.yml @@ -15,9 +15,11 @@ jobs: with: persist-credentials: false - - uses: actions/setup-dotnet@v1 + - name: Setup .NET SDKs + uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.100 + dotnet-version: | + 9.0.x - uses: actions/setup-node@v1 with: diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index bd2ebabe..0262d1b9 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -20,10 +20,11 @@ jobs: with: persist-credentials: false - - name: Setup .NET Core - uses: actions/setup-dotnet@v1 + - name: Setup .NET SDKs + uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.100 + dotnet-version: | + 9.0.x - uses: actions/setup-node@v1 with: diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 63ed171e..fef4f85c 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -12,10 +12,11 @@ jobs: steps: - uses: actions/checkout@v1 - - name: Setup .NET Core - uses: actions/setup-dotnet@v1 + - name: Setup .NET SDKs + uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.100 + dotnet-version: | + 9.0.x - uses: actions/setup-node@v1 with: diff --git a/.template.config/templates/assets/package.json b/.template.config/templates/assets/package.json index 33279b83..f97da15d 100644 --- a/.template.config/templates/assets/package.json +++ b/.template.config/templates/assets/package.json @@ -1,6 +1,6 @@ { "name": "AntDesign.Pro.Template", - "version": "1.0.0", + "version": "1.1.2", "description": "An out-of-box UI solution for enterprise applications as a Blazor boilerplate.", "scripts": { "start": "dotnet watch -p ./ run", diff --git a/.template.config/templates/server/AntDesign.Pro.Template.csproj b/.template.config/templates/server/AntDesign.Pro.Template.csproj index ac49a6d7..2494caeb 100644 --- a/.template.config/templates/server/AntDesign.Pro.Template.csproj +++ b/.template.config/templates/server/AntDesign.Pro.Template.csproj @@ -1,17 +1,17 @@ - net8.0 + net9.0 enable enable - - - - + + + + diff --git a/.template.config/templates/server/Pages/Welcome.razor b/.template.config/templates/server/Pages/Welcome.razor index e632e99c..ed3e744c 100644 --- a/.template.config/templates/server/Pages/Welcome.razor +++ b/.template.config/templates/server/Pages/Welcome.razor @@ -4,7 +4,7 @@ diff --git a/.template.config/templates/wasm/AntDesign.Pro.Template.csproj b/.template.config/templates/wasm/AntDesign.Pro.Template.csproj index be3afeec..fb898a6b 100644 --- a/.template.config/templates/wasm/AntDesign.Pro.Template.csproj +++ b/.template.config/templates/wasm/AntDesign.Pro.Template.csproj @@ -1,7 +1,7 @@  - net8.0 + net9.0 3.0 enable enable @@ -9,13 +9,13 @@ - - - - - - - + + + + + + + diff --git a/.template.config/templates/wasm/Pages/Welcome.razor b/.template.config/templates/wasm/Pages/Welcome.razor index 52b7a104..da8b0c88 100644 --- a/.template.config/templates/wasm/Pages/Welcome.razor +++ b/.template.config/templates/wasm/Pages/Welcome.razor @@ -4,7 +4,7 @@ diff --git a/.template.config/templates/webapp/package.json b/.template.config/templates/webapp/package.json index c986cb46..ce85efed 100644 --- a/.template.config/templates/webapp/package.json +++ b/.template.config/templates/webapp/package.json @@ -1,6 +1,6 @@ { "name": "AntDesign.Pro.Template", - "version": "1.0.0", + "version": "1.1.2", "description": "An out-of-box UI solution for enterprise applications as a Blazor boilerplate.", "scripts": { "start": "dotnet watch -p ./src/AntDesign.Pro.Template run", diff --git a/.template.config/templates/webapp/src/AntDesign.Pro.Template.Client/AntDesign.Pro.Template.Client.csproj b/.template.config/templates/webapp/src/AntDesign.Pro.Template.Client/AntDesign.Pro.Template.Client.csproj index ab3af17f..9f6931e6 100644 --- a/.template.config/templates/webapp/src/AntDesign.Pro.Template.Client/AntDesign.Pro.Template.Client.csproj +++ b/.template.config/templates/webapp/src/AntDesign.Pro.Template.Client/AntDesign.Pro.Template.Client.csproj @@ -1,7 +1,7 @@ - net8.0 + net9.0 enable enable true @@ -10,13 +10,13 @@ - - - - - - - + + + + + + + diff --git a/.template.config/templates/webapp/src/AntDesign.Pro.Template/AntDesign.Pro.Template.csproj b/.template.config/templates/webapp/src/AntDesign.Pro.Template/AntDesign.Pro.Template.csproj index ad793fe5..e3b1fc29 100644 --- a/.template.config/templates/webapp/src/AntDesign.Pro.Template/AntDesign.Pro.Template.csproj +++ b/.template.config/templates/webapp/src/AntDesign.Pro.Template/AntDesign.Pro.Template.csproj @@ -1,14 +1,14 @@ - net8.0 + net9.0 enable enable - + diff --git a/package.json b/package.json index 79bb83e1..2d7dc595 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "AntDesign.Pro", - "version": "1.0.0", + "version": "1.1.2", "description": "An out-of-box UI solution for enterprise applications as a Blazor boilerplate.", "scripts": { "start": "dotnet watch -p ./src/AntDesign.Pro run", diff --git a/src/AntDesign.Pro/AntDesign.Pro.csproj b/src/AntDesign.Pro/AntDesign.Pro.csproj index 9781b601..4a22cb75 100644 --- a/src/AntDesign.Pro/AntDesign.Pro.csproj +++ b/src/AntDesign.Pro/AntDesign.Pro.csproj @@ -1,7 +1,7 @@  - net8 + net9 enable enable AntDesign.Pro.Template @@ -12,13 +12,13 @@ - - - - - - - + + + + + + + diff --git a/src/AntDesign.Pro/Components/GlobalHeader/RightContent.razor b/src/AntDesign.Pro/Components/GlobalHeader/RightContent.razor index 151d6432..cd6a5691 100644 --- a/src/AntDesign.Pro/Components/GlobalHeader/RightContent.razor +++ b/src/AntDesign.Pro/Components/GlobalHeader/RightContent.razor @@ -12,7 +12,7 @@ - + diff --git a/src/AntDesign.Pro/Layouts/BasicLayout.razor b/src/AntDesign.Pro/Layouts/BasicLayout.razor index ab312778..5b5191bf 100644 --- a/src/AntDesign.Pro/Layouts/BasicLayout.razor +++ b/src/AntDesign.Pro/Layouts/BasicLayout.razor @@ -12,7 +12,7 @@ - + diff --git a/src/AntDesign.Pro/Pages/Account/Center/Components/Applications/Applications.razor b/src/AntDesign.Pro/Pages/Account/Center/Components/Applications/Applications.razor index c3cb3afa..c7db96ba 100644 --- a/src/AntDesign.Pro/Pages/Account/Center/Components/Applications/Applications.razor +++ b/src/AntDesign.Pro/Pages/Account/Center/Components/Applications/Applications.razor @@ -11,7 +11,7 @@ Actions="Actions"> - + @context.Title @@ -35,15 +35,15 @@ { private static readonly RenderFragment Download =@ - + ; private static readonly IList Actions = new List { Download, -@, -@, -@ +@, +@, +@ }; private static RenderFragment FormatWan(int val) { diff --git a/src/AntDesign.Pro/Pages/Account/Center/Components/ArticleListContent/ArticleListContent.razor b/src/AntDesign.Pro/Pages/Account/Center/Components/ArticleListContent/ArticleListContent.razor index 7b0dc55b..efe01bce 100644 --- a/src/AntDesign.Pro/Pages/Account/Center/Components/ArticleListContent/ArticleListContent.razor +++ b/src/AntDesign.Pro/Pages/Account/Center/Components/ArticleListContent/ArticleListContent.razor @@ -4,7 +4,7 @@
@Data.Content
- + @Data.Owner Posted on @Data.Href @Data.UpdatedAt.ToString("yyyy-MM-dd HH:mm:ss")
diff --git a/src/AntDesign.Pro/Pages/Account/Center/Components/Articles/Articles.razor b/src/AntDesign.Pro/Pages/Account/Center/Components/Articles/Articles.razor index 1d4ad70b..5396649d 100644 --- a/src/AntDesign.Pro/Pages/Account/Center/Components/Articles/Articles.razor +++ b/src/AntDesign.Pro/Pages/Account/Center/Components/Articles/Articles.razor @@ -2,7 +2,7 @@ diff --git a/src/AntDesign.Pro/Pages/Account/Center/Index.razor b/src/AntDesign.Pro/Pages/Account/Center/Index.razor index 66709ba3..90e5a511 100644 --- a/src/AntDesign.Pro/Pages/Account/Center/Index.razor +++ b/src/AntDesign.Pro/Pages/Account/Center/Index.razor @@ -13,15 +13,15 @@

- + @_currentUser.Title

- + @_currentUser.Group

- + @_currentUser.Geographic.Province.Label @_currentUser.Geographic.City.Label @@ -32,20 +32,20 @@

Tags
- @foreach (var tag in _currentUser.Tags) { + @foreach (var tag in _currentUser.Tags) + { @tag.Label } - @if (_inputVisible) { - + @if (_inputVisible) + { + } - else { + else + { - + }
@@ -60,28 +60,26 @@ - - - - Articles (@_fakeList.Count) - - - - - - Applications (@_fakeList.Count) - - - - - - Projects (@_fakeList.Count) - - - - - - + + + Articles (@_fakeList.Count) + + + + + + Applications (@_fakeList.Count) + + + + + + Projects (@_fakeList.Count) + + + + + diff --git a/src/AntDesign.Pro/Pages/Account/Settings/Components/BaseView.razor b/src/AntDesign.Pro/Pages/Account/Settings/Components/BaseView.razor index 433a8e85..0041ba42 100644 --- a/src/AntDesign.Pro/Pages/Account/Settings/Components/BaseView.razor +++ b/src/AntDesign.Pro/Pages/Account/Settings/Components/BaseView.razor @@ -3,7 +3,7 @@
@@ -36,7 +36,7 @@ - diff --git a/src/AntDesign.Pro/Pages/Account/Settings/Components/BindingView.razor b/src/AntDesign.Pro/Pages/Account/Settings/Components/BindingView.razor index 0dd40c20..443a20f7 100644 --- a/src/AntDesign.Pro/Pages/Account/Settings/Components/BindingView.razor +++ b/src/AntDesign.Pro/Pages/Account/Settings/Components/BindingView.razor @@ -7,7 +7,7 @@ - + diff --git a/src/AntDesign.Pro/Pages/Dashboard/Workplace/Components/EditableLinkGroup/EditableLinkGroup.razor b/src/AntDesign.Pro/Pages/Dashboard/Workplace/Components/EditableLinkGroup/EditableLinkGroup.razor index f34f6c7c..cb6c919e 100644 --- a/src/AntDesign.Pro/Pages/Dashboard/Workplace/Components/EditableLinkGroup/EditableLinkGroup.razor +++ b/src/AntDesign.Pro/Pages/Dashboard/Workplace/Components/EditableLinkGroup/EditableLinkGroup.razor @@ -6,7 +6,7 @@ @link.Title } -
\ No newline at end of file diff --git a/src/AntDesign.Pro/Pages/Dashboard/Workplace/Index.razor b/src/AntDesign.Pro/Pages/Dashboard/Workplace/Index.razor index b8d9486d..2702c031 100644 --- a/src/AntDesign.Pro/Pages/Dashboard/Workplace/Index.razor +++ b/src/AntDesign.Pro/Pages/Dashboard/Workplace/Index.razor @@ -13,7 +13,7 @@
- +
@@ -55,7 +55,7 @@ @@ -86,7 +86,7 @@ @@ -139,7 +139,7 @@ @foreach (var item in _projectNotice) { - + @item.Member diff --git a/src/AntDesign.Pro/Pages/Exception/403/403.razor b/src/AntDesign.Pro/Pages/Exception/403/403.razor index 2737168e..30e2f937 100644 --- a/src/AntDesign.Pro/Pages/Exception/403/403.razor +++ b/src/AntDesign.Pro/Pages/Exception/403/403.razor @@ -1,10 +1,10 @@ @namespace AntDesign.Pro.Template.Pages.Exception @page "/exception/403" - - + \ No newline at end of file diff --git a/src/AntDesign.Pro/Pages/Exception/404/404.razor b/src/AntDesign.Pro/Pages/Exception/404/404.razor index 399b929b..1103e59e 100644 --- a/src/AntDesign.Pro/Pages/Exception/404/404.razor +++ b/src/AntDesign.Pro/Pages/Exception/404/404.razor @@ -1,10 +1,10 @@ @namespace AntDesign.Pro.Template.Pages.Exception @page "/exception/404" - - + \ No newline at end of file diff --git a/src/AntDesign.Pro/Pages/Exception/500/500.razor b/src/AntDesign.Pro/Pages/Exception/500/500.razor index 54cacff0..09cbebdf 100644 --- a/src/AntDesign.Pro/Pages/Exception/500/500.razor +++ b/src/AntDesign.Pro/Pages/Exception/500/500.razor @@ -1,10 +1,10 @@ @namespace AntDesign.Pro.Template.Pages.Exception @page "/exception/500" - - + \ No newline at end of file diff --git a/src/AntDesign.Pro/Pages/Form/BasicForm/BasicForm.razor b/src/AntDesign.Pro/Pages/Form/BasicForm/BasicForm.razor index 59ae9f09..3a65574b 100644 --- a/src/AntDesign.Pro/Pages/Form/BasicForm/BasicForm.razor +++ b/src/AntDesign.Pro/Pages/Form/BasicForm/BasicForm.razor @@ -48,7 +48,7 @@ - diff --git a/src/AntDesign.Pro/Pages/Form/StepForm/Components/Step2/Step2.razor b/src/AntDesign.Pro/Pages/Form/StepForm/Components/Step2/Step2.razor index 97b691b5..83cd81a6 100644 --- a/src/AntDesign.Pro/Pages/Form/StepForm/Components/Step2/Step2.razor +++ b/src/AntDesign.Pro/Pages/Form/StepForm/Components/Step2/Step2.razor @@ -19,10 +19,10 @@ - + - + diff --git a/src/AntDesign.Pro/Pages/Form/StepForm/Components/Step3/Step3.razor b/src/AntDesign.Pro/Pages/Form/StepForm/Components/Step3/Step3.razor index 6b77c13b..67f1246b 100644 --- a/src/AntDesign.Pro/Pages/Form/StepForm/Components/Step3/Step3.razor +++ b/src/AntDesign.Pro/Pages/Form/StepForm/Components/Step3/Step3.razor @@ -1,11 +1,11 @@ @namespace AntDesign.Pro.Template.Pages.Form - - diff --git a/src/AntDesign.Pro/Pages/List/BasicList/BasicList.razor b/src/AntDesign.Pro/Pages/List/BasicList/BasicList.razor index 1ac273f0..15f04f66 100644 --- a/src/AntDesign.Pro/Pages/List/BasicList/BasicList.razor +++ b/src/AntDesign.Pro/Pages/List/BasicList/BasicList.razor @@ -41,10 +41,10 @@
- diff --git a/src/AntDesign.Pro/Pages/List/CardList/CardList.razor b/src/AntDesign.Pro/Pages/List/CardList/CardList.razor index b0155e10..22f52164 100644 --- a/src/AntDesign.Pro/Pages/List/CardList/CardList.razor +++ b/src/AntDesign.Pro/Pages/List/CardList/CardList.razor @@ -45,8 +45,8 @@ Grid="_listGridType"> @if (string.IsNullOrEmpty(context.Id)) { - } else { diff --git a/src/AntDesign.Pro/Pages/List/Search/Applications/Applications.razor b/src/AntDesign.Pro/Pages/List/Search/Applications/Applications.razor index 2a05a631..c62e19c9 100644 --- a/src/AntDesign.Pro/Pages/List/Search/Applications/Applications.razor +++ b/src/AntDesign.Pro/Pages/List/Search/Applications/Applications.razor @@ -5,7 +5,7 @@
+ Layout="@FormLayout.Inline"> @@ -70,7 +70,7 @@ @context.Title - +
@@ -93,15 +93,15 @@ @code { private static readonly RenderFragment Download =@ - + ; private static readonly IList Actions = new List { Download, -@, -@, -@ +@, +@, +@ }; private static RenderFragment FormatWan(int val) { diff --git a/src/AntDesign.Pro/Pages/List/Search/Applications/Components/TagSelect/TagSelect.razor b/src/AntDesign.Pro/Pages/List/Search/Applications/Components/TagSelect/TagSelect.razor index 536648dc..6eae47f0 100644 --- a/src/AntDesign.Pro/Pages/List/Search/Applications/Components/TagSelect/TagSelect.razor +++ b/src/AntDesign.Pro/Pages/List/Search/Applications/Components/TagSelect/TagSelect.razor @@ -16,11 +16,11 @@ @if (_expand) { - @CollapseText + @CollapseText } else { - @ExpandText + @ExpandText } } diff --git a/src/AntDesign.Pro/Pages/List/Search/Articles/Articles.razor b/src/AntDesign.Pro/Pages/List/Search/Articles/Articles.razor index eac8eab1..c8e1f255 100644 --- a/src/AntDesign.Pro/Pages/List/Search/Articles/Articles.razor +++ b/src/AntDesign.Pro/Pages/List/Search/Articles/Articles.razor @@ -4,7 +4,7 @@ + Layout="@FormLayout.Inline"> Category 1 @@ -24,7 +24,7 @@ + - + @@ -24,7 +24,7 @@ TItemValue="string" DefaultValue=@("+86") Style="width: 25%" - Size="large"> + Size="@InputSize.Large"> @@ -41,14 +41,14 @@ - + - +