diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md
new file mode 100644
index 0000000000..247193db89
--- /dev/null
+++ b/CODE_OF_CONDUCT.md
@@ -0,0 +1,94 @@
+# Contributor Covenant Code of Conduct
+
+## Preamble
+
+The ABP Framework was created to implement common generic web application features in a common code base. This approach helps developers to decouple line of business application features from their custom business logic. Besides, the ABP Framework helps create MVPs and kick-start your project as quickly as possible. All the contributors try to save valuable time by automating repetitive tasks at the framework level. This code of conduct has been adopted by many [other open source communities](http://contributor-covenant.org/adopters/) and we feel it expresses our values well.
+
+
+
+## Our Pledge
+
+We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation. We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
+
+
+
+## Our Standards
+
+Examples of behavior that contributes to a positive environment for our community include:
+
+- Demonstrating empathy and kindness toward other people
+- Being respectful of differing opinions, viewpoints, and experiences
+- Giving and gracefully accepting constructive feedback
+- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
+- Focusing on what is best not just for us as individuals but for the overall community
+
+Examples of unacceptable behavior include:
+
+- The use of sexualized language or imagery, and sexual attention or advances of any kind
+- Trolling, insulting or derogatory comments, and personal or political attacks
+- Public or private harassment
+- Publishing others’ private information, such as a physical or email address, without their explicit permission
+- Other conduct which could reasonably be considered inappropriate in a professional setting
+
+
+
+## Enforcement Responsibilities
+
+Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
+
+Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned with this Code of Conduct and will communicate reasons for moderation decisions when appropriate.
+
+
+
+## Scope
+
+This Code of Conduct applies within all community spaces and when an individual officially represents the community in public spaces. Examples of representing our community include:
+
+- Using an official e-mail address.
+- Posting via an official social media account.
+- Acting as an appointed representative at an online or offline event.
+
+
+
+## Enforcement
+
+Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at [info@abp.io](mailto:info@abp.io). All complaints will be reviewed and investigated promptly and fairly. All community leaders must to respect the privacy and security of the reporter of any incident.
+
+
+
+## Enforcement Guidelines
+
+Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
+
+### 1. Correction
+
+**Community Impact:** Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
+
+**Consequence:** A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
+
+### 2. Warning
+
+**Community Impact:** A violation through a single incident or series of actions.
+
+**Consequence:** A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period. This includes avoiding interactions in community spaces and external channels like social media. Violating these terms may lead to a temporary or permanent ban.
+
+### 3. Temporary Ban
+
+**Community Impact:** A serious violation of community standards, including sustained inappropriate behavior.
+
+**Consequence:** A temporary ban from any interaction or public communication with the community for a specified period. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
+
+### 4. Permanent Ban
+
+**Community Impact:** Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
+
+**Consequence:** A permanent ban from any sort of public interaction within the community.
+
+
+
+## Attribution
+
+This document is adapted from the [Contributor Covenant](https://www.contributor-covenant.org/), version 2.0, available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
+Community Impact Guidelines were inspired by [Mozilla’s code of conduct enforcement ladder](https://github.com/mozilla/diversity).
+For answers to common questions about this code of conduct, see the FAQ at https://www.contributor-covenant.org/faq.
+Translations are available at https://www.contributor-covenant.org/translations.
diff --git a/README.md b/README.md
index b588e0cba4..f1f941f794 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,8 @@
[](https://www.nuget.org/packages/Volo.Abp.Core)
[](https://docs.abp.io/en/abp/latest/Nightly-Builds)
[](https://www.nuget.org/packages/Volo.Abp.Core)
-
+[](https://github.com/abpframework/abp/blob/dev/CODE_OF_CONDUCT.md)
+[](https://cla-assistant.io/abpframework/abp)
[](https://discord.gg/abp)
ABP Framework is a complete **infrastructure** based on **ASP.NET Core** to create **modern web applications** and **APIs** by following the software development **best practices** and the **latest technologies**. Check out https://abp.io
diff --git a/abp_io/AbpIoLocalization/AbpIoLocalization/Commercial/Localization/Resources/en.json b/abp_io/AbpIoLocalization/AbpIoLocalization/Commercial/Localization/Resources/en.json
index c6521a6c56..778da632a8 100644
--- a/abp_io/AbpIoLocalization/AbpIoLocalization/Commercial/Localization/Resources/en.json
+++ b/abp_io/AbpIoLocalization/AbpIoLocalization/Commercial/Localization/Resources/en.json
@@ -539,6 +539,8 @@
"Pricing_Page_Testimonial_5": "ABP Framework is not only a framework, but it is also a guide for project development/management, because it provides DDD, GenericRepository, DI, Microservice, and Modularity training. Even if you are not going to use the framework itself, you can develop yourself with docs.abp.io which is well and professionally prepared (OpenIddict, Redis, Quartz etc.). Because many things are pre-built, it shortens project development time significantly (Such as login page, exception handling, data filtering, seeding, audit logging, localization, auto API controller etc.). As an example from our application, I have used Local Event Bus for stock control. So, I am able to manage order movements by writing stock handler. It is wonderful not to lose time for CreationTime, CreatorId. They are being filled automatically.",
"Pricing_Page_Testimonial_6": "ABP Framework is a good framework but it needs time to understand the different layers, classes, and libraries it used (specially ABP). I spent a lot of time reading the code base, but ABP Commercial save us time to create the project specialty entities (AR) and the repository linked to each of them. I liked also the approach used in ABP is very mature, we know is based on DDD and monolith.",
"Pricing_Page_Testimonial_7": "As a startup we need to iterate quickly and spend minimal time on boilerplate and non-core features.\nOur engineers range from highly experienced to junior engineers, we needed a common understanding and a way to share technical and domain knowledge, ABP allowed us to do this due to their great guides and documentation. \nThere are things we haven't had to worry about since they work out of the box with ABP. \nABP helped us streamline rapid prototyping and development, less than 4 weeks from feature inception to production. With all its premium features included in the license, ABP has given us, \"Startup in a Box\" on the Software Engineering Side.",
+ "Pricing_Page_Testimonial_8": "I would recommend ABP commercial to all those who want to expand the range of products available to their customers. It's fantastic when need to use a distributed enterprise enviroment (Angualr, WPF, Win&Linux). In addition to their products, we love their support, which makes our job faster and easier. We already know that we have found a great partner for the future who will support us in expanding our business.",
+ "Pricing_Page_Testimonial_9": "We are a company of 2 employees that's been in business for over 20 years.\nIn terms of our experience with ABP Commercial, we were approached by a client who requested that we develop a new human resources application in a modern environment to replace their 25-year-old Access application. We decided to transition from a desktop solution to a web-based one.\n\nAt the time, we had very little knowledge of web applications and .NET but we stumbled upon ABP Commercial, and with the help of ABP Framework, technical documentation, and ABP Suite, we were able to not only develop the application to the client's specifications but also successfully work within a .NET environment within a year.",
"AbpBookDownloadArea_ClaimYourEBook": "Claim your Mastering ABP Framework E-Book",
"AddMemberModal_Warning_1": "If the username you are trying to add doesn't exist in the system, please ask your team member to register on {0} and share the username of his/her account with you.",
"MyOrganizations_Detail_WelcomeMessage": "Welcome to your organization, {0}",
@@ -832,6 +834,14 @@
"Volo.AbpIo.Commercial:040001": "API Access Key is incorrect.",
"GetLepton": "Get Lepton Now",
"MyOrganizations_Detail_LicenseStartDate": "License Start Date",
- "MyOrganizations_Detail_LicenseExpiryDate": "Expiry Date"
+ "MyOrganizations_Detail_LicenseExpiryDate": "Expiry Date",
+ "BlazoriseSupport": "How do I get the Blazorise license key and support from the Blazorise team?",
+ "BlazoriseSupportExplanation": "Follow the steps below to get support from the Blazorise team and get your Blazorise license key:",
+ "BlazoriseSupportExplanation1": "Sign up for a new account at blazorise.com/support/register with the same email address as your abp.io account. Leave the \"License Key\" entry blank. It must be the same email address as your email account on abp.io.",
+ "BlazoriseSupportExplanation2": "Verify your email address by checking your email box. Check your spam box if you don't see an email in your inbox!",
+ "BlazoriseSupportExplanation3": "Log into the Blazorise support website at blazorise.com/support/login.",
+ "BlazoriseSupportExplanation4": "If you have an active ABP Commercial license, you will also have a Blazorise PRO license. You can get your Blazorise license key at blazorise.com/support/user/manage/license.",
+ "BlazoriseSupportExplanation5": "You can post your questions on the support website and generate a product token for your application.",
+ "AbpLiveTrainingPackages": "ABP Live Training Packages"
}
}
diff --git a/configureawait.props b/configureawait.props
index 92f22f85fb..93d9dfa6a4 100644
--- a/configureawait.props
+++ b/configureawait.props
@@ -1,9 +1,9 @@
-
+
All
runtime; build; native; contentfiles; analyzers
-
\ No newline at end of file
+
diff --git a/docs/en/Community-Articles/2022-11-14-How-to-add-a-custom-grant-type-in-OpenIddict/POST.md b/docs/en/Community-Articles/2022-11-14-How-to-add-a-custom-grant-type-in-OpenIddict/POST.md
index 73a0d7589c..0401c31898 100644
--- a/docs/en/Community-Articles/2022-11-14-How-to-add-a-custom-grant-type-in-OpenIddict/POST.md
+++ b/docs/en/Community-Articles/2022-11-14-How-to-add-a-custom-grant-type-in-OpenIddict/POST.md
@@ -71,7 +71,13 @@ public class MyTokenExtensionGrant : ITokenExtensionGrant
var claimsPrincipal = await userClaimsPrincipalFactory.CreateAsync(user);
claimsPrincipal.SetScopes(principal.GetScopes());
claimsPrincipal.SetResources(await GetResourcesAsync(context, principal.GetScopes()));
+
+ //abp version < 7.3
await context.HttpContext.RequestServices.GetRequiredService().SetAsync(principal);
+
+ //For abp version >= 7.3
+ await context.HttpContext.RequestServices.GetRequiredService().HandleAsync(context.Request, principal);
+
return new SignInResult(OpenIddictServerAspNetCoreDefaults.AuthenticationScheme, claimsPrincipal);
}
diff --git a/docs/en/Getting-Started-React-Native.md b/docs/en/Getting-Started-React-Native.md
index df8fb355a5..bc3c7ef419 100644
--- a/docs/en/Getting-Started-React-Native.md
+++ b/docs/en/Getting-Started-React-Native.md
@@ -1,11 +1,11 @@
# Getting Started with the React Native
-````json
+```json
//[doc-params]
{
- "Tiered": ["No", "Yes"]
+ "Tiered": ["No", "Yes"]
}
-````
+```
ABP platform provide basic [React Native](https://reactnative.dev/) startup template to develop mobile applications **integrated to your ABP based backends**.
@@ -20,7 +20,6 @@ Please follow the steps below to prepare your development environment for React
3. **[Optional] Install VS Code:** [VS Code](https://code.visualstudio.com/) is a free, open-source IDE which works seamlessly with TypeScript. Although you can use any IDE including Visual Studio or Rider, VS Code will most likely deliver the best developer experience when it comes to React Native projects.
4. **Install an Emulator:** React Native applications need an Android emulator or an iOS simulator to run on your OS. See the [Android Studio Emulator](https://docs.expo.io/workflow/android-simulator/) or [iOS Simulator](https://docs.expo.io/workflow/ios-simulator/) on expo.io documentation to learn how to set up an emulator.
-
## How to Start a New React Native Project
You have multiple options to initiate a new React Native project that works with ABP:
@@ -56,6 +55,7 @@ Please do the following:
> When you are using OpenIddict, You should remove 'clientSecret' on Environment.js (if exists) and disable "HTTPS-only" settings. (Openiddict has default since Version 6.0)
### How to disable Https-only in Openiddict.
+
You should add this code on {{ if Tiered == "No" }}`MyProjectNameHttpApiHostModule`{{ else if Tiered == "Yes" }}`MyProjectNameAuthServerModule`{{ end }}.
```csharp
@@ -79,26 +79,27 @@ A React Native application running on an Android emulator or a physical phone **
{{ if Tiered == "No"}}

-* Open the `appsettings.json` in the `.HttpApi.Host` folder. Replace the `localhost` address on the `SelfUrl` and `Authority` properties with your local IP address.
-* Open the `launchSettings.json` in the `.HttpApi.Host/Properties` folder. Replace the `localhost` address on the `applicationUrl` properties with your local IP address.
+- Open the `appsettings.json` file in the `.HttpApi.Host` folder. Replace the `localhost` address on the `SelfUrl` and `Authority` properties with your local IP address.
+- Open the `launchSettings.json` file in the `.HttpApi.Host/Properties` folder. Replace the `localhost` address on the `applicationUrl` properties with your local IP address.
{{ else if Tiered == "Yes" }}

-* Open the `appsettings.json` in the `.AuthServer` folder. Replace the `localhost` address on the `SelfUrl` property with your local IP address.
-* Open the `launchSettings.json` in the `.AuthServer/Properties` folder. Replace the `localhost` address on the `applicationUrl` properties with your local IP address.
-* Open the `appsettings.json` in the `.HttpApi.Host` folder. Replace the `localhost` address on the `Authority` property with your local IP address.
-* Open the `launchSettings.json` in the `.HttpApi.Host/Properties` folder. Replace the `localhost` address on the `applicationUrl` properties with your local IP address.
+- Open the `appsettings.json` file in the `.AuthServer` folder. Replace the `localhost` address on the `SelfUrl` property with your local IP address.
+- Open the `launchSettings.json` file in the `.AuthServer/Properties` folder. Replace the `localhost` address on the `applicationUrl` properties with your local IP address.
+- Open the `appsettings.json` file in the `.HttpApi.Host` folder. Replace the `localhost` address on the `Authority` property with your local IP address.
+- Open the `launchSettings.json` file in the `.HttpApi.Host/Properties` folder. Replace the `localhost` address on the `applicationUrl` properties with your local IP address.
{{ end }}
Run the backend application as described in the [getting started document](Getting-Started.md).
> You should turn off the "Https Restriction" if you're using OpenIddict as a central identity management solution. Because the IOS Simulator doesn't support self-signed certificates and OpenIddict is set to only work with HTTPS by default.
+
## How to disable the Https-only settings of OpenIddict
- Go to MyProjectNameHttpApiHostModule.cs under the host project. Add put these codes under the `PreConfigureServices` function.
+Go to MyProjectNameHttpApiHostModule.cs under the host project. And put these codes under the `PreConfigureServices` function.
```csharp
#if DEBUG
@@ -109,7 +110,6 @@ Run the backend application as described in the [getting started document](Getti
#endif
```
-
## How to Configure & Run the React Native Application
1. Make sure the [database migration is complete](./Getting-Started?UI=NG&DB=EF&Tiered=No#create-the-database) and the [API is up and running](./Getting-Started?UI=NG&DB=EF&Tiered=No#run-the-application).
@@ -128,21 +128,20 @@ Run the backend application as described in the [getting started document](Getti
{{ end }}
-4. Run `yarn start` or `npm start`. Wait Expo CLI to start. Expo CLI opens the management interface on the `http://localhost:19002/` address.
+4. Run `yarn start` or `npm start`. Wait for the Expo CLI to print the opitons.
> The React Native application was generated with [Expo](https://expo.io/). Expo is a set of tools built around React Native to help you quickly start an app and, while it has many features.
-
+
-In the above management interface, you can start the application with an Android emulator, an iOS simulator or a physical phone by the scan the QR code with the [Expo Client](https://expo.io/tools#client).
+In the above image, you can start the application with an Android emulator, an iOS simulator or a physical phone by scanning the QR code with the [Expo Client](https://expo.io/tools#client) or choosing the option.

-Enter **admin** as the username and **1q2w3E*** as the password to login to the application.
+Enter **admin** as the username and **1q2w3E\*** as the password to login to the application.
The application is up and running. You can continue to develop your application based on this startup template.
-
## See Also
-* [React Native project structure](./Startup-Templates/Application#react-native)
+- [React Native project structure](./Startup-Templates/Application#react-native)
diff --git a/docs/en/Modules/OpenIddict.md b/docs/en/Modules/OpenIddict.md
index 74598ab1f8..db13d4b452 100644
--- a/docs/en/Modules/OpenIddict.md
+++ b/docs/en/Modules/OpenIddict.md
@@ -323,16 +323,16 @@ Configure(options =>
[Claims Principal Factory](https://docs.abp.io/en/abp/latest/Authorization#claims-principal-factory) can be used to add/remove claims to the `ClaimsPrincipal`.
-The `AbpDefaultOpenIddictClaimDestinationsProvider` service will add `Name`, `Email,` and `Role` types of Claims to `access_token` and `id_token`, other claims are only added to `access_token` by default, and remove the `SecurityStampClaimType` secret claim of `Identity`.
+The `AbpDefaultOpenIddictClaimsPrincipalHandler` service will add `Name`, `Email,` and `Role` types of Claims to `access_token` and `id_token`, other claims are only added to `access_token` by default, and remove the `SecurityStampClaimType` secret claim of `Identity`.
-Create a service that inherits from `IAbpOpenIddictClaimDestinationsProvider` and add it to DI to fully control the destinations of claims.
+Create a service that inherits from `IAbpOpenIddictClaimsPrincipalHandler` and add it to DI to fully control the destinations of claims.
```cs
-public class MyClaimDestinationsProvider : IAbpOpenIddictClaimDestinationsProvider, ITransientDependency
+public class MyClaimDestinationsHandler : IAbpOpenIddictClaimsPrincipalHandler, ITransientDependency
{
- public virtual Task SetDestinationsAsync(AbpOpenIddictClaimDestinationsProviderContext context)
+ public virtual Task HandleAsync(AbpOpenIddictClaimsPrincipalHandlerContext context)
{
- foreach (var claim in context.Claims)
+ foreach (var claim in context.Principal.Claims)
{
if (claim.Type == MyClaims.MyClaimsType)
{
@@ -351,7 +351,7 @@ public class MyClaimDestinationsProvider : IAbpOpenIddictClaimDestinationsProvid
Configure(options =>
{
- options.ClaimDestinationsProvider.Add();
+ options.ClaimsPrincipalHandlers.Add();
});
```
diff --git a/docs/en/UI/Angular/Card-Component.md b/docs/en/UI/Angular/Card-Component.md
index 861171c39e..ca056853ff 100644
--- a/docs/en/UI/Angular/Card-Component.md
+++ b/docs/en/UI/Angular/Card-Component.md
@@ -29,7 +29,7 @@ ABP Card Component is a part of the `ThemeSharedModule` module. If you've import
// my-feature.module.ts
import { ThemeSharedModule } from '@abp/ng.theme.shared';
-import { CardDemoComponent } from './chart-demo.component';
+import { CardDemoComponent } from './card-demo.component';
@NgModule({
imports: [
diff --git a/docs/en/UI/Angular/Checkbox-Component.md b/docs/en/UI/Angular/Checkbox-Component.md
new file mode 100644
index 0000000000..898f86732c
--- /dev/null
+++ b/docs/en/UI/Angular/Checkbox-Component.md
@@ -0,0 +1,51 @@
+# Checkbox Component
+
+The ABP Checkbox Component is a reusable form input component for the checkbox type.
+
+# Inputs
+
+- `label`
+- `labelClass (default form-check-label)`
+- `checkboxId`
+- `checkboxReadonly`
+- `checkboxReadonly (default form-check-input)`
+- `checkboxStyle`
+
+# Outputs
+
+- `checkboxBlur`
+- `checkboxFocus`
+
+# Usage
+
+The ABP Checkbox component is a part of the `ThemeSharedModule` module. If you've imported that module into your module, there's no need to import it again. If not, then first import it as shown below:
+
+```ts
+// my-feature.module.ts
+
+import { ThemeSharedModule } from "@abp/ng.theme.shared";
+import { CheckboxDemoComponent } from "./CheckboxDemoComponent.component";
+
+@NgModule({
+ imports: [
+ ThemeSharedModule,
+ // ...
+ ],
+ declarations: [CheckboxDemoComponent],
+ // ...
+})
+export class MyFeatureModule {}
+```
+
+Then, the `abp-checkbox` component can be used. See the example below:
+
+```html
+
+```
+
+See the checkbox input result below:
+
+
diff --git a/docs/en/UI/Angular/FormInput-Component.md b/docs/en/UI/Angular/FormInput-Component.md
new file mode 100644
index 0000000000..f1dedd824a
--- /dev/null
+++ b/docs/en/UI/Angular/FormInput-Component.md
@@ -0,0 +1,49 @@
+# Form Input Component
+
+The ABP FormInput Component is a reusable form input component for the text type.
+
+# Inputs
+* `label`
+* `labelClass (default form-label)`
+* `inputPlaceholder`
+* `inputReadonly`
+* `inputClass (default form-control)`
+
+# Outputs
+* `formBlur`
+* `formFocus`
+
+# Usage
+
+The ABP FormInput component is a part of the `ThemeSharedModule` module. If you've imported that module into your module, there's no need to import it again. If not, then first import it as shown below:
+
+```ts
+import { ThemeSharedModule } from "@abp/ng.theme.shared";
+import { FormInputDemoComponent } from "./FomrInputDemoComponent.component";
+
+@NgModule({
+ imports: [
+ ThemeSharedModule,
+ // ...
+ ],
+ declarations: [FormInputDemoComponent],
+})
+export class MyFeatureModule {}
+```
+
+Then, the `abp-form-input` component can be used. See the example below:
+
+```html
+
+```
+
+See the form input result below:
+
+
diff --git a/docs/en/UI/Angular/images/form-checkbox.png b/docs/en/UI/Angular/images/form-checkbox.png
new file mode 100644
index 0000000000..18d064c474
Binary files /dev/null and b/docs/en/UI/Angular/images/form-checkbox.png differ
diff --git a/docs/en/UI/Angular/images/form-input.png b/docs/en/UI/Angular/images/form-input.png
new file mode 100644
index 0000000000..73c9cfd74c
Binary files /dev/null and b/docs/en/UI/Angular/images/form-input.png differ
diff --git a/docs/en/UI/AspNetCore/Tag-Helpers/Dropdowns.md b/docs/en/UI/AspNetCore/Tag-Helpers/Dropdowns.md
index 1c062b5f73..75d57479b5 100644
--- a/docs/en/UI/AspNetCore/Tag-Helpers/Dropdowns.md
+++ b/docs/en/UI/AspNetCore/Tag-Helpers/Dropdowns.md
@@ -70,8 +70,8 @@ Basic usage:
A value indicates which direction `abp-dropdown-menu` items will be aligned to. Should be one of the following values:
-* `Left` (default value)
-* `Right`
+* `Start` (default value)
+* `End`
### Additional content
diff --git a/docs/en/images/rn-options.png b/docs/en/images/rn-options.png
new file mode 100644
index 0000000000..810dda8183
Binary files /dev/null and b/docs/en/images/rn-options.png differ
diff --git a/framework/Volo.Abp.sln b/framework/Volo.Abp.sln
index f98d2dd1a5..1c201237e3 100644
--- a/framework/Volo.Abp.sln
+++ b/framework/Volo.Abp.sln
@@ -437,6 +437,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Volo.Abp.AspNetCore.Compone
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Volo.Abp.Ldap.Abstractions", "src\Volo.Abp.Ldap.Abstractions\Volo.Abp.Ldap.Abstractions.csproj", "{0F80E95C-41E6-4F23-94FF-FC9D0B8D5D71}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Volo.Abp.Ddd.Domain.Shared", "src\Volo.Abp.Ddd.Domain.Shared\Volo.Abp.Ddd.Domain.Shared.csproj", "{0858571B-CE73-4AD6-BD06-EC9F0714D8E9}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -1303,6 +1305,10 @@ Global
{0F80E95C-41E6-4F23-94FF-FC9D0B8D5D71}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0F80E95C-41E6-4F23-94FF-FC9D0B8D5D71}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0F80E95C-41E6-4F23-94FF-FC9D0B8D5D71}.Release|Any CPU.Build.0 = Release|Any CPU
+ {0858571B-CE73-4AD6-BD06-EC9F0714D8E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {0858571B-CE73-4AD6-BD06-EC9F0714D8E9}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {0858571B-CE73-4AD6-BD06-EC9F0714D8E9}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {0858571B-CE73-4AD6-BD06-EC9F0714D8E9}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -1523,6 +1529,7 @@ Global
{E9492F9F-47E0-45A6-A51D-9949FEAA8543} = {5DF0E140-0513-4D0D-BE2E-3D4D85CD70E6}
{8764DFAF-D13D-449A-9A5E-5D7F0B2D7FEF} = {5DF0E140-0513-4D0D-BE2E-3D4D85CD70E6}
{0F80E95C-41E6-4F23-94FF-FC9D0B8D5D71} = {5DF0E140-0513-4D0D-BE2E-3D4D85CD70E6}
+ {0858571B-CE73-4AD6-BD06-EC9F0714D8E9} = {5DF0E140-0513-4D0D-BE2E-3D4D85CD70E6}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {BB97ECF4-9A84-433F-A80B-2A3285BDD1D5}
diff --git a/framework/src/Volo.Abp.AspNetCore.Components.WebAssembly/Volo/Abp/AspNetCore/Components/WebAssembly/Extensibility/WebAssemblyLookupApiRequestService.cs b/framework/src/Volo.Abp.AspNetCore.Components.WebAssembly/Volo/Abp/AspNetCore/Components/WebAssembly/Extensibility/WebAssemblyLookupApiRequestService.cs
index b8eadacdd6..01378f5ddd 100644
--- a/framework/src/Volo.Abp.AspNetCore.Components.WebAssembly/Volo/Abp/AspNetCore/Components/WebAssembly/Extensibility/WebAssemblyLookupApiRequestService.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Components.WebAssembly/Volo/Abp/AspNetCore/Components/WebAssembly/Extensibility/WebAssemblyLookupApiRequestService.cs
@@ -3,7 +3,6 @@ using System.Globalization;
using System.Net.Http;
using System.Threading.Tasks;
using Castle.Components.DictionaryAdapter;
-using Fody;
using Volo.Abp.AspNetCore.Components.Web.Extensibility;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Http.Client.Authentication;
diff --git a/framework/src/Volo.Abp.AspNetCore.MultiTenancy/Volo/Abp/AspNetCore/MultiTenancy/AbpAspNetCoreMultiTenancyOptions.cs b/framework/src/Volo.Abp.AspNetCore.MultiTenancy/Volo/Abp/AspNetCore/MultiTenancy/AbpAspNetCoreMultiTenancyOptions.cs
index 3e775d0da2..3ac06350d9 100644
--- a/framework/src/Volo.Abp.AspNetCore.MultiTenancy/Volo/Abp/AspNetCore/MultiTenancy/AbpAspNetCoreMultiTenancyOptions.cs
+++ b/framework/src/Volo.Abp.AspNetCore.MultiTenancy/Volo/Abp/AspNetCore/MultiTenancy/AbpAspNetCoreMultiTenancyOptions.cs
@@ -1,14 +1,23 @@
using System;
using System.Globalization;
using System.Net;
+using System.Runtime.ExceptionServices;
+using System.Text;
using System.Text.Encodings.Web;
+using System.Text.Json;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Extensions;
+using Microsoft.AspNetCore.Http.Json;
+using Microsoft.AspNetCore.Internal;
+using Microsoft.AspNetCore.Mvc.Formatters;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
+using Microsoft.Net.Http.Headers;
+using Volo.Abp.Http;
+using Volo.Abp.Json;
using Volo.Abp.MultiTenancy;
namespace Volo.Abp.AspNetCore.MultiTenancy;
@@ -58,14 +67,70 @@ public class AbpAspNetCoreMultiTenancyOptions
}
}
+ context.Response.Headers.Add("Abp-Tenant-Resolve-Error", HtmlEncoder.Default.Encode(exception.Message));
if (isCookieAuthentication && context.Request.Method.Equals("Get", StringComparison.OrdinalIgnoreCase) && !context.Request.IsAjax())
{
- context.Response.Headers.Add("Abp-Tenant-Resolve-Error", HtmlEncoder.Default.Encode(exception.Message));
context.Response.Redirect(context.Request.GetEncodedUrl());
}
+ else if (context.Request.IsAjax())
+ {
+ var error = new RemoteServiceErrorResponse(new RemoteServiceErrorInfo(exception.Message, exception is BusinessException businessException ? businessException.Details : string.Empty));
+
+ var jsonSerializerOptions = context.RequestServices.GetRequiredService>().Value.SerializerOptions;
+
+ ResponseContentTypeHelper.ResolveContentTypeAndEncoding(
+ null,
+ context.Response.ContentType,
+ (new MediaTypeHeaderValue("application/json")
+ {
+ Encoding = Encoding.UTF8
+ }.ToString(), Encoding.UTF8),
+ MediaType.GetEncoding,
+ out var resolvedContentType,
+ out var resolvedContentTypeEncoding);
+
+ context.Response.ContentType = resolvedContentType;
+ context.Response.StatusCode = (int)HttpStatusCode.NotFound;
+
+ var responseStream = context.Response.Body;
+ if (resolvedContentTypeEncoding.CodePage == Encoding.UTF8.CodePage)
+ {
+ try
+ {
+ await JsonSerializer.SerializeAsync(responseStream, error, error.GetType(), jsonSerializerOptions, context.RequestAborted);
+ await responseStream.FlushAsync(context.RequestAborted);
+ }
+ catch (OperationCanceledException) when (context.RequestAborted.IsCancellationRequested) { }
+ }
+ else
+ {
+ var transcodingStream = Encoding.CreateTranscodingStream(context.Response.Body, resolvedContentTypeEncoding, Encoding.UTF8, leaveOpen: true);
+ ExceptionDispatchInfo exceptionDispatchInfo = null;
+ try
+ {
+ await JsonSerializer.SerializeAsync(transcodingStream, error, error.GetType(), jsonSerializerOptions, context.RequestAborted);
+ await transcodingStream.FlushAsync(context.RequestAborted);
+ }
+ catch (OperationCanceledException) when (context.RequestAborted.IsCancellationRequested) { }
+ catch (Exception ex)
+ {
+ exceptionDispatchInfo = ExceptionDispatchInfo.Capture(ex);
+ }
+ finally
+ {
+ try
+ {
+ await transcodingStream.DisposeAsync();
+ }
+ catch when (exceptionDispatchInfo != null)
+ {
+ }
+ exceptionDispatchInfo?.Throw();
+ }
+ }
+ }
else
{
- context.Response.Headers.Add("Abp-Tenant-Resolve-Error", HtmlEncoder.Default.Encode(exception.Message));
context.Response.StatusCode = (int)HttpStatusCode.NotFound;
context.Response.ContentType = "text/html";
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/DatePicker/AbpDatePickerBaseTagHelper.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/DatePicker/AbpDatePickerBaseTagHelper.cs
index 10923f25af..7f9c34fb7a 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/DatePicker/AbpDatePickerBaseTagHelper.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/DatePicker/AbpDatePickerBaseTagHelper.cs
@@ -9,7 +9,7 @@ public abstract class
where TTagHelper : AbpDatePickerBaseTagHelper
{
- private readonly IAbpDatePickerOptions _abpDatePickerOptionsImplementation;
+ private IAbpDatePickerOptions _abpDatePickerOptionsImplementation;
public string Label { get; set; }
@@ -47,6 +47,11 @@ public abstract class
{
_abpDatePickerOptionsImplementation = new AbpDatePickerOptions();
}
+
+ public void SetDatePickerOptions(IAbpDatePickerOptions options)
+ {
+ _abpDatePickerOptionsImplementation = options;
+ }
public string PickerId {
get => _abpDatePickerOptionsImplementation.PickerId;
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/DatePicker/AbpDatePickerBaseTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/DatePicker/AbpDatePickerBaseTagHelperService.cs
index c1ecc4b32d..6e5f0ad2f7 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/DatePicker/AbpDatePickerBaseTagHelperService.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Form/DatePicker/AbpDatePickerBaseTagHelperService.cs
@@ -84,6 +84,11 @@ public abstract class AbpDatePickerBaseTagHelperService : AbpTagHelp
AddReadOnlyAttribute(TagHelperOutput);
AddPlaceholderAttribute(TagHelperOutput);
AddInfoTextId(TagHelperOutput);
+ var optionsAttribute = GetAttributeAndModelExpression(out var modelExpression);
+ if (optionsAttribute != null)
+ {
+ TagHelper.SetDatePickerOptions(optionsAttribute.GetDatePickerOptions(modelExpression.ModelExplorer));
+ }
// Open and close button
var openButtonContent = TagHelper.OpenButton
@@ -426,15 +431,6 @@ public abstract class AbpDatePickerBaseTagHelperService : AbpTagHelp
attrList.Add(attr);
}
- var optionsAttribute = GetAttributeAndModelExpression(out var modelExpression);
- if (optionsAttribute != null)
- {
- foreach (var attr in ConvertDatePickerOptionsToAttributeList(optionsAttribute.GetDatePickerOptions(modelExpression.ModelExplorer)))
- {
- attrList.Add(attr);
- }
- }
-
AddBaseTagAttributes(attrList);
return attrList;
@@ -591,7 +587,7 @@ public abstract class AbpDatePickerBaseTagHelperService : AbpTagHelp
abpButtonTagHelper.ButtonType = AbpButtonType.Outline_Secondary;
abpButtonTagHelper.Icon = icon;
- abpButtonTagHelper.Disabled = TagHelper.IsDisabled;
+ abpButtonTagHelper.Disabled = TagHelper.IsDisabled || GetAttribute() != null;
if (!visible)
{
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bundling/Volo/Abp/AspNetCore/Mvc/UI/Bundling/TagHelpers/AbpTagHelperResourceService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bundling/Volo/Abp/AspNetCore/Mvc/UI/Bundling/TagHelpers/AbpTagHelperResourceService.cs
index 1190e1794d..04a8761534 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bundling/Volo/Abp/AspNetCore/Mvc/UI/Bundling/TagHelpers/AbpTagHelperResourceService.cs
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bundling/Volo/Abp/AspNetCore/Mvc/UI/Bundling/TagHelpers/AbpTagHelperResourceService.cs
@@ -3,14 +3,13 @@ using Microsoft.AspNetCore.Razor.TagHelpers;
using System;
using System.Collections.Generic;
using System.Diagnostics;
+using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
-using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using Microsoft.Extensions.Options;
-using Volo.Abp.AspNetCore.VirtualFileSystem;
using Volo.Abp.DependencyInjection;
namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers;
@@ -68,7 +67,9 @@ public abstract class AbpTagHelperResourceService : ITransientDependency
if (file == null || !file.Exists)
{
- throw new AbpException($"Could not find the bundle file '{bundleFile}' for the bundle '{bundleName}'!");
+ Logger.LogError($"Could not find the bundle file '{bundleFile}' for the bundle '{bundleName}'!");
+ AddErrorScript(viewContext, tagHelper, context, output, bundleFile, bundleName);
+ continue;
}
if (file.Length > 0)
@@ -87,6 +88,11 @@ public abstract class AbpTagHelperResourceService : ITransientDependency
protected abstract void AddHtmlTag(ViewContext viewContext, TagHelper tagHelper, TagHelperContext context, TagHelperOutput output, string file);
+ protected virtual void AddErrorScript(ViewContext viewContext, TagHelper tagHelper, TagHelperContext context, TagHelperOutput output, string file, string bundleName)
+ {
+ output.Content.AppendHtml($"{Environment.NewLine}");
+ }
+
protected virtual string GenerateBundleName(List bundleItems)
{
return bundleItems.JoinAsString("|").ToMd5();
diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/dom-event-handlers.js b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/dom-event-handlers.js
index 945df5d0c6..6501c23a14 100644
--- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/dom-event-handlers.js
+++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/dom-event-handlers.js
@@ -643,8 +643,9 @@
var momentEndDate = getMoment(endDate, options);
if (momentStartDate.isValid()) {
picker.setStartDate(momentStartDate);
+ picker.setEndDate(momentEndDate);
}
- if (momentEndDate.isValid()) {
+ if (momentEndDate.isValid() && !singleDatePicker) {
picker.setEndDate(momentEndDate);
}
});
@@ -761,6 +762,7 @@
abp.dom.initializers.initializeForms(args.$el.findWithSelf('form'), true);
abp.dom.initializers.initializeScript(args.$el);
abp.dom.initializers.initializeAutocompleteSelects(args.$el.findWithSelf('.auto-complete-select'));
+ abp.dom.initializers.initializeDateRangePickers(args.$el);
});
abp.dom.onNodeRemoved(function (args) {
@@ -772,6 +774,7 @@
abp.event.on('abp.configurationInitialized', function () {
abp.libs.bootstrapDatepicker.normalizeLanguageConfig();
});
+
$(function () {
abp.dom.initializers.initializeToolTips($('[data-toggle="tooltip"]'));
@@ -782,7 +785,6 @@
abp.dom.initializers.initializeForms($('form'));
abp.dom.initializers.initializeAutocompleteSelects($('.auto-complete-select'));
$('[data-auto-focus="true"]').first().findWithSelf('input,select').focus();
-
});
})(jQuery);
diff --git a/framework/src/Volo.Abp.AspNetCore/Microsoft/AspNetCore/Internal/ResponseContentTypeHelper.cs b/framework/src/Volo.Abp.AspNetCore/Microsoft/AspNetCore/Internal/ResponseContentTypeHelper.cs
new file mode 100644
index 0000000000..bff1290835
--- /dev/null
+++ b/framework/src/Volo.Abp.AspNetCore/Microsoft/AspNetCore/Internal/ResponseContentTypeHelper.cs
@@ -0,0 +1,78 @@
+using System;
+using System.Net.Mime;
+using System.Text;
+using Microsoft.AspNetCore.Http;
+using Microsoft.Net.Http.Headers;
+
+namespace Microsoft.AspNetCore.Internal;
+
+///
+/// https://github.com/dotnet/aspnetcore/blob/release/7.0/src/Shared/ResponseContentTypeHelper.cs
+///
+public static class ResponseContentTypeHelper
+{
+ ///
+ /// Gets the content type and encoding that need to be used for the response.
+ /// The priority for selecting the content type is:
+ /// 1. ContentType property set on the action result
+ /// 2. property set on
+ /// 3. Default content type set on the action result
+ ///
+ ///
+ /// The user supplied content type is not modified and is used as is. For example, if user
+ /// sets the content type to be "text/plain" without any encoding, then the default content type's
+ /// encoding is used to write the response and the ContentType header is set to be "text/plain" without any
+ /// "charset" information.
+ ///
+ public static void ResolveContentTypeAndEncoding(
+ string? actionResultContentType,
+ string? httpResponseContentType,
+ (string defaultContentType, Encoding defaultEncoding) @default,
+ Func getEncoding,
+ out string resolvedContentType,
+ out Encoding resolvedContentTypeEncoding)
+ {
+ var (defaultContentType, defaultContentTypeEncoding) = @default;
+
+ // 1. User sets the ContentType property on the action result
+ if (actionResultContentType != null)
+ {
+ resolvedContentType = actionResultContentType;
+ var actionResultEncoding = getEncoding(actionResultContentType);
+ resolvedContentTypeEncoding = actionResultEncoding ?? defaultContentTypeEncoding;
+ return;
+ }
+
+ // 2. User sets the ContentType property on the http response directly
+ if (!string.IsNullOrEmpty(httpResponseContentType))
+ {
+ var mediaTypeEncoding = getEncoding(httpResponseContentType);
+ if (mediaTypeEncoding != null)
+ {
+ resolvedContentType = httpResponseContentType;
+ resolvedContentTypeEncoding = mediaTypeEncoding;
+ }
+ else
+ {
+ resolvedContentType = httpResponseContentType;
+ resolvedContentTypeEncoding = defaultContentTypeEncoding;
+ }
+
+ return;
+ }
+
+ // 3. Fall-back to the default content type
+ resolvedContentType = defaultContentType;
+ resolvedContentTypeEncoding = defaultContentTypeEncoding;
+ }
+
+ public static Encoding GetEncoding(string mediaType)
+ {
+ if (MediaTypeHeaderValue.TryParse(mediaType, out var parsed))
+ {
+ return parsed.Encoding;
+ }
+
+ return default;
+ }
+}
diff --git a/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor b/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor
index 88a0a1df4a..cbdfc25c99 100644
--- a/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor
+++ b/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor
@@ -72,11 +72,22 @@
{
@if (column.Component != null)
{
-
-
- @RenderCustomTableColumnComponent(column.Component, context)
-
-
+ @if (column.ValueConverter == null)
+ {
+
+
+ @RenderCustomTableColumnComponent(column.Component, context)
+
+
+ }
+ else
+ {
+
+
+ @RenderCustomTableColumnComponent(column.Component, context)
+
+
+ }
}
else
{
diff --git a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Building/Steps/ChangeThemeStep.cs b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Building/Steps/ChangeThemeStep.cs
index 31f209f98e..c303c1196a 100644
--- a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Building/Steps/ChangeThemeStep.cs
+++ b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Building/Steps/ChangeThemeStep.cs
@@ -10,6 +10,11 @@ namespace Volo.Abp.Cli.ProjectBuilding.Building.Steps;
public class ChangeThemeStep : ProjectBuildPipelineStep
{
+ private const string Basic = "Basic";
+ private const string LeptonXLite = "LeptonXLite";
+ private const string LeptonX = "LeptonX";
+ private const string Lepton = "Lepton";
+
public override void Execute(ProjectBuildContext context)
{
if (!context.BuildArgs.Theme.HasValue)
@@ -28,50 +33,65 @@ public class ChangeThemeStep : ProjectBuildPipelineStep
}
}
- protected void ChangeToBasicTheme(ProjectBuildContext context)
+ protected virtual void ChangeToBasicTheme(ProjectBuildContext context)
{
var defaultThemeName = context.BuildArgs.TemplateName is AppTemplate.TemplateName or AppNoLayersTemplate.TemplateName
- ? "LeptonXLite"
- : "LeptonX";
-
- #region MVC Projects
+ ? LeptonXLite : LeptonX;
ChangeThemeToBasicForMvcProjects(context, defaultThemeName);
+ ChangeThemeToBasicForBlazorProjects(context, defaultThemeName);
+ ChangeThemeToBasicForBlazorServerProjects(context, defaultThemeName);
+ ChangeThemeForAngularProjects(context, defaultThemeName, Basic, GetAngularPackageName(context.BuildArgs.Theme!.Value), GetAngularPackageName(Theme.Basic));
+ }
- #endregion
+ protected virtual void ChangeToLeptonTheme(ProjectBuildContext context)
+ {
+ //common
+ RenameFolders(context, oldFolderName: LeptonX , newFolderName: Lepton);
+ AddLeptonThemeManagementReferenceToProjects(context);
- #region MyCompanyName.MyProjectName.Blazor
+ ChangeThemeToLeptonForMvcProjects(context);
+ ChangeThemeToLeptonForBlazorProjects(context);
+ ChangeThemeToLeptonForBlazorServerProjects(context);
+ ChangeThemeForAngularProjects(context, oldThemeName: LeptonX, Lepton, GetAngularPackageName(Theme.LeptonX), GetAngularPackageName(Theme.Lepton));
+ ConfigureLeptonManagementPackagesForNoLayersMvc(context, "/MyCompanyName.MyProjectName.Mvc/MyCompanyName.MyProjectName.csproj", new[] { "Web", "HttpApi", "Application" });
+ ChangeThemeToLeptonForNoLayersBlazorServerProjects(context);
+ ChangeThemeToLeptonForMauiBlazorProjects(context);
+ }
+
+ private static string GetAngularPackageName(Theme theme)
+ {
+ return theme switch
+ {
+ Theme.LeptonX => "@volosoft/abp.ng.theme.lepton-x",
+ Theme.LeptonXLite => "@abp/ng.theme.lepton-x",
+ Theme.Basic => "@abp/ng.theme.basic",
+ _ => string.Empty
+ };
+ }
+
+ private static void ChangeThemeToBasicForBlazorProjects(ProjectBuildContext context, string defaultThemeName)
+ {
ReplacePackageReferenceWithProjectReference(
context,
"/MyCompanyName.MyProjectName.Blazor/MyCompanyName.MyProjectName.Blazor.csproj",
$"Volo.Abp.AspNetCore.Components.WebAssembly.{defaultThemeName}Theme",
@"..\..\..\..\..\modules\basic-theme\src\Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme\Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme.csproj"
- );
-
- ChangeNamespaceAndKeyword(
- context,
- "/MyCompanyName.MyProjectName.Blazor/MyProjectNameBlazorModule.cs",
- $"Volo.Abp.AspNetCore.Components.WebAssembly.{defaultThemeName}Theme",
- "Volo.Abp.AspNetCore.Components.WebAssembly.BasicTheme",
- $"AbpAspNetCoreComponentsWebAssembly{defaultThemeName}ThemeModule",
- "AbpAspNetCoreComponentsWebAssemblyBasicThemeModule"
);
-
- ChangeNamespaceAndKeyword(
+
+ ReplaceAllKeywords(
context,
"/MyCompanyName.MyProjectName.Blazor/MyProjectNameBlazorModule.cs",
- $"Volo.Abp.AspNetCore.Components.Web.{defaultThemeName}Theme.Themes.{defaultThemeName}",
- "Volo.Abp.AspNetCore.Components.Web.BasicTheme.Themes.Basic",
- $"AbpAspNetCoreComponentsWebAssembly{defaultThemeName}ThemeModule",
- "AbpAspNetCoreComponentsWebAssemblyBasicThemeModule"
+ $"{defaultThemeName}Theme.Components",
+ "BasicTheme.Themes.Basic"
);
-
- ChangeNamespace(
+
+ ReplaceAllKeywords(
context,
"/MyCompanyName.MyProjectName.Blazor/MyProjectNameBlazorModule.cs",
- $"Volo.Abp.AspNetCore.Components.Web.{defaultThemeName}Theme.Components",
- "Volo.Abp.AspNetCore.Components.Web.BasicTheme.Themes.Basic"
+ defaultThemeName,
+ Basic
);
ReplacePackageReferenceWithProjectReference(
@@ -81,209 +101,94 @@ public class ChangeThemeStep : ProjectBuildPipelineStep
@"..\..\..\..\..\modules\basic-theme\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic\Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.csproj"
);
- ChangeNamespaceAndKeyword(
- context,
- "/MyCompanyName.MyProjectName.Host/MyProjectNameHostModule.cs",
- $"Volo.Abp.AspNetCore.Mvc.UI.Theme.{defaultThemeName}.Bundling",
- "Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Bundling",
- $"{defaultThemeName}ThemeBundles.Styles.Global",
- "BasicThemeBundles.Styles.Global"
- );
-
- ChangeNamespaceAndKeyword(
+ ReplaceAllKeywords(
context,
"/MyCompanyName.MyProjectName.Host/MyProjectNameHostModule.cs",
- $"Volo.Abp.AspNetCore.Mvc.UI.Theme.{defaultThemeName}",
- "Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic",
- $"AbpAspNetCoreMvcUi{defaultThemeName}ThemeModule",
- "AbpAspNetCoreMvcUiBasicThemeModule"
+ defaultThemeName,
+ Basic
);
+ }
- #endregion
-
- #region Blazor.Server Projects
-
- ChangeThemeToBasicForBlazorProjects(context, defaultThemeName);
-
- #endregion
-
- #region Angular
-
- var angularPackageName = context.BuildArgs.TemplateName is AppTemplate.TemplateName or AppNoLayersTemplate.TemplateName
- ? "@abp/ng.theme.lepton-x"
- : "@volosoft/abp.ng.theme.lepton-x";
-
+ private static void ChangeThemeForAngularProjects(ProjectBuildContext context, string oldThemeName, string newThemeName, string oldPackageName, string newPackageName)
+ {
+ if (context.BuildArgs.UiFramework != UiFramework.Angular)
+ {
+ return;
+ }
+
ReplaceImportPackage(
context,
"/angular/src/app/app.module.ts",
- angularPackageName,
- "@abp/ng.theme.basic"
+ oldPackageName,
+ newPackageName
);
-
+
RemoveLinesByStatement(
context,
"/angular/src/app/app.module.ts",
"SideMenuLayoutModule"
);
-
- ReplaceMethodNames(
+
+ ReplaceAllKeywords(
context,
"/angular/src/app/app.module.ts",
- "ThemeLeptonXModule",
- "ThemeBasicModule"
- );
-
- RemoveLinesByStatement(
- context,
- "/angular/angular.json",
- "node_modules/bootstrap-icons/font/bootstrap-icons.css"
+ $"Theme{oldThemeName}Module",
+ $"Theme{newThemeName}Module"
);
- if(defaultThemeName == "LeptonX")
+ if (oldThemeName != LeptonX)
{
- ReplaceMethodNames(
- context,
- "/angular/src/app/app.module.ts",
- "HttpErrorComponent, ",
- ""
- );
-
- ChangeModuleImportBetweenStatements(
- context,
- "/angular/src/app/app.module.ts",
- "ThemeSharedModule.forRoot",
- "AccountAdminConfigModule.forRoot",
- "ThemeSharedModule.forRoot(),"
- );
+ return;
}
- #endregion
+ ReplaceAllKeywords(
+ context,
+ "/angular/src/app/app.module.ts",
+ "HttpErrorComponent, ",
+ ""
+ );
+
+ ChangeModuleImportBetweenStatements(
+ context,
+ "/angular/src/app/app.module.ts",
+ "ThemeSharedModule.forRoot",
+ "AccountAdminConfigModule.forRoot",
+ "ThemeSharedModule.forRoot(),"
+ );
}
- protected void ChangeToLeptonTheme(ProjectBuildContext context)
+ private static void ChangeThemeToLeptonForBlazorProjects(ProjectBuildContext context)
{
- #region Common
-
- RenameLeptonXFolders(context, folderName: "Lepton");
- AddLeptonThemeManagementReferenceToProjects(context);
-
- #endregion
-
- #region MVC Projects
-
- ChangeThemeToLeptonForMvcProjects(context);
-
- #endregion
-
- #region MyCompanyName.MyProjectName.Blazor
-
ReplacePackageReferenceWithProjectReference(
context,
"/MyCompanyName.MyProjectName.Blazor/MyCompanyName.MyProjectName.Blazor.csproj",
"Volo.Abp.AspNetCore.Components.WebAssembly.LeptonXTheme",
@"..\..\..\..\..\lepton-theme\src\Volo.Abp.AspNetCore.Components.WebAssembly.LeptonTheme\Volo.Abp.AspNetCore.Components.WebAssembly.LeptonTheme.csproj"
);
-
- ChangeNamespaceAndKeyword(
+
+ ReplaceAllKeywords(
context,
"/MyCompanyName.MyProjectName.Blazor/MyProjectNameBlazorModule.cs",
- "Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components",
- "Volo.Abp.AspNetCore.Components.Web.LeptonTheme.Components",
- "AbpAspNetCoreComponentsWebAssemblyLeptonXThemeModule",
- "AbpAspNetCoreComponentsWebAssemblyLeptonThemeModule"
+ LeptonX,
+ Lepton
);
- ChangeNamespace(
- context,
- "/MyCompanyName.MyProjectName.Blazor/MyProjectNameBlazorModule.cs",
- "Volo.Abp.AspNetCore.Components.WebAssembly.LeptonXTheme",
- "Volo.Abp.AspNetCore.Components.WebAssembly.LeptonTheme"
- );
-
ReplacePackageReferenceWithProjectReference(
context,
"/MyCompanyName.MyProjectName.Host/MyCompanyName.MyProjectName.Host.csproj",
"Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX",
@"..\..\..\..\..\lepton-theme\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton\Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton.csproj"
);
-
- ChangeNamespaceAndKeyword(
- context,
- "/MyCompanyName.MyProjectName.Host/MyProjectNameHostModule.cs",
- "Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX.Bundling",
- "Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton.Bundling",
- "LeptonXThemeBundles.Styles.Global",
- "LeptonThemeBundles.Styles.Global"
- );
-
- ChangeNamespaceAndKeyword(
+
+ ReplaceAllKeywords(
context,
"/MyCompanyName.MyProjectName.Host/MyProjectNameHostModule.cs",
- "Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX",
- "Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton",
- "AbpAspNetCoreMvcUiLeptonXThemeModule",
- "AbpAspNetCoreMvcUiLeptonThemeModule"
- );
-
- #endregion
-
- #region MyCompanyName.MyProjectName.Blazor.Server && MyCompanyName.MyProjectName.Blazor.Server.Tiered
-
- ChangeThemeToLeptonForBlazorServerProjects(context);
-
- #endregion
-
- #region Angular
-
- ReplaceImportPackage(
- context,
- "/angular/src/app/app.module.ts",
- "@volosoft/abp.ng.theme.lepton-x",
- "@volo/abp.ng.theme.lepton"
- );
-
- RemoveLinesByStatement(
- context,
- "/angular/src/app/app.module.ts",
- "SideMenuLayoutModule"
- );
-
- ReplaceMethodNames(
- context,
- "/angular/src/app/app.module.ts",
- "ThemeLeptonXModule",
- "ThemeLeptonModule"
- );
-
- RemoveLinesByStatement(
- context,
- "/angular/angular.json",
- "node_modules/bootstrap-icons/font/bootstrap-icons.css"
+ LeptonX,
+ Lepton
);
-
- #endregion
-
- #region MyCompanyName.MyProjectName.Mvc && MyCompanyName.MyProjectName.Mvc.Mongo
-
- var projectNames = new[] {"Web", "HttpApi", "Application"};
- ConfigureLeptonManagementPackagesForNoLayersMvc(context, @"/MyCompanyName.MyProjectName.Mvc/MyCompanyName.MyProjectName.csproj", projectNames);
-
- #endregion
-
- #region MyCompanyName.MyProjectName.Blazor.Server && MyCompanyName.MyProjectName.Blazor.Server.Mongo - (app-nolayers)
-
- ChangeThemeToLeptonForNoLayersBlazorServerProjects(context);
-
- #endregion
-
- #region MyCompanyName.MyProjectName.MauiBlazor
-
- ChangeThemeToLeptonForMauiBlazorProjects(context);
-
- #endregion
}
- private void ConfigureLeptonManagementPackagesForNoLayersMvc(ProjectBuildContext context, string targetProjectPath, string[] projectNames)
+ private static void ConfigureLeptonManagementPackagesForNoLayersMvc(ProjectBuildContext context, string targetProjectPath, IEnumerable projectNames)
{
var file = context.Files.FirstOrDefault(f => !f.Name.Contains("Test") && f.Name.Contains(targetProjectPath) && f.Name.Contains(".csproj"));
if (file == null)
@@ -304,7 +209,7 @@ public class ChangeThemeStep : ProjectBuildPipelineStep
}
}
- private void ChangeThemeToLeptonForMvcProjects(ProjectBuildContext context)
+ private static void ChangeThemeToLeptonForMvcProjects(ProjectBuildContext context)
{
var projectNames = new[]
{
@@ -333,23 +238,12 @@ public class ChangeThemeStep : ProjectBuildPipelineStep
"Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX",
@"..\..\..\..\..\lepton-theme\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton\Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton.csproj"
);
-
- ChangeNamespaceAndKeyword(
- context,
- moduleFile.Name,
- "Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX.Bundling",
- "Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton.Bundling",
- "LeptonXThemeBundles.Styles.Global",
- "LeptonThemeBundles.Styles.Global"
- );
-
- ChangeNamespaceAndKeyword(
+
+ ReplaceAllKeywords(
context,
moduleFile.Name,
- "Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX",
- "Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton",
- "AbpAspNetCoreMvcUiLeptonXThemeModule",
- "AbpAspNetCoreMvcUiLeptonThemeModule"
+ LeptonX,
+ Lepton
);
RemoveLinesByStatement(
@@ -360,7 +254,7 @@ public class ChangeThemeStep : ProjectBuildPipelineStep
}
}
- private void AddLeptonThemeManagementReferenceToProjects(ProjectBuildContext context)
+ private static void AddLeptonThemeManagementReferenceToProjects(ProjectBuildContext context)
{
var projects = new Dictionary
{
@@ -396,7 +290,7 @@ public class ChangeThemeStep : ProjectBuildPipelineStep
}
}
- private void AddUiProjectToProjects(Dictionary projects, ProjectBuildContext context)
+ private static void AddUiProjectToProjects(Dictionary projects, ProjectBuildContext context)
{
if (projects.IsNullOrEmpty())
{
@@ -418,7 +312,7 @@ public class ChangeThemeStep : ProjectBuildPipelineStep
}
}
- private void AddLeptonThemeManagementReference(ProjectBuildContext context, KeyValuePair projectInfo)
+ private static void AddLeptonThemeManagementReference(ProjectBuildContext context, KeyValuePair projectInfo)
{
var reference = $@"..\..\..\..\..\lepton-theme\src\Volo.Abp.LeptonTheme.Management.{projectInfo.Key}\Volo.Abp.LeptonTheme.Management.{projectInfo.Key}.csproj";
var projectFile = context.Files.FirstOrDefault(f => !f.Name.Contains("Test") && f.Name.Contains(projectInfo.Value) && f.Name.Contains(".csproj"));
@@ -439,7 +333,7 @@ public class ChangeThemeStep : ProjectBuildPipelineStep
underManagementFolder: projectInfo.Key != "HttpApi");
}
- private void AddModuleDependency(FileEntry moduleFile, string projectName, string dependency, bool underManagementFolder = true)
+ private static void AddModuleDependency(FileEntry moduleFile, string projectName, string dependency, bool underManagementFolder = true)
{
var projectNames = new[] { "Blazor", "Blazor.Server", "Blazor.WebAssembly" };
@@ -460,11 +354,7 @@ public class ChangeThemeStep : ProjectBuildPipelineStep
moduleFile.SetLines(lines);
}
- protected void ReplacePackageReferenceWithProjectReference(
- ProjectBuildContext context,
- string targetProjectFilePath,
- string packageReference,
- string projectReference)
+ private static void ReplacePackageReferenceWithProjectReference(ProjectBuildContext context, string targetProjectFilePath, string packageReference, string projectReference)
{
var file = context.Files.FirstOrDefault(x => x.Name.Contains(targetProjectFilePath));
if (file == null)
@@ -485,97 +375,7 @@ public class ChangeThemeStep : ProjectBuildPipelineStep
file.SetLines(lines);
}
- protected void ChangeNamespaceAndKeyword(
- ProjectBuildContext context,
- string targetModuleFilePath,
- string oldNamespace,
- string newNamespace,
- string oldKeyword,
- string newKeyword)
- {
- var file = context.Files.FirstOrDefault(x => x.Name.Contains(targetModuleFilePath));
- if (file == null)
- {
- return;
- }
-
- file.NormalizeLineEndings();
-
- var lines = file.GetLines();
-
- for (var i = 0; i < lines.Length; i++)
- {
- if (lines[i].Contains($"using {oldNamespace}"))
- {
- lines[i] = lines[i].Replace($"using {oldNamespace}", $"using {newNamespace}");
- }
- else if (lines[i].Contains(oldKeyword))
- {
- lines[i] = lines[i].Replace(oldKeyword, newKeyword);
- }
- }
-
- file.SetLines(lines);
- }
-
- protected void ChangeNamespace(
- ProjectBuildContext context,
- string targetModuleFilePath,
- string oldNamespace,
- string newNamespace)
- {
- var file = context.Files.FirstOrDefault(x => x.Name.Contains(targetModuleFilePath));
- if (file == null)
- {
- return;
- }
-
- file.NormalizeLineEndings();
-
- var lines = file.GetLines();
- for (var i = 0; i < lines.Length; i++)
- {
- if (lines[i].Contains($"using {oldNamespace}"))
- {
- lines[i] = lines[i].Replace($"using {oldNamespace}", $"using {newNamespace}");
- }
- }
-
- file.SetLines(lines);
- }
-
- protected void ChangeKeyword(
- ProjectBuildContext context,
- string targetModuleFilePath,
- string oldKeyword,
- string newKeyword)
- {
- var file = context.Files.FirstOrDefault(x => x.Name.Contains(targetModuleFilePath));
- if (file == null)
- {
- return;
- }
-
- file.NormalizeLineEndings();
-
- var lines = file.GetLines();
-
- for (var i = 0; i < lines.Length; i++)
- {
- if (lines[i].Contains(oldKeyword))
- {
- lines[i] = lines[i].Replace(oldKeyword, newKeyword);
- }
- }
-
- file.SetLines(lines);
- }
-
- protected void ReplaceImportPackage(
- ProjectBuildContext context,
- string filePath,
- string oldImportPackage,
- string newImportPackage)
+ private static void ReplaceImportPackage(ProjectBuildContext context, string filePath, string oldImportPackage, string newImportPackage)
{
var file = context.Files.FirstOrDefault(x => x.Name.Contains(filePath));
if (file == null)
@@ -584,6 +384,7 @@ public class ChangeThemeStep : ProjectBuildPipelineStep
}
file.NormalizeLineEndings();
+
var lines = file.GetLines();
var lineIndex = lines.FindIndex(line => line.Contains($"from '{oldImportPackage}'"));
if (lineIndex == -1)
@@ -595,10 +396,7 @@ public class ChangeThemeStep : ProjectBuildPipelineStep
file.SetLines(lines);
}
- protected void RemoveLinesByStatement(
- ProjectBuildContext context,
- string filePath,
- string statement)
+ private static void RemoveLinesByStatement(ProjectBuildContext context, string filePath, string statement)
{
var file = context.Files.FirstOrDefault(x => x.Name.Contains(filePath));
if (file == null)
@@ -620,12 +418,7 @@ public class ChangeThemeStep : ProjectBuildPipelineStep
file.SetLines(lines.Where(x => x != null));
}
- private void ChangeModuleImportBetweenStatements(
- ProjectBuildContext context,
- string filePath,
- string firstStatement,
- string lastStatement,
- string newStatement)
+ private static void ChangeModuleImportBetweenStatements(ProjectBuildContext context, string filePath, string firstStatement, string lastStatement, string newStatement)
{
var file = context.Files.FirstOrDefault(x => x.Name.Contains(filePath));
if (file == null)
@@ -651,36 +444,9 @@ public class ChangeThemeStep : ProjectBuildPipelineStep
lines[i] = null;
}
-
file.SetLines(lines.Where(x => x != null));
}
-
- protected void ReplaceMethodNames(
- ProjectBuildContext context,
- string filePath,
- string oldMethodName,
- string newMethodName)
- {
- var file = context.Files.FirstOrDefault(x => x.Name.Contains(filePath));
- if (file == null)
- {
- return;
- }
-
- file.NormalizeLineEndings();
-
- var lines = file.GetLines();
- for (var i = 0; i < lines.Length; i++)
- {
- if (lines[i].Contains(oldMethodName))
- {
- lines[i] = lines[i].Replace(oldMethodName, newMethodName);
- }
- }
-
- file.SetLines(lines);
- }
-
+
private static void AddProjectReference(FileEntry file, string reference)
{
if (!file.Name.Contains(".csproj"))
@@ -746,7 +512,7 @@ public class ChangeThemeStep : ProjectBuildPipelineStep
splittedProjectFileName = splittedProjectFileName.Take(splittedProjectFileName.Length - 1).ToArray();
- var fileName = splittedProjectFileName?.Last();
+ var fileName = splittedProjectFileName.Last();
if (fileName == null)
{
return null;
@@ -765,16 +531,40 @@ public class ChangeThemeStep : ProjectBuildPipelineStep
return moduleName.Replace(".", "");
}
- private static void RenameLeptonXFolders(ProjectBuildContext context, string folderName)
+ private static void RenameFolders(ProjectBuildContext context, string oldFolderName, string newFolderName)
{
- var leptonXFiles = context.Files.Where(x => x.Name.Contains("LeptonX") && x.IsDirectory);
- foreach (var file in leptonXFiles)
+ foreach (var file in context.Files.Where(x => x.Name.Contains(oldFolderName) && x.IsDirectory))
{
- new MoveFolderStep(file.Name, file.Name.Replace("LeptonX", folderName)).Execute(context);
+ new MoveFolderStep(file.Name, file.Name.Replace(oldFolderName, newFolderName)).Execute(context);
}
}
- private void ChangeThemeToBasicForMvcProjects(ProjectBuildContext context, string defaultThemeName)
+ private static void ReplaceAllKeywords(ProjectBuildContext context, string targetModuleFilePath, string oldKeyword, string newKeyword)
+ {
+ var file = context.Files.FirstOrDefault(x => x.Name.Contains(targetModuleFilePath));
+ if (file == null)
+ {
+ return;
+ }
+
+ file.NormalizeLineEndings();
+
+ var lines = file.GetLines();
+
+ for (var i = 0; i < lines.Length; i++)
+ {
+ if (!lines[i].Contains(oldKeyword))
+ {
+ continue;;
+ }
+
+ lines[i] = lines[i].Replace(oldKeyword, newKeyword);
+ }
+
+ file.SetLines(lines);
+ }
+
+ private static void ChangeThemeToBasicForMvcProjects(ProjectBuildContext context, string defaultThemeName)
{
var projects = new Dictionary
{
@@ -794,28 +584,17 @@ public class ChangeThemeStep : ProjectBuildPipelineStep
$"Volo.Abp.AspNetCore.Mvc.UI.Theme.{defaultThemeName}",
@"..\..\..\..\..\modules\basic-theme\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic\Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.csproj"
);
-
- ChangeNamespaceAndKeyword(
+
+ ReplaceAllKeywords(
context,
$"/MyCompanyName.MyProjectName{project.Key}/{project.Value}.cs",
- $"Volo.Abp.AspNetCore.Mvc.UI.Theme.{defaultThemeName}",
- "Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic",
- $"AbpAspNetCoreMvcUi{defaultThemeName}ThemeModule",
- "AbpAspNetCoreMvcUiBasicThemeModule"
- );
-
- ChangeNamespaceAndKeyword(
- context,
- $"/MyCompanyName.MyProjectName{project.Key}/{project.Value}.cs",
- $"Volo.Abp.AspNetCore.Mvc.UI.Theme.{defaultThemeName}.Bundling",
- "Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Bundling",
- $"{defaultThemeName}ThemeBundles.Styles.Global",
- "BasicThemeBundles.Styles.Global"
+ defaultThemeName,
+ Basic
);
}
}
- private void ChangeThemeToBasicForBlazorProjects(ProjectBuildContext context, string defaultThemeName)
+ private static void ChangeThemeToBasicForBlazorServerProjects(ProjectBuildContext context, string defaultThemeName)
{
var projects = new Dictionary
{
@@ -840,73 +619,34 @@ public class ChangeThemeStep : ProjectBuildPipelineStep
$"Volo.Abp.AspNetCore.Mvc.UI.Theme.{defaultThemeName}",
@"..\..\..\..\..\modules\basic-theme\src\Volo.Abp.AspNetCore.Components.Server.BasicTheme\Volo.Abp.AspNetCore.Components.Server.BasicTheme.csproj"
);
-
- ChangeNamespaceAndKeyword(
- context,
- $"/MyCompanyName.MyProjectName.{project.Key}/{project.Value}.cs",
- $"Volo.Abp.AspNetCore.Components.Server.{defaultThemeName}Theme",
- "Volo.Abp.AspNetCore.Components.Server.BasicTheme",
- $"AbpAspNetCoreComponentsServer{defaultThemeName}ThemeModule",
- "AbpAspNetCoreComponentsServerBasicThemeModule"
- );
-
- ChangeNamespaceAndKeyword(
- context,
- $"/MyCompanyName.MyProjectName.{project.Key}/{project.Value}.cs",
- $"Volo.Abp.AspNetCore.Mvc.UI.Theme.{defaultThemeName}",
- "Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic",
- $"AbpAspNetCoreMvcUi{defaultThemeName}ThemeModule",
- "AbpAspNetCoreMvcUiBasicThemeModule"
- );
-
- ChangeNamespaceAndKeyword(
- context,
- $"/MyCompanyName.MyProjectName.{project.Key}/{project.Value}.cs",
- $"Volo.Abp.AspNetCore.Components.Server.{defaultThemeName}Theme.Bundling",
- "Volo.Abp.AspNetCore.Components.Server.BasicTheme.Bundling",
- $"{defaultThemeName}ThemeBundles.Styles.Global",
- "BasicThemeBundles.Styles.Global"
- );
-
- ChangeNamespaceAndKeyword(
- context,
- $"/MyCompanyName.MyProjectName.{project.Key}/{project.Value}.cs",
- $"Volo.Abp.AspNetCore.Mvc.UI.Theme.{defaultThemeName}.Bundling",
- "Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Bundling",
- $"Blazor{defaultThemeName}ThemeBundles.Styles.Global",
- "BlazorBasicThemeBundles.Styles.Global"
- );
-
- ChangeNamespaceAndKeyword(
+
+ ReplaceAllKeywords(
context,
$"/MyCompanyName.MyProjectName.{project.Key}/Pages/_Host.cshtml",
- $"Volo.Abp.AspNetCore.Components.Web.{defaultThemeName}Theme.Components",
- "Volo.Abp.AspNetCore.Components.Web.BasicTheme.Themes.Basic",
- $"Blazor{defaultThemeName}ThemeBundles.Styles.Global",
- "BlazorBasicThemeBundles.Styles.Global"
+ $"{defaultThemeName}Theme.Components",
+ Basic
);
-
- ChangeNamespaceAndKeyword(
+
+ ReplaceAllKeywords(
context,
- $"/MyCompanyName.MyProjectName.{project.Key}/Pages/_Host.cshtml",
- $"Volo.Abp.AspNetCore.Components.Server.{defaultThemeName}Theme.Bundling",
- "Volo.Abp.AspNetCore.Components.Server.BasicTheme.Bundling",
- $"Blazor{defaultThemeName}ThemeBundles.Scripts.Global",
- "BlazorBasicThemeBundles.Scripts.Global"
+ $"/MyCompanyName.MyProjectName.{project.Key}/{project.Value}.cs",
+ defaultThemeName,
+ Basic
);
-
- ChangeNamespace(
+
+ ReplaceAllKeywords(
context,
$"/MyCompanyName.MyProjectName.{project.Key}/Pages/_Host.cshtml",
- $"Volo.Abp.AspNetCore.Components.Web.{defaultThemeName}Theme.Themes.{defaultThemeName}",
- "Volo.Abp.AspNetCore.Components.Web.BasicTheme.Themes.Basic"
+ defaultThemeName,
+ Basic
);
}
}
- private void ChangeThemeToLeptonForBlazorServerProjects(ProjectBuildContext context)
+ private static void ChangeThemeToLeptonForBlazorServerProjects(ProjectBuildContext context)
{
- var projectNames = new[] {"Blazor", "Blazor.Server.Tiered"};
+ var projectNames = new[] { "Blazor", "Blazor.Server.Tiered" };
+
foreach (var projectName in projectNames)
{
ReplacePackageReferenceWithProjectReference(
@@ -922,59 +662,19 @@ public class ChangeThemeStep : ProjectBuildPipelineStep
"Volo.Abp.AspNetCore.Components.Server.LeptonXTheme",
@"..\..\..\..\..\lepton-theme\src\Volo.Abp.AspNetCore.Components.Server.LeptonTheme\Volo.Abp.AspNetCore.Components.Server.LeptonTheme.csproj"
);
-
- ChangeNamespaceAndKeyword(
- context,
- $"/MyCompanyName.MyProjectName.{projectName}/MyProjectNameBlazorModule.cs",
- "Volo.Abp.AspNetCore.Components.Server.LeptonXTheme",
- "Volo.Abp.AspNetCore.Components.Server.LeptonTheme",
- "AbpAspNetCoreComponentsServerLeptonXThemeModule",
- "AbpAspNetCoreComponentsServerLeptonThemeModule"
- );
-
- ChangeNamespaceAndKeyword(
- context,
- $"/MyCompanyName.MyProjectName.{projectName}/MyProjectNameBlazorModule.cs",
- "Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX",
- "Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton",
- "AbpAspNetCoreMvcUiLeptonXThemeModule",
- "AbpAspNetCoreMvcUiLeptonThemeModule"
- );
-
- ChangeNamespaceAndKeyword(
- context,
- $"/MyCompanyName.MyProjectName.{projectName}/MyProjectNameBlazorModule.cs",
- "Volo.Abp.AspNetCore.Components.Server.LeptonXTheme.Bundling",
- "Volo.Abp.AspNetCore.Components.Server.LeptonTheme.Bundling",
- "LeptonXThemeBundles.Styles.Global",
- "LeptonThemeBundles.Styles.Global"
- );
-
- ChangeNamespaceAndKeyword(
+
+ ReplaceAllKeywords(
context,
$"/MyCompanyName.MyProjectName.{projectName}/MyProjectNameBlazorModule.cs",
- "Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX.Bundling",
- "Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton.Bundling",
- "BlazorLeptonXThemeBundles.Styles.Global",
- "BlazorLeptonThemeBundles.Styles.Global"
- );
-
- ChangeNamespaceAndKeyword(
- context,
- $"/MyCompanyName.MyProjectName.{projectName}/Pages/_Host.cshtml",
- "Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components",
- "Volo.Abp.AspNetCore.Components.Web.LeptonTheme.Components",
- "BlazorLeptonXThemeBundles.Styles.Global",
- "BlazorLeptonThemeBundles.Styles.Global"
+ LeptonX,
+ Lepton
);
-
- ChangeNamespaceAndKeyword(
+
+ ReplaceAllKeywords(
context,
$"/MyCompanyName.MyProjectName.{projectName}/Pages/_Host.cshtml",
- "Volo.Abp.AspNetCore.Components.Server.LeptonXTheme.Bundling",
- "Volo.Abp.AspNetCore.Components.Server.LeptonTheme.Bundling",
- "BlazorLeptonXThemeBundles.Scripts.Global",
- "BlazorLeptonThemeBundles.Scripts.Global"
+ LeptonX,
+ Lepton
);
RemoveLinesByStatement(
@@ -985,11 +685,11 @@ public class ChangeThemeStep : ProjectBuildPipelineStep
}
}
- private void ChangeThemeToLeptonForNoLayersBlazorServerProjects(ProjectBuildContext context)
+ private static void ChangeThemeToLeptonForNoLayersBlazorServerProjects(ProjectBuildContext context)
{
var blazorServerProjects = new[] { "Blazor.Server", "HttpApi", "Application" };
-
var projectNames = new[] { "Blazor.Server", "Blazor.Server.Mongo" };
+
foreach (var projectName in projectNames)
{
ReplacePackageReferenceWithProjectReference(
@@ -1006,67 +706,29 @@ public class ChangeThemeStep : ProjectBuildPipelineStep
@"..\..\..\..\lepton-theme\src\Volo.Abp.AspNetCore.Components.Server.LeptonTheme\Volo.Abp.AspNetCore.Components.Server.LeptonTheme.csproj"
);
- ConfigureLeptonManagementPackagesForNoLayersMvc(context,
- $@"/MyCompanyName.MyProjectName.{projectName}/MyCompanyName.MyProjectName.{projectName}.csproj",
- blazorServerProjects);
-
- ChangeNamespaceAndKeyword(
- context,
- $"/MyCompanyName.MyProjectName.{projectName}/MyProjectNameModule.cs",
- "Volo.Abp.AspNetCore.Components.Server.LeptonXTheme",
- "Volo.Abp.AspNetCore.Components.Server.LeptonTheme",
- "AbpAspNetCoreComponentsServerLeptonXThemeModule",
- "AbpAspNetCoreComponentsServerLeptonThemeModule"
- );
-
- ChangeNamespaceAndKeyword(
- context,
- $"/MyCompanyName.MyProjectName.{projectName}/MyProjectNameModule.cs",
- "Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX",
- "Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton",
- "AbpAspNetCoreMvcUiLeptonXThemeModule",
- "AbpAspNetCoreMvcUiLeptonThemeModule"
- );
-
- ChangeNamespaceAndKeyword(
+ ConfigureLeptonManagementPackagesForNoLayersMvc(
context,
- $"/MyCompanyName.MyProjectName.{projectName}/MyProjectNameModule.cs",
- "Volo.Abp.AspNetCore.Components.Server.LeptonXTheme.Bundling",
- "Volo.Abp.AspNetCore.Components.Server.LeptonTheme.Bundling",
- "LeptonXThemeBundles.Styles.Global",
- "LeptonThemeBundles.Styles.Global"
+ $@"/MyCompanyName.MyProjectName.{projectName}/MyCompanyName.MyProjectName.{projectName}.csproj",
+ blazorServerProjects
);
-
- ChangeNamespaceAndKeyword(
+
+ ReplaceAllKeywords(
context,
$"/MyCompanyName.MyProjectName.{projectName}/MyProjectNameModule.cs",
- "Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX.Bundling",
- "Volo.Abp.AspNetCore.Mvc.UI.Theme.Lepton.Bundling",
- "BlazorLeptonXThemeBundles.Styles.Global",
- "BlazorLeptonThemeBundles.Styles.Global"
- );
-
- ChangeNamespaceAndKeyword(
- context,
- $"/MyCompanyName.MyProjectName.{projectName}/Pages/_Host.cshtml",
- "Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components",
- "Volo.Abp.AspNetCore.Components.Web.LeptonTheme.Components",
- "BlazorLeptonXThemeBundles.Styles.Global",
- "BlazorLeptonThemeBundles.Styles.Global"
+ LeptonX,
+ Lepton
);
-
- ChangeNamespaceAndKeyword(
+
+ ReplaceAllKeywords(
context,
$"/MyCompanyName.MyProjectName.{projectName}/Pages/_Host.cshtml",
- "Volo.Abp.AspNetCore.Components.Server.LeptonXTheme.Bundling",
- "Volo.Abp.AspNetCore.Components.Server.LeptonTheme.Bundling",
- "BlazorLeptonXThemeBundles.Scripts.Global",
- "BlazorLeptonThemeBundles.Scripts.Global"
+ LeptonX,
+ Lepton
);
}
}
- private void ChangeThemeToLeptonForMauiBlazorProjects(ProjectBuildContext context)
+ private static void ChangeThemeToLeptonForMauiBlazorProjects(ProjectBuildContext context)
{
ReplacePackageReferenceWithProjectReference(
context,
@@ -1074,44 +736,42 @@ public class ChangeThemeStep : ProjectBuildPipelineStep
"Volo.Abp.AspNetCore.Components.MauiBlazor.LeptonXTheme",
@"..\..\..\..\..\lepton-theme\src\Volo.Abp.AspNetCore.Components.MauiBlazor.LeptonTheme\Volo.Abp.AspNetCore.Components.MauiBlazor.LeptonTheme.csproj"
);
-
- ChangeNamespaceAndKeyword(
- context,
- "/MyCompanyName.MyProjectName.MauiBlazor/MyProjectNameMauiBlazorModule.cs",
- "Volo.Abp.AspNetCore.Components.MauiBlazor.LeptonXTheme",
- "Volo.Abp.AspNetCore.Components.MauiBlazor.LeptonTheme",
- "AbpAspNetCoreComponentsMauiBlazorLeptonXThemeModule",
- "AbpAspNetCoreComponentsMauiBlazorLeptonThemeModule"
- );
-
- ChangeKeyword(
+
+ ReplaceAllKeywords(
context,
"/MyCompanyName.MyProjectName.MauiBlazor/MainPage.xaml",
"clr-namespace:Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components;assembly=Volo.Abp.AspNetCore.Components.Web.LeptonXTheme",
"clr-namespace:Volo.Abp.AspNetCore.Components.Web.LeptonTheme.Components;assembly=Volo.Abp.AspNetCore.Components.Web.LeptonTheme");
- ChangeKeyword(
+ ReplaceAllKeywords(
context,
"/MyCompanyName.MyProjectName.MauiBlazor/MainPage.xaml",
"leptonXTheme",
"leptonTheme");
- ChangeKeyword(
+ ReplaceAllKeywords(
context,
"/MyCompanyName.MyProjectName.MauiBlazor/Pages/Account/Login.razor",
"Volo.Abp.AspNetCore.Components.MauiBlazor.LeptonXTheme.Components.AccountLayout",
"Volo.Abp.AspNetCore.Components.MauiBlazor.LeptonTheme.Components.AccountLayout");
- ChangeKeyword(
+ ReplaceAllKeywords(
context,
"/MyCompanyName.MyProjectName.MauiBlazor/Pages/Account/RedirectToLogout.razor",
"LeptonXResource",
"LeptonThemeManagementResource");
- ChangeKeyword(
+ ReplaceAllKeywords(
context,
"/MyCompanyName.MyProjectName.MauiBlazor/Pages/Account/RedirectToLogout.razor",
"Volo.Abp.LeptonX.Shared.Localization",
"Volo.Abp.LeptonTheme.Management.Localization");
+
+ ReplaceAllKeywords(
+ context,
+ "/MyCompanyName.MyProjectName.MauiBlazor/MyProjectNameMauiBlazorModule.cs",
+ LeptonX,
+ Lepton
+ );
}
-}
+}
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Templates/Microservice/MicroserviceTemplateBase.cs b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Templates/Microservice/MicroserviceTemplateBase.cs
index 88fc0dfcbe..b8d320fb45 100644
--- a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Templates/Microservice/MicroserviceTemplateBase.cs
+++ b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Templates/Microservice/MicroserviceTemplateBase.cs
@@ -25,6 +25,7 @@ public abstract class MicroserviceTemplateBase : TemplateInfo
RandomizeStringEncryption(context, steps);
RandomizeAuthServerPassPhrase(context, steps);
UpdateNuGetConfig(context, steps);
+ UpdateDockerImages(context, steps);
ConfigureTheme(context, steps);
return steps;
@@ -221,4 +222,9 @@ public abstract class MicroserviceTemplateBase : TemplateInfo
{
steps.Add(new RandomizeAuthServerPassPhraseStep());
}
+
+ private static void UpdateDockerImages(ProjectBuildContext context, List steps)
+ {
+ steps.Add(new UpdateDockerImagesStep("/etc/docker/docker-compose.infrastructure.yml"));
+ }
}
diff --git a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Templates/Microservice/UpdateDockerImagesStep.cs b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Templates/Microservice/UpdateDockerImagesStep.cs
new file mode 100644
index 0000000000..752503c871
--- /dev/null
+++ b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/Templates/Microservice/UpdateDockerImagesStep.cs
@@ -0,0 +1,25 @@
+using System.Linq;
+using System.Runtime.InteropServices;
+using Volo.Abp.Cli.ProjectBuilding.Building;
+using Volo.Abp.Cli.ProjectBuilding.Files;
+
+namespace Volo.Abp.Cli.ProjectBuilding.Templates.Microservice;
+
+public class UpdateDockerImagesStep : ProjectBuildPipelineStep
+{
+ private readonly string _ymlFilePath;
+
+ public UpdateDockerImagesStep(string ymlFilePath)
+ {
+ _ymlFilePath = ymlFilePath;
+ }
+
+ public override void Execute(ProjectBuildContext context)
+ {
+ if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX) && RuntimeInformation.OSArchitecture == Architecture.Arm64)
+ {
+ var file = context.Files.FirstOrDefault(f => f.Name == _ymlFilePath);
+ file?.ReplaceText("mcr.microsoft.com/mssql/server:2019-latest", "mcr.microsoft.com/azure-sql-edge");
+ }
+ }
+}
diff --git a/framework/src/Volo.Abp.Ddd.Domain.Shared/FodyWeavers.xml b/framework/src/Volo.Abp.Ddd.Domain.Shared/FodyWeavers.xml
new file mode 100644
index 0000000000..bc5a74a236
--- /dev/null
+++ b/framework/src/Volo.Abp.Ddd.Domain.Shared/FodyWeavers.xml
@@ -0,0 +1,3 @@
+
+
+
diff --git a/framework/src/Volo.Abp.Ddd.Domain.Shared/FodyWeavers.xsd b/framework/src/Volo.Abp.Ddd.Domain.Shared/FodyWeavers.xsd
new file mode 100644
index 0000000000..3f3946e282
--- /dev/null
+++ b/framework/src/Volo.Abp.Ddd.Domain.Shared/FodyWeavers.xsd
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 'true' to run assembly verification (PEVerify) on the target assembly after all weavers have been executed.
+
+
+
+
+ A comma-separated list of error codes that can be safely ignored in assembly verification.
+
+
+
+
+ 'false' to turn off automatic generation of the XML Schema file.
+
+
+
+
+
\ No newline at end of file
diff --git a/framework/src/Volo.Abp.Ddd.Domain.Shared/Volo.Abp.Ddd.Domain.Shared.csproj b/framework/src/Volo.Abp.Ddd.Domain.Shared/Volo.Abp.Ddd.Domain.Shared.csproj
new file mode 100644
index 0000000000..489d2cf271
--- /dev/null
+++ b/framework/src/Volo.Abp.Ddd.Domain.Shared/Volo.Abp.Ddd.Domain.Shared.csproj
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+ netstandard2.0;netstandard2.1;net7.0
+ Volo.Abp.Ddd.Domain.Shared
+ Volo.Abp.Ddd.Domain.Shared
+ $(AssetTargetFallback);portable-net45+win8+wp8+wpa81;
+ false
+ false
+ false
+
+
+
+
+
+
+
+
+
diff --git a/framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/AbpDddDomainSharedModule.cs b/framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/AbpDddDomainSharedModule.cs
new file mode 100644
index 0000000000..3276f22310
--- /dev/null
+++ b/framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/AbpDddDomainSharedModule.cs
@@ -0,0 +1,14 @@
+using Volo.Abp.EventBus.Abstractions;
+using Volo.Abp.Modularity;
+using Volo.Abp.MultiTenancy;
+
+namespace Volo.Abp.Domain;
+
+[DependsOn(
+ typeof(AbpMultiTenancyModule),
+ typeof(AbpEventBusAbstractionsModule)
+)]
+public class AbpDddDomainSharedModule : AbpModule
+{
+
+}
diff --git a/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/AbpDistributedEntityEventOptions.cs b/framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/Entities/Events/Distributed/AbpDistributedEntityEventOptions.cs
similarity index 100%
rename from framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/AbpDistributedEntityEventOptions.cs
rename to framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/Entities/Events/Distributed/AbpDistributedEntityEventOptions.cs
diff --git a/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/AutoEntityDistributedEventSelectorList.cs b/framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/Entities/Events/Distributed/AutoEntityDistributedEventSelectorList.cs
similarity index 100%
rename from framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/AutoEntityDistributedEventSelectorList.cs
rename to framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/Entities/Events/Distributed/AutoEntityDistributedEventSelectorList.cs
diff --git a/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/EntityCreatedEto.cs b/framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/Entities/Events/Distributed/EntityCreatedEto.cs
similarity index 100%
rename from framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/EntityCreatedEto.cs
rename to framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/Entities/Events/Distributed/EntityCreatedEto.cs
diff --git a/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/EntityDeletedEto.cs b/framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/Entities/Events/Distributed/EntityDeletedEto.cs
similarity index 100%
rename from framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/EntityDeletedEto.cs
rename to framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/Entities/Events/Distributed/EntityDeletedEto.cs
diff --git a/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/EntityEto.cs b/framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/Entities/Events/Distributed/EntityEto.cs
similarity index 100%
rename from framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/EntityEto.cs
rename to framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/Entities/Events/Distributed/EntityEto.cs
diff --git a/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/EntityUpdatedEto.cs b/framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/Entities/Events/Distributed/EntityUpdatedEto.cs
similarity index 100%
rename from framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/EntityUpdatedEto.cs
rename to framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/Entities/Events/Distributed/EntityUpdatedEto.cs
diff --git a/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/EtoMappingDictionary.cs b/framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/Entities/Events/Distributed/EtoMappingDictionary.cs
similarity index 91%
rename from framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/EtoMappingDictionary.cs
rename to framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/Entities/Events/Distributed/EtoMappingDictionary.cs
index 18c56bfca7..bb9e362ac2 100644
--- a/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/EtoMappingDictionary.cs
+++ b/framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/Entities/Events/Distributed/EtoMappingDictionary.cs
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
-using Volo.Abp.EventBus.Distributed;
namespace Volo.Abp.Domain.Entities.Events.Distributed;
diff --git a/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/EtoMappingDictionaryItem.cs b/framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/Entities/Events/Distributed/EtoMappingDictionaryItem.cs
similarity index 100%
rename from framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/EtoMappingDictionaryItem.cs
rename to framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/Entities/Events/Distributed/EtoMappingDictionaryItem.cs
diff --git a/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/IAutoEntityDistributedEventSelectorList.cs b/framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/Entities/Events/Distributed/IAutoEntityDistributedEventSelectorList.cs
similarity index 100%
rename from framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/IAutoEntityDistributedEventSelectorList.cs
rename to framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/Entities/Events/Distributed/IAutoEntityDistributedEventSelectorList.cs
diff --git a/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/IEntityEto.cs b/framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/Entities/Events/Distributed/IEntityEto.cs
similarity index 100%
rename from framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/IEntityEto.cs
rename to framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/Entities/Events/Distributed/IEntityEto.cs
diff --git a/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/IEntityToEtoMapper.cs b/framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/Entities/Events/Distributed/IEntityToEtoMapper.cs
similarity index 100%
rename from framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/Entities/Events/Distributed/IEntityToEtoMapper.cs
rename to framework/src/Volo.Abp.Ddd.Domain.Shared/Volo/Abp/Domain/Entities/Events/Distributed/IEntityToEtoMapper.cs
diff --git a/framework/src/Volo.Abp.Ddd.Domain/Volo.Abp.Ddd.Domain.csproj b/framework/src/Volo.Abp.Ddd.Domain/Volo.Abp.Ddd.Domain.csproj
index fd80a60544..c15f7c96a8 100644
--- a/framework/src/Volo.Abp.Ddd.Domain/Volo.Abp.Ddd.Domain.csproj
+++ b/framework/src/Volo.Abp.Ddd.Domain/Volo.Abp.Ddd.Domain.csproj
@@ -15,6 +15,7 @@
+
diff --git a/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/AbpDddDomainModule.cs b/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/AbpDddDomainModule.cs
index 0b41fef1cf..536e31e51f 100644
--- a/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/AbpDddDomainModule.cs
+++ b/framework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/AbpDddDomainModule.cs
@@ -22,7 +22,8 @@ namespace Volo.Abp.Domain;
typeof(AbpObjectMappingModule),
typeof(AbpExceptionHandlingModule),
typeof(AbpSpecificationsModule),
- typeof(AbpCachingModule)
+ typeof(AbpCachingModule),
+ typeof(AbpDddDomainSharedModule)
)]
public class AbpDddDomainModule : AbpModule
{
diff --git a/framework/src/Volo.Abp.EventBus.Abstractions/Volo.Abp.EventBus.Abstractions.csproj b/framework/src/Volo.Abp.EventBus.Abstractions/Volo.Abp.EventBus.Abstractions.csproj
index 225b9b70ee..b61d8315c1 100644
--- a/framework/src/Volo.Abp.EventBus.Abstractions/Volo.Abp.EventBus.Abstractions.csproj
+++ b/framework/src/Volo.Abp.EventBus.Abstractions/Volo.Abp.EventBus.Abstractions.csproj
@@ -9,7 +9,7 @@
-
+
diff --git a/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Abstractions/AbpEventBusAbstractionsModule.cs b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Abstractions/AbpEventBusAbstractionsModule.cs
index 85cddf42b8..5d19fa21ba 100644
--- a/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Abstractions/AbpEventBusAbstractionsModule.cs
+++ b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Abstractions/AbpEventBusAbstractionsModule.cs
@@ -1,7 +1,11 @@
using Volo.Abp.Modularity;
+using Volo.Abp.ObjectExtending;
namespace Volo.Abp.EventBus.Abstractions;
+[DependsOn(
+ typeof(AbpObjectExtendingModule)
+)]
public class AbpEventBusAbstractionsModule : AbpModule
{
diff --git a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/IDistributedEventBus.cs b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/IDistributedEventBus.cs
similarity index 100%
rename from framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/IDistributedEventBus.cs
rename to framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/IDistributedEventBus.cs
diff --git a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/IEventInbox.cs b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/IEventInbox.cs
similarity index 100%
rename from framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/IEventInbox.cs
rename to framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/IEventInbox.cs
diff --git a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/IEventOutbox.cs b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/IEventOutbox.cs
similarity index 100%
rename from framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/IEventOutbox.cs
rename to framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/IEventOutbox.cs
diff --git a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/IInboxProcessor.cs b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/IInboxProcessor.cs
similarity index 100%
rename from framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/IInboxProcessor.cs
rename to framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/IInboxProcessor.cs
diff --git a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/IOutboxSender.cs b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/IOutboxSender.cs
similarity index 100%
rename from framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/IOutboxSender.cs
rename to framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/IOutboxSender.cs
diff --git a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/ISupportsEventBoxes.cs b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/ISupportsEventBoxes.cs
similarity index 100%
rename from framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/ISupportsEventBoxes.cs
rename to framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/ISupportsEventBoxes.cs
diff --git a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/InboxConfig.cs b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/InboxConfig.cs
similarity index 100%
rename from framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/InboxConfig.cs
rename to framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/InboxConfig.cs
diff --git a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/InboxConfigDictionary.cs b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/InboxConfigDictionary.cs
similarity index 100%
rename from framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/InboxConfigDictionary.cs
rename to framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/InboxConfigDictionary.cs
diff --git a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/IncomingEventInfo.cs b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/IncomingEventInfo.cs
similarity index 100%
rename from framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/IncomingEventInfo.cs
rename to framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/IncomingEventInfo.cs
diff --git a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/OutboxConfig.cs b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/OutboxConfig.cs
similarity index 100%
rename from framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/OutboxConfig.cs
rename to framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/OutboxConfig.cs
diff --git a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/OutboxConfigDictionary.cs b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/OutboxConfigDictionary.cs
similarity index 100%
rename from framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/OutboxConfigDictionary.cs
rename to framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/OutboxConfigDictionary.cs
diff --git a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/OutgoingEventInfo.cs b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/OutgoingEventInfo.cs
similarity index 100%
rename from framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Distributed/OutgoingEventInfo.cs
rename to framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Distributed/OutgoingEventInfo.cs
diff --git a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/IEventBus.cs b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/IEventBus.cs
similarity index 100%
rename from framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/IEventBus.cs
rename to framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/IEventBus.cs
diff --git a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/IEventDataMayHaveTenantId.cs b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/IEventDataMayHaveTenantId.cs
similarity index 100%
rename from framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/IEventDataMayHaveTenantId.cs
rename to framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/IEventDataMayHaveTenantId.cs
diff --git a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/IEventDataWithInheritableGenericArgument.cs b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/IEventDataWithInheritableGenericArgument.cs
similarity index 100%
rename from framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/IEventDataWithInheritableGenericArgument.cs
rename to framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/IEventDataWithInheritableGenericArgument.cs
diff --git a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/IEventHandlerDisposeWrapper.cs b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/IEventHandlerDisposeWrapper.cs
similarity index 100%
rename from framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/IEventHandlerDisposeWrapper.cs
rename to framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/IEventHandlerDisposeWrapper.cs
diff --git a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/IEventHandlerFactory.cs b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/IEventHandlerFactory.cs
similarity index 100%
rename from framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/IEventHandlerFactory.cs
rename to framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/IEventHandlerFactory.cs
diff --git a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/IEventHandlerInvoker.cs b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/IEventHandlerInvoker.cs
similarity index 100%
rename from framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/IEventHandlerInvoker.cs
rename to framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/IEventHandlerInvoker.cs
diff --git a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Local/ILocalEventBus.cs b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Local/ILocalEventBus.cs
similarity index 100%
rename from framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Local/ILocalEventBus.cs
rename to framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Local/ILocalEventBus.cs
diff --git a/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Local/LocalEventHandlerOrderAttribute.cs b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Local/LocalEventHandlerOrderAttribute.cs
new file mode 100644
index 0000000000..7900885e3e
--- /dev/null
+++ b/framework/src/Volo.Abp.EventBus.Abstractions/Volo/Abp/EventBus/Local/LocalEventHandlerOrderAttribute.cs
@@ -0,0 +1,17 @@
+using System;
+
+namespace Volo.Abp.EventBus.Local;
+
+[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
+public class LocalEventHandlerOrderAttribute : Attribute
+{
+ ///
+ /// Handlers execute in ascending numeric value of the Order property.
+ ///
+ public int Order { get; set; }
+
+ public LocalEventHandlerOrderAttribute(int order)
+ {
+ Order = order;
+ }
+}
diff --git a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Local/LocalEventBus.cs b/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Local/LocalEventBus.cs
index 9570bf80e1..d73b2f8de9 100644
--- a/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Local/LocalEventBus.cs
+++ b/framework/src/Volo.Abp.EventBus/Volo/Abp/EventBus/Local/LocalEventBus.cs
@@ -10,6 +10,7 @@ using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.DependencyInjection;
using Volo.Abp.EventBus.Distributed;
using Volo.Abp.MultiTenancy;
+using Volo.Abp.Reflection;
using Volo.Abp.Threading;
using Volo.Abp.Uow;
@@ -138,14 +139,19 @@ public class LocalEventBus : EventBusBase, ILocalEventBus, ISingletonDependency
protected override IEnumerable GetHandlerFactories(Type eventType)
{
- var handlerFactoryList = new List();
-
+ var handlerFactoryList = new List>();
foreach (var handlerFactory in HandlerFactories.Where(hf => ShouldTriggerEventForHandler(eventType, hf.Key)))
{
- handlerFactoryList.Add(new EventTypeWithEventHandlerFactories(handlerFactory.Key, handlerFactory.Value));
+ foreach (var factory in handlerFactory.Value)
+ {
+ handlerFactoryList.Add(new Tuple(
+ factory,
+ handlerFactory.Key,
+ ReflectionHelper.GetAttributesOfMemberOrDeclaringType(factory.GetHandler().EventHandler.GetType()).FirstOrDefault()?.Order ?? 0));
+ }
}
- return handlerFactoryList.ToArray();
+ return handlerFactoryList.OrderBy(x => x.Item3).Select(x => new EventTypeWithEventHandlerFactories(x.Item2, new List {x.Item1})).ToArray();
}
private List GetOrCreateHandlerFactories(Type eventType)
diff --git a/framework/test/Volo.Abp.AspNetCore.MultiTenancy.Tests/Volo/Abp/AspNetCore/MultiTenancy/AspNetCoreMultiTenancy_MultiTenancyMiddlewareErrorPageBuilder_Tests.cs b/framework/test/Volo.Abp.AspNetCore.MultiTenancy.Tests/Volo/Abp/AspNetCore/MultiTenancy/AspNetCoreMultiTenancy_MultiTenancyMiddlewareErrorPageBuilder_Tests.cs
index 8932745f29..2d2de48992 100644
--- a/framework/test/Volo.Abp.AspNetCore.MultiTenancy.Tests/Volo/Abp/AspNetCore/MultiTenancy/AspNetCoreMultiTenancy_MultiTenancyMiddlewareErrorPageBuilder_Tests.cs
+++ b/framework/test/Volo.Abp.AspNetCore.MultiTenancy.Tests/Volo/Abp/AspNetCore/MultiTenancy/AspNetCoreMultiTenancy_MultiTenancyMiddlewareErrorPageBuilder_Tests.cs
@@ -1,9 +1,10 @@
-using System.Collections.Generic;
-using System.Net;
+using System.Net;
+using System.Text.Json;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Shouldly;
+using Volo.Abp.Http;
using Xunit;
namespace Volo.Abp.AspNetCore.MultiTenancy;
@@ -23,4 +24,17 @@ public class AspNetCoreMultiTenancy_MultiTenancyMiddlewareErrorPageBuilder_Tests
var result = await GetResponseAsStringAsync($"http://abp.io?{_options.TenantKey}=", HttpStatusCode.NotFound);
result.ShouldNotContain("");
}
+
+ [Fact]
+ public async Task MultiTenancyMiddlewareErrorPageBuilder_Ajax_Test()
+ {
+ using (var response = await GetResponseAsync($"http://abp.io?{_options.TenantKey}=abpio", HttpStatusCode.NotFound, xmlHttpRequest: true))
+ {
+ var result = await response.Content.ReadAsStringAsync();
+ var error = JsonSerializer.Deserialize(result, new JsonSerializerOptions {PropertyNamingPolicy = JsonNamingPolicy.CamelCase});
+ error.Error.ShouldNotBeNull();
+ error.Error.Message.ShouldBe("Tenant not found!");
+ error.Error.Details.ShouldBe("There is no tenant with the tenant id or name: abpio");
+ }
+ }
}
diff --git a/framework/test/Volo.Abp.EventBus.Tests/Volo/Abp/EventBus/Local/EventBus_Order_Test.cs b/framework/test/Volo.Abp.EventBus.Tests/Volo/Abp/EventBus/Local/EventBus_Order_Test.cs
new file mode 100644
index 0000000000..3bf8c3a7b6
--- /dev/null
+++ b/framework/test/Volo.Abp.EventBus.Tests/Volo/Abp/EventBus/Local/EventBus_Order_Test.cs
@@ -0,0 +1,56 @@
+using System.Threading.Tasks;
+using Shouldly;
+using Volo.Abp.DependencyInjection;
+using Volo.Abp.Domain.Entities;
+using Volo.Abp.Domain.Entities.Events;
+using Xunit;
+
+namespace Volo.Abp.EventBus.Local;
+
+public class EventBus_Order_Test : EventBusTestBase
+{
+ public static string HandlerExecuteOrder { get; set; }
+
+ [Fact]
+ public async Task Handler_Should_Execute_By_Order()
+ {
+ HandlerExecuteOrder = "";
+ await LocalEventBus.PublishAsync(new MyOrderEventHandlerEventData());
+ HandlerExecuteOrder.ShouldBe("321");
+ }
+
+ public class MyOrderEventHandlerEventData
+ {
+
+ }
+
+ public class MyOrderEventHandler : ILocalEventHandler, ITransientDependency
+ {
+ public Task HandleEventAsync(MyOrderEventHandlerEventData eventData)
+ {
+ HandlerExecuteOrder += "1";
+ return Task.CompletedTask;
+ }
+ }
+
+ [LocalEventHandlerOrder(-2)]
+ public class MyOrderEventHandler2 : ILocalEventHandler, ITransientDependency
+ {
+ public Task HandleEventAsync(MyOrderEventHandlerEventData eventData)
+ {
+ HandlerExecuteOrder += "2";
+ return Task.CompletedTask;
+ }
+ }
+
+ [LocalEventHandlerOrder(-3)]
+ public class MyOrderEventHandler3 : ILocalEventHandler, ITransientDependency
+ {
+ public Task HandleEventAsync(MyOrderEventHandlerEventData eventData)
+ {
+ HandlerExecuteOrder += "3";
+ return Task.CompletedTask;
+ }
+ }
+
+}
diff --git a/latest-versions.json b/latest-versions.json
index e291aaffe5..ee5249ef27 100644
--- a/latest-versions.json
+++ b/latest-versions.json
@@ -1,6 +1,6 @@
[
{
- "version": "7.2.1",
+ "version": "7.2.2",
"releaseDate": "",
"type": "stable",
"message": ""
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 37e21ef9a8..a4eb775dc1 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": "~7.2.1",
+ "@abp/aspnetcore.mvc.ui.theme.shared": "~7.2.2",
"highlight.js": "^9.13.1"
},
"devDependencies": {}
diff --git a/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/yarn.lock b/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/yarn.lock
index 34499a7b23..c490581c3b 100644
--- a/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/yarn.lock
+++ b/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/yarn.lock
@@ -2,32 +2,32 @@
# yarn lockfile v1
-"@abp/aspnetcore.mvc.ui.theme.shared@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.shared/-/aspnetcore.mvc.ui.theme.shared-7.2.1.tgz#68903cb3fafca670d603e658f20e435734e3d738"
- integrity sha512-B7gGe8qAjvMsLfqxFVdvGFfMylV3NQzthXT/BMoq1MtgMdLKrrpeu6Oz3mIr68IuFlA38edqlm8Scy+iknD+Xg==
- dependencies:
- "@abp/aspnetcore.mvc.ui" "~7.2.1"
- "@abp/bootstrap" "~7.2.1"
- "@abp/bootstrap-datepicker" "~7.2.1"
- "@abp/bootstrap-daterangepicker" "~7.2.1"
- "@abp/datatables.net-bs5" "~7.2.1"
- "@abp/font-awesome" "~7.2.1"
- "@abp/jquery-form" "~7.2.1"
- "@abp/jquery-validation-unobtrusive" "~7.2.1"
- "@abp/lodash" "~7.2.1"
- "@abp/luxon" "~7.2.1"
- "@abp/malihu-custom-scrollbar-plugin" "~7.2.1"
- "@abp/moment" "~7.2.1"
- "@abp/select2" "~7.2.1"
- "@abp/sweetalert2" "~7.2.1"
- "@abp/timeago" "~7.2.1"
- "@abp/toastr" "~7.2.1"
-
-"@abp/aspnetcore.mvc.ui@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui/-/aspnetcore.mvc.ui-7.2.1.tgz#b4ae5dcdb90983673092dbfee93c16f21cbb21fe"
- integrity sha512-edBAWEKQnUdH8jgY+QDECs3BFu0qIXbMV/AiTH9j64uo4ADQ6rgJ6Uq7xy6YtxJ0uImFkgLXDd9LYQEPvU43Bg==
+"@abp/aspnetcore.mvc.ui.theme.shared@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.shared/-/aspnetcore.mvc.ui.theme.shared-7.2.2.tgz#ef5feee85db6f0168bc9b2c1fb058992be6c6d55"
+ integrity sha512-XayukLpXEQj3VEw0YDqfCOR7QfU1nEe6aGtc9CfG9cGXMIDZFs6lxI0fbRdRR89m7T5POtDlrhr81yTkzSd1SA==
+ dependencies:
+ "@abp/aspnetcore.mvc.ui" "~7.2.2"
+ "@abp/bootstrap" "~7.2.2"
+ "@abp/bootstrap-datepicker" "~7.2.2"
+ "@abp/bootstrap-daterangepicker" "~7.2.2"
+ "@abp/datatables.net-bs5" "~7.2.2"
+ "@abp/font-awesome" "~7.2.2"
+ "@abp/jquery-form" "~7.2.2"
+ "@abp/jquery-validation-unobtrusive" "~7.2.2"
+ "@abp/lodash" "~7.2.2"
+ "@abp/luxon" "~7.2.2"
+ "@abp/malihu-custom-scrollbar-plugin" "~7.2.2"
+ "@abp/moment" "~7.2.2"
+ "@abp/select2" "~7.2.2"
+ "@abp/sweetalert2" "~7.2.2"
+ "@abp/timeago" "~7.2.2"
+ "@abp/toastr" "~7.2.2"
+
+"@abp/aspnetcore.mvc.ui@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui/-/aspnetcore.mvc.ui-7.2.2.tgz#cc0ca317bf71fcc3c25dcc4bfd6e4521219a2b05"
+ integrity sha512-frRTtiGeXDuZbMxBAAPFlWMDoSHkTP0iPE2dAV7YC28W/lHrf6bJsS2CoB2dHmUjp5IB2LSQnaQuR7ihXRtx0A==
dependencies:
ansi-colors "^4.1.1"
extend-object "^1.0.0"
@@ -36,158 +36,158 @@
merge-stream "^2.0.0"
micromatch "^4.0.2"
-"@abp/bootstrap-datepicker@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/bootstrap-datepicker/-/bootstrap-datepicker-7.2.1.tgz#eca6c1138074ce222ff6c474bc51f4fbe05882c3"
- integrity sha512-DUBEz8wzsWJlEfQ7CZJYemLE/wNYyY7LtWRBRjNFndS8P2xo3FP4xuh0mnovSZ3AXPy7oAAKg0zayFzf3XS4aw==
+"@abp/bootstrap-datepicker@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/bootstrap-datepicker/-/bootstrap-datepicker-7.2.2.tgz#2b88db99296d0905f04731b5e2d95955e6a79717"
+ integrity sha512-JEDv3DJprgOf8T///Wzxg/CTKapvfcvfPOeTULhs0M039Sk3xLRBv/HG9YgxexjLh8zVWKfd5T5oiWj07KMC8A==
dependencies:
bootstrap-datepicker "^1.9.0"
-"@abp/bootstrap-daterangepicker@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/bootstrap-daterangepicker/-/bootstrap-daterangepicker-7.2.1.tgz#ad236d026c3596e71a6a2088e5332e00d62c8ff7"
- integrity sha512-WF/3qQobtvizWGmycgkzHMIjHJoLYAnCsi+vJPzv+VqvGstnQOgkz/rlfcu7uAp9y5H4OWdSAbkOj9eELNfxlA==
+"@abp/bootstrap-daterangepicker@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/bootstrap-daterangepicker/-/bootstrap-daterangepicker-7.2.2.tgz#ef4a8837ebf35ac715af06cdfa7584751447cd80"
+ integrity sha512-o/uFPBhNFDzGpyE9xIU4U5hqZMmeXqRSWwLdMFEt4AmOCTPXndC9eIZRpZs9fYmsNsQIA6S0kXuUxMTSOmR/Jw==
dependencies:
bootstrap-daterangepicker "^3.1.0"
-"@abp/bootstrap@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/bootstrap/-/bootstrap-7.2.1.tgz#94d8186af2f1a1ed4d558756ffa18fd43f26e318"
- integrity sha512-nU3mBK0VVgkDJqu5CBOHAD1FNvKSO6wnfX5wSB+IYDIfAV9wsmiTIMx6YO8psjMOd4flEmlKLALK6p17i79jhw==
+"@abp/bootstrap@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/bootstrap/-/bootstrap-7.2.2.tgz#9fc80c6110d519d4bd53aba4f70e6c9afa227793"
+ integrity sha512-Eg7i+4VL62ex1C/7IaU1m8hEY4zy+QqdqeQtvb+ogKjLSM/SCE8ck+WC2749UOaso9yf7s9Eb4QMkVQ/MSMwrw==
dependencies:
- "@abp/core" "~7.2.1"
+ "@abp/core" "~7.2.2"
bootstrap "^5.1.3"
-"@abp/core@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/core/-/core-7.2.1.tgz#5685d615482daa032ab24f49aeb7fff3f50af898"
- integrity sha512-N99Ee/rbtXFaV3vdGfv6Mbj1Zav73oBGGNbzmAiQaO/g1hda6ndzSC9WzRJkJ7MaJKTPNJx1ExBNEcNMw1P2UA==
+"@abp/core@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/core/-/core-7.2.2.tgz#b5d403289181094ecd92cb8d963292ba8d7afe67"
+ integrity sha512-4laOq4dsya/oUCbmz6JvZdiEXADFVgXdfncS//EZWJJvDVzasfO0Sf71qkj233aYQ6PmClSZarZJSottzdr8vw==
dependencies:
- "@abp/utils" "~7.2.1"
+ "@abp/utils" "~7.2.2"
-"@abp/datatables.net-bs5@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/datatables.net-bs5/-/datatables.net-bs5-7.2.1.tgz#0474e874729a51a7e87f2ebfa931ecd8e6fe3eed"
- integrity sha512-7AvNK0mYHWcdbQJAH6/PV9yjz/FbJlVHWP7mOREd6DIkg+Q8Ihmqjn8bnJyhN2UeRMTz9EZU2nO+E9oAllYlog==
+"@abp/datatables.net-bs5@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/datatables.net-bs5/-/datatables.net-bs5-7.2.2.tgz#7a8aa9173a219d28949cde69037b9d601e4c75fd"
+ integrity sha512-vrqcuvMksITTtRF35xk0+cPOnr+oO7nPGFN5zHVXHYf2pZP2/GqPcBo4s9arwaJ3bQ49slQV+fdugSULUFIeFQ==
dependencies:
- "@abp/datatables.net" "~7.2.1"
+ "@abp/datatables.net" "~7.2.2"
datatables.net-bs5 "^1.11.4"
-"@abp/datatables.net@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/datatables.net/-/datatables.net-7.2.1.tgz#30aeec4c37cc76e5c4dff78dee433c0b42599e41"
- integrity sha512-AM6LonrGTOA2VyRme5rT/DcVX0TF2WxSRiM7vpTajq4A16O8yceos/XXop4QEGjGCPGbRqUuWQsIAxXRpcwYJQ==
+"@abp/datatables.net@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/datatables.net/-/datatables.net-7.2.2.tgz#3c4c7cad18bd87085d6042f63a9de88908e8dfe0"
+ integrity sha512-8Fyqd+iUFwy5MH8RVnfwNhcFMys3JgzxBh6ipNnCSI+O+haeauC5anYpEVCZesdBqSsOnv0seL7jvgPKK6ThKQ==
dependencies:
- "@abp/jquery" "~7.2.1"
+ "@abp/jquery" "~7.2.2"
datatables.net "^1.11.4"
-"@abp/font-awesome@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/font-awesome/-/font-awesome-7.2.1.tgz#58751a48e7a648edb075d5a424c4ed9c6448e8e5"
- integrity sha512-jIYHdXtijkd0b823Gd8pDqXmJ8luA0n4NqnF6MuZtQaz95CY8o0SNc7iGSJep3Gfi9XVVUVkXqWE2Gc82uyaNA==
+"@abp/font-awesome@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/font-awesome/-/font-awesome-7.2.2.tgz#24047769ba81762720e6ff0a9dc59074e7decc97"
+ integrity sha512-YIaNNs9PIUNKa72tI5AOlvFXZ5KB7ZkPSxtYzEQgjeAiLFSn9F6j2lxTSwEZeoa53fQ8qChnUcdLv+5b/FrpoQ==
dependencies:
- "@abp/core" "~7.2.1"
+ "@abp/core" "~7.2.2"
"@fortawesome/fontawesome-free" "^5.15.4"
-"@abp/jquery-form@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/jquery-form/-/jquery-form-7.2.1.tgz#b09398cfb0abef4255a5bb1853c67ef9bfa76f49"
- integrity sha512-Jqgog1AJHsCP3lLhUkCXMUzzk2XhAW9pje5dwSdKqE0/bg2OOGo1L3LKUFeEk9dWuMVRkrLRmfdcGRt1SRb4rQ==
+"@abp/jquery-form@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/jquery-form/-/jquery-form-7.2.2.tgz#f9f8d75072f8090b03c89471afb9565cb2fc55b9"
+ integrity sha512-OHj3w4eUwivDymETk7RHxAE25pOOB/IiHB1/w/3axDgAdWaWERWnXnCZFfi+QV+8dmrXySzUecicOxXoL12NEA==
dependencies:
- "@abp/jquery" "~7.2.1"
+ "@abp/jquery" "~7.2.2"
jquery-form "^4.3.0"
-"@abp/jquery-validation-unobtrusive@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/jquery-validation-unobtrusive/-/jquery-validation-unobtrusive-7.2.1.tgz#a62f85c7226d71588d1aa732739b3434c43f40e9"
- integrity sha512-pEleVw7js8SpIRX73U5ccrfvc0H7Lxfa761wH9WglQOgC0Z1dAkJWbqr/6zKuUi3sVECYgFK8RcVm8/oPRGMzw==
+"@abp/jquery-validation-unobtrusive@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/jquery-validation-unobtrusive/-/jquery-validation-unobtrusive-7.2.2.tgz#0dbb9fa0970d65cd56447fdc17828fd3f4147534"
+ integrity sha512-3CUdINe6BXzPuDP08lWDdYON+mBVHHP37Xyt8AKqD3Qk0TMoBy2QYz4pdxS2ifn97p1f51J/jP701vNJtNVtMQ==
dependencies:
- "@abp/jquery-validation" "~7.2.1"
+ "@abp/jquery-validation" "~7.2.2"
jquery-validation-unobtrusive "^3.2.12"
-"@abp/jquery-validation@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/jquery-validation/-/jquery-validation-7.2.1.tgz#e8506f0513d26ae3550cb9410ce500e20065d9cb"
- integrity sha512-QuCQV2UhKUXwOgYfwKMdu959lWSTOPR83wDTbuTAYd9nsOpCHmhDMApVT0hv44Jv+/ZmE360mkpogzkb0abxLg==
+"@abp/jquery-validation@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/jquery-validation/-/jquery-validation-7.2.2.tgz#9683b25e83ac3dec1a7533c25455c42e73d81630"
+ integrity sha512-78NL177q1G1AOzUOhqmeAKc/3X/TgK1p+0SqWob9G83ADs7ZK5DV/uR73fs35KNYcnQI9aPwl2XzJ4hPHUZ+Qw==
dependencies:
- "@abp/jquery" "~7.2.1"
+ "@abp/jquery" "~7.2.2"
jquery-validation "^1.19.3"
-"@abp/jquery@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/jquery/-/jquery-7.2.1.tgz#4ac9cd9ba4710f8dccaa145c17cef00e147efe6f"
- integrity sha512-W2qE9LP6BCp1bdOMiup4MuB/R7Plj9se+1Sct1EeF1AnpNXv4IvVr5aGEy0/gKeeHvOrHB4wKIXcBhURFSAY1w==
+"@abp/jquery@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/jquery/-/jquery-7.2.2.tgz#b4034ab5e193ad111ed8a2c36df97b97ecc13aaf"
+ integrity sha512-Uz75FDBU8R0cu5ATeudy6Ho7Fv1pg2brcQlJ+kYUxXoRmeX2j5H8+vhQGkNpMmtg7xyb4BS7tZyEtuDS9mlvpQ==
dependencies:
- "@abp/core" "~7.2.1"
+ "@abp/core" "~7.2.2"
jquery "~3.6.0"
-"@abp/lodash@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/lodash/-/lodash-7.2.1.tgz#36d60374a9fc2130c1f7bd264902d78221fa3b5b"
- integrity sha512-XFZrxijDLhKqtL4LL3x9C/TvnJs/MIjmNwJ7+Ieg26fo2IFqYg2+hIieCUqGzn66IBwUAoRR0Cqa66erxijDlA==
+"@abp/lodash@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/lodash/-/lodash-7.2.2.tgz#c391d06726800807df4f25e51a28f3e6cb03de5d"
+ integrity sha512-Mbe/wdqfBoHbf19dEUy2IMLek7P6a2PWQsVygoyb5phb+hGm0Qy5h4g0IhFiRRWChXnjRQeDnZINdXHl8RMzuQ==
dependencies:
- "@abp/core" "~7.2.1"
+ "@abp/core" "~7.2.2"
lodash "^4.17.21"
-"@abp/luxon@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/luxon/-/luxon-7.2.1.tgz#eb31dd7242be766f995954924e0127f2b58e4516"
- integrity sha512-lSzulfTa4RPOcp80wmDUQFN9BatTASgYnYfu9RK9U/Fi2nV5KvqzUvRkB/XTitupLaoTJfV5h8Cpf47QMgiLSw==
+"@abp/luxon@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/luxon/-/luxon-7.2.2.tgz#0d99a16bf34288deeae835753e6bab92efd6f060"
+ integrity sha512-rnz4ljwArJCwf7riFDJrIjZW0bJUXlodeM7IGWCD0Mj7r5t0n+FX9ngcJfKf+zC7ICYMaPCsz+QeUX6ycTZdOw==
dependencies:
- "@abp/core" "~7.2.1"
+ "@abp/core" "~7.2.2"
luxon "^2.3.0"
-"@abp/malihu-custom-scrollbar-plugin@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/malihu-custom-scrollbar-plugin/-/malihu-custom-scrollbar-plugin-7.2.1.tgz#d3b8aa15774a34f0abe704e416b00d8be76d3346"
- integrity sha512-xqsjMQJez25mFwNRTUdHTQl78tYJ9+NEmEYLjpo+qRbs2hBExZQO67gTuO6TKvPRBCVgMiIcdpuegtoFhZLl5g==
+"@abp/malihu-custom-scrollbar-plugin@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/malihu-custom-scrollbar-plugin/-/malihu-custom-scrollbar-plugin-7.2.2.tgz#a843d02519ff193633c41845312c9f7741606eb7"
+ integrity sha512-kw9364TJuc/z7uCKZsmHDyv7gsdR8jxp+jTvkubemLuFH6fHgbL5Q77jWp5AcjI03lskaWK0Rnjsa9Ahqt/chA==
dependencies:
- "@abp/core" "~7.2.1"
+ "@abp/core" "~7.2.2"
malihu-custom-scrollbar-plugin "^3.1.5"
-"@abp/moment@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/moment/-/moment-7.2.1.tgz#07bcaeb408b0025f2e8c2a7b259f5f27e05f8d25"
- integrity sha512-L7EvEKEyl9RsPnSVbPwL3QC3xcKqkaLtZo75wTws2o5hXHs4f4mkADdnpfjCYFFZ+H0vMYjxzKYNI8rHm/ZU0g==
+"@abp/moment@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/moment/-/moment-7.2.2.tgz#353495c3ad2d393b3a50fbe24a731a569f6f001d"
+ integrity sha512-bdlfPH2uKxv1JdxGi4xAKOsN+LFQk7yV28WuAm05c16GH4YnOVHTUXZXEMNSt1cRz0GQesWwqpDrtZrKyLkptw==
dependencies:
moment "^2.9.0"
-"@abp/select2@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/select2/-/select2-7.2.1.tgz#c2d9494d09395691792ede04bf3d7173ebd35a95"
- integrity sha512-AW1ylrPQv+WeT3HdQQqy09uvxSeWPzxLhVEylL+HIGFn3TwMCVo2DtgnxSYde4WCpDMRlYzkWlUBX5y9UzhArw==
+"@abp/select2@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/select2/-/select2-7.2.2.tgz#f5e2fbc377c7a482b59e9f177c3a9f1f73d7f94f"
+ integrity sha512-mZqcNZ7Te7JzePUFKowjZWO90TH/9rlvkm4tx5q8PMYkV9Pk/aGbw5Gi7nGJHLEcy1g1fI0N5aL/UQzckeC99w==
dependencies:
- "@abp/core" "~7.2.1"
+ "@abp/core" "~7.2.2"
select2 "^4.0.13"
-"@abp/sweetalert2@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/sweetalert2/-/sweetalert2-7.2.1.tgz#ab11b3ef48ca55687a8afb0f8fca0b9e696d10a3"
- integrity sha512-qGMQE7I3bnCN0xwliBP+y+1m5nx7mOYc2yuTozNLdNpmNgT0TAkjyvufn99JQBPoFju+VjMEjS5R005RbvLuVQ==
+"@abp/sweetalert2@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/sweetalert2/-/sweetalert2-7.2.2.tgz#9cd0fc631dcf9989a2189217b7b5f3437cb4f376"
+ integrity sha512-KMBaMyk9iUqzceGfxR1dGx+wZylOz4f7mN9Owj7Jn9MjMGZoFUoyJ96PFD4rLy2m/8g3Jn70dbmnynpF1P8x+w==
dependencies:
- "@abp/core" "~7.2.1"
+ "@abp/core" "~7.2.2"
sweetalert2 "^11.3.6"
-"@abp/timeago@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/timeago/-/timeago-7.2.1.tgz#0fad3c1d7b0678ca63a47f9ba6f5702a162f6857"
- integrity sha512-1M6WWQ/kPdndMPhgJ5/I22NjxLgmHM4b4sLaKATIH5D4EM7aii22RiM5cSBVAKoJZjJ8S3R28g78zS01xKrSnw==
+"@abp/timeago@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/timeago/-/timeago-7.2.2.tgz#a0fac76f78d679892c0a5653d3a68044529245fa"
+ integrity sha512-3qLRrDQ1qC+E8YbsPiFxGf7ZzIlbKS3ObE2ixULKoarjJE8yDnHV2vfkSX1kYGsiN50yasUUG88U+JHLbhyx8w==
dependencies:
- "@abp/jquery" "~7.2.1"
+ "@abp/jquery" "~7.2.2"
timeago "^1.6.7"
-"@abp/toastr@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/toastr/-/toastr-7.2.1.tgz#6ddc793e0a66e2b1f9dd192530ad46aacfd60cb2"
- integrity sha512-BkLohyVJxLx0aJ6WJ2iBRV8y20JWfgoRCpzGUCcAhAp+BBF9FVhVxxZo0loFjprFprvLjJK91Z0bErJW6BWvFQ==
+"@abp/toastr@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/toastr/-/toastr-7.2.2.tgz#30e8039ceeff66bdd7c438c3c6cd583deeb71965"
+ integrity sha512-Jmmkcv2B3fdGbDJaBXeqRtctQXx8cTEb+PgyqtVRG/M0Wy7hhbMYn0U+t3KflGpZzH+AN5ReAdNbjXpM3wgFmA==
dependencies:
- "@abp/jquery" "~7.2.1"
+ "@abp/jquery" "~7.2.2"
toastr "^2.1.4"
-"@abp/utils@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/utils/-/utils-7.2.1.tgz#a0d5a6de02cb1b68d096399bb03771a8bb9b03b5"
- integrity sha512-1QAdnFH9RD03w5mqNCz2G4mCuEPRgAJNLvFAEu9RTkL6EhOsCCQSG5mzA4cTWNDvVlNcUF8uyroXmlUvuzpYHg==
+"@abp/utils@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/utils/-/utils-7.2.2.tgz#6054baa822d52f08452e8405c7a391aaedee7de0"
+ integrity sha512-VB9ijoPvB2tHInc1XrcvTvEzYANh+V1BliyScNTG9tr09q2pvn5jHp8Jixtu7GewCy8dh7cyueqhbnuozxedjg==
dependencies:
just-compare "^1.3.0"
diff --git a/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Demo/package.json b/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Demo/package.json
index 44570d13f9..c164aa0919 100644
--- a/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Demo/package.json
+++ b/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Demo/package.json
@@ -3,8 +3,8 @@
"name": "asp.net",
"private": true,
"dependencies": {
- "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.1",
- "@abp/prismjs": "~7.2.1"
+ "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.2",
+ "@abp/prismjs": "~7.2.2"
},
"devDependencies": {}
}
diff --git a/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Demo/yarn.lock b/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Demo/yarn.lock
index 5df5cf1a39..1711cb0ae7 100644
--- a/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Demo/yarn.lock
+++ b/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Demo/yarn.lock
@@ -2,39 +2,39 @@
# yarn lockfile v1
-"@abp/aspnetcore.mvc.ui.theme.basic@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.basic/-/aspnetcore.mvc.ui.theme.basic-7.2.1.tgz#34a948ef593442995bf663fd5c0d3ab4fd7390e8"
- integrity sha512-AxtugI8e8n6BDklLV/z9oZQzmpF3oEhIVyr1dxv55hIBe8GcOZHA/9CqKHY/OpSwch7ka0EEPrHawCvylcNAdQ==
- dependencies:
- "@abp/aspnetcore.mvc.ui.theme.shared" "~7.2.1"
-
-"@abp/aspnetcore.mvc.ui.theme.shared@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.shared/-/aspnetcore.mvc.ui.theme.shared-7.2.1.tgz#68903cb3fafca670d603e658f20e435734e3d738"
- integrity sha512-B7gGe8qAjvMsLfqxFVdvGFfMylV3NQzthXT/BMoq1MtgMdLKrrpeu6Oz3mIr68IuFlA38edqlm8Scy+iknD+Xg==
- dependencies:
- "@abp/aspnetcore.mvc.ui" "~7.2.1"
- "@abp/bootstrap" "~7.2.1"
- "@abp/bootstrap-datepicker" "~7.2.1"
- "@abp/bootstrap-daterangepicker" "~7.2.1"
- "@abp/datatables.net-bs5" "~7.2.1"
- "@abp/font-awesome" "~7.2.1"
- "@abp/jquery-form" "~7.2.1"
- "@abp/jquery-validation-unobtrusive" "~7.2.1"
- "@abp/lodash" "~7.2.1"
- "@abp/luxon" "~7.2.1"
- "@abp/malihu-custom-scrollbar-plugin" "~7.2.1"
- "@abp/moment" "~7.2.1"
- "@abp/select2" "~7.2.1"
- "@abp/sweetalert2" "~7.2.1"
- "@abp/timeago" "~7.2.1"
- "@abp/toastr" "~7.2.1"
-
-"@abp/aspnetcore.mvc.ui@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui/-/aspnetcore.mvc.ui-7.2.1.tgz#b4ae5dcdb90983673092dbfee93c16f21cbb21fe"
- integrity sha512-edBAWEKQnUdH8jgY+QDECs3BFu0qIXbMV/AiTH9j64uo4ADQ6rgJ6Uq7xy6YtxJ0uImFkgLXDd9LYQEPvU43Bg==
+"@abp/aspnetcore.mvc.ui.theme.basic@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.basic/-/aspnetcore.mvc.ui.theme.basic-7.2.2.tgz#6cc7f3390429413ac916f0bb450025371a64e48a"
+ integrity sha512-6CjJ/7DGPI9q192YYuJomq9ul0lUeOvZWZM1BJ7PSV/K8rAJotIGUoLtFttv+786zxyy/sCfaJGcObg6Kij8Bg==
+ dependencies:
+ "@abp/aspnetcore.mvc.ui.theme.shared" "~7.2.2"
+
+"@abp/aspnetcore.mvc.ui.theme.shared@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.shared/-/aspnetcore.mvc.ui.theme.shared-7.2.2.tgz#ef5feee85db6f0168bc9b2c1fb058992be6c6d55"
+ integrity sha512-XayukLpXEQj3VEw0YDqfCOR7QfU1nEe6aGtc9CfG9cGXMIDZFs6lxI0fbRdRR89m7T5POtDlrhr81yTkzSd1SA==
+ dependencies:
+ "@abp/aspnetcore.mvc.ui" "~7.2.2"
+ "@abp/bootstrap" "~7.2.2"
+ "@abp/bootstrap-datepicker" "~7.2.2"
+ "@abp/bootstrap-daterangepicker" "~7.2.2"
+ "@abp/datatables.net-bs5" "~7.2.2"
+ "@abp/font-awesome" "~7.2.2"
+ "@abp/jquery-form" "~7.2.2"
+ "@abp/jquery-validation-unobtrusive" "~7.2.2"
+ "@abp/lodash" "~7.2.2"
+ "@abp/luxon" "~7.2.2"
+ "@abp/malihu-custom-scrollbar-plugin" "~7.2.2"
+ "@abp/moment" "~7.2.2"
+ "@abp/select2" "~7.2.2"
+ "@abp/sweetalert2" "~7.2.2"
+ "@abp/timeago" "~7.2.2"
+ "@abp/toastr" "~7.2.2"
+
+"@abp/aspnetcore.mvc.ui@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui/-/aspnetcore.mvc.ui-7.2.2.tgz#cc0ca317bf71fcc3c25dcc4bfd6e4521219a2b05"
+ integrity sha512-frRTtiGeXDuZbMxBAAPFlWMDoSHkTP0iPE2dAV7YC28W/lHrf6bJsS2CoB2dHmUjp5IB2LSQnaQuR7ihXRtx0A==
dependencies:
ansi-colors "^4.1.1"
extend-object "^1.0.0"
@@ -43,175 +43,175 @@
merge-stream "^2.0.0"
micromatch "^4.0.2"
-"@abp/bootstrap-datepicker@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/bootstrap-datepicker/-/bootstrap-datepicker-7.2.1.tgz#eca6c1138074ce222ff6c474bc51f4fbe05882c3"
- integrity sha512-DUBEz8wzsWJlEfQ7CZJYemLE/wNYyY7LtWRBRjNFndS8P2xo3FP4xuh0mnovSZ3AXPy7oAAKg0zayFzf3XS4aw==
+"@abp/bootstrap-datepicker@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/bootstrap-datepicker/-/bootstrap-datepicker-7.2.2.tgz#2b88db99296d0905f04731b5e2d95955e6a79717"
+ integrity sha512-JEDv3DJprgOf8T///Wzxg/CTKapvfcvfPOeTULhs0M039Sk3xLRBv/HG9YgxexjLh8zVWKfd5T5oiWj07KMC8A==
dependencies:
bootstrap-datepicker "^1.9.0"
-"@abp/bootstrap-daterangepicker@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/bootstrap-daterangepicker/-/bootstrap-daterangepicker-7.2.1.tgz#ad236d026c3596e71a6a2088e5332e00d62c8ff7"
- integrity sha512-WF/3qQobtvizWGmycgkzHMIjHJoLYAnCsi+vJPzv+VqvGstnQOgkz/rlfcu7uAp9y5H4OWdSAbkOj9eELNfxlA==
+"@abp/bootstrap-daterangepicker@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/bootstrap-daterangepicker/-/bootstrap-daterangepicker-7.2.2.tgz#ef4a8837ebf35ac715af06cdfa7584751447cd80"
+ integrity sha512-o/uFPBhNFDzGpyE9xIU4U5hqZMmeXqRSWwLdMFEt4AmOCTPXndC9eIZRpZs9fYmsNsQIA6S0kXuUxMTSOmR/Jw==
dependencies:
bootstrap-daterangepicker "^3.1.0"
-"@abp/bootstrap@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/bootstrap/-/bootstrap-7.2.1.tgz#94d8186af2f1a1ed4d558756ffa18fd43f26e318"
- integrity sha512-nU3mBK0VVgkDJqu5CBOHAD1FNvKSO6wnfX5wSB+IYDIfAV9wsmiTIMx6YO8psjMOd4flEmlKLALK6p17i79jhw==
+"@abp/bootstrap@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/bootstrap/-/bootstrap-7.2.2.tgz#9fc80c6110d519d4bd53aba4f70e6c9afa227793"
+ integrity sha512-Eg7i+4VL62ex1C/7IaU1m8hEY4zy+QqdqeQtvb+ogKjLSM/SCE8ck+WC2749UOaso9yf7s9Eb4QMkVQ/MSMwrw==
dependencies:
- "@abp/core" "~7.2.1"
+ "@abp/core" "~7.2.2"
bootstrap "^5.1.3"
-"@abp/clipboard@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/clipboard/-/clipboard-7.2.1.tgz#dab262b84aa956eeb3a145461b662c5ae851b4a8"
- integrity sha512-72C3QMEMMtXzjv6GTJJiILSJ1ScBidcKdahrRLlomo4TgCIEgg1+oYL3Q0uyrlB5I0mUqBaf+qYlxXue8JdRAQ==
+"@abp/clipboard@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/clipboard/-/clipboard-7.2.2.tgz#e8130fc671b1c3dc85517a8f8bae1bb4c6fac64f"
+ integrity sha512-QiFMsawpo3e6ZV3OKe0F21vXHRv2X1WZoivQ4yYordM7QtLZG0bdftIGA1jPcKbWoSOc8wfFZszzXuceeI8U5w==
dependencies:
- "@abp/core" "~7.2.1"
+ "@abp/core" "~7.2.2"
clipboard "^2.0.8"
-"@abp/core@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/core/-/core-7.2.1.tgz#5685d615482daa032ab24f49aeb7fff3f50af898"
- integrity sha512-N99Ee/rbtXFaV3vdGfv6Mbj1Zav73oBGGNbzmAiQaO/g1hda6ndzSC9WzRJkJ7MaJKTPNJx1ExBNEcNMw1P2UA==
+"@abp/core@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/core/-/core-7.2.2.tgz#b5d403289181094ecd92cb8d963292ba8d7afe67"
+ integrity sha512-4laOq4dsya/oUCbmz6JvZdiEXADFVgXdfncS//EZWJJvDVzasfO0Sf71qkj233aYQ6PmClSZarZJSottzdr8vw==
dependencies:
- "@abp/utils" "~7.2.1"
+ "@abp/utils" "~7.2.2"
-"@abp/datatables.net-bs5@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/datatables.net-bs5/-/datatables.net-bs5-7.2.1.tgz#0474e874729a51a7e87f2ebfa931ecd8e6fe3eed"
- integrity sha512-7AvNK0mYHWcdbQJAH6/PV9yjz/FbJlVHWP7mOREd6DIkg+Q8Ihmqjn8bnJyhN2UeRMTz9EZU2nO+E9oAllYlog==
+"@abp/datatables.net-bs5@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/datatables.net-bs5/-/datatables.net-bs5-7.2.2.tgz#7a8aa9173a219d28949cde69037b9d601e4c75fd"
+ integrity sha512-vrqcuvMksITTtRF35xk0+cPOnr+oO7nPGFN5zHVXHYf2pZP2/GqPcBo4s9arwaJ3bQ49slQV+fdugSULUFIeFQ==
dependencies:
- "@abp/datatables.net" "~7.2.1"
+ "@abp/datatables.net" "~7.2.2"
datatables.net-bs5 "^1.11.4"
-"@abp/datatables.net@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/datatables.net/-/datatables.net-7.2.1.tgz#30aeec4c37cc76e5c4dff78dee433c0b42599e41"
- integrity sha512-AM6LonrGTOA2VyRme5rT/DcVX0TF2WxSRiM7vpTajq4A16O8yceos/XXop4QEGjGCPGbRqUuWQsIAxXRpcwYJQ==
+"@abp/datatables.net@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/datatables.net/-/datatables.net-7.2.2.tgz#3c4c7cad18bd87085d6042f63a9de88908e8dfe0"
+ integrity sha512-8Fyqd+iUFwy5MH8RVnfwNhcFMys3JgzxBh6ipNnCSI+O+haeauC5anYpEVCZesdBqSsOnv0seL7jvgPKK6ThKQ==
dependencies:
- "@abp/jquery" "~7.2.1"
+ "@abp/jquery" "~7.2.2"
datatables.net "^1.11.4"
-"@abp/font-awesome@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/font-awesome/-/font-awesome-7.2.1.tgz#58751a48e7a648edb075d5a424c4ed9c6448e8e5"
- integrity sha512-jIYHdXtijkd0b823Gd8pDqXmJ8luA0n4NqnF6MuZtQaz95CY8o0SNc7iGSJep3Gfi9XVVUVkXqWE2Gc82uyaNA==
+"@abp/font-awesome@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/font-awesome/-/font-awesome-7.2.2.tgz#24047769ba81762720e6ff0a9dc59074e7decc97"
+ integrity sha512-YIaNNs9PIUNKa72tI5AOlvFXZ5KB7ZkPSxtYzEQgjeAiLFSn9F6j2lxTSwEZeoa53fQ8qChnUcdLv+5b/FrpoQ==
dependencies:
- "@abp/core" "~7.2.1"
+ "@abp/core" "~7.2.2"
"@fortawesome/fontawesome-free" "^5.15.4"
-"@abp/jquery-form@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/jquery-form/-/jquery-form-7.2.1.tgz#b09398cfb0abef4255a5bb1853c67ef9bfa76f49"
- integrity sha512-Jqgog1AJHsCP3lLhUkCXMUzzk2XhAW9pje5dwSdKqE0/bg2OOGo1L3LKUFeEk9dWuMVRkrLRmfdcGRt1SRb4rQ==
+"@abp/jquery-form@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/jquery-form/-/jquery-form-7.2.2.tgz#f9f8d75072f8090b03c89471afb9565cb2fc55b9"
+ integrity sha512-OHj3w4eUwivDymETk7RHxAE25pOOB/IiHB1/w/3axDgAdWaWERWnXnCZFfi+QV+8dmrXySzUecicOxXoL12NEA==
dependencies:
- "@abp/jquery" "~7.2.1"
+ "@abp/jquery" "~7.2.2"
jquery-form "^4.3.0"
-"@abp/jquery-validation-unobtrusive@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/jquery-validation-unobtrusive/-/jquery-validation-unobtrusive-7.2.1.tgz#a62f85c7226d71588d1aa732739b3434c43f40e9"
- integrity sha512-pEleVw7js8SpIRX73U5ccrfvc0H7Lxfa761wH9WglQOgC0Z1dAkJWbqr/6zKuUi3sVECYgFK8RcVm8/oPRGMzw==
+"@abp/jquery-validation-unobtrusive@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/jquery-validation-unobtrusive/-/jquery-validation-unobtrusive-7.2.2.tgz#0dbb9fa0970d65cd56447fdc17828fd3f4147534"
+ integrity sha512-3CUdINe6BXzPuDP08lWDdYON+mBVHHP37Xyt8AKqD3Qk0TMoBy2QYz4pdxS2ifn97p1f51J/jP701vNJtNVtMQ==
dependencies:
- "@abp/jquery-validation" "~7.2.1"
+ "@abp/jquery-validation" "~7.2.2"
jquery-validation-unobtrusive "^3.2.12"
-"@abp/jquery-validation@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/jquery-validation/-/jquery-validation-7.2.1.tgz#e8506f0513d26ae3550cb9410ce500e20065d9cb"
- integrity sha512-QuCQV2UhKUXwOgYfwKMdu959lWSTOPR83wDTbuTAYd9nsOpCHmhDMApVT0hv44Jv+/ZmE360mkpogzkb0abxLg==
+"@abp/jquery-validation@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/jquery-validation/-/jquery-validation-7.2.2.tgz#9683b25e83ac3dec1a7533c25455c42e73d81630"
+ integrity sha512-78NL177q1G1AOzUOhqmeAKc/3X/TgK1p+0SqWob9G83ADs7ZK5DV/uR73fs35KNYcnQI9aPwl2XzJ4hPHUZ+Qw==
dependencies:
- "@abp/jquery" "~7.2.1"
+ "@abp/jquery" "~7.2.2"
jquery-validation "^1.19.3"
-"@abp/jquery@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/jquery/-/jquery-7.2.1.tgz#4ac9cd9ba4710f8dccaa145c17cef00e147efe6f"
- integrity sha512-W2qE9LP6BCp1bdOMiup4MuB/R7Plj9se+1Sct1EeF1AnpNXv4IvVr5aGEy0/gKeeHvOrHB4wKIXcBhURFSAY1w==
+"@abp/jquery@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/jquery/-/jquery-7.2.2.tgz#b4034ab5e193ad111ed8a2c36df97b97ecc13aaf"
+ integrity sha512-Uz75FDBU8R0cu5ATeudy6Ho7Fv1pg2brcQlJ+kYUxXoRmeX2j5H8+vhQGkNpMmtg7xyb4BS7tZyEtuDS9mlvpQ==
dependencies:
- "@abp/core" "~7.2.1"
+ "@abp/core" "~7.2.2"
jquery "~3.6.0"
-"@abp/lodash@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/lodash/-/lodash-7.2.1.tgz#36d60374a9fc2130c1f7bd264902d78221fa3b5b"
- integrity sha512-XFZrxijDLhKqtL4LL3x9C/TvnJs/MIjmNwJ7+Ieg26fo2IFqYg2+hIieCUqGzn66IBwUAoRR0Cqa66erxijDlA==
+"@abp/lodash@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/lodash/-/lodash-7.2.2.tgz#c391d06726800807df4f25e51a28f3e6cb03de5d"
+ integrity sha512-Mbe/wdqfBoHbf19dEUy2IMLek7P6a2PWQsVygoyb5phb+hGm0Qy5h4g0IhFiRRWChXnjRQeDnZINdXHl8RMzuQ==
dependencies:
- "@abp/core" "~7.2.1"
+ "@abp/core" "~7.2.2"
lodash "^4.17.21"
-"@abp/luxon@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/luxon/-/luxon-7.2.1.tgz#eb31dd7242be766f995954924e0127f2b58e4516"
- integrity sha512-lSzulfTa4RPOcp80wmDUQFN9BatTASgYnYfu9RK9U/Fi2nV5KvqzUvRkB/XTitupLaoTJfV5h8Cpf47QMgiLSw==
+"@abp/luxon@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/luxon/-/luxon-7.2.2.tgz#0d99a16bf34288deeae835753e6bab92efd6f060"
+ integrity sha512-rnz4ljwArJCwf7riFDJrIjZW0bJUXlodeM7IGWCD0Mj7r5t0n+FX9ngcJfKf+zC7ICYMaPCsz+QeUX6ycTZdOw==
dependencies:
- "@abp/core" "~7.2.1"
+ "@abp/core" "~7.2.2"
luxon "^2.3.0"
-"@abp/malihu-custom-scrollbar-plugin@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/malihu-custom-scrollbar-plugin/-/malihu-custom-scrollbar-plugin-7.2.1.tgz#d3b8aa15774a34f0abe704e416b00d8be76d3346"
- integrity sha512-xqsjMQJez25mFwNRTUdHTQl78tYJ9+NEmEYLjpo+qRbs2hBExZQO67gTuO6TKvPRBCVgMiIcdpuegtoFhZLl5g==
+"@abp/malihu-custom-scrollbar-plugin@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/malihu-custom-scrollbar-plugin/-/malihu-custom-scrollbar-plugin-7.2.2.tgz#a843d02519ff193633c41845312c9f7741606eb7"
+ integrity sha512-kw9364TJuc/z7uCKZsmHDyv7gsdR8jxp+jTvkubemLuFH6fHgbL5Q77jWp5AcjI03lskaWK0Rnjsa9Ahqt/chA==
dependencies:
- "@abp/core" "~7.2.1"
+ "@abp/core" "~7.2.2"
malihu-custom-scrollbar-plugin "^3.1.5"
-"@abp/moment@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/moment/-/moment-7.2.1.tgz#07bcaeb408b0025f2e8c2a7b259f5f27e05f8d25"
- integrity sha512-L7EvEKEyl9RsPnSVbPwL3QC3xcKqkaLtZo75wTws2o5hXHs4f4mkADdnpfjCYFFZ+H0vMYjxzKYNI8rHm/ZU0g==
+"@abp/moment@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/moment/-/moment-7.2.2.tgz#353495c3ad2d393b3a50fbe24a731a569f6f001d"
+ integrity sha512-bdlfPH2uKxv1JdxGi4xAKOsN+LFQk7yV28WuAm05c16GH4YnOVHTUXZXEMNSt1cRz0GQesWwqpDrtZrKyLkptw==
dependencies:
moment "^2.9.0"
-"@abp/prismjs@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/prismjs/-/prismjs-7.2.1.tgz#322ea0c1368df89a8649af2ecf9660ae9c3eb12a"
- integrity sha512-918o/Gev6f5tm6U0cO6S7Teygzre1x+HpzGH5WJdNx14/ZQ6wNrcsIMIjd84R6noUPVt83/eZ27N+RQtvntQLg==
+"@abp/prismjs@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/prismjs/-/prismjs-7.2.2.tgz#3b8d2fa48728f55c37917e901da9d453afce1a3e"
+ integrity sha512-qOjcdoZ2h5o/dJ3QCSxtT3XIB4nd1qjwKSgly1fEYlXBaf/iU1JdsAX+yvAw77UfCZ6NxpAmd/tREJP9FSrQeA==
dependencies:
- "@abp/clipboard" "~7.2.1"
- "@abp/core" "~7.2.1"
+ "@abp/clipboard" "~7.2.2"
+ "@abp/core" "~7.2.2"
prismjs "^1.26.0"
-"@abp/select2@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/select2/-/select2-7.2.1.tgz#c2d9494d09395691792ede04bf3d7173ebd35a95"
- integrity sha512-AW1ylrPQv+WeT3HdQQqy09uvxSeWPzxLhVEylL+HIGFn3TwMCVo2DtgnxSYde4WCpDMRlYzkWlUBX5y9UzhArw==
+"@abp/select2@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/select2/-/select2-7.2.2.tgz#f5e2fbc377c7a482b59e9f177c3a9f1f73d7f94f"
+ integrity sha512-mZqcNZ7Te7JzePUFKowjZWO90TH/9rlvkm4tx5q8PMYkV9Pk/aGbw5Gi7nGJHLEcy1g1fI0N5aL/UQzckeC99w==
dependencies:
- "@abp/core" "~7.2.1"
+ "@abp/core" "~7.2.2"
select2 "^4.0.13"
-"@abp/sweetalert2@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/sweetalert2/-/sweetalert2-7.2.1.tgz#ab11b3ef48ca55687a8afb0f8fca0b9e696d10a3"
- integrity sha512-qGMQE7I3bnCN0xwliBP+y+1m5nx7mOYc2yuTozNLdNpmNgT0TAkjyvufn99JQBPoFju+VjMEjS5R005RbvLuVQ==
+"@abp/sweetalert2@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/sweetalert2/-/sweetalert2-7.2.2.tgz#9cd0fc631dcf9989a2189217b7b5f3437cb4f376"
+ integrity sha512-KMBaMyk9iUqzceGfxR1dGx+wZylOz4f7mN9Owj7Jn9MjMGZoFUoyJ96PFD4rLy2m/8g3Jn70dbmnynpF1P8x+w==
dependencies:
- "@abp/core" "~7.2.1"
+ "@abp/core" "~7.2.2"
sweetalert2 "^11.3.6"
-"@abp/timeago@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/timeago/-/timeago-7.2.1.tgz#0fad3c1d7b0678ca63a47f9ba6f5702a162f6857"
- integrity sha512-1M6WWQ/kPdndMPhgJ5/I22NjxLgmHM4b4sLaKATIH5D4EM7aii22RiM5cSBVAKoJZjJ8S3R28g78zS01xKrSnw==
+"@abp/timeago@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/timeago/-/timeago-7.2.2.tgz#a0fac76f78d679892c0a5653d3a68044529245fa"
+ integrity sha512-3qLRrDQ1qC+E8YbsPiFxGf7ZzIlbKS3ObE2ixULKoarjJE8yDnHV2vfkSX1kYGsiN50yasUUG88U+JHLbhyx8w==
dependencies:
- "@abp/jquery" "~7.2.1"
+ "@abp/jquery" "~7.2.2"
timeago "^1.6.7"
-"@abp/toastr@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/toastr/-/toastr-7.2.1.tgz#6ddc793e0a66e2b1f9dd192530ad46aacfd60cb2"
- integrity sha512-BkLohyVJxLx0aJ6WJ2iBRV8y20JWfgoRCpzGUCcAhAp+BBF9FVhVxxZo0loFjprFprvLjJK91Z0bErJW6BWvFQ==
+"@abp/toastr@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/toastr/-/toastr-7.2.2.tgz#30e8039ceeff66bdd7c438c3c6cd583deeb71965"
+ integrity sha512-Jmmkcv2B3fdGbDJaBXeqRtctQXx8cTEb+PgyqtVRG/M0Wy7hhbMYn0U+t3KflGpZzH+AN5ReAdNbjXpM3wgFmA==
dependencies:
- "@abp/jquery" "~7.2.1"
+ "@abp/jquery" "~7.2.2"
toastr "^2.1.4"
-"@abp/utils@~7.2.1":
- version "7.2.1"
- resolved "https://registry.yarnpkg.com/@abp/utils/-/utils-7.2.1.tgz#a0d5a6de02cb1b68d096399bb03771a8bb9b03b5"
- integrity sha512-1QAdnFH9RD03w5mqNCz2G4mCuEPRgAJNLvFAEu9RTkL6EhOsCCQSG5mzA4cTWNDvVlNcUF8uyroXmlUvuzpYHg==
+"@abp/utils@~7.2.2":
+ version "7.2.2"
+ resolved "https://registry.yarnpkg.com/@abp/utils/-/utils-7.2.2.tgz#6054baa822d52f08452e8405c7a391aaedee7de0"
+ integrity sha512-VB9ijoPvB2tHInc1XrcvTvEzYANh+V1BliyScNTG9tr09q2pvn5jHp8Jixtu7GewCy8dh7cyueqhbnuozxedjg==
dependencies:
just-compare "^1.3.0"
diff --git a/modules/blogging/app/Volo.BloggingTestApp.EntityFrameworkCore/Migrations/20230504070814_Added_BlogUser_Optionals.Designer.cs b/modules/blogging/app/Volo.BloggingTestApp.EntityFrameworkCore/Migrations/20230504070814_Added_BlogUser_Optionals.Designer.cs
new file mode 100644
index 0000000000..6386b0eb88
--- /dev/null
+++ b/modules/blogging/app/Volo.BloggingTestApp.EntityFrameworkCore/Migrations/20230504070814_Added_BlogUser_Optionals.Designer.cs
@@ -0,0 +1,1489 @@
+//
+using System;
+using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore.Infrastructure;
+using Microsoft.EntityFrameworkCore.Metadata;
+using Microsoft.EntityFrameworkCore.Migrations;
+using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
+using Volo.Abp.EntityFrameworkCore;
+using Volo.BloggingTestApp.EntityFrameworkCore;
+
+#nullable disable
+
+namespace Volo.BloggingTestApp.EntityFrameworkCore.Migrations
+{
+ [DbContext(typeof(BloggingTestAppDbContext))]
+ [Migration("20230504070814_Added_BlogUser_Optionals")]
+ partial class AddedBlogUserOptionals
+ {
+ ///
+ protected override void BuildTargetModel(ModelBuilder modelBuilder)
+ {
+#pragma warning disable 612, 618
+ modelBuilder
+ .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
+ .HasAnnotation("ProductVersion", "7.0.1")
+ .HasAnnotation("Relational:MaxIdentifierLength", 128);
+
+ SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
+
+ modelBuilder.Entity("Volo.Abp.BlobStoring.Database.DatabaseBlob", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("ContainerId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("Content")
+ .HasMaxLength(2147483647)
+ .HasColumnType("varbinary(max)");
+
+ b.Property("ExtraProperties")
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.HasKey("Id");
+
+ b.HasIndex("ContainerId");
+
+ b.HasIndex("TenantId", "ContainerId", "Name");
+
+ b.ToTable("AbpBlobs", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Abp.BlobStoring.Database.DatabaseBlobContainer", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("ExtraProperties")
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.HasKey("Id");
+
+ b.HasIndex("TenantId", "Name");
+
+ b.ToTable("AbpBlobContainers", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Abp.Identity.IdentityClaimType", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("Description")
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("ExtraProperties")
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("IsStatic")
+ .HasColumnType("bit");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("Regex")
+ .HasMaxLength(512)
+ .HasColumnType("nvarchar(512)");
+
+ b.Property("RegexDescription")
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("Required")
+ .HasColumnType("bit");
+
+ b.Property("ValueType")
+ .HasColumnType("int");
+
+ b.HasKey("Id");
+
+ b.ToTable("AbpClaimTypes", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Abp.Identity.IdentityLinkUser", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("SourceTenantId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("SourceUserId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("TargetTenantId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("TargetUserId")
+ .HasColumnType("uniqueidentifier");
+
+ b.HasKey("Id");
+
+ b.HasIndex("SourceUserId", "SourceTenantId", "TargetUserId", "TargetTenantId")
+ .IsUnique()
+ .HasFilter("[SourceTenantId] IS NOT NULL AND [TargetTenantId] IS NOT NULL");
+
+ b.ToTable("AbpLinkUsers", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Abp.Identity.IdentityRole", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("EntityVersion")
+ .HasColumnType("int");
+
+ b.Property("ExtraProperties")
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("IsDefault")
+ .HasColumnType("bit")
+ .HasColumnName("IsDefault");
+
+ b.Property("IsPublic")
+ .HasColumnType("bit")
+ .HasColumnName("IsPublic");
+
+ b.Property("IsStatic")
+ .HasColumnType("bit")
+ .HasColumnName("IsStatic");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("NormalizedName")
+ .IsRequired()
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.HasKey("Id");
+
+ b.HasIndex("NormalizedName");
+
+ b.ToTable("AbpRoles", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Abp.Identity.IdentityRoleClaim", b =>
+ {
+ b.Property("Id")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ClaimType")
+ .IsRequired()
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("ClaimValue")
+ .HasMaxLength(1024)
+ .HasColumnType("nvarchar(1024)");
+
+ b.Property("RoleId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.HasKey("Id");
+
+ b.HasIndex("RoleId");
+
+ b.ToTable("AbpRoleClaims", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Abp.Identity.IdentitySecurityLog", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("Action")
+ .HasMaxLength(96)
+ .HasColumnType("nvarchar(96)");
+
+ b.Property("ApplicationName")
+ .HasMaxLength(96)
+ .HasColumnType("nvarchar(96)");
+
+ b.Property("BrowserInfo")
+ .HasMaxLength(512)
+ .HasColumnType("nvarchar(512)");
+
+ b.Property("ClientId")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("ClientIpAddress")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("CorrelationId")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2");
+
+ b.Property("ExtraProperties")
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("Identity")
+ .HasMaxLength(96)
+ .HasColumnType("nvarchar(96)");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("TenantName")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("UserId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("UserName")
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.HasKey("Id");
+
+ b.HasIndex("TenantId", "Action");
+
+ b.HasIndex("TenantId", "ApplicationName");
+
+ b.HasIndex("TenantId", "Identity");
+
+ b.HasIndex("TenantId", "UserId");
+
+ b.ToTable("AbpSecurityLogs", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Abp.Identity.IdentityUser", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("AccessFailedCount")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("int")
+ .HasDefaultValue(0)
+ .HasColumnName("AccessFailedCount");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("DeleterId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("DeleterId");
+
+ b.Property("DeletionTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("DeletionTime");
+
+ b.Property("Email")
+ .IsRequired()
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)")
+ .HasColumnName("Email");
+
+ b.Property("EmailConfirmed")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("EmailConfirmed");
+
+ b.Property("EntityVersion")
+ .HasColumnType("int");
+
+ b.Property("ExtraProperties")
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("IsActive")
+ .HasColumnType("bit")
+ .HasColumnName("IsActive");
+
+ b.Property("IsDeleted")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("IsDeleted");
+
+ b.Property("IsExternal")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("IsExternal");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("LastPasswordChangeTime")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("LockoutEnabled")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("LockoutEnabled");
+
+ b.Property("LockoutEnd")
+ .HasColumnType("datetimeoffset");
+
+ b.Property("Name")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("Name");
+
+ b.Property("NormalizedEmail")
+ .IsRequired()
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)")
+ .HasColumnName("NormalizedEmail");
+
+ b.Property("NormalizedUserName")
+ .IsRequired()
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)")
+ .HasColumnName("NormalizedUserName");
+
+ b.Property("PasswordHash")
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)")
+ .HasColumnName("PasswordHash");
+
+ b.Property("PhoneNumber")
+ .HasMaxLength(16)
+ .HasColumnType("nvarchar(16)")
+ .HasColumnName("PhoneNumber");
+
+ b.Property("PhoneNumberConfirmed")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("PhoneNumberConfirmed");
+
+ b.Property("SecurityStamp")
+ .IsRequired()
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)")
+ .HasColumnName("SecurityStamp");
+
+ b.Property("ShouldChangePasswordOnNextLogin")
+ .HasColumnType("bit");
+
+ b.Property("Surname")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("Surname");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("TwoFactorEnabled")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("TwoFactorEnabled");
+
+ b.Property("UserName")
+ .IsRequired()
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)")
+ .HasColumnName("UserName");
+
+ b.HasKey("Id");
+
+ b.HasIndex("Email");
+
+ b.HasIndex("NormalizedEmail");
+
+ b.HasIndex("NormalizedUserName");
+
+ b.HasIndex("UserName");
+
+ b.ToTable("AbpUsers", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Abp.Identity.IdentityUserClaim", b =>
+ {
+ b.Property("Id")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ClaimType")
+ .IsRequired()
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("ClaimValue")
+ .HasMaxLength(1024)
+ .HasColumnType("nvarchar(1024)");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("UserId")
+ .HasColumnType("uniqueidentifier");
+
+ b.HasKey("Id");
+
+ b.HasIndex("UserId");
+
+ b.ToTable("AbpUserClaims", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Abp.Identity.IdentityUserDelegation", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("EndTime")
+ .HasColumnType("datetime2");
+
+ b.Property("SourceUserId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("StartTime")
+ .HasColumnType("datetime2");
+
+ b.Property("TargetUserId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.HasKey("Id");
+
+ b.ToTable("AbpUserDelegations", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Abp.Identity.IdentityUserLogin", b =>
+ {
+ b.Property("UserId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("LoginProvider")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("ProviderDisplayName")
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("ProviderKey")
+ .IsRequired()
+ .HasMaxLength(196)
+ .HasColumnType("nvarchar(196)");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.HasKey("UserId", "LoginProvider");
+
+ b.HasIndex("LoginProvider", "ProviderKey");
+
+ b.ToTable("AbpUserLogins", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Abp.Identity.IdentityUserOrganizationUnit", b =>
+ {
+ b.Property("OrganizationUnitId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("UserId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.HasKey("OrganizationUnitId", "UserId");
+
+ b.HasIndex("UserId", "OrganizationUnitId");
+
+ b.ToTable("AbpUserOrganizationUnits", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Abp.Identity.IdentityUserRole", b =>
+ {
+ b.Property("UserId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("RoleId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.HasKey("UserId", "RoleId");
+
+ b.HasIndex("RoleId", "UserId");
+
+ b.ToTable("AbpUserRoles", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Abp.Identity.IdentityUserToken", b =>
+ {
+ b.Property("UserId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("LoginProvider")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("Name")
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.Property("Value")
+ .HasColumnType("nvarchar(max)");
+
+ b.HasKey("UserId", "LoginProvider", "Name");
+
+ b.ToTable("AbpUserTokens", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnit", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("Code")
+ .IsRequired()
+ .HasMaxLength(95)
+ .HasColumnType("nvarchar(95)")
+ .HasColumnName("Code");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("DeleterId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("DeleterId");
+
+ b.Property("DeletionTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("DeletionTime");
+
+ b.Property("DisplayName")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)")
+ .HasColumnName("DisplayName");
+
+ b.Property("EntityVersion")
+ .HasColumnType("int");
+
+ b.Property("ExtraProperties")
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("IsDeleted")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("IsDeleted");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("ParentId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.HasKey("Id");
+
+ b.HasIndex("Code");
+
+ b.HasIndex("ParentId");
+
+ b.ToTable("AbpOrganizationUnits", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnitRole", b =>
+ {
+ b.Property("OrganizationUnitId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("RoleId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.HasKey("OrganizationUnitId", "RoleId");
+
+ b.HasIndex("RoleId", "OrganizationUnitId");
+
+ b.ToTable("AbpOrganizationUnitRoles", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Abp.PermissionManagement.PermissionDefinitionRecord", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("DisplayName")
+ .IsRequired()
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("ExtraProperties")
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("GroupName")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("IsEnabled")
+ .HasColumnType("bit");
+
+ b.Property("MultiTenancySide")
+ .HasColumnType("tinyint");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("ParentName")
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("Providers")
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("StateCheckers")
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.HasKey("Id");
+
+ b.HasIndex("GroupName");
+
+ b.HasIndex("Name")
+ .IsUnique();
+
+ b.ToTable("AbpPermissions", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Abp.PermissionManagement.PermissionGrant", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("ProviderKey")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("ProviderName")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.HasKey("Id");
+
+ b.HasIndex("TenantId", "Name", "ProviderName", "ProviderKey")
+ .IsUnique()
+ .HasFilter("[TenantId] IS NOT NULL");
+
+ b.ToTable("AbpPermissionGrants", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Abp.PermissionManagement.PermissionGroupDefinitionRecord", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("DisplayName")
+ .IsRequired()
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("ExtraProperties")
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.HasKey("Id");
+
+ b.HasIndex("Name")
+ .IsUnique();
+
+ b.ToTable("AbpPermissionGroups", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Abp.SettingManagement.Setting", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("ProviderKey")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("ProviderName")
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)");
+
+ b.Property("Value")
+ .IsRequired()
+ .HasMaxLength(2048)
+ .HasColumnType("nvarchar(2048)");
+
+ b.HasKey("Id");
+
+ b.HasIndex("Name", "ProviderName", "ProviderKey")
+ .IsUnique()
+ .HasFilter("[ProviderName] IS NOT NULL AND [ProviderKey] IS NOT NULL");
+
+ b.ToTable("AbpSettings", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Blogging.Blogs.Blog", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("DeleterId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("DeleterId");
+
+ b.Property("DeletionTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("DeletionTime");
+
+ b.Property("Description")
+ .HasMaxLength(1024)
+ .HasColumnType("nvarchar(1024)")
+ .HasColumnName("Description");
+
+ b.Property("ExtraProperties")
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("IsDeleted")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("IsDeleted");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)")
+ .HasColumnName("Name");
+
+ b.Property("ShortName")
+ .IsRequired()
+ .HasMaxLength(32)
+ .HasColumnType("nvarchar(32)")
+ .HasColumnName("ShortName");
+
+ b.HasKey("Id");
+
+ b.ToTable("BlgBlogs", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Blogging.Comments.Comment", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("DeleterId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("DeleterId");
+
+ b.Property("DeletionTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("DeletionTime");
+
+ b.Property("ExtraProperties")
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("IsDeleted")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("IsDeleted");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("PostId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("PostId");
+
+ b.Property("RepliedCommentId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("RepliedCommentId");
+
+ b.Property("Text")
+ .IsRequired()
+ .HasMaxLength(1024)
+ .HasColumnType("nvarchar(1024)")
+ .HasColumnName("Text");
+
+ b.HasKey("Id");
+
+ b.HasIndex("PostId");
+
+ b.HasIndex("RepliedCommentId");
+
+ b.ToTable("BlgComments", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Blogging.Posts.Post", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("BlogId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("BlogId");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("Content")
+ .HasMaxLength(1048576)
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("Content");
+
+ b.Property("CoverImage")
+ .IsRequired()
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("CoverImage");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("DeleterId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("DeleterId");
+
+ b.Property("DeletionTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("DeletionTime");
+
+ b.Property("Description")
+ .HasMaxLength(1000)
+ .HasColumnType("nvarchar(1000)")
+ .HasColumnName("Description");
+
+ b.Property("ExtraProperties")
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("IsDeleted")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("bit")
+ .HasDefaultValue(false)
+ .HasColumnName("IsDeleted");
+
+ b.Property("LastModificationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("LastModificationTime");
+
+ b.Property("LastModifierId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("LastModifierId");
+
+ b.Property("ReadCount")
+ .HasColumnType("int");
+
+ b.Property("Title")
+ .IsRequired()
+ .HasMaxLength(512)
+ .HasColumnType("nvarchar(512)")
+ .HasColumnName("Title");
+
+ b.Property("Url")
+ .IsRequired()
+ .HasMaxLength(64)
+ .HasColumnType("nvarchar(64)")
+ .HasColumnName("Url");
+
+ b.HasKey("Id");
+
+ b.HasIndex("BlogId");
+
+ b.ToTable("BlgPosts", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Blogging.Posts.PostTag", b =>
+ {
+ b.Property("PostId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("PostId");
+
+ b.Property("TagId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TagId");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.HasKey("PostId", "TagId");
+
+ b.HasIndex("TagId");
+
+ b.ToTable("BlgPostTags", (string)null);
+ });
+
+ modelBuilder.Entity("Volo.Blogging.Tagging.Tag", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("BlogId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("ConcurrencyStamp")
+ .IsConcurrencyToken()
+ .HasMaxLength(40)
+ .HasColumnType("nvarchar(40)")
+ .HasColumnName("ConcurrencyStamp");
+
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
+ b.Property("CreatorId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("CreatorId");
+
+ b.Property("DeleterId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("DeleterId");
+
+ b.Property("DeletionTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("DeletionTime");
+
+ b.Property("Description")
+ .HasMaxLength(512)
+ .HasColumnType("nvarchar(512)")
+ .HasColumnName("Description");
+
+ b.Property("ExtraProperties")
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property