From 9c3cd45af5a09890b28724cb09b835174a6afeb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Tue, 16 Nov 2021 08:07:12 +0300 Subject: [PATCH 1/4] Update the 5.0 blog post for rc.1 --- .../POST.md | 41 ++++++++---------- .../abp-book-cover.png | Bin .../csharp-proxies.png | Bin .../email-settings.png | Bin .../enable-email-tenant.png | Bin .../hangfire-dashboard.png | Bin .../js-proxies.png | Bin .../tenant-features.png | Bin .../use-preview-visual-studio.png | Bin .../user-active.png | Bin 10 files changed, 17 insertions(+), 24 deletions(-) rename docs/en/Blog-Posts/{2021-11-02 v5_0_Beta => 2021-11-18 v5_0_Preview}/POST.md (90%) rename docs/en/Blog-Posts/{2021-11-02 v5_0_Beta => 2021-11-18 v5_0_Preview}/abp-book-cover.png (100%) rename docs/en/Blog-Posts/{2021-11-02 v5_0_Beta => 2021-11-18 v5_0_Preview}/csharp-proxies.png (100%) rename docs/en/Blog-Posts/{2021-11-02 v5_0_Beta => 2021-11-18 v5_0_Preview}/email-settings.png (100%) rename docs/en/Blog-Posts/{2021-11-02 v5_0_Beta => 2021-11-18 v5_0_Preview}/enable-email-tenant.png (100%) rename docs/en/Blog-Posts/{2021-11-02 v5_0_Beta => 2021-11-18 v5_0_Preview}/hangfire-dashboard.png (100%) rename docs/en/Blog-Posts/{2021-11-02 v5_0_Beta => 2021-11-18 v5_0_Preview}/js-proxies.png (100%) rename docs/en/Blog-Posts/{2021-11-02 v5_0_Beta => 2021-11-18 v5_0_Preview}/tenant-features.png (100%) rename docs/en/Blog-Posts/{2021-11-02 v5_0_Beta => 2021-11-18 v5_0_Preview}/use-preview-visual-studio.png (100%) rename docs/en/Blog-Posts/{2021-11-02 v5_0_Beta => 2021-11-18 v5_0_Preview}/user-active.png (100%) diff --git a/docs/en/Blog-Posts/2021-11-02 v5_0_Beta/POST.md b/docs/en/Blog-Posts/2021-11-18 v5_0_Preview/POST.md similarity index 90% rename from docs/en/Blog-Posts/2021-11-02 v5_0_Beta/POST.md rename to docs/en/Blog-Posts/2021-11-18 v5_0_Preview/POST.md index b370b98eae..e1bc93e23a 100644 --- a/docs/en/Blog-Posts/2021-11-02 v5_0_Beta/POST.md +++ b/docs/en/Blog-Posts/2021-11-18 v5_0_Preview/POST.md @@ -1,25 +1,25 @@ -# ABP Platform 5.0 Beta Has Been Released +# ABP.IO Platform 5.0 RC.1 Has Been Released -Today, we are excited to release the [ABP Framework](https://abp.io/) and the [ABP Commercial](https://commercial.abp.io/) version **5.0 Beta**. This blog post introduces the new features and important changes in this new version. +Today, we are excited to release the [ABP Framework](https://abp.io/) and the [ABP Commercial](https://commercial.abp.io/) version **5.0 RC** (Release Candidate). This blog post introduces the new features and important changes in this new version. -> **The planned release date for the [5.0.0 Release Candidate](https://github.com/abpframework/abp/milestone/51) version is November, 2021**. +> **The planned release date for the [5.0.0 Stable](https://github.com/abpframework/abp/milestone/57) version is December 14, 2021**. Please try this version and provide feedback for a more stable ABP version 5.0! Thank you all. -## Get Started with the 5.0 Beta +## Get Started with the 5.0 RC -follow the steps below to try the version 5.0.0 beta today; +follow the steps below to try the version 5.0.0 RC today; -1) **Upgrade** the ABP CLI to the version `5.0.0-beta.3` using a command line terminal: +1) **Upgrade** the ABP CLI to the version `5.0.0-rc.1` using a command line terminal: ````bash -dotnet tool update Volo.Abp.Cli -g --version 5.0.0-beta.3 +dotnet tool update Volo.Abp.Cli -g --version 5.0.0-rc.1 ```` **or install** if you haven't installed before: ````bash -dotnet tool install Volo.Abp.Cli -g --version 5.0.0-beta.3 +dotnet tool install Volo.Abp.Cli -g --version 5.0.0-rc.1 ```` 2) Create a **new application** with the `--preview` option: @@ -32,33 +32,24 @@ See the [ABP CLI documentation](https://docs.abp.io/en/abp/latest/CLI) for all t > You can also use the *Direct Download* tab on the [Get Started](https://abp.io/get-started) page by selecting the **Preview checkbox**. -### Visual Studio Upgrade - -As .NET 6 is a preview version you need to make changes on the Visual Studio 2019. -If you want to run a .NET 6 project on Visual Studio 2019, you need to install the latest .NET SDK 6 from https://dotnet.microsoft.com/download/dotnet/6.0 -and also enable the `Use Previews of the .NET SDK` option from Visual Studio 2019 options. See the screenshot: - -![Enable Using Previews of the .NET SDK ](use-preview-visual-studio.png) - - -Alternatively you can download the latest **Visual Studio 2022** preview to run/create the .NET 6 projects. We have tested the ABP solution with the Visual Studio 2022 `17.0.0 Preview 4.1`. Check out https://visualstudio.microsoft.com/vs/preview/ for more information. +You can use any IDE that supports .NET 6.0, like **[Visual Studio 2022](https://visualstudio.microsoft.com/downloads/)**. ### Migration Notes & Breaking Changes This is a major version and there are some breaking changes and upgrade steps. Here, a list of important breaking changes in this version: -* Upgraded to .NET 6.0-rc.1, so you need to move your solution to .NET 6.0 if you want to use the ABP 5.0. +* Upgraded to .NET 6.0, so you need to move your solution to .NET 6.0 if you want to use the ABP 5.0. * Upgraded to Bootstrap 5. This is the most important breaking change in ABP 5.0 and you should take care of it. * `IRepository` doesn't inherit from `IQueryable` anymore. It was already made obsolete in 4.2. * Removed NGXS and states from the Angular UI. * Removed gulp dependency from the MVC / Razor Pages UI in favor of `abp install-libs` command of the ABP CLI. * Deprecated `EntityCreatingEventData`, `EntityUpdatingEventData`, `EntityDeletingEventData` and `EntityChangingEventData` classes. See [#9897](https://github.com/abpframework/abp/issues/9897). -Please see the [migration document](https://docs.abp.io/en/abp/5.0/Migration-Guides/Abp-5_0) for all the details. You can also see all [the closed issues and pull request](https://github.com/abpframework/abp/releases/tag/5.0.0-beta.1) on GitHub. +Please see the [migration document](https://docs.abp.io/en/abp/5.0/Migration-Guides/Abp-5_0) for all the details. You can also see all [the closed issues and pull requests](https://github.com/abpframework/abp/milestone/51). ## What's new with 5.0? -In this section, I will introduce some major features released with beta version. +In this section, I will introduce some major features released with this version. ### Static (Generated) Client Proxies for C# and JavaScript @@ -308,12 +299,14 @@ This books is a complete guide to start working with the ABP Framework, explore ### New ABP Community posts -Here, the latest posts added to the [ABP community](https://community.abp.io/): +Here, some of the latest posts added to the [ABP community](https://community.abp.io/): +* [Many to many relationship with ABP and EF Core](https://community.abp.io/articles/many-to-many-relationship-with-abp-and-ef-core-g7rm2qut) +* [Add a new module to your ABP application](https://community.abp.io/articles/abp-framework-add-a-new-module-to-your-abp-application-eogrfm88) +* [Changing UI Theme for ABP MVC / Razor Pages UI](https://community.abp.io/articles/changing-ui-theme-for-abp-mvc-razor-pages-ui-ravx6a0o) +* [Create a Windows Service with the ABP Framework](https://community.abp.io/articles/create-a-windows-service-with-abp-framework-hop4dtra) * [Deploy ABP Framework .NET Core tiered application to docker swarm](https://community.abp.io/articles/deploy-abp-framework-dotnet-core-tiered-app-to-docker-swarm-kcrjbjec) -* [How to override localization strings of depending modules](https://community.abp.io/articles/how-to-override-localization-strings-of-depending-modules-ba1oy03l) * [Centralized logging for .NET Core ABP microservices application using Seq](https://community.abp.io/articles/centralized-logging-for-.net-core-abp-microservices-app-using-seq-g1xe7e7y) -* [Extend Tenant management and add custom host to your ABP application](https://community.abp.io/articles/extend-tenant-management-and-add-custom-host-to-your-abp-app-lwmi9lr5) Thanks to the ABP Community for all the contents they have published. You can also post your ABP and .NET related (text or video) contents to the ABP Community. diff --git a/docs/en/Blog-Posts/2021-11-02 v5_0_Beta/abp-book-cover.png b/docs/en/Blog-Posts/2021-11-18 v5_0_Preview/abp-book-cover.png similarity index 100% rename from docs/en/Blog-Posts/2021-11-02 v5_0_Beta/abp-book-cover.png rename to docs/en/Blog-Posts/2021-11-18 v5_0_Preview/abp-book-cover.png diff --git a/docs/en/Blog-Posts/2021-11-02 v5_0_Beta/csharp-proxies.png b/docs/en/Blog-Posts/2021-11-18 v5_0_Preview/csharp-proxies.png similarity index 100% rename from docs/en/Blog-Posts/2021-11-02 v5_0_Beta/csharp-proxies.png rename to docs/en/Blog-Posts/2021-11-18 v5_0_Preview/csharp-proxies.png diff --git a/docs/en/Blog-Posts/2021-11-02 v5_0_Beta/email-settings.png b/docs/en/Blog-Posts/2021-11-18 v5_0_Preview/email-settings.png similarity index 100% rename from docs/en/Blog-Posts/2021-11-02 v5_0_Beta/email-settings.png rename to docs/en/Blog-Posts/2021-11-18 v5_0_Preview/email-settings.png diff --git a/docs/en/Blog-Posts/2021-11-02 v5_0_Beta/enable-email-tenant.png b/docs/en/Blog-Posts/2021-11-18 v5_0_Preview/enable-email-tenant.png similarity index 100% rename from docs/en/Blog-Posts/2021-11-02 v5_0_Beta/enable-email-tenant.png rename to docs/en/Blog-Posts/2021-11-18 v5_0_Preview/enable-email-tenant.png diff --git a/docs/en/Blog-Posts/2021-11-02 v5_0_Beta/hangfire-dashboard.png b/docs/en/Blog-Posts/2021-11-18 v5_0_Preview/hangfire-dashboard.png similarity index 100% rename from docs/en/Blog-Posts/2021-11-02 v5_0_Beta/hangfire-dashboard.png rename to docs/en/Blog-Posts/2021-11-18 v5_0_Preview/hangfire-dashboard.png diff --git a/docs/en/Blog-Posts/2021-11-02 v5_0_Beta/js-proxies.png b/docs/en/Blog-Posts/2021-11-18 v5_0_Preview/js-proxies.png similarity index 100% rename from docs/en/Blog-Posts/2021-11-02 v5_0_Beta/js-proxies.png rename to docs/en/Blog-Posts/2021-11-18 v5_0_Preview/js-proxies.png diff --git a/docs/en/Blog-Posts/2021-11-02 v5_0_Beta/tenant-features.png b/docs/en/Blog-Posts/2021-11-18 v5_0_Preview/tenant-features.png similarity index 100% rename from docs/en/Blog-Posts/2021-11-02 v5_0_Beta/tenant-features.png rename to docs/en/Blog-Posts/2021-11-18 v5_0_Preview/tenant-features.png diff --git a/docs/en/Blog-Posts/2021-11-02 v5_0_Beta/use-preview-visual-studio.png b/docs/en/Blog-Posts/2021-11-18 v5_0_Preview/use-preview-visual-studio.png similarity index 100% rename from docs/en/Blog-Posts/2021-11-02 v5_0_Beta/use-preview-visual-studio.png rename to docs/en/Blog-Posts/2021-11-18 v5_0_Preview/use-preview-visual-studio.png diff --git a/docs/en/Blog-Posts/2021-11-02 v5_0_Beta/user-active.png b/docs/en/Blog-Posts/2021-11-18 v5_0_Preview/user-active.png similarity index 100% rename from docs/en/Blog-Posts/2021-11-02 v5_0_Beta/user-active.png rename to docs/en/Blog-Posts/2021-11-18 v5_0_Preview/user-active.png From 77613d4411984ad7cb0ad527f24c678999ad421c Mon Sep 17 00:00:00 2001 From: Alper Ebicoglu Date: Tue, 16 Nov 2021 09:10:24 +0300 Subject: [PATCH 2/4] update to 5.0.0-rc.1 --- common.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.props b/common.props index 7ed69bb211..fce50ee6a9 100644 --- a/common.props +++ b/common.props @@ -1,7 +1,7 @@ latest - 5.0.0-beta.3 + 5.0.0-rc.1 $(NoWarn);CS1591;CS0436 https://abp.io/assets/abp_nupkg.png https://abp.io/ From 4789c31244e7b74a17686edc9777d508ca1c1d1d Mon Sep 17 00:00:00 2001 From: voloagent Date: Tue, 16 Nov 2021 16:07:40 +0300 Subject: [PATCH 3/4] Update_NPM_Packages --- .../package.json | 2 +- .../css/dataTables.bootstrap4.css | 212 --- .../js/dataTables.bootstrap4.js | 184 --- .../css/dataTables.bootstrap5.css} | 128 +- .../js/dataTables.bootstrap5.js} | 10 +- .../datatables.net/js/jquery.dataTables.js | 1178 ++++++++--------- .../yarn.lock | 245 ++-- .../package.json | 4 +- .../css/dataTables.bootstrap4.css | 212 --- .../css/dataTables.bootstrap5.css} | 143 +- .../js/dataTables.bootstrap5.js} | 10 +- .../datatables.net/js/jquery.dataTables.js | 1178 ++++++++--------- .../yarn.lock | 281 ++-- .../app/Volo.BloggingTestApp/package.json | 4 +- .../css/dataTables.bootstrap4.css | 212 --- .../js/dataTables.bootstrap4.js | 184 --- .../css/dataTables.bootstrap5.css | 312 +++++ .../js/dataTables.bootstrap5.js} | 12 +- .../datatables.net/js/jquery.dataTables.js | 1178 ++++++++--------- .../app/Volo.BloggingTestApp/yarn.lock | 353 ++--- .../Volo.ClientSimulation.Demo/package.json | 2 +- .../css/dataTables.bootstrap4.css | 212 --- .../css/dataTables.bootstrap5.css | 312 +++++ .../js/dataTables.bootstrap5.js} | 12 +- .../datatables.net/js/jquery.dataTables.js | 1178 ++++++++--------- .../demo/Volo.ClientSimulation.Demo/yarn.lock | 259 ++-- modules/cms-kit/angular/package.json | 10 +- .../angular/projects/cms-kit/package.json | 4 +- .../Volo.CmsKit.IdentityServer/package.json | 2 +- .../css/dataTables.bootstrap4.css | 212 --- .../js/dataTables.bootstrap4.js | 184 --- .../css/dataTables.bootstrap5.css | 312 +++++ .../js/dataTables.bootstrap5.js | 184 +++ .../datatables.net/js/jquery.dataTables.js | 1178 ++++++++--------- .../host/Volo.CmsKit.IdentityServer/yarn.lock | 259 ++-- .../host/Volo.CmsKit.Web.Host/package.json | 2 +- .../css/dataTables.bootstrap4.css | 212 --- .../js/dataTables.bootstrap4.js | 184 --- .../css/dataTables.bootstrap5.css | 312 +++++ .../js/dataTables.bootstrap5.js | 184 +++ .../datatables.net/js/jquery.dataTables.js | 1178 ++++++++--------- .../host/Volo.CmsKit.Web.Host/yarn.lock | 259 ++-- .../host/Volo.CmsKit.Web.Unified/package.json | 4 +- .../css/dataTables.bootstrap4.css | 212 --- .../js/dataTables.bootstrap4.js | 184 --- .../css/dataTables.bootstrap5.css | 312 +++++ .../js/dataTables.bootstrap5.js | 184 +++ .../datatables.net/js/jquery.dataTables.js | 1178 ++++++++--------- .../wwwroot/libs/slugify/slugify.js | 4 +- .../host/Volo.CmsKit.Web.Unified/yarn.lock | 393 +++--- modules/docs/app/VoloDocs.Web/package.json | 4 +- .../css/dataTables.bootstrap4.css | 212 --- .../js/dataTables.bootstrap4.js | 184 --- .../css/dataTables.bootstrap5.css | 312 +++++ .../js/dataTables.bootstrap5.js | 184 +++ .../datatables.net/js/jquery.dataTables.js | 1178 ++++++++--------- modules/docs/app/VoloDocs.Web/yarn.lock | 319 ++--- .../package.json | 2 +- .../css/dataTables.bootstrap5.css | 312 +++++ .../js/dataTables.bootstrap5.js | 184 +++ .../datatables.net/js/jquery.dataTables.js | 1081 +++++++-------- .../yarn.lock | 259 ++-- .../package.json | 4 +- .../css/dataTables.bootstrap5.css | 312 +++++ .../js/dataTables.bootstrap5.js | 184 +++ .../datatables.net/js/jquery.dataTables.js | 1087 ++++++++------- .../yarn.lock | 293 ++-- npm/lerna.json | 6 +- npm/ng-packs/lerna.version.json | 2 +- npm/ng-packs/package.json | 24 +- .../packages/account-core/package.json | 6 +- npm/ng-packs/packages/account/package.json | 6 +- npm/ng-packs/packages/components/package.json | 6 +- npm/ng-packs/packages/core/package.json | 4 +- .../packages/feature-management/package.json | 4 +- npm/ng-packs/packages/identity/package.json | 6 +- .../permission-management/package.json | 4 +- npm/ng-packs/packages/schematics/package.json | 2 +- .../packages/setting-management/package.json | 6 +- .../packages/tenant-management/package.json | 6 +- .../packages/theme-basic/package.json | 6 +- .../packages/theme-shared/package.json | 4 +- npm/ng-packs/yarn.lock | 426 +++--- npm/packs/anchor-js/package.json | 4 +- .../package.json | 4 +- .../package.json | 6 +- .../package.json | 4 +- .../package.json | 30 +- npm/packs/aspnetcore.mvc.ui/package-lock.json | 2 +- npm/packs/aspnetcore.mvc.ui/package.json | 2 +- npm/packs/blogging/package.json | 10 +- npm/packs/bootstrap-datepicker/package.json | 2 +- npm/packs/bootstrap/package.json | 4 +- npm/packs/chart.js/package.json | 2 +- npm/packs/clipboard/package.json | 4 +- npm/packs/cms-kit.admin/package.json | 10 +- npm/packs/cms-kit.public/package.json | 6 +- npm/packs/cms-kit/package.json | 6 +- npm/packs/codemirror/package.json | 4 +- npm/packs/core/package.json | 4 +- npm/packs/cropperjs/package.json | 4 +- npm/packs/datatables.net-bs4/package.json | 4 +- npm/packs/datatables.net-bs5/package.json | 4 +- npm/packs/datatables.net/package.json | 4 +- npm/packs/docs/package.json | 12 +- npm/packs/flag-icon-css/package.json | 2 +- npm/packs/font-awesome/package.json | 4 +- npm/packs/highlight.js/package.json | 4 +- npm/packs/jquery-form/package.json | 4 +- .../package.json | 4 +- npm/packs/jquery-validation/package.json | 4 +- npm/packs/jquery/package.json | 4 +- npm/packs/jstree/package.json | 4 +- npm/packs/lodash/package.json | 4 +- npm/packs/luxon/package.json | 4 +- .../package.json | 4 +- npm/packs/markdown-it/package.json | 4 +- npm/packs/owl.carousel/package.json | 4 +- npm/packs/popper.js/package.json | 4 +- npm/packs/prismjs/package.json | 6 +- npm/packs/select2/package.json | 4 +- npm/packs/signalr/package.json | 4 +- npm/packs/slugify/package.json | 2 +- npm/packs/star-rating-svg/package.json | 4 +- npm/packs/sweetalert2/package.json | 4 +- npm/packs/timeago/package.json | 4 +- npm/packs/toastr/package.json | 4 +- npm/packs/tui-editor/package.json | 10 +- npm/packs/uppy/package.json | 4 +- npm/packs/utils/package.json | 2 +- npm/packs/vee-validate/package.json | 4 +- npm/packs/virtual-file-explorer/package.json | 6 +- npm/packs/vue/package.json | 2 +- templates/app/angular/package.json | 18 +- .../package.json | 4 +- .../package.json | 4 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- templates/module/angular/package.json | 18 +- .../projects/my-project-name/package.json | 4 +- .../package.json | 4 +- .../package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- 146 files changed, 11425 insertions(+), 10680 deletions(-) delete mode 100644 modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/datatables.net-bs4/css/dataTables.bootstrap4.css delete mode 100644 modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/datatables.net-bs4/js/dataTables.bootstrap4.js rename modules/{setting-management/app/Volo.Abp.SettingManagement.DemoApp/wwwroot/libs/datatables.net-bs4/css/dataTables.bootstrap4.css => basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/datatables.net-bs5/css/dataTables.bootstrap5.css} (59%) rename modules/{setting-management/app/Volo.Abp.SettingManagement.DemoApp/wwwroot/libs/datatables.net-bs4/js/dataTables.bootstrap4.js => basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/datatables.net-bs5/js/dataTables.bootstrap5.js} (95%) delete mode 100644 modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Demo/wwwroot/libs/datatables.net-bs4/css/dataTables.bootstrap4.css rename modules/{virtual-file-explorer/app/Volo.Abp.VirtualFileExplorer.DemoApp/wwwroot/libs/datatables.net-bs4/css/dataTables.bootstrap4.css => basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Demo/wwwroot/libs/datatables.net-bs5/css/dataTables.bootstrap5.css} (56%) rename modules/{virtual-file-explorer/app/Volo.Abp.VirtualFileExplorer.DemoApp/wwwroot/libs/datatables.net-bs4/js/dataTables.bootstrap4.js => basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Demo/wwwroot/libs/datatables.net-bs5/js/dataTables.bootstrap5.js} (95%) delete mode 100644 modules/blogging/app/Volo.BloggingTestApp/wwwroot/libs/datatables.net-bs4/css/dataTables.bootstrap4.css delete mode 100644 modules/blogging/app/Volo.BloggingTestApp/wwwroot/libs/datatables.net-bs4/js/dataTables.bootstrap4.js create mode 100644 modules/blogging/app/Volo.BloggingTestApp/wwwroot/libs/datatables.net-bs5/css/dataTables.bootstrap5.css rename modules/{client-simulation/demo/Volo.ClientSimulation.Demo/wwwroot/libs/datatables.net-bs4/js/dataTables.bootstrap4.js => blogging/app/Volo.BloggingTestApp/wwwroot/libs/datatables.net-bs5/js/dataTables.bootstrap5.js} (94%) delete mode 100644 modules/client-simulation/demo/Volo.ClientSimulation.Demo/wwwroot/libs/datatables.net-bs4/css/dataTables.bootstrap4.css create mode 100644 modules/client-simulation/demo/Volo.ClientSimulation.Demo/wwwroot/libs/datatables.net-bs5/css/dataTables.bootstrap5.css rename modules/{basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Demo/wwwroot/libs/datatables.net-bs4/js/dataTables.bootstrap4.js => client-simulation/demo/Volo.ClientSimulation.Demo/wwwroot/libs/datatables.net-bs5/js/dataTables.bootstrap5.js} (94%) delete mode 100644 modules/cms-kit/host/Volo.CmsKit.IdentityServer/wwwroot/libs/datatables.net-bs4/css/dataTables.bootstrap4.css delete mode 100644 modules/cms-kit/host/Volo.CmsKit.IdentityServer/wwwroot/libs/datatables.net-bs4/js/dataTables.bootstrap4.js create mode 100644 modules/cms-kit/host/Volo.CmsKit.IdentityServer/wwwroot/libs/datatables.net-bs5/css/dataTables.bootstrap5.css create mode 100644 modules/cms-kit/host/Volo.CmsKit.IdentityServer/wwwroot/libs/datatables.net-bs5/js/dataTables.bootstrap5.js delete mode 100644 modules/cms-kit/host/Volo.CmsKit.Web.Host/wwwroot/libs/datatables.net-bs4/css/dataTables.bootstrap4.css delete mode 100644 modules/cms-kit/host/Volo.CmsKit.Web.Host/wwwroot/libs/datatables.net-bs4/js/dataTables.bootstrap4.js create mode 100644 modules/cms-kit/host/Volo.CmsKit.Web.Host/wwwroot/libs/datatables.net-bs5/css/dataTables.bootstrap5.css create mode 100644 modules/cms-kit/host/Volo.CmsKit.Web.Host/wwwroot/libs/datatables.net-bs5/js/dataTables.bootstrap5.js delete mode 100644 modules/cms-kit/host/Volo.CmsKit.Web.Unified/wwwroot/libs/datatables.net-bs4/css/dataTables.bootstrap4.css delete mode 100644 modules/cms-kit/host/Volo.CmsKit.Web.Unified/wwwroot/libs/datatables.net-bs4/js/dataTables.bootstrap4.js create mode 100644 modules/cms-kit/host/Volo.CmsKit.Web.Unified/wwwroot/libs/datatables.net-bs5/css/dataTables.bootstrap5.css create mode 100644 modules/cms-kit/host/Volo.CmsKit.Web.Unified/wwwroot/libs/datatables.net-bs5/js/dataTables.bootstrap5.js delete mode 100644 modules/docs/app/VoloDocs.Web/wwwroot/libs/datatables.net-bs4/css/dataTables.bootstrap4.css delete mode 100644 modules/docs/app/VoloDocs.Web/wwwroot/libs/datatables.net-bs4/js/dataTables.bootstrap4.js create mode 100644 modules/docs/app/VoloDocs.Web/wwwroot/libs/datatables.net-bs5/css/dataTables.bootstrap5.css create mode 100644 modules/docs/app/VoloDocs.Web/wwwroot/libs/datatables.net-bs5/js/dataTables.bootstrap5.js create mode 100644 modules/setting-management/app/Volo.Abp.SettingManagement.DemoApp/wwwroot/libs/datatables.net-bs5/css/dataTables.bootstrap5.css create mode 100644 modules/setting-management/app/Volo.Abp.SettingManagement.DemoApp/wwwroot/libs/datatables.net-bs5/js/dataTables.bootstrap5.js create mode 100644 modules/virtual-file-explorer/app/Volo.Abp.VirtualFileExplorer.DemoApp/wwwroot/libs/datatables.net-bs5/css/dataTables.bootstrap5.css create mode 100644 modules/virtual-file-explorer/app/Volo.Abp.VirtualFileExplorer.DemoApp/wwwroot/libs/datatables.net-bs5/js/dataTables.bootstrap5.js diff --git a/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/package.json b/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/package.json index 65e4ab93f2..74d7c91e16 100644 --- a/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/package.json +++ b/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/package.json @@ -3,7 +3,7 @@ "name": "asp.net", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.shared": "^5.0.0-beta.3", + "@abp/aspnetcore.mvc.ui.theme.shared": "^5.0.0-rc.1", "highlight.js": "^9.13.1" }, "devDependencies": {} diff --git a/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/datatables.net-bs4/css/dataTables.bootstrap4.css b/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/datatables.net-bs4/css/dataTables.bootstrap4.css deleted file mode 100644 index e54d56455f..0000000000 --- a/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/datatables.net-bs4/css/dataTables.bootstrap4.css +++ /dev/null @@ -1,212 +0,0 @@ -table.dataTable { - clear: both; - margin-top: 6px !important; - margin-bottom: 6px !important; - max-width: none !important; - border-collapse: separate !important; - border-spacing: 0; -} -table.dataTable td, -table.dataTable th { - -webkit-box-sizing: content-box; - box-sizing: content-box; -} -table.dataTable td.dataTables_empty, -table.dataTable th.dataTables_empty { - text-align: center; -} -table.dataTable.nowrap th, -table.dataTable.nowrap td { - white-space: nowrap; -} - -div.dataTables_wrapper div.dataTables_length label { - font-weight: normal; - text-align: left; - white-space: nowrap; -} -div.dataTables_wrapper div.dataTables_length select { - width: auto; - display: inline-block; -} -div.dataTables_wrapper div.dataTables_filter { - text-align: right; -} -div.dataTables_wrapper div.dataTables_filter label { - font-weight: normal; - white-space: nowrap; - text-align: left; -} -div.dataTables_wrapper div.dataTables_filter input { - margin-left: 0.5em; - display: inline-block; - width: auto; -} -div.dataTables_wrapper div.dataTables_info { - padding-top: 0.85em; - white-space: nowrap; -} -div.dataTables_wrapper div.dataTables_paginate { - margin: 0; - white-space: nowrap; - text-align: right; -} -div.dataTables_wrapper div.dataTables_paginate ul.pagination { - margin: 2px 0; - white-space: nowrap; - justify-content: flex-end; -} -div.dataTables_wrapper div.dataTables_processing { - position: absolute; - top: 50%; - left: 50%; - width: 200px; - margin-left: -100px; - margin-top: -26px; - text-align: center; - padding: 1em 0; -} - -table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting, -table.dataTable thead > tr > td.sorting_asc, -table.dataTable thead > tr > td.sorting_desc, -table.dataTable thead > tr > td.sorting { - padding-right: 30px; -} -table.dataTable thead > tr > th:active, -table.dataTable thead > tr > td:active { - outline: none; -} -table.dataTable thead .sorting, -table.dataTable thead .sorting_asc, -table.dataTable thead .sorting_desc, -table.dataTable thead .sorting_asc_disabled, -table.dataTable thead .sorting_desc_disabled { - cursor: pointer; - position: relative; -} -table.dataTable thead .sorting:before, table.dataTable thead .sorting:after, -table.dataTable thead .sorting_asc:before, -table.dataTable thead .sorting_asc:after, -table.dataTable thead .sorting_desc:before, -table.dataTable thead .sorting_desc:after, -table.dataTable thead .sorting_asc_disabled:before, -table.dataTable thead .sorting_asc_disabled:after, -table.dataTable thead .sorting_desc_disabled:before, -table.dataTable thead .sorting_desc_disabled:after { - position: absolute; - bottom: 0.9em; - display: block; - opacity: 0.3; -} -table.dataTable thead .sorting:before, -table.dataTable thead .sorting_asc:before, -table.dataTable thead .sorting_desc:before, -table.dataTable thead .sorting_asc_disabled:before, -table.dataTable thead .sorting_desc_disabled:before { - right: 1em; - content: "\2191"; -} -table.dataTable thead .sorting:after, -table.dataTable thead .sorting_asc:after, -table.dataTable thead .sorting_desc:after, -table.dataTable thead .sorting_asc_disabled:after, -table.dataTable thead .sorting_desc_disabled:after { - right: 0.5em; - content: "\2193"; -} -table.dataTable thead .sorting_asc:before, -table.dataTable thead .sorting_desc:after { - opacity: 1; -} -table.dataTable thead .sorting_asc_disabled:before, -table.dataTable thead .sorting_desc_disabled:after { - opacity: 0; -} - -div.dataTables_scrollHead table.dataTable { - margin-bottom: 0 !important; -} - -div.dataTables_scrollBody table { - border-top: none; - margin-top: 0 !important; - margin-bottom: 0 !important; -} -div.dataTables_scrollBody table thead .sorting:before, -div.dataTables_scrollBody table thead .sorting_asc:before, -div.dataTables_scrollBody table thead .sorting_desc:before, -div.dataTables_scrollBody table thead .sorting:after, -div.dataTables_scrollBody table thead .sorting_asc:after, -div.dataTables_scrollBody table thead .sorting_desc:after { - display: none; -} -div.dataTables_scrollBody table tbody tr:first-child th, -div.dataTables_scrollBody table tbody tr:first-child td { - border-top: none; -} - -div.dataTables_scrollFoot > .dataTables_scrollFootInner { - box-sizing: content-box; -} -div.dataTables_scrollFoot > .dataTables_scrollFootInner > table { - margin-top: 0 !important; - border-top: none; -} - -@media screen and (max-width: 767px) { - div.dataTables_wrapper div.dataTables_length, - div.dataTables_wrapper div.dataTables_filter, - div.dataTables_wrapper div.dataTables_info, - div.dataTables_wrapper div.dataTables_paginate { - text-align: center; - } - div.dataTables_wrapper div.dataTables_paginate ul.pagination { - justify-content: center !important; - } -} -table.dataTable.table-sm > thead > tr > th :not(.sorting_disabled) { - padding-right: 20px; -} -table.dataTable.table-sm .sorting:before, -table.dataTable.table-sm .sorting_asc:before, -table.dataTable.table-sm .sorting_desc:before { - top: 5px; - right: 0.85em; -} -table.dataTable.table-sm .sorting:after, -table.dataTable.table-sm .sorting_asc:after, -table.dataTable.table-sm .sorting_desc:after { - top: 5px; -} - -table.table-bordered.dataTable { - border-right-width: 0; -} -table.table-bordered.dataTable th, -table.table-bordered.dataTable td { - border-left-width: 0; -} -table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child, -table.table-bordered.dataTable td:last-child, -table.table-bordered.dataTable td:last-child { - border-right-width: 1px; -} -table.table-bordered.dataTable tbody th, -table.table-bordered.dataTable tbody td { - border-bottom-width: 0; -} - -div.dataTables_scrollHead table.table-bordered { - border-bottom-width: 0; -} - -div.table-responsive > div.dataTables_wrapper > div.row { - margin: 0; -} -div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:first-child { - padding-left: 0; -} -div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:last-child { - padding-right: 0; -} diff --git a/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/datatables.net-bs4/js/dataTables.bootstrap4.js b/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/datatables.net-bs4/js/dataTables.bootstrap4.js deleted file mode 100644 index 1db11399a3..0000000000 --- a/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/datatables.net-bs4/js/dataTables.bootstrap4.js +++ /dev/null @@ -1,184 +0,0 @@ -/*! DataTables Bootstrap 4 integration - * ©2011-2017 SpryMedia Ltd - datatables.net/license - */ - -/** - * DataTables integration for Bootstrap 4. This requires Bootstrap 4 and - * DataTables 1.10 or newer. - * - * This file sets the defaults and adds options to DataTables to style its - * controls using Bootstrap. See http://datatables.net/manual/styling/bootstrap - * for further information. - */ -(function( factory ){ - if ( typeof define === 'function' && define.amd ) { - // AMD - define( ['jquery', 'datatables.net'], function ( $ ) { - return factory( $, window, document ); - } ); - } - else if ( typeof exports === 'object' ) { - // CommonJS - module.exports = function (root, $) { - if ( ! root ) { - root = window; - } - - if ( ! $ || ! $.fn.dataTable ) { - // Require DataTables, which attaches to jQuery, including - // jQuery if needed and have a $ property so we can access the - // jQuery object that is used - $ = require('datatables.net')(root, $).$; - } - - return factory( $, root, root.document ); - }; - } - else { - // Browser - factory( jQuery, window, document ); - } -}(function( $, window, document, undefined ) { -'use strict'; -var DataTable = $.fn.dataTable; - - -/* Set the defaults for DataTables initialisation */ -$.extend( true, DataTable.defaults, { - dom: - "<'row'<'col-sm-12 col-md-6'l><'col-sm-12 col-md-6'f>>" + - "<'row'<'col-sm-12'tr>>" + - "<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>", - renderer: 'bootstrap' -} ); - - -/* Default class modification */ -$.extend( DataTable.ext.classes, { - sWrapper: "dataTables_wrapper dt-bootstrap4", - sFilterInput: "form-control form-control-sm", - sLengthSelect: "custom-select custom-select-sm form-control form-control-sm", - sProcessing: "dataTables_processing card", - sPageButton: "paginate_button page-item" -} ); - - -/* Bootstrap paging button renderer */ -DataTable.ext.renderer.pageButton.bootstrap = function ( settings, host, idx, buttons, page, pages ) { - var api = new DataTable.Api( settings ); - var classes = settings.oClasses; - var lang = settings.oLanguage.oPaginate; - var aria = settings.oLanguage.oAria.paginate || {}; - var btnDisplay, btnClass, counter=0; - - var attach = function( container, buttons ) { - var i, ien, node, button; - var clickHandler = function ( e ) { - e.preventDefault(); - if ( !$(e.currentTarget).hasClass('disabled') && api.page() != e.data.action ) { - api.page( e.data.action ).draw( 'page' ); - } - }; - - for ( i=0, ien=buttons.length ; i 0 ? - '' : ' disabled'); - break; - - case 'previous': - btnDisplay = lang.sPrevious; - btnClass = button + (page > 0 ? - '' : ' disabled'); - break; - - case 'next': - btnDisplay = lang.sNext; - btnClass = button + (page < pages-1 ? - '' : ' disabled'); - break; - - case 'last': - btnDisplay = lang.sLast; - btnClass = button + (page < pages-1 ? - '' : ' disabled'); - break; - - default: - btnDisplay = button + 1; - btnClass = page === button ? - 'active' : ''; - break; - } - - if ( btnDisplay ) { - node = $('
  • ', { - 'class': classes.sPageButton+' '+btnClass, - 'id': idx === 0 && typeof button === 'string' ? - settings.sTableId +'_'+ button : - null - } ) - .append( $('', { - 'href': '#', - 'aria-controls': settings.sTableId, - 'aria-label': aria[ button ], - 'data-dt-idx': counter, - 'tabindex': settings.iTabIndex, - 'class': 'page-link' - } ) - .html( btnDisplay ) - ) - .appendTo( container ); - - settings.oApi._fnBindAction( - node, {action: button}, clickHandler - ); - - counter++; - } - } - } - }; - - // IE9 throws an 'unknown error' if document.activeElement is used - // inside an iframe or frame. - var activeEl; - - try { - // Because this approach is destroying and recreating the paging - // elements, focus is lost on the select button which is bad for - // accessibility. So we want to restore focus once the draw has - // completed - activeEl = $(host).find(document.activeElement).data('dt-idx'); - } - catch (e) {} - - attach( - $(host).empty().html('