diff --git a/docs/en/Module-Development-Basics.md b/docs/en/Module-Development-Basics.md index dfce0bf4b2..1fdd09f8b2 100644 --- a/docs/en/Module-Development-Basics.md +++ b/docs/en/Module-Development-Basics.md @@ -147,7 +147,7 @@ Lastly, you can override ``OnApplicationShutdown`` method if you want to execute ## Module Dependencies -In a modular application, it's not unusual for one module to depend upon another module(s). An Abp module must declare ``[DependsOn]`` attribute if it does have a dependency upon another module, as shown below: +In a modular application, it's not unusual for one module to depend upon another module(s). An ABP module must declare a ``[DependsOn]`` attribute if it does have a dependency upon another module, as shown below: ````C# [DependsOn(typeof(AbpAspNetCoreMvcModule))] @@ -162,6 +162,27 @@ You can use multiple ``DependsOn`` attribute or pass multiple module types to a A depended module may depend on another module, but you only need to define your direct dependencies. ABP investigates the dependency graph for the application at startup and initializes/shutdowns modules in the correct order. +## Additional Module Assemblies + +ABP automatically registers all the services of your module to the [dependency injection](Dependency-Injection.md) system. It finds the service types by scanning types in the assembly that defines your module class. That assembly is considered as the main assembly of your module. + +Typically, every assembly contains a separate module class definition. Then modules depend on each other using the `DependsOn` attribute as explained in the previous section. However, in some rare cases, your module may consist of multiple assemblies, and only one of them defines a module class, and you want to make the other assemblies parts of your module. In that case, you can use the `AdditionalAssembly` attribute as shown below: + +````csharp +[DependsOn(...)] // Your module dependencies as you normally do +[AdditionalAssembly(typeof(BlogService))] // A type in the target assembly +public class BlogModule +{ + //... +} +```` + +In this example, we assume that the `BlogService` class is inside one assembly (`csproj`) and the `BlogModule` class is inside another assembly (`csproj`). With the `AdditionalAssembly` definition, ABP will load the assembly containing the `BlogService` class as a part of the blog module. + +Notice that `BlogService` is only an arbitrary selected type in the target assembly. It is just used to indicate the related assembly. You could use any type in the assembly. + +> WARNING: If you need to use the `AdditionalAssembly`, be sure that you don't design your system in a wrong way. With this example above, the `BlogService` class' assembly should normally have its own module class and the `BlogModule` should depend on it using the `DependsOn` attribute. Do not use the `AdditionalAssembly` attribute when you can already use the `DependsOn` attribute. + ## Framework Modules vs Application Modules There are **two types of modules.** They don't have any structural difference but categorized by functionality and purpose: diff --git a/framework/src/Volo.Abp.ApiVersioning.Abstractions/Volo.Abp.ApiVersioning.Abstractions.csproj b/framework/src/Volo.Abp.ApiVersioning.Abstractions/Volo.Abp.ApiVersioning.Abstractions.csproj index 038e852f21..2924448609 100644 --- a/framework/src/Volo.Abp.ApiVersioning.Abstractions/Volo.Abp.ApiVersioning.Abstractions.csproj +++ b/framework/src/Volo.Abp.ApiVersioning.Abstractions/Volo.Abp.ApiVersioning.Abstractions.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.ApiVersioning.Abstractions Volo.Abp.ApiVersioning.Abstractions $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.ApiVersioning.Abstractions/Volo/Abp/ApiVersioning/IRequestedApiVersion.cs b/framework/src/Volo.Abp.ApiVersioning.Abstractions/Volo/Abp/ApiVersioning/IRequestedApiVersion.cs index 96c2ef33cd..428f8bb6c0 100644 --- a/framework/src/Volo.Abp.ApiVersioning.Abstractions/Volo/Abp/ApiVersioning/IRequestedApiVersion.cs +++ b/framework/src/Volo.Abp.ApiVersioning.Abstractions/Volo/Abp/ApiVersioning/IRequestedApiVersion.cs @@ -2,5 +2,5 @@ public interface IRequestedApiVersion { - string Current { get; } + string? Current { get; } } diff --git a/framework/src/Volo.Abp.ApiVersioning.Abstractions/Volo/Abp/ApiVersioning/NullRequestedApiVersion.cs b/framework/src/Volo.Abp.ApiVersioning.Abstractions/Volo/Abp/ApiVersioning/NullRequestedApiVersion.cs index 0589c662ef..6099283cc4 100644 --- a/framework/src/Volo.Abp.ApiVersioning.Abstractions/Volo/Abp/ApiVersioning/NullRequestedApiVersion.cs +++ b/framework/src/Volo.Abp.ApiVersioning.Abstractions/Volo/Abp/ApiVersioning/NullRequestedApiVersion.cs @@ -4,7 +4,7 @@ public class NullRequestedApiVersion : IRequestedApiVersion { public static NullRequestedApiVersion Instance = new NullRequestedApiVersion(); - public string Current => null; + public string? Current => null; private NullRequestedApiVersion() { diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/AbpAspNetCoreMvcModule.cs b/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/AbpAspNetCoreMvcModule.cs index e22fef4236..0e93bb7ec6 100644 --- a/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/AbpAspNetCoreMvcModule.cs +++ b/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/AbpAspNetCoreMvcModule.cs @@ -233,7 +233,7 @@ public class AbpAspNetCoreMvcModule : AbpModule .GetRequiredService() .Modules .Where(m => m.IsLoadedAsPlugIn) - .Select(m => m.Type.Assembly) + .SelectMany(m => m.AllAssemblies) .Distinct(); AddToApplicationParts(partManager, moduleAssemblies); diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApplicationPartSorter.cs b/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApplicationPartSorter.cs index 9664a2005e..dc39ef5f53 100644 --- a/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApplicationPartSorter.cs +++ b/framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApplicationPartSorter.cs @@ -125,7 +125,7 @@ public static class ApplicationPartSorter var moduleDependedAssemblies = moduleDescriptor .Dependencies - .Select(d => d.Assembly) + .SelectMany(d => d.AllAssemblies) .ToArray(); return partManager.ApplicationParts @@ -161,6 +161,6 @@ public static class ApplicationPartSorter { return moduleContainer .Modules - .FirstOrDefault(m => m.Assembly == assembly); + .FirstOrDefault(m => m.AllAssemblies.Contains(assembly)); } } diff --git a/framework/src/Volo.Abp.AspNetCore.TestBase/Volo/Abp/AspNetCore/TestBase/AbpAspNetCoreIntegratedTestBase.cs b/framework/src/Volo.Abp.AspNetCore.TestBase/Volo/Abp/AspNetCore/TestBase/AbpAspNetCoreIntegratedTestBase.cs index eb9504570c..c362d5074c 100644 --- a/framework/src/Volo.Abp.AspNetCore.TestBase/Volo/Abp/AspNetCore/TestBase/AbpAspNetCoreIntegratedTestBase.cs +++ b/framework/src/Volo.Abp.AspNetCore.TestBase/Volo/Abp/AspNetCore/TestBase/AbpAspNetCoreIntegratedTestBase.cs @@ -7,11 +7,15 @@ using Microsoft.AspNetCore.Routing; using Microsoft.AspNetCore.TestHost; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; +using Volo.Abp.Modularity; namespace Volo.Abp.AspNetCore.TestBase; -public abstract class AbpAspNetCoreIntegratedTestBase : AbpTestBaseWithServiceProvider, IDisposable - where TStartup : class +/// +/// Can be a module type or old-style ASP.NET Core Startup class. +/// +public abstract class AbpAspNetCoreIntegratedTestBase : AbpTestBaseWithServiceProvider, IDisposable + where TStartupModule : class { protected TestServer Server { get; } @@ -39,7 +43,15 @@ public abstract class AbpAspNetCoreIntegratedTestBase : AbpTestBaseWit return Host.CreateDefaultBuilder() .ConfigureWebHostDefaults(webBuilder => { - webBuilder.UseStartup(); + if (typeof(TStartupModule).IsAssignableTo()) + { + webBuilder.UseStartup>(); + } + else + { + webBuilder.UseStartup(); + } + webBuilder.UseAbpTestServer(); }) .UseAutofac() diff --git a/framework/src/Volo.Abp.AspNetCore.TestBase/Volo/Abp/AspNetCore/TestBase/TestStartup.cs b/framework/src/Volo.Abp.AspNetCore.TestBase/Volo/Abp/AspNetCore/TestBase/TestStartup.cs new file mode 100644 index 0000000000..be641912c7 --- /dev/null +++ b/framework/src/Volo.Abp.AspNetCore.TestBase/Volo/Abp/AspNetCore/TestBase/TestStartup.cs @@ -0,0 +1,18 @@ +using Microsoft.AspNetCore.Builder; +using Microsoft.Extensions.DependencyInjection; +using Volo.Abp.Threading; + +namespace Volo.Abp.AspNetCore.TestBase; + +internal class TestStartup +{ + public void ConfigureServices(IServiceCollection services) + { + AsyncHelper.RunSync(() => services.AddApplicationAsync(typeof(TStartupModule))); + } + + public void Configure(IApplicationBuilder app) + { + AsyncHelper.RunSync(app.InitializeApplicationAsync); + } +} \ No newline at end of file diff --git a/framework/src/Volo.Abp.Autofac.WebAssembly/Microsoft/AspNetCore/Components/WebAssembly/Hosting/AbpWebAssemblyApplicationCreationOptionsAutofacExtensions.cs b/framework/src/Volo.Abp.Autofac.WebAssembly/Microsoft/AspNetCore/Components/WebAssembly/Hosting/AbpWebAssemblyApplicationCreationOptionsAutofacExtensions.cs index 62c6f92b9a..dd2ec149c5 100644 --- a/framework/src/Volo.Abp.Autofac.WebAssembly/Microsoft/AspNetCore/Components/WebAssembly/Hosting/AbpWebAssemblyApplicationCreationOptionsAutofacExtensions.cs +++ b/framework/src/Volo.Abp.Autofac.WebAssembly/Microsoft/AspNetCore/Components/WebAssembly/Hosting/AbpWebAssemblyApplicationCreationOptionsAutofacExtensions.cs @@ -11,7 +11,7 @@ public static class AbpWebAssemblyApplicationCreationOptionsAutofacExtensions { public static void UseAutofac( [NotNull] this AbpWebAssemblyApplicationCreationOptions options, - [CanBeNull] Action configure = null) + Action? configure = null) { options.HostBuilder.Services.AddAutofacServiceProviderFactory(); options.HostBuilder.ConfigureContainer( diff --git a/framework/src/Volo.Abp.Autofac.WebAssembly/Volo.Abp.Autofac.WebAssembly.csproj b/framework/src/Volo.Abp.Autofac.WebAssembly/Volo.Abp.Autofac.WebAssembly.csproj index 034c5c1903..1ce2a8154d 100644 --- a/framework/src/Volo.Abp.Autofac.WebAssembly/Volo.Abp.Autofac.WebAssembly.csproj +++ b/framework/src/Volo.Abp.Autofac.WebAssembly/Volo.Abp.Autofac.WebAssembly.csproj @@ -5,6 +5,8 @@ net7.0 + enable + Nullable diff --git a/framework/src/Volo.Abp.Autofac/Autofac/Builder/AbpRegistrationBuilderExtensions.cs b/framework/src/Volo.Abp.Autofac/Autofac/Builder/AbpRegistrationBuilderExtensions.cs index 03084d8351..4ee9ba5916 100644 --- a/framework/src/Volo.Abp.Autofac/Autofac/Builder/AbpRegistrationBuilderExtensions.cs +++ b/framework/src/Volo.Abp.Autofac/Autofac/Builder/AbpRegistrationBuilderExtensions.cs @@ -69,7 +69,7 @@ public static class AbpRegistrationBuilderExtensions where TActivatorData : ReflectionActivatorData { // Enable Property Injection only for types in an assembly containing an AbpModule and without a DisablePropertyInjection attribute on class or properties. - if (moduleContainer.Modules.Any(m => m.Assembly == implementationType.Assembly) && + if (moduleContainer.Modules.Any(m => m.AllAssemblies.Contains(implementationType.Assembly)) && implementationType.GetCustomAttributes(typeof(DisablePropertyInjectionAttribute), true).IsNullOrEmpty()) { registrationBuilder = registrationBuilder.PropertiesAutowired(new AbpPropertySelector(false)); diff --git a/framework/src/Volo.Abp.Autofac/Autofac/Extensions/DependencyInjection/AutofacRegistration.cs b/framework/src/Volo.Abp.Autofac/Autofac/Extensions/DependencyInjection/AutofacRegistration.cs index 241c3dd7a8..56a5d7480c 100644 --- a/framework/src/Volo.Abp.Autofac/Autofac/Extensions/DependencyInjection/AutofacRegistration.cs +++ b/framework/src/Volo.Abp.Autofac/Autofac/Extensions/DependencyInjection/AutofacRegistration.cs @@ -87,7 +87,7 @@ public static class AutofacRegistration public static void Populate( this ContainerBuilder builder, IServiceCollection services, - object lifetimeScopeTagForSingletons) + object? lifetimeScopeTagForSingletons) { if (services == null) { @@ -134,7 +134,7 @@ public static class AutofacRegistration private static IRegistrationBuilder ConfigureLifecycle( this IRegistrationBuilder registrationBuilder, ServiceLifetime lifecycleKind, - object lifetimeScopeTagForSingleton) + object? lifetimeScopeTagForSingleton) { switch (lifecycleKind) { @@ -179,7 +179,7 @@ public static class AutofacRegistration private static void Register( ContainerBuilder builder, IServiceCollection services, - object lifetimeScopeTagForSingletons) + object? lifetimeScopeTagForSingletons) { var moduleContainer = services.GetSingletonInstance(); var registrationActionList = services.GetRegistrationActionList(); @@ -223,7 +223,7 @@ public static class AutofacRegistration else { builder - .RegisterInstance(descriptor.ImplementationInstance) + .RegisterInstance(descriptor.ImplementationInstance!) .As(descriptor.ServiceType) .ConfigureLifecycle(descriptor.Lifetime, null); } diff --git a/framework/src/Volo.Abp.Autofac/Microsoft/Extensions/DependencyInjection/AbpAutofacServiceCollectionExtensions.cs b/framework/src/Volo.Abp.Autofac/Microsoft/Extensions/DependencyInjection/AbpAutofacServiceCollectionExtensions.cs index fe6e57ade8..e249e7e5ac 100644 --- a/framework/src/Volo.Abp.Autofac/Microsoft/Extensions/DependencyInjection/AbpAutofacServiceCollectionExtensions.cs +++ b/framework/src/Volo.Abp.Autofac/Microsoft/Extensions/DependencyInjection/AbpAutofacServiceCollectionExtensions.cs @@ -21,7 +21,7 @@ public static class AbpAutofacServiceCollectionExtensions return builder; } - public static IServiceProvider BuildAutofacServiceProvider([NotNull] this IServiceCollection services, Action builderAction = null) + public static IServiceProvider BuildAutofacServiceProvider([NotNull] this IServiceCollection services, Action? builderAction = null) { return services.BuildServiceProviderFromFactory(builderAction); } diff --git a/framework/src/Volo.Abp.Autofac/Volo.Abp.Autofac.csproj b/framework/src/Volo.Abp.Autofac/Volo.Abp.Autofac.csproj index 32c4eb4e39..cf1c18994a 100644 --- a/framework/src/Volo.Abp.Autofac/Volo.Abp.Autofac.csproj +++ b/framework/src/Volo.Abp.Autofac/Volo.Abp.Autofac.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.Autofac Volo.Abp.Autofac $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.Autofac/Volo/Abp/Autofac/AbpAutofacServiceProviderFactory.cs b/framework/src/Volo.Abp.Autofac/Volo/Abp/Autofac/AbpAutofacServiceProviderFactory.cs index 0cc35cbf81..dd8f383c5c 100644 --- a/framework/src/Volo.Abp.Autofac/Volo/Abp/Autofac/AbpAutofacServiceProviderFactory.cs +++ b/framework/src/Volo.Abp.Autofac/Volo/Abp/Autofac/AbpAutofacServiceProviderFactory.cs @@ -11,7 +11,7 @@ namespace Volo.Abp.Autofac; public class AbpAutofacServiceProviderFactory : IServiceProviderFactory { private readonly ContainerBuilder _builder; - private IServiceCollection _services; + private IServiceCollection _services = default!; public AbpAutofacServiceProviderFactory(ContainerBuilder builder) { diff --git a/framework/src/Volo.Abp.Castle.Core/Volo.Abp.Castle.Core.csproj b/framework/src/Volo.Abp.Castle.Core/Volo.Abp.Castle.Core.csproj index 7125519bb0..d840a3bf69 100644 --- a/framework/src/Volo.Abp.Castle.Core/Volo.Abp.Castle.Core.csproj +++ b/framework/src/Volo.Abp.Castle.Core/Volo.Abp.Castle.Core.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.Castle.Core Volo.Abp.Castle.Core $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.Castle.Core/Volo/Abp/Castle/DynamicProxy/CastleAbpMethodInvocationAdapterBase.cs b/framework/src/Volo.Abp.Castle.Core/Volo/Abp/Castle/DynamicProxy/CastleAbpMethodInvocationAdapterBase.cs index 1a96e20320..138a35c8b0 100644 --- a/framework/src/Volo.Abp.Castle.Core/Volo/Abp/Castle/DynamicProxy/CastleAbpMethodInvocationAdapterBase.cs +++ b/framework/src/Volo.Abp.Castle.Core/Volo/Abp/Castle/DynamicProxy/CastleAbpMethodInvocationAdapterBase.cs @@ -20,7 +20,7 @@ public abstract class CastleAbpMethodInvocationAdapterBase : IAbpMethodInvocatio public MethodInfo Method => Invocation.MethodInvocationTarget ?? Invocation.Method; - public object ReturnValue { get; set; } + public object ReturnValue { get; set; } = default!; protected IInvocation Invocation { get; } @@ -39,7 +39,7 @@ public abstract class CastleAbpMethodInvocationAdapterBase : IAbpMethodInvocatio var methodParameters = Method.GetParameters(); for (int i = 0; i < methodParameters.Length; i++) { - dict[methodParameters[i].Name] = Invocation.Arguments[i]; + dict[methodParameters[i].Name!] = Invocation.Arguments[i]; } return dict; diff --git a/framework/src/Volo.Abp.Castle.Core/Volo/Abp/Castle/DynamicProxy/CastleAbpMethodInvocationAdapterWithReturnValue.cs b/framework/src/Volo.Abp.Castle.Core/Volo/Abp/Castle/DynamicProxy/CastleAbpMethodInvocationAdapterWithReturnValue.cs index 6bebcf531e..5e6e2b3e3b 100644 --- a/framework/src/Volo.Abp.Castle.Core/Volo/Abp/Castle/DynamicProxy/CastleAbpMethodInvocationAdapterWithReturnValue.cs +++ b/framework/src/Volo.Abp.Castle.Core/Volo/Abp/Castle/DynamicProxy/CastleAbpMethodInvocationAdapterWithReturnValue.cs @@ -21,6 +21,6 @@ public class CastleAbpMethodInvocationAdapterWithReturnValue : CastleAb public override async Task ProceedAsync() { - ReturnValue = await Proceed(Invocation, ProceedInfo); + ReturnValue = (await Proceed(Invocation, ProceedInfo))!; } } diff --git a/framework/src/Volo.Abp.Core/Volo/Abp/AbpApplicationBase.cs b/framework/src/Volo.Abp.Core/Volo/Abp/AbpApplicationBase.cs index 0ccff2db23..ec20467ac9 100644 --- a/framework/src/Volo.Abp.Core/Volo/Abp/AbpApplicationBase.cs +++ b/framework/src/Volo.Abp.Core/Volo/Abp/AbpApplicationBase.cs @@ -188,11 +188,13 @@ public abstract class AbpApplicationBase : IAbpApplication { if (!abpModule.SkipAutoServiceRegistration) { - var assembly = module.Type.Assembly; - if (!assemblies.Contains(assembly)) + foreach (var assembly in module.AllAssemblies) { - Services.AddAssembly(assembly); - assemblies.Add(assembly); + if (!assemblies.Contains(assembly)) + { + Services.AddAssembly(assembly); + assemblies.Add(assembly); + } } } } @@ -279,11 +281,13 @@ public abstract class AbpApplicationBase : IAbpApplication { if (!abpModule.SkipAutoServiceRegistration) { - var assembly = module.Type.Assembly; - if (!assemblies.Contains(assembly)) + foreach (var assembly in module.AllAssemblies) { - Services.AddAssembly(assembly); - assemblies.Add(assembly); + if (!assemblies.Contains(assembly)) + { + Services.AddAssembly(assembly); + assemblies.Add(assembly); + } } } } diff --git a/framework/src/Volo.Abp.Core/Volo/Abp/AbpException.cs b/framework/src/Volo.Abp.Core/Volo/Abp/AbpException.cs index cf779ff7e0..906d3a7fcb 100644 --- a/framework/src/Volo.Abp.Core/Volo/Abp/AbpException.cs +++ b/framework/src/Volo.Abp.Core/Volo/Abp/AbpException.cs @@ -13,13 +13,13 @@ public class AbpException : Exception } - public AbpException(string message) + public AbpException(string? message) : base(message) { } - public AbpException(string message, Exception innerException) + public AbpException(string? message, Exception? innerException) : base(message, innerException) { diff --git a/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/AbpModuleDescriptor.cs b/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/AbpModuleDescriptor.cs index dcb9cfc817..d10e858377 100644 --- a/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/AbpModuleDescriptor.cs +++ b/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/AbpModuleDescriptor.cs @@ -11,6 +11,8 @@ public class AbpModuleDescriptor : IAbpModuleDescriptor public Type Type { get; } public Assembly Assembly { get; } + + public List AllAssemblies { get; } public IAbpModule Instance { get; } @@ -26,6 +28,7 @@ public class AbpModuleDescriptor : IAbpModuleDescriptor { Check.NotNull(type, nameof(type)); Check.NotNull(instance, nameof(instance)); + AbpModule.CheckAbpModuleType(type); if (!type.GetTypeInfo().IsAssignableFrom(instance.GetType())) { @@ -34,6 +37,7 @@ public class AbpModuleDescriptor : IAbpModuleDescriptor Type = type; Assembly = type.Assembly; + AllAssemblies = AbpModuleHelper.GetAllAssemblies(type); Instance = instance; IsLoadedAsPlugIn = isLoadedAsPlugIn; diff --git a/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/AbpModuleHelper.cs b/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/AbpModuleHelper.cs index 697543409e..8336433994 100644 --- a/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/AbpModuleHelper.cs +++ b/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/AbpModuleHelper.cs @@ -36,6 +36,27 @@ internal static class AbpModuleHelper return dependencies; } + + public static List GetAllAssemblies(Type moduleType) + { + var assemblies = new List(); + + var additionalAssemblyDescriptors = moduleType + .GetCustomAttributes() + .OfType(); + + foreach (var descriptor in additionalAssemblyDescriptors) + { + foreach (var assembly in descriptor.GetAssemblies()) + { + assemblies.AddIfNotContains(assembly); + } + } + + assemblies.Add(moduleType.Assembly); + + return assemblies; + } private static void AddModuleAndDependenciesRecursively( List moduleTypes, diff --git a/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/AdditionalAssemblyAttribute.cs b/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/AdditionalAssemblyAttribute.cs new file mode 100644 index 0000000000..ac4165f85e --- /dev/null +++ b/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/AdditionalAssemblyAttribute.cs @@ -0,0 +1,24 @@ +using System; +using System.Linq; +using System.Reflection; + +namespace Volo.Abp.Modularity; + +/// +/// Used to define additional assemblies for a module. +/// +[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] +public class AdditionalAssemblyAttribute : Attribute, IAdditionalModuleAssemblyProvider +{ + public Type[] TypesInAssemblies { get; } + + public AdditionalAssemblyAttribute(params Type[]? typesInAssemblies) + { + TypesInAssemblies = typesInAssemblies ?? Type.EmptyTypes; + } + + public virtual Assembly[] GetAssemblies() + { + return TypesInAssemblies.Select(t => t.Assembly).Distinct().ToArray(); + } +} \ No newline at end of file diff --git a/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/DependsOnAttribute.cs b/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/DependsOnAttribute.cs index 89970859e8..8792d146d9 100644 --- a/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/DependsOnAttribute.cs +++ b/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/DependsOnAttribute.cs @@ -1,5 +1,4 @@ using System; -using JetBrains.Annotations; namespace Volo.Abp.Modularity; @@ -9,12 +8,11 @@ namespace Volo.Abp.Modularity; [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] public class DependsOnAttribute : Attribute, IDependedTypesProvider { - [NotNull] public Type[] DependedTypes { get; } public DependsOnAttribute(params Type[]? dependedTypes) { - DependedTypes = dependedTypes ?? new Type[0]; + DependedTypes = dependedTypes ?? Type.EmptyTypes; } public virtual Type[] GetDependedTypes() diff --git a/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/IAbpModuleDescriptor.cs b/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/IAbpModuleDescriptor.cs index 8a4fb1e270..472009bfb3 100644 --- a/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/IAbpModuleDescriptor.cs +++ b/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/IAbpModuleDescriptor.cs @@ -6,13 +6,36 @@ namespace Volo.Abp.Modularity; public interface IAbpModuleDescriptor { + /// + /// Type of the module class. + /// Type Type { get; } + /// + /// Main assembly that defines the module . + /// Assembly Assembly { get; } + + /// + /// All the assemblies of the module. + /// Includes the main and other assemblies defined + /// on the module using the attribute. + /// + List AllAssemblies { get; } + /// + /// The instance of the module class (singleton). + /// IAbpModule Instance { get; } + /// + /// Is this module loaded as a plug-in? + /// bool IsLoadedAsPlugIn { get; } + /// + /// Modules on which this module depends on. + /// A module can depend on another module using the attribute. + /// IReadOnlyList Dependencies { get; } } diff --git a/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/IAdditionalModuleAssemblyProvider.cs b/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/IAdditionalModuleAssemblyProvider.cs new file mode 100644 index 0000000000..3a26d8e918 --- /dev/null +++ b/framework/src/Volo.Abp.Core/Volo/Abp/Modularity/IAdditionalModuleAssemblyProvider.cs @@ -0,0 +1,8 @@ +using System.Reflection; + +namespace Volo.Abp.Modularity; + +public interface IAdditionalModuleAssemblyProvider +{ + Assembly[] GetAssemblies(); +} \ No newline at end of file diff --git a/framework/src/Volo.Abp.Core/Volo/Abp/Reflection/AssemblyFinder.cs b/framework/src/Volo.Abp.Core/Volo/Abp/Reflection/AssemblyFinder.cs index 4e9a37db1a..602c577050 100644 --- a/framework/src/Volo.Abp.Core/Volo/Abp/Reflection/AssemblyFinder.cs +++ b/framework/src/Volo.Abp.Core/Volo/Abp/Reflection/AssemblyFinder.cs @@ -29,7 +29,7 @@ public class AssemblyFinder : IAssemblyFinder foreach (var module in _moduleContainer.Modules) { - assemblies.Add(module.Type.Assembly); + assemblies.AddRange(module.AllAssemblies); } return assemblies.Distinct().ToImmutableList(); diff --git a/framework/src/Volo.Abp.Data/Volo.Abp.Data.csproj b/framework/src/Volo.Abp.Data/Volo.Abp.Data.csproj index b5d2589b19..751042e62c 100644 --- a/framework/src/Volo.Abp.Data/Volo.Abp.Data.csproj +++ b/framework/src/Volo.Abp.Data/Volo.Abp.Data.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.Data Volo.Abp.Data $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.Data/Volo/Abp/Data/AbpCommonDbProperties.cs b/framework/src/Volo.Abp.Data/Volo/Abp/Data/AbpCommonDbProperties.cs index eacedc2408..16236a4e10 100644 --- a/framework/src/Volo.Abp.Data/Volo/Abp/Data/AbpCommonDbProperties.cs +++ b/framework/src/Volo.Abp.Data/Volo/Abp/Data/AbpCommonDbProperties.cs @@ -13,5 +13,5 @@ public static class AbpCommonDbProperties /// /// Default value: null. /// - public static string DbSchema { get; set; } = null; + public static string? DbSchema { get; set; } = null; } diff --git a/framework/src/Volo.Abp.Data/Volo/Abp/Data/AbpDataMigrationEnvironmentExtensions.cs b/framework/src/Volo.Abp.Data/Volo/Abp/Data/AbpDataMigrationEnvironmentExtensions.cs index 796b547164..18b990ce73 100644 --- a/framework/src/Volo.Abp.Data/Volo/Abp/Data/AbpDataMigrationEnvironmentExtensions.cs +++ b/framework/src/Volo.Abp.Data/Volo/Abp/Data/AbpDataMigrationEnvironmentExtensions.cs @@ -6,17 +6,17 @@ namespace Volo.Abp.Data; public static class AbpDataMigrationEnvironmentExtensions { - public static void AddDataMigrationEnvironment(this AbpApplicationCreationOptions options, AbpDataMigrationEnvironment environment = null) + public static void AddDataMigrationEnvironment(this AbpApplicationCreationOptions options, AbpDataMigrationEnvironment? environment = null) { options.Services.AddDataMigrationEnvironment(environment ?? new AbpDataMigrationEnvironment()); } - public static void AddDataMigrationEnvironment(this IServiceCollection services, AbpDataMigrationEnvironment environment = null) + public static void AddDataMigrationEnvironment(this IServiceCollection services, AbpDataMigrationEnvironment? environment = null) { services.AddObjectAccessor(environment ?? new AbpDataMigrationEnvironment()); } - public static AbpDataMigrationEnvironment GetDataMigrationEnvironment(this IServiceCollection services) + public static AbpDataMigrationEnvironment? GetDataMigrationEnvironment(this IServiceCollection services) { return services.GetObjectOrNull(); } @@ -26,7 +26,7 @@ public static class AbpDataMigrationEnvironmentExtensions return services.GetDataMigrationEnvironment() != null; } - public static AbpDataMigrationEnvironment GetDataMigrationEnvironment(this IServiceProvider serviceProvider) + public static AbpDataMigrationEnvironment? GetDataMigrationEnvironment(this IServiceProvider serviceProvider) { return serviceProvider.GetService>()?.Value; } diff --git a/framework/src/Volo.Abp.Data/Volo/Abp/Data/AbpDatabaseInfoDictionary.cs b/framework/src/Volo.Abp.Data/Volo/Abp/Data/AbpDatabaseInfoDictionary.cs index 2f17b320dd..06334be6db 100644 --- a/framework/src/Volo.Abp.Data/Volo/Abp/Data/AbpDatabaseInfoDictionary.cs +++ b/framework/src/Volo.Abp.Data/Volo/Abp/Data/AbpDatabaseInfoDictionary.cs @@ -13,8 +13,7 @@ public class AbpDatabaseInfoDictionary : Dictionary ConnectionIndex = new Dictionary(); } - [CanBeNull] - public AbpDatabaseInfo GetMappedDatabaseOrNull(string connectionStringName) + public AbpDatabaseInfo? GetMappedDatabaseOrNull(string connectionStringName) { return ConnectionIndex.GetOrDefault(connectionStringName); } diff --git a/framework/src/Volo.Abp.Data/Volo/Abp/Data/AbpDbConnectionOptions.cs b/framework/src/Volo.Abp.Data/Volo/Abp/Data/AbpDbConnectionOptions.cs index a8101e2f7c..3e27ae97ae 100644 --- a/framework/src/Volo.Abp.Data/Volo/Abp/Data/AbpDbConnectionOptions.cs +++ b/framework/src/Volo.Abp.Data/Volo/Abp/Data/AbpDbConnectionOptions.cs @@ -15,7 +15,7 @@ public class AbpDbConnectionOptions Databases = new AbpDatabaseInfoDictionary(); } - public string GetConnectionStringOrNull( + public string? GetConnectionStringOrNull( string connectionStringName, bool fallbackToDatabaseMappings = true, bool fallbackToDefault = true) diff --git a/framework/src/Volo.Abp.Data/Volo/Abp/Data/AppliedDatabaseMigrationsEto.cs b/framework/src/Volo.Abp.Data/Volo/Abp/Data/AppliedDatabaseMigrationsEto.cs index 739571e241..53fae25737 100644 --- a/framework/src/Volo.Abp.Data/Volo/Abp/Data/AppliedDatabaseMigrationsEto.cs +++ b/framework/src/Volo.Abp.Data/Volo/Abp/Data/AppliedDatabaseMigrationsEto.cs @@ -7,6 +7,6 @@ namespace Volo.Abp.Data; [EventName("abp.data.applied_database_migrations")] public class AppliedDatabaseMigrationsEto { - public string DatabaseName { get; set; } + public string DatabaseName { get; set; } = default!; public Guid? TenantId { get; set; } } \ No newline at end of file diff --git a/framework/src/Volo.Abp.Data/Volo/Abp/Data/ApplyDatabaseMigrationsEto.cs b/framework/src/Volo.Abp.Data/Volo/Abp/Data/ApplyDatabaseMigrationsEto.cs index 061ce94a79..8ac1290fad 100644 --- a/framework/src/Volo.Abp.Data/Volo/Abp/Data/ApplyDatabaseMigrationsEto.cs +++ b/framework/src/Volo.Abp.Data/Volo/Abp/Data/ApplyDatabaseMigrationsEto.cs @@ -10,5 +10,5 @@ public class ApplyDatabaseMigrationsEto : EtoBase { public Guid? TenantId { get; set; } - public string DatabaseName { get; set; } + public string DatabaseName { get; set; } = default!; } diff --git a/framework/src/Volo.Abp.Data/Volo/Abp/Data/ConcurrencyStampExtensions.cs b/framework/src/Volo.Abp.Data/Volo/Abp/Data/ConcurrencyStampExtensions.cs index 4b0cd87252..84232a7a88 100644 --- a/framework/src/Volo.Abp.Data/Volo/Abp/Data/ConcurrencyStampExtensions.cs +++ b/framework/src/Volo.Abp.Data/Volo/Abp/Data/ConcurrencyStampExtensions.cs @@ -7,11 +7,11 @@ namespace Volo.Abp.Data; public static class ConcurrencyStampExtensions { - public static void SetConcurrencyStampIfNotNull(this IHasConcurrencyStamp entity, [CanBeNull] string concurrencyStamp) + public static void SetConcurrencyStampIfNotNull(this IHasConcurrencyStamp entity, string? concurrencyStamp) { if (!concurrencyStamp.IsNullOrEmpty()) { - entity.ConcurrencyStamp = concurrencyStamp; + entity.ConcurrencyStamp = concurrencyStamp!; } } } diff --git a/framework/src/Volo.Abp.Data/Volo/Abp/Data/ConnectionStringNameAttribute.cs b/framework/src/Volo.Abp.Data/Volo/Abp/Data/ConnectionStringNameAttribute.cs index 9e028eef12..e5936ab932 100644 --- a/framework/src/Volo.Abp.Data/Volo/Abp/Data/ConnectionStringNameAttribute.cs +++ b/framework/src/Volo.Abp.Data/Volo/Abp/Data/ConnectionStringNameAttribute.cs @@ -27,7 +27,7 @@ public class ConnectionStringNameAttribute : Attribute if (nameAttribute == null) { - return type.FullName; + return type.FullName!; } return nameAttribute.Name; diff --git a/framework/src/Volo.Abp.Data/Volo/Abp/Data/ConnectionStrings.cs b/framework/src/Volo.Abp.Data/Volo/Abp/Data/ConnectionStrings.cs index ca84675c10..22354defc4 100644 --- a/framework/src/Volo.Abp.Data/Volo/Abp/Data/ConnectionStrings.cs +++ b/framework/src/Volo.Abp.Data/Volo/Abp/Data/ConnectionStrings.cs @@ -4,11 +4,11 @@ using System.Collections.Generic; namespace Volo.Abp.Data; [Serializable] -public class ConnectionStrings : Dictionary +public class ConnectionStrings : Dictionary { public const string DefaultConnectionStringName = "Default"; - public string Default { + public string? Default { get => this.GetOrDefault(DefaultConnectionStringName); set => this[DefaultConnectionStringName] = value; } diff --git a/framework/src/Volo.Abp.Data/Volo/Abp/Data/DataFilter.cs b/framework/src/Volo.Abp.Data/Volo/Abp/Data/DataFilter.cs index cca494bb07..40ff5cdf70 100644 --- a/framework/src/Volo.Abp.Data/Volo/Abp/Data/DataFilter.cs +++ b/framework/src/Volo.Abp.Data/Volo/Abp/Data/DataFilter.cs @@ -42,10 +42,10 @@ public class DataFilter : IDataFilter, ISingletonDependency private IDataFilter GetFilter() where TFilter : class { - return _filters.GetOrAdd( + return (_filters.GetOrAdd( typeof(TFilter), - factory: () => _serviceProvider.GetRequiredService>() - ) as IDataFilter; + factory: () => _serviceProvider.GetRequiredService>() + ) as IDataFilter)!; } } @@ -55,7 +55,7 @@ public class DataFilter : IDataFilter public bool IsEnabled { get { EnsureInitialized(); - return _filter.Value.IsEnabled; + return _filter.Value!.IsEnabled; } } @@ -76,7 +76,7 @@ public class DataFilter : IDataFilter return NullDisposable.Instance; } - _filter.Value.IsEnabled = true; + _filter.Value!.IsEnabled = true; return new DisposeAction(() => Disable()); } @@ -88,7 +88,7 @@ public class DataFilter : IDataFilter return NullDisposable.Instance; } - _filter.Value.IsEnabled = false; + _filter.Value!.IsEnabled = false; return new DisposeAction(() => Enable()); } diff --git a/framework/src/Volo.Abp.Data/Volo/Abp/Data/DataSeedContext.cs b/framework/src/Volo.Abp.Data/Volo/Abp/Data/DataSeedContext.cs index 783fddecb3..3a4aa1c0d7 100644 --- a/framework/src/Volo.Abp.Data/Volo/Abp/Data/DataSeedContext.cs +++ b/framework/src/Volo.Abp.Data/Volo/Abp/Data/DataSeedContext.cs @@ -16,8 +16,7 @@ public class DataSeedContext /// Returns the value in the dictionary by given . /// Returns null if given is not present in the dictionary. /// - [CanBeNull] - public object this[string name] { + public object? this[string name] { get => Properties.GetOrDefault(name); set => Properties[name] = value; } @@ -26,19 +25,19 @@ public class DataSeedContext /// Can be used to get/set custom properties. /// [NotNull] - public Dictionary Properties { get; } + public Dictionary Properties { get; } public DataSeedContext(Guid? tenantId = null) { TenantId = tenantId; - Properties = new Dictionary(); + Properties = new Dictionary(); } /// /// Sets a property in the dictionary. /// This is a shortcut for nested calls on this object. /// - public virtual DataSeedContext WithProperty(string key, object value) + public virtual DataSeedContext WithProperty(string key, object? value) { Properties[key] = value; return this; diff --git a/framework/src/Volo.Abp.Data/Volo/Abp/Data/DataSeeder.cs b/framework/src/Volo.Abp.Data/Volo/Abp/Data/DataSeeder.cs index 45729fcb86..83586e8e70 100644 --- a/framework/src/Volo.Abp.Data/Volo/Abp/Data/DataSeeder.cs +++ b/framework/src/Volo.Abp.Data/Volo/Abp/Data/DataSeeder.cs @@ -33,9 +33,9 @@ public class DataSeeder : IDataSeeder, ITransientDependency foreach (var contributorType in Options.Contributors) { var options = context.Properties.TryGetValue(DataSeederExtensions.SeedInSeparateUowOptions, out var uowOptions) - ? (AbpUnitOfWorkOptions) uowOptions + ? (AbpUnitOfWorkOptions) uowOptions! : new AbpUnitOfWorkOptions(); - var requiresNew = context.Properties.TryGetValue(DataSeederExtensions.SeedInSeparateUowRequiresNew, out var obj) && (bool) obj; + var requiresNew = context.Properties.TryGetValue(DataSeederExtensions.SeedInSeparateUowRequiresNew, out var obj) && (bool) obj!; using (var uow = manager.Begin(options, requiresNew)) { diff --git a/framework/src/Volo.Abp.Data/Volo/Abp/Data/DataSeederExtensions.cs b/framework/src/Volo.Abp.Data/Volo/Abp/Data/DataSeederExtensions.cs index bd17736b46..f8f3cf8dc5 100644 --- a/framework/src/Volo.Abp.Data/Volo/Abp/Data/DataSeederExtensions.cs +++ b/framework/src/Volo.Abp.Data/Volo/Abp/Data/DataSeederExtensions.cs @@ -15,7 +15,7 @@ public static class DataSeederExtensions return seeder.SeedAsync(new DataSeedContext(tenantId)); } - public static Task SeedInSeparateUowAsync(this IDataSeeder seeder, Guid? tenantId = null, AbpUnitOfWorkOptions options = null, bool requiresNew = false) + public static Task SeedInSeparateUowAsync(this IDataSeeder seeder, Guid? tenantId = null, AbpUnitOfWorkOptions? options = null, bool requiresNew = false) { var context = new DataSeedContext(tenantId); context.WithProperty(SeedInSeparateUow, true); diff --git a/framework/src/Volo.Abp.Data/Volo/Abp/Data/DefaultConnectionStringResolver.cs b/framework/src/Volo.Abp.Data/Volo/Abp/Data/DefaultConnectionStringResolver.cs index d3edbd30b0..257c0be663 100644 --- a/framework/src/Volo.Abp.Data/Volo/Abp/Data/DefaultConnectionStringResolver.cs +++ b/framework/src/Volo.Abp.Data/Volo/Abp/Data/DefaultConnectionStringResolver.cs @@ -16,17 +16,17 @@ public class DefaultConnectionStringResolver : IConnectionStringResolver, ITrans } [Obsolete("Use ResolveAsync method.")] - public virtual string Resolve(string connectionStringName = null) + public virtual string Resolve(string? connectionStringName = null) { - return ResolveInternal(connectionStringName); + return ResolveInternal(connectionStringName)!; } - public virtual Task ResolveAsync(string connectionStringName = null) + public virtual Task ResolveAsync(string? connectionStringName = null) { - return Task.FromResult(ResolveInternal(connectionStringName)); + return Task.FromResult(ResolveInternal(connectionStringName))!; } - private string ResolveInternal(string connectionStringName) + private string? ResolveInternal(string? connectionStringName) { if (connectionStringName == null) { diff --git a/framework/src/Volo.Abp.Data/Volo/Abp/Data/IConnectionStringResolver.cs b/framework/src/Volo.Abp.Data/Volo/Abp/Data/IConnectionStringResolver.cs index 793fb309cb..8ef7df4e60 100644 --- a/framework/src/Volo.Abp.Data/Volo/Abp/Data/IConnectionStringResolver.cs +++ b/framework/src/Volo.Abp.Data/Volo/Abp/Data/IConnectionStringResolver.cs @@ -8,8 +8,8 @@ public interface IConnectionStringResolver { [NotNull] [Obsolete("Use ResolveAsync method.")] - string Resolve(string connectionStringName = null); + string Resolve(string? connectionStringName = null); [NotNull] - Task ResolveAsync(string connectionStringName = null); + Task ResolveAsync(string? connectionStringName = null); } diff --git a/framework/src/Volo.Abp.ExceptionHandling/Volo.Abp.ExceptionHandling.csproj b/framework/src/Volo.Abp.ExceptionHandling/Volo.Abp.ExceptionHandling.csproj index 7e3061e8c7..de9dc60c0d 100644 --- a/framework/src/Volo.Abp.ExceptionHandling/Volo.Abp.ExceptionHandling.csproj +++ b/framework/src/Volo.Abp.ExceptionHandling/Volo.Abp.ExceptionHandling.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable true diff --git a/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/AspNetCore/ExceptionHandling/DefaultExceptionToErrorInfoConverter.cs b/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/AspNetCore/ExceptionHandling/DefaultExceptionToErrorInfoConverter.cs index 1b8742af81..b068890b97 100644 --- a/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/AspNetCore/ExceptionHandling/DefaultExceptionToErrorInfoConverter.cs +++ b/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/AspNetCore/ExceptionHandling/DefaultExceptionToErrorInfoConverter.cs @@ -54,7 +54,7 @@ public class DefaultExceptionToErrorInfoConverter : IExceptionToErrorInfoConvert return errorInfo; } - public RemoteServiceErrorInfo Convert(Exception exception, Action options = null) + public RemoteServiceErrorInfo Convert(Exception exception, Action? options = null) { var exceptionHandlingOptions = CreateDefaultOptions(); options?.Invoke(exceptionHandlingOptions); @@ -90,7 +90,7 @@ public class DefaultExceptionToErrorInfoConverter : IExceptionToErrorInfoConvert if (exception is EntityNotFoundException) { - return CreateEntityNotFoundError(exception as EntityNotFoundException); + return CreateEntityNotFoundError((exception as EntityNotFoundException)!); } var errorInfo = new RemoteServiceErrorInfo(); @@ -110,10 +110,10 @@ public class DefaultExceptionToErrorInfoConverter : IExceptionToErrorInfoConvert if (errorInfo.Details.IsNullOrEmpty()) { - errorInfo.Details = GetValidationErrorNarrative(exception as IHasValidationErrors); + errorInfo.Details = GetValidationErrorNarrative((exception as IHasValidationErrors)!); } - errorInfo.ValidationErrors = GetValidationErrorInfos(exception as IHasValidationErrors); + errorInfo.ValidationErrors = GetValidationErrorInfos((exception as IHasValidationErrors)!); } TryToLocalizeExceptionMessage(exception, errorInfo); @@ -146,7 +146,7 @@ public class DefaultExceptionToErrorInfoConverter : IExceptionToErrorInfoConvert } if (exceptionWithErrorCode.Code.IsNullOrWhiteSpace() || - !exceptionWithErrorCode.Code.Contains(":")) + !exceptionWithErrorCode.Code!.Contains(":")) { return; } @@ -197,10 +197,8 @@ public class DefaultExceptionToErrorInfoConverter : IExceptionToErrorInfoConvert protected virtual Exception TryToGetActualException(Exception exception) { - if (exception is AggregateException && exception.InnerException != null) + if (exception is AggregateException aggException && aggException.InnerException != null) { - var aggException = exception as AggregateException; - if (aggException.InnerException is AbpValidationException || aggException.InnerException is AbpAuthorizationException || aggException.InnerException is EntityNotFoundException || @@ -223,7 +221,7 @@ public class DefaultExceptionToErrorInfoConverter : IExceptionToErrorInfoConvert if (exception is AbpValidationException) { - errorInfo.ValidationErrors = GetValidationErrorInfos(exception as AbpValidationException); + errorInfo.ValidationErrors = GetValidationErrorInfos((exception as AbpValidationException)!); } return errorInfo; @@ -246,9 +244,8 @@ public class DefaultExceptionToErrorInfoConverter : IExceptionToErrorInfoConvert } //Additional info for AbpValidationException - if (exception is AbpValidationException) + if (exception is AbpValidationException validationException) { - var validationException = exception as AbpValidationException; if (validationException.ValidationErrors.Count > 0) { detailBuilder.AppendLine(GetValidationErrorNarrative(validationException)); @@ -268,9 +265,8 @@ public class DefaultExceptionToErrorInfoConverter : IExceptionToErrorInfoConvert } //Inner exceptions for AggregateException - if (exception is AggregateException) + if (exception is AggregateException aggException) { - var aggException = exception as AggregateException; if (aggException.InnerExceptions.IsNullOrEmpty()) { return; @@ -289,7 +285,7 @@ public class DefaultExceptionToErrorInfoConverter : IExceptionToErrorInfoConvert foreach (var validationResult in validationException.ValidationErrors) { - var validationError = new RemoteServiceValidationErrorInfo(validationResult.ErrorMessage); + var validationError = new RemoteServiceValidationErrorInfo(validationResult.ErrorMessage!); if (validationResult.MemberNames != null && validationResult.MemberNames.Any()) { diff --git a/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/AspNetCore/ExceptionHandling/IExceptionToErrorInfoConverter.cs b/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/AspNetCore/ExceptionHandling/IExceptionToErrorInfoConverter.cs index ebf8993bd6..bd14010db0 100644 --- a/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/AspNetCore/ExceptionHandling/IExceptionToErrorInfoConverter.cs +++ b/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/AspNetCore/ExceptionHandling/IExceptionToErrorInfoConverter.cs @@ -24,5 +24,5 @@ public interface IExceptionToErrorInfoConverter /// The exception. /// Additional options. /// Error info or null - RemoteServiceErrorInfo Convert(Exception exception, Action options = null); + RemoteServiceErrorInfo Convert(Exception exception, Action? options = null); } diff --git a/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/Domain/Entities/EntityNotFoundException.cs b/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/Domain/Entities/EntityNotFoundException.cs index 1feb8c4cbb..5f524f9578 100644 --- a/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/Domain/Entities/EntityNotFoundException.cs +++ b/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/Domain/Entities/EntityNotFoundException.cs @@ -10,12 +10,12 @@ public class EntityNotFoundException : AbpException /// /// Type of the entity. /// - public Type EntityType { get; set; } + public Type? EntityType { get; set; } /// /// Id of the Entity. /// - public object Id { get; set; } + public object? Id { get; set; } /// /// Creates a new object. @@ -37,7 +37,7 @@ public class EntityNotFoundException : AbpException /// /// Creates a new object. /// - public EntityNotFoundException(Type entityType, object id) + public EntityNotFoundException(Type entityType, object? id) : this(entityType, id, null) { @@ -46,7 +46,7 @@ public class EntityNotFoundException : AbpException /// /// Creates a new object. /// - public EntityNotFoundException(Type entityType, object id, Exception innerException) + public EntityNotFoundException(Type entityType, object? id, Exception? innerException) : base( id == null ? $"There is no such an entity given id. Entity type: {entityType.FullName}" diff --git a/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/Http/Client/AbpRemoteCallException.cs b/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/Http/Client/AbpRemoteCallException.cs index 78c5bff6f9..887c8fb081 100644 --- a/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/Http/Client/AbpRemoteCallException.cs +++ b/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/Http/Client/AbpRemoteCallException.cs @@ -9,18 +9,18 @@ public class AbpRemoteCallException : AbpException, IHasErrorCode, IHasErrorDeta { public int HttpStatusCode { get; set; } - public string Code => Error?.Code; + public string? Code => Error?.Code; - public string Details => Error?.Details; + public string? Details => Error?.Details; - public RemoteServiceErrorInfo Error { get; set; } + public RemoteServiceErrorInfo? Error { get; set; } public AbpRemoteCallException() { } - public AbpRemoteCallException(string message, Exception innerException = null) + public AbpRemoteCallException(string message, Exception? innerException = null) : base(message, innerException) { @@ -32,7 +32,7 @@ public class AbpRemoteCallException : AbpException, IHasErrorCode, IHasErrorDeta } - public AbpRemoteCallException(RemoteServiceErrorInfo error, Exception innerException = null) + public AbpRemoteCallException(RemoteServiceErrorInfo error, Exception? innerException = null) : base(error.Message, innerException) { Error = error; diff --git a/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/Http/RemoteServiceErrorInfo.cs b/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/Http/RemoteServiceErrorInfo.cs index 89ed87454a..e61d55e2d3 100644 --- a/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/Http/RemoteServiceErrorInfo.cs +++ b/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/Http/RemoteServiceErrorInfo.cs @@ -12,27 +12,27 @@ public class RemoteServiceErrorInfo /// /// Error code. /// - public string Code { get; set; } + public string? Code { get; set; } /// /// Error message. /// - public string Message { get; set; } + public string? Message { get; set; } /// /// Error details. /// - public string Details { get; set; } + public string? Details { get; set; } /// /// Error data. /// - public IDictionary Data { get; set; } + public IDictionary? Data { get; set; } /// /// Validation errors if exists. /// - public RemoteServiceValidationErrorInfo[] ValidationErrors { get; set; } + public RemoteServiceValidationErrorInfo[]? ValidationErrors { get; set; } /// /// Creates a new instance of . @@ -49,7 +49,7 @@ public class RemoteServiceErrorInfo /// Error details /// Error message /// Error data - public RemoteServiceErrorInfo(string message, string details = null, string code = null, IDictionary data = null) + public RemoteServiceErrorInfo(string message, string? details = null, string? code = null, IDictionary? data = null) { Message = message; Details = details; diff --git a/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/Http/RemoteServiceValidationErrorInfo.cs b/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/Http/RemoteServiceValidationErrorInfo.cs index 4b86bbf4e3..64a31d7041 100644 --- a/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/Http/RemoteServiceValidationErrorInfo.cs +++ b/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/Http/RemoteServiceValidationErrorInfo.cs @@ -11,12 +11,12 @@ public class RemoteServiceValidationErrorInfo /// /// Validation error message. /// - public string Message { get; set; } + public string Message { get; set; } = default!; /// /// Relate invalid members (fields/properties). /// - public string[] Members { get; set; } + public string[] Members { get; set; } = default!; /// /// Creates a new instance of . diff --git a/framework/src/Volo.Abp.Guids/Volo.Abp.Guids.csproj b/framework/src/Volo.Abp.Guids/Volo.Abp.Guids.csproj index ed4e0af802..6aae43ce2a 100644 --- a/framework/src/Volo.Abp.Guids/Volo.Abp.Guids.csproj +++ b/framework/src/Volo.Abp.Guids/Volo.Abp.Guids.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.Guids Volo.Abp.Guids $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.Http.Client.Web/Volo/Abp/Http/Client/Web/AbpHttpClientWebModule.cs b/framework/src/Volo.Abp.Http.Client.Web/Volo/Abp/Http/Client/Web/AbpHttpClientWebModule.cs index 5fcab7a7f1..655f96f068 100644 --- a/framework/src/Volo.Abp.Http.Client.Web/Volo/Abp/Http/Client/Web/AbpHttpClientWebModule.cs +++ b/framework/src/Volo.Abp.Http.Client.Web/Volo/Abp/Http/Client/Web/AbpHttpClientWebModule.cs @@ -31,7 +31,7 @@ public class AbpHttpClientWebModule : AbpModule .ServiceProvider .GetRequiredService() .Modules - .Select(m => m.Type.Assembly) + .SelectMany(m => m.AllAssemblies) .Where(a => a.GetTypes().Any(AbpHttpClientProxyHelper.IsClientProxyService)) .Distinct()) { diff --git a/framework/src/Volo.Abp.Json.Abstractions/Volo.Abp.Json.Abstractions.csproj b/framework/src/Volo.Abp.Json.Abstractions/Volo.Abp.Json.Abstractions.csproj index d3f63e6e20..1be747846e 100644 --- a/framework/src/Volo.Abp.Json.Abstractions/Volo.Abp.Json.Abstractions.csproj +++ b/framework/src/Volo.Abp.Json.Abstractions/Volo.Abp.Json.Abstractions.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.Json.Abstractions $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; false diff --git a/framework/src/Volo.Abp.Json.Abstractions/Volo/Abp/Json/AbpJsonOptions.cs b/framework/src/Volo.Abp.Json.Abstractions/Volo/Abp/Json/AbpJsonOptions.cs index 043c1081d7..bed36c8afa 100644 --- a/framework/src/Volo.Abp.Json.Abstractions/Volo/Abp/Json/AbpJsonOptions.cs +++ b/framework/src/Volo.Abp.Json.Abstractions/Volo/Abp/Json/AbpJsonOptions.cs @@ -12,7 +12,7 @@ public class AbpJsonOptions /// /// Format of output json date, Null or empty string means default format. /// - public string OutputDateTimeFormat { get; set; } + public string? OutputDateTimeFormat { get; set; } public AbpJsonOptions() { diff --git a/framework/src/Volo.Abp.Json.Newtonsoft/Volo.Abp.Json.Newtonsoft.csproj b/framework/src/Volo.Abp.Json.Newtonsoft/Volo.Abp.Json.Newtonsoft.csproj index 5349254ea3..094a6e3c0a 100644 --- a/framework/src/Volo.Abp.Json.Newtonsoft/Volo.Abp.Json.Newtonsoft.csproj +++ b/framework/src/Volo.Abp.Json.Newtonsoft/Volo.Abp.Json.Newtonsoft.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.Json.Newtonsoft Volo.Abp.Json.Newtonsoft $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.Json.Newtonsoft/Volo/Abp/Json/Newtonsoft/AbpDateTimeConverter.cs b/framework/src/Volo.Abp.Json.Newtonsoft/Volo/Abp/Json/Newtonsoft/AbpDateTimeConverter.cs index 408f38e772..effda40057 100644 --- a/framework/src/Volo.Abp.Json.Newtonsoft/Volo/Abp/Json/Newtonsoft/AbpDateTimeConverter.cs +++ b/framework/src/Volo.Abp.Json.Newtonsoft/Volo/Abp/Json/Newtonsoft/AbpDateTimeConverter.cs @@ -31,7 +31,7 @@ public class AbpDateTimeConverter : DateTimeConverterBase, ITransientDependency return objectType == typeof(DateTime) || objectType == typeof(DateTime?); } - public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) + public override object? ReadJson(JsonReader reader, Type objectType, object? existingValue, JsonSerializer serializer) { var nullable = Nullable.GetUnderlyingType(objectType) != null; if (reader.TokenType == JsonToken.Null) @@ -46,7 +46,7 @@ public class AbpDateTimeConverter : DateTimeConverterBase, ITransientDependency if (reader.TokenType == JsonToken.Date) { - return _clock.Normalize(reader.Value.To()); + return _clock.Normalize(reader.Value!.To()); } if (reader.TokenType != JsonToken.String) @@ -72,11 +72,11 @@ public class AbpDateTimeConverter : DateTimeConverterBase, ITransientDependency } } - var date = DateTime.Parse(dateText, _culture, _dateTimeStyles); + var date = DateTime.Parse(dateText!, _culture, _dateTimeStyles); return _clock.Normalize(date); } - public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) + public override void WriteJson(JsonWriter writer, object? value, JsonSerializer serializer) { if (value != null) { @@ -97,7 +97,7 @@ public class AbpDateTimeConverter : DateTimeConverterBase, ITransientDependency } else { - throw new JsonSerializationException($"Unexpected value when converting date. Expected DateTime or DateTimeOffset, got {value.GetType()}."); + throw new JsonSerializationException($"Unexpected value when converting date. Expected DateTime or DateTimeOffset, got {value?.GetType()}."); } } diff --git a/framework/src/Volo.Abp.Json.Newtonsoft/Volo/Abp/Json/Newtonsoft/AbpNewtonsoftJsonSerializer.cs b/framework/src/Volo.Abp.Json.Newtonsoft/Volo/Abp/Json/Newtonsoft/AbpNewtonsoftJsonSerializer.cs index ab65909cf9..2a21f5fbd7 100644 --- a/framework/src/Volo.Abp.Json.Newtonsoft/Volo/Abp/Json/Newtonsoft/AbpNewtonsoftJsonSerializer.cs +++ b/framework/src/Volo.Abp.Json.Newtonsoft/Volo/Abp/Json/Newtonsoft/AbpNewtonsoftJsonSerializer.cs @@ -26,12 +26,12 @@ public class AbpNewtonsoftJsonSerializer : IJsonSerializer, ITransientDependency public T Deserialize(string jsonString, bool camelCase = true) { - return JsonConvert.DeserializeObject(jsonString, CreateJsonSerializerOptions(camelCase)); + return JsonConvert.DeserializeObject(jsonString, CreateJsonSerializerOptions(camelCase))!; } public object Deserialize(Type type, string jsonString, bool camelCase = true) { - return JsonConvert.DeserializeObject(jsonString, type, CreateJsonSerializerOptions(camelCase)); + return JsonConvert.DeserializeObject(jsonString, type, CreateJsonSerializerOptions(camelCase))!; } private readonly static ConcurrentDictionary JsonSerializerOptionsCache = diff --git a/framework/src/Volo.Abp.Json.SystemTextJson/Volo.Abp.Json.SystemTextJson.csproj b/framework/src/Volo.Abp.Json.SystemTextJson/Volo.Abp.Json.SystemTextJson.csproj index e157d5b7db..1fc81dd3ac 100644 --- a/framework/src/Volo.Abp.Json.SystemTextJson/Volo.Abp.Json.SystemTextJson.csproj +++ b/framework/src/Volo.Abp.Json.SystemTextJson/Volo.Abp.Json.SystemTextJson.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.Json.SystemTextJson Volo.Abp.Json.SystemTextJson $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/AbpSystemTextJsonSerializer.cs b/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/AbpSystemTextJsonSerializer.cs index 8313f6ee99..6f433ce918 100644 --- a/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/AbpSystemTextJsonSerializer.cs +++ b/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/AbpSystemTextJsonSerializer.cs @@ -22,12 +22,12 @@ public class AbpSystemTextJsonSerializer : IJsonSerializer, ITransientDependency public T Deserialize(string jsonString, bool camelCase = true) { - return JsonSerializer.Deserialize(jsonString, CreateJsonSerializerOptions(camelCase)); + return JsonSerializer.Deserialize(jsonString, CreateJsonSerializerOptions(camelCase))!; } public object Deserialize(Type type, string jsonString, bool camelCase = true) { - return JsonSerializer.Deserialize(jsonString, type, CreateJsonSerializerOptions(camelCase)); + return JsonSerializer.Deserialize(jsonString, type, CreateJsonSerializerOptions(camelCase))!; } private static readonly ConcurrentDictionary JsonSerializerOptionsCache = diff --git a/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/JsonConverters/AbpNullableStringToGuidConverter.cs b/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/JsonConverters/AbpNullableStringToGuidConverter.cs index c80e5aa9a5..973faca170 100644 --- a/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/JsonConverters/AbpNullableStringToGuidConverter.cs +++ b/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/JsonConverters/AbpNullableStringToGuidConverter.cs @@ -6,7 +6,7 @@ namespace Volo.Abp.Json.SystemTextJson.JsonConverters; public class AbpNullableStringToGuidConverter : JsonConverter { - private JsonSerializerOptions _writeJsonSerializerOptions; + private JsonSerializerOptions? _writeJsonSerializerOptions; public override Guid? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) { diff --git a/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/JsonConverters/AbpStringToBooleanConverter.cs b/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/JsonConverters/AbpStringToBooleanConverter.cs index e704f2ceb0..443150e41a 100644 --- a/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/JsonConverters/AbpStringToBooleanConverter.cs +++ b/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/JsonConverters/AbpStringToBooleanConverter.cs @@ -8,7 +8,7 @@ namespace Volo.Abp.Json.SystemTextJson.JsonConverters; public class AbpStringToBooleanConverter : JsonConverter { - private JsonSerializerOptions _writeJsonSerializerOptions; + private JsonSerializerOptions? _writeJsonSerializerOptions; public override bool Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) { diff --git a/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/JsonConverters/AbpStringToEnumConverter.cs b/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/JsonConverters/AbpStringToEnumConverter.cs index 6b7f32807e..d1e8fc555d 100644 --- a/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/JsonConverters/AbpStringToEnumConverter.cs +++ b/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/JsonConverters/AbpStringToEnumConverter.cs @@ -9,9 +9,9 @@ public class AbpStringToEnumConverter : JsonConverter { private readonly JsonStringEnumConverter _innerJsonStringEnumConverter; - private JsonSerializerOptions _readJsonSerializerOptions; + private JsonSerializerOptions? _readJsonSerializerOptions; - private JsonSerializerOptions _writeJsonSerializerOptions; + private JsonSerializerOptions? _writeJsonSerializerOptions; public AbpStringToEnumConverter() : this(namingPolicy: null, allowIntegerValues: true) @@ -19,7 +19,7 @@ public class AbpStringToEnumConverter : JsonConverter } - public AbpStringToEnumConverter(JsonNamingPolicy namingPolicy = null, bool allowIntegerValues = true) + public AbpStringToEnumConverter(JsonNamingPolicy? namingPolicy = null, bool allowIntegerValues = true) { _innerJsonStringEnumConverter = new JsonStringEnumConverter(namingPolicy, allowIntegerValues); } @@ -50,11 +50,11 @@ public class AbpStringToEnumConverter : JsonConverter public override T ReadAsPropertyName(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) { - return (T)Enum.Parse(typeToConvert, reader.GetString()); + return (T)Enum.Parse(typeToConvert, reader.GetString()!); } public override void WriteAsPropertyName(Utf8JsonWriter writer, T value, JsonSerializerOptions options) { - writer.WritePropertyName(Enum.GetName(typeof(T), value)); + writer.WritePropertyName(Enum.GetName(typeof(T), value)!); } } diff --git a/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/JsonConverters/AbpStringToEnumFactory.cs b/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/JsonConverters/AbpStringToEnumFactory.cs index d94d85e546..bda510e5dc 100644 --- a/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/JsonConverters/AbpStringToEnumFactory.cs +++ b/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/JsonConverters/AbpStringToEnumFactory.cs @@ -7,7 +7,7 @@ namespace Volo.Abp.Json.SystemTextJson.JsonConverters; public class AbpStringToEnumFactory : JsonConverterFactory { - private readonly JsonNamingPolicy _namingPolicy; + private readonly JsonNamingPolicy? _namingPolicy; private readonly bool _allowIntegerValues; public AbpStringToEnumFactory() @@ -16,7 +16,7 @@ public class AbpStringToEnumFactory : JsonConverterFactory } - public AbpStringToEnumFactory(JsonNamingPolicy namingPolicy, bool allowIntegerValues) + public AbpStringToEnumFactory(JsonNamingPolicy? namingPolicy, bool allowIntegerValues) { _namingPolicy = namingPolicy; _allowIntegerValues = allowIntegerValues; @@ -33,7 +33,7 @@ public class AbpStringToEnumFactory : JsonConverterFactory typeof(AbpStringToEnumConverter<>).MakeGenericType(typeToConvert), BindingFlags.Instance | BindingFlags.Public, binder: null, - new object[] { _namingPolicy, _allowIntegerValues }, + new object?[] { _namingPolicy, _allowIntegerValues }, culture: null)!; } } diff --git a/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/JsonConverters/AbpStringToGuidConverter.cs b/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/JsonConverters/AbpStringToGuidConverter.cs index 586e4462cf..5cb1062c0c 100644 --- a/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/JsonConverters/AbpStringToGuidConverter.cs +++ b/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/JsonConverters/AbpStringToGuidConverter.cs @@ -6,7 +6,7 @@ namespace Volo.Abp.Json.SystemTextJson.JsonConverters; public class AbpStringToGuidConverter : JsonConverter { - private JsonSerializerOptions _writeJsonSerializerOptions; + private JsonSerializerOptions? _writeJsonSerializerOptions; public override Guid Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) { diff --git a/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/JsonConverters/ObjectToInferredTypesConverter.cs b/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/JsonConverters/ObjectToInferredTypesConverter.cs index b1bffc95b8..bf017d041e 100644 --- a/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/JsonConverters/ObjectToInferredTypesConverter.cs +++ b/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/JsonConverters/ObjectToInferredTypesConverter.cs @@ -12,16 +12,16 @@ public class ObjectToInferredTypesConverter : JsonConverter public override object Read( ref Utf8JsonReader reader, Type typeToConvert, - JsonSerializerOptions options) => reader.TokenType switch - { - JsonTokenType.True => true, - JsonTokenType.False => false, - JsonTokenType.Number when reader.TryGetInt64(out long l) => l, - JsonTokenType.Number => reader.GetDouble(), - JsonTokenType.String when reader.TryGetDateTime(out DateTime datetime) => datetime, - JsonTokenType.String => reader.GetString(), - _ => JsonDocument.ParseValue(ref reader).RootElement.Clone() - }; + JsonSerializerOptions options) => (reader.TokenType switch + { + JsonTokenType.True => true, + JsonTokenType.False => false, + JsonTokenType.Number when reader.TryGetInt64(out long l) => l, + JsonTokenType.Number => reader.GetDouble(), + JsonTokenType.String when reader.TryGetDateTime(out DateTime datetime) => datetime, + JsonTokenType.String => reader.GetString(), + _ => JsonDocument.ParseValue(ref reader).RootElement.Clone() + })!; public override void Write( Utf8JsonWriter writer, diff --git a/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/Modifiers/AbpDateTimeConverterModifier.cs b/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/Modifiers/AbpDateTimeConverterModifier.cs index a691423cf3..ba19ccfa29 100644 --- a/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/Modifiers/AbpDateTimeConverterModifier.cs +++ b/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/Modifiers/AbpDateTimeConverterModifier.cs @@ -10,7 +10,7 @@ namespace Volo.Abp.Json.SystemTextJson.Modifiers; public class AbpDateTimeConverterModifier { - private IServiceProvider _serviceProvider; + private IServiceProvider _serviceProvider = default!; public Action CreateModifyAction(IServiceProvider serviceProvider) { diff --git a/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/Modifiers/AbpIgnorePropertiesModifiers.cs b/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/Modifiers/AbpIgnorePropertiesModifiers.cs index 27a50395bf..7c1db739d1 100644 --- a/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/Modifiers/AbpIgnorePropertiesModifiers.cs +++ b/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/Modifiers/AbpIgnorePropertiesModifiers.cs @@ -9,7 +9,7 @@ namespace Volo.Abp.Json.SystemTextJson.Modifiers; public class AbpIgnorePropertiesModifiers where TClass : class { - private Expression> _propertySelector; + private Expression> _propertySelector = default!; public Action CreateModifyAction(Expression> propertySelector) { diff --git a/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/Modifiers/AbpIncludeExtraPropertiesModifiers.cs b/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/Modifiers/AbpIncludeExtraPropertiesModifiers.cs index f4a97e0e9d..c7fadc47db 100644 --- a/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/Modifiers/AbpIncludeExtraPropertiesModifiers.cs +++ b/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/Modifiers/AbpIncludeExtraPropertiesModifiers.cs @@ -17,7 +17,7 @@ public static class AbpIncludeExtraPropertiesModifiers .Where(x => x.AttributeProvider is MemberInfo) .FirstOrDefault(x => x.PropertyType == typeof(ExtraPropertyDictionary) && - x.AttributeProvider.As().Name == nameof(ExtensibleObject.ExtraProperties) && + x.AttributeProvider!.As().Name == nameof(ExtensibleObject.ExtraProperties) && x.Set == null); if (propertyJsonInfo != null) diff --git a/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/Modifiers/AbpIncludeNonPublicPropertiesModifiers.cs b/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/Modifiers/AbpIncludeNonPublicPropertiesModifiers.cs index 4669ddc666..cc13db8d0c 100644 --- a/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/Modifiers/AbpIncludeNonPublicPropertiesModifiers.cs +++ b/framework/src/Volo.Abp.Json.SystemTextJson/Volo/Abp/Json/SystemTextJson/Modifiers/AbpIncludeNonPublicPropertiesModifiers.cs @@ -9,7 +9,7 @@ namespace Volo.Abp.Json.SystemTextJson.Modifiers; public class AbpIncludeNonPublicPropertiesModifiers where TClass : class { - private Expression> _propertySelector; + private Expression> _propertySelector = default!; public Action CreateModifyAction(Expression> propertySelector) { diff --git a/framework/src/Volo.Abp.Ldap.Abstractions/Volo.Abp.Ldap.Abstractions.csproj b/framework/src/Volo.Abp.Ldap.Abstractions/Volo.Abp.Ldap.Abstractions.csproj index 9a61150096..6e25ebe8e6 100644 --- a/framework/src/Volo.Abp.Ldap.Abstractions/Volo.Abp.Ldap.Abstractions.csproj +++ b/framework/src/Volo.Abp.Ldap.Abstractions/Volo.Abp.Ldap.Abstractions.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.Ldap.Abstractions Volo.Abp.Ldap.Abstractions $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.Ldap.Abstractions/Volo/Abp/Ldap/ILdapSettingProvider.cs b/framework/src/Volo.Abp.Ldap.Abstractions/Volo/Abp/Ldap/ILdapSettingProvider.cs index efc109a762..c7320a36fa 100644 --- a/framework/src/Volo.Abp.Ldap.Abstractions/Volo/Abp/Ldap/ILdapSettingProvider.cs +++ b/framework/src/Volo.Abp.Ldap.Abstractions/Volo/Abp/Ldap/ILdapSettingProvider.cs @@ -4,15 +4,15 @@ namespace Volo.Abp.Ldap; public interface ILdapSettingProvider { - public Task GetServerHostAsync(); + public Task GetServerHostAsync(); public Task GetServerPortAsync(); - public Task GetBaseDcAsync(); + public Task GetBaseDcAsync(); - public Task GetDomainAsync(); + public Task GetDomainAsync(); - public Task GetUserNameAsync(); + public Task GetUserNameAsync(); - public Task GetPasswordAsync(); + public Task GetPasswordAsync(); } diff --git a/framework/src/Volo.Abp.Ldap/Volo.Abp.Ldap.csproj b/framework/src/Volo.Abp.Ldap/Volo.Abp.Ldap.csproj index 951cbf3be2..aee7d78518 100644 --- a/framework/src/Volo.Abp.Ldap/Volo.Abp.Ldap.csproj +++ b/framework/src/Volo.Abp.Ldap/Volo.Abp.Ldap.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.Ldap Volo.Abp.Ldap $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.Ldap/Volo/Abp/Ldap/LdapSettingProvider.cs b/framework/src/Volo.Abp.Ldap/Volo/Abp/Ldap/LdapSettingProvider.cs index ab36c1bf5f..cf43f11d43 100644 --- a/framework/src/Volo.Abp.Ldap/Volo/Abp/Ldap/LdapSettingProvider.cs +++ b/framework/src/Volo.Abp.Ldap/Volo/Abp/Ldap/LdapSettingProvider.cs @@ -14,7 +14,7 @@ public class LdapSettingProvider : ILdapSettingProvider, ITransientDependency SettingProvider = settingProvider; } - public async Task GetServerHostAsync() + public async Task GetServerHostAsync() { return await SettingProvider.GetOrNullAsync(LdapSettingNames.ServerHost); } @@ -24,22 +24,22 @@ public class LdapSettingProvider : ILdapSettingProvider, ITransientDependency return (await SettingProvider.GetOrNullAsync(LdapSettingNames.ServerPort))?.To() ?? default; } - public async Task GetBaseDcAsync() + public async Task GetBaseDcAsync() { return await SettingProvider.GetOrNullAsync(LdapSettingNames.BaseDc); } - public async Task GetDomainAsync() + public async Task GetDomainAsync() { return await SettingProvider.GetOrNullAsync(LdapSettingNames.Domain); } - public async Task GetUserNameAsync() + public async Task GetUserNameAsync() { return await SettingProvider.GetOrNullAsync(LdapSettingNames.UserName); } - public async Task GetPasswordAsync() + public async Task GetPasswordAsync() { return await SettingProvider.GetOrNullAsync(LdapSettingNames.Password); } diff --git a/framework/src/Volo.Abp.Localization.Abstractions/Microsoft/Extensions/Localization/AbpStringLocalizerFactoryExtensions.cs b/framework/src/Volo.Abp.Localization.Abstractions/Microsoft/Extensions/Localization/AbpStringLocalizerFactoryExtensions.cs index 8aa2515a54..492372cc30 100644 --- a/framework/src/Volo.Abp.Localization.Abstractions/Microsoft/Extensions/Localization/AbpStringLocalizerFactoryExtensions.cs +++ b/framework/src/Volo.Abp.Localization.Abstractions/Microsoft/Extensions/Localization/AbpStringLocalizerFactoryExtensions.cs @@ -6,15 +6,13 @@ namespace Microsoft.Extensions.Localization; public static class AbpStringLocalizerFactoryExtensions { - [CanBeNull] - public static IStringLocalizer CreateDefaultOrNull(this IStringLocalizerFactory localizerFactory) + public static IStringLocalizer? CreateDefaultOrNull(this IStringLocalizerFactory localizerFactory) { return (localizerFactory as IAbpStringLocalizerFactory) ?.CreateDefaultOrNull(); } - [CanBeNull] - public static IStringLocalizer CreateByResourceNameOrNull( + public static IStringLocalizer? CreateByResourceNameOrNull( this IStringLocalizerFactory localizerFactory, string resourceName) { @@ -36,8 +34,7 @@ public static class AbpStringLocalizerFactoryExtensions return localizer; } - [ItemCanBeNull] - public static async Task CreateByResourceNameOrNullAsync( + public static async Task CreateByResourceNameOrNullAsync( this IStringLocalizerFactory localizerFactory, string resourceName) { diff --git a/framework/src/Volo.Abp.Localization.Abstractions/Microsoft/Extensions/Localization/IAbpStringLocalizerFactory.cs b/framework/src/Volo.Abp.Localization.Abstractions/Microsoft/Extensions/Localization/IAbpStringLocalizerFactory.cs index 8f6699a13d..030617583a 100644 --- a/framework/src/Volo.Abp.Localization.Abstractions/Microsoft/Extensions/Localization/IAbpStringLocalizerFactory.cs +++ b/framework/src/Volo.Abp.Localization.Abstractions/Microsoft/Extensions/Localization/IAbpStringLocalizerFactory.cs @@ -5,12 +5,9 @@ namespace Microsoft.Extensions.Localization; public interface IAbpStringLocalizerFactory { - [CanBeNull] - IStringLocalizer CreateDefaultOrNull(); + IStringLocalizer? CreateDefaultOrNull(); - [CanBeNull] - IStringLocalizer CreateByResourceNameOrNull([NotNull] string resourceName); + IStringLocalizer? CreateByResourceNameOrNull([NotNull] string resourceName); - [ItemCanBeNull] - Task CreateByResourceNameOrNullAsync([NotNull] string resourceName); + Task CreateByResourceNameOrNullAsync([NotNull] string resourceName); } diff --git a/framework/src/Volo.Abp.Localization.Abstractions/Volo.Abp.Localization.Abstractions.csproj b/framework/src/Volo.Abp.Localization.Abstractions/Volo.Abp.Localization.Abstractions.csproj index 952d59b739..1fb66c9b7c 100644 --- a/framework/src/Volo.Abp.Localization.Abstractions/Volo.Abp.Localization.Abstractions.csproj +++ b/framework/src/Volo.Abp.Localization.Abstractions/Volo.Abp.Localization.Abstractions.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.Localization.Abstractions Volo.Abp.Localization.Abstractions $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.Localization.Abstractions/Volo/Abp/Localization/HasNameWithLocalizableDisplayNameExtensions.cs b/framework/src/Volo.Abp.Localization.Abstractions/Volo/Abp/Localization/HasNameWithLocalizableDisplayNameExtensions.cs index a73e4a6509..348d5b696b 100644 --- a/framework/src/Volo.Abp.Localization.Abstractions/Volo/Abp/Localization/HasNameWithLocalizableDisplayNameExtensions.cs +++ b/framework/src/Volo.Abp.Localization.Abstractions/Volo/Abp/Localization/HasNameWithLocalizableDisplayNameExtensions.cs @@ -10,7 +10,7 @@ public static class HasNameWithLocalizableDisplayNameExtensions public static string GetLocalizedDisplayName( [NotNull] this IHasNameWithLocalizableDisplayName source, [NotNull] IStringLocalizerFactory stringLocalizerFactory, - [CanBeNull] string localizationNamePrefix = "DisplayName:") + string? localizationNamePrefix = "DisplayName:") { if (source.DisplayName != null) { diff --git a/framework/src/Volo.Abp.Localization.Abstractions/Volo/Abp/Localization/IHasNameWithLocalizableDisplayName.cs b/framework/src/Volo.Abp.Localization.Abstractions/Volo/Abp/Localization/IHasNameWithLocalizableDisplayName.cs index f582a31379..de29047ddf 100644 --- a/framework/src/Volo.Abp.Localization.Abstractions/Volo/Abp/Localization/IHasNameWithLocalizableDisplayName.cs +++ b/framework/src/Volo.Abp.Localization.Abstractions/Volo/Abp/Localization/IHasNameWithLocalizableDisplayName.cs @@ -7,6 +7,5 @@ public interface IHasNameWithLocalizableDisplayName [NotNull] public string Name { get; } - [CanBeNull] - public ILocalizableString DisplayName { get; } + public ILocalizableString? DisplayName { get; } } diff --git a/framework/src/Volo.Abp.Localization.Abstractions/Volo/Abp/Localization/LocalizableString.cs b/framework/src/Volo.Abp.Localization.Abstractions/Volo/Abp/Localization/LocalizableString.cs index a98f207a55..038d170f2a 100644 --- a/framework/src/Volo.Abp.Localization.Abstractions/Volo/Abp/Localization/LocalizableString.cs +++ b/framework/src/Volo.Abp.Localization.Abstractions/Volo/Abp/Localization/LocalizableString.cs @@ -7,16 +7,14 @@ namespace Volo.Abp.Localization; public class LocalizableString : ILocalizableString, IAsyncLocalizableString { - [CanBeNull] - public string ResourceName { get; } + public string? ResourceName { get; } - [CanBeNull] - public Type ResourceType { get; } + public Type? ResourceType { get; } [NotNull] public string Name { get; } - public LocalizableString([CanBeNull] Type resourceType, [NotNull] string name) + public LocalizableString(Type? resourceType, [NotNull] string name) { Name = Check.NotNullOrEmpty(name, nameof(name)); ResourceType = resourceType; @@ -27,7 +25,7 @@ public class LocalizableString : ILocalizableString, IAsyncLocalizableString } } - public LocalizableString([NotNull] string name, [CanBeNull] string resourceName = null) + public LocalizableString([NotNull] string name, string? resourceName = null) { Name = Check.NotNullOrEmpty(name, nameof(name)); ResourceName = resourceName; @@ -79,7 +77,7 @@ public class LocalizableString : ILocalizableString, IAsyncLocalizableString return result; } - private IStringLocalizer CreateStringLocalizerOrNull(IStringLocalizerFactory stringLocalizerFactory) + private IStringLocalizer? CreateStringLocalizerOrNull(IStringLocalizerFactory stringLocalizerFactory) { if (ResourceType != null) { @@ -98,7 +96,7 @@ public class LocalizableString : ILocalizableString, IAsyncLocalizableString return stringLocalizerFactory.CreateDefaultOrNull(); } - private async Task CreateStringLocalizerOrNullAsync(IStringLocalizerFactory stringLocalizerFactory) + private async Task CreateStringLocalizerOrNullAsync(IStringLocalizerFactory stringLocalizerFactory) { if (ResourceType != null) { @@ -127,7 +125,7 @@ public class LocalizableString : ILocalizableString, IAsyncLocalizableString return new LocalizableString(resourceType, name); } - public static LocalizableString Create([NotNull] string name, [CanBeNull] string resourceName = null) + public static LocalizableString Create([NotNull] string name, string? resourceName = null) { return new LocalizableString(name, resourceName); } diff --git a/framework/src/Volo.Abp.Localization.Abstractions/Volo/Abp/Localization/LocalizationResourceNameAttribute.cs b/framework/src/Volo.Abp.Localization.Abstractions/Volo/Abp/Localization/LocalizationResourceNameAttribute.cs index 303214393b..6657ba5d2e 100644 --- a/framework/src/Volo.Abp.Localization.Abstractions/Volo/Abp/Localization/LocalizationResourceNameAttribute.cs +++ b/framework/src/Volo.Abp.Localization.Abstractions/Volo/Abp/Localization/LocalizationResourceNameAttribute.cs @@ -12,7 +12,7 @@ public class LocalizationResourceNameAttribute : Attribute Name = name; } - public static LocalizationResourceNameAttribute GetOrNull(Type resourceType) + public static LocalizationResourceNameAttribute? GetOrNull(Type resourceType) { return resourceType .GetCustomAttributes(true) @@ -22,6 +22,6 @@ public class LocalizationResourceNameAttribute : Attribute public static string GetName(Type resourceType) { - return GetOrNull(resourceType)?.Name ?? resourceType.FullName; + return (GetOrNull(resourceType)?.Name ?? resourceType.FullName)!; } } diff --git a/framework/src/Volo.Abp.Localization/Volo.Abp.Localization.csproj b/framework/src/Volo.Abp.Localization/Volo.Abp.Localization.csproj index 8b889e2057..f4c5c4ece2 100644 --- a/framework/src/Volo.Abp.Localization/Volo.Abp.Localization.csproj +++ b/framework/src/Volo.Abp.Localization/Volo.Abp.Localization.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.Localization Volo.Abp.Localization $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/AbpDictionaryBasedStringLocalizer.cs b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/AbpDictionaryBasedStringLocalizer.cs index cf5c1ebb82..86133cdf17 100644 --- a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/AbpDictionaryBasedStringLocalizer.cs +++ b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/AbpDictionaryBasedStringLocalizer.cs @@ -118,7 +118,7 @@ public class AbpDictionaryBasedStringLocalizer : IAbpStringLocalizer return value; } - protected virtual LocalizedString GetLocalizedStringOrNull( + protected virtual LocalizedString? GetLocalizedStringOrNull( string name, string cultureName, bool tryDefaults = true) @@ -153,7 +153,7 @@ public class AbpDictionaryBasedStringLocalizer : IAbpStringLocalizer //Try to get from default language if (!Resource.DefaultCultureName.IsNullOrEmpty()) { - var strDefault = Resource.Contributors.GetOrNull(Resource.DefaultCultureName, name); + var strDefault = Resource.Contributors.GetOrNull(Resource.DefaultCultureName!, name); if (strDefault != null) { return strDefault; @@ -208,7 +208,7 @@ public class AbpDictionaryBasedStringLocalizer : IAbpStringLocalizer //Fill all strings from default culture if (!Resource.DefaultCultureName.IsNullOrEmpty()) { - Resource.Contributors.Fill(Resource.DefaultCultureName, allStrings, includeDynamicContributors); + Resource.Contributors.Fill(Resource.DefaultCultureName!, allStrings, includeDynamicContributors); } //Overwrite all strings from the language based on country culture @@ -268,7 +268,7 @@ public class AbpDictionaryBasedStringLocalizer : IAbpStringLocalizer if (!Resource.DefaultCultureName.IsNullOrEmpty()) { await Resource.Contributors.FillAsync( - Resource.DefaultCultureName, + Resource.DefaultCultureName!, allStrings, includeDynamicContributors ); diff --git a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/AbpEnumLocalizer.cs b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/AbpEnumLocalizer.cs index 3fc053da6a..b2acb3d072 100644 --- a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/AbpEnumLocalizer.cs +++ b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/AbpEnumLocalizer.cs @@ -19,14 +19,14 @@ public class AbpEnumLocalizer : IAbpEnumLocalizer, ITransientDependency return GetStringInternal(enumType, enumValue, StringLocalizerFactory.CreateDefaultOrNull()); } - public virtual string GetString(Type enumType, object enumValue, params IStringLocalizer[] specifyLocalizers) + public virtual string GetString(Type enumType, object enumValue, params IStringLocalizer?[] specifyLocalizers) { return GetStringInternal(enumType, enumValue, specifyLocalizers); } - protected virtual string GetStringInternal(Type enumType, object enumValue, params IStringLocalizer[] specifyLocalizers) + protected virtual string GetStringInternal(Type enumType, object enumValue, params IStringLocalizer?[] specifyLocalizers) { - var memberName = enumType.GetEnumName(enumValue); + var memberName = enumType.GetEnumName(enumValue)!; var localizedString = GetStringOrNull( specifyLocalizers, new[] @@ -42,7 +42,7 @@ public class AbpEnumLocalizer : IAbpEnumLocalizer, ITransientDependency return localizedString ?? memberName; } - protected virtual string GetStringOrNull(IStringLocalizer[] localizers, IEnumerable keys) + protected virtual string? GetStringOrNull(IStringLocalizer?[] localizers, IEnumerable keys) { foreach (var key in keys) { diff --git a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/AbpLocalizationOptions.cs b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/AbpLocalizationOptions.cs index 5228f886e9..0fd9d47ac8 100644 --- a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/AbpLocalizationOptions.cs +++ b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/AbpLocalizationOptions.cs @@ -11,7 +11,7 @@ public class AbpLocalizationOptions /// /// Used as the default resource when resource was not specified on a localization operation. /// - public Type DefaultResourceType { get; set; } + public Type? DefaultResourceType { get; set; } public ITypeList GlobalContributors { get; } diff --git a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/AbpStringLocalizerExtensions.cs b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/AbpStringLocalizerExtensions.cs index 9b3bb2c201..91c7126a97 100644 --- a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/AbpStringLocalizerExtensions.cs +++ b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/AbpStringLocalizerExtensions.cs @@ -35,7 +35,7 @@ public static class AbpStringLocalizerExtensions throw new AbpException($"Could not find the _localizer field inside the {typeof(StringLocalizer<>).FullName} class. Probably its name has changed. Please report this issue to the ABP framework."); } - return localizerField.GetValue(stringLocalizer) as IStringLocalizer; + return (localizerField.GetValue(stringLocalizer) as IStringLocalizer)!; } public static IEnumerable GetAllStrings( diff --git a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/AbpStringLocalizerFactory.cs b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/AbpStringLocalizerFactory.cs index b89a54abd9..f40385c128 100644 --- a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/AbpStringLocalizerFactory.cs +++ b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/AbpStringLocalizerFactory.cs @@ -52,12 +52,12 @@ public class AbpStringLocalizerFactory : IStringLocalizerFactory, IAbpStringLoca return CreateInternal(resource.ResourceName, resource, lockCache); } - public IStringLocalizer CreateByResourceNameOrNull(string resourceName) + public IStringLocalizer? CreateByResourceNameOrNull(string resourceName) { return CreateByResourceNameOrNullInternal(resourceName, lockCache: true); } - private IStringLocalizer CreateByResourceNameOrNullInternal( + private IStringLocalizer? CreateByResourceNameOrNullInternal( string resourceName, bool lockCache) { @@ -74,12 +74,12 @@ public class AbpStringLocalizerFactory : IStringLocalizerFactory, IAbpStringLoca return CreateInternal(resourceName, resource, lockCache); } - public Task CreateByResourceNameOrNullAsync(string resourceName) + public Task CreateByResourceNameOrNullAsync(string resourceName) { return CreateByResourceNameOrNullInternalAsync(resourceName, lockCache: true); } - private async Task CreateByResourceNameOrNullInternalAsync( + private async Task CreateByResourceNameOrNullInternalAsync( string resourceName, bool lockCache) { @@ -175,7 +175,7 @@ public class AbpStringLocalizerFactory : IStringLocalizerFactory, IAbpStringLoca { resource.Contributors.Add( Activator - .CreateInstance(globalContributorType) + .CreateInstance(globalContributorType)! .As() ); } @@ -194,7 +194,7 @@ public class AbpStringLocalizerFactory : IStringLocalizerFactory, IAbpStringLoca .BaseResourceNames .Select(x => CreateByResourceNameOrNullInternal(x, lockCache: false)) .Where(x => x != null) - .ToList(), + .ToList()!, AbpLocalizationOptions ) ); @@ -206,7 +206,7 @@ public class AbpStringLocalizerFactory : IStringLocalizerFactory, IAbpStringLoca { resource.Contributors.Add( Activator - .CreateInstance(globalContributorType) + .CreateInstance(globalContributorType)! .As() ); } @@ -259,7 +259,7 @@ public class AbpStringLocalizerFactory : IStringLocalizerFactory, IAbpStringLoca } } - public IStringLocalizer CreateDefaultOrNull() + public IStringLocalizer? CreateDefaultOrNull() { if (AbpLocalizationOptions.DefaultResourceType == null) { diff --git a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/External/IExternalLocalizationStore.cs b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/External/IExternalLocalizationStore.cs index cd48bb1bd9..c2aa55cd2f 100644 --- a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/External/IExternalLocalizationStore.cs +++ b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/External/IExternalLocalizationStore.cs @@ -5,11 +5,9 @@ namespace Volo.Abp.Localization.External; public interface IExternalLocalizationStore { - [CanBeNull] - LocalizationResourceBase GetResourceOrNull([NotNull] string resourceName); + LocalizationResourceBase? GetResourceOrNull([NotNull] string resourceName); - [ItemCanBeNull] - Task GetResourceOrNullAsync([NotNull] string resourceName); + Task GetResourceOrNullAsync([NotNull] string resourceName); Task GetResourceNamesAsync(); diff --git a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/External/NullExternalLocalizationStore.cs b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/External/NullExternalLocalizationStore.cs index 508f947981..891beba134 100644 --- a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/External/NullExternalLocalizationStore.cs +++ b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/External/NullExternalLocalizationStore.cs @@ -6,14 +6,14 @@ namespace Volo.Abp.Localization.External; public class NullExternalLocalizationStore : IExternalLocalizationStore, ISingletonDependency { - public LocalizationResourceBase GetResourceOrNull(string resourceName) + public LocalizationResourceBase? GetResourceOrNull(string resourceName) { return null; } - public Task GetResourceOrNullAsync(string resourceName) + public Task GetResourceOrNullAsync(string resourceName) { - return Task.FromResult(null); + return Task.FromResult(null); } public Task GetResourceNamesAsync() diff --git a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/ILanguageInfo.cs b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/ILanguageInfo.cs index d4e06e9af5..e8ae6935de 100644 --- a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/ILanguageInfo.cs +++ b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/ILanguageInfo.cs @@ -8,5 +8,5 @@ public interface ILanguageInfo string DisplayName { get; } - string FlagIcon { get; } + string? FlagIcon { get; } } diff --git a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/ILocalizableStringSerializer.cs b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/ILocalizableStringSerializer.cs index 6f7a487b6c..7d068b9494 100644 --- a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/ILocalizableStringSerializer.cs +++ b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/ILocalizableStringSerializer.cs @@ -2,7 +2,7 @@ public interface ILocalizableStringSerializer { - string Serialize(ILocalizableString localizableString); + string? Serialize(ILocalizableString localizableString); ILocalizableString Deserialize(string value); } \ No newline at end of file diff --git a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/ILocalizationDictionary.cs b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/ILocalizationDictionary.cs index d5fcab206b..e6879c0007 100644 --- a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/ILocalizationDictionary.cs +++ b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/ILocalizationDictionary.cs @@ -10,7 +10,7 @@ public interface ILocalizationDictionary { string CultureName { get; } - LocalizedString GetOrNull(string name); + LocalizedString? GetOrNull(string name); void Fill(Dictionary dictionary); } diff --git a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/ILocalizationResourceContributor.cs b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/ILocalizationResourceContributor.cs index 2a79d20821..2d3ade519f 100644 --- a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/ILocalizationResourceContributor.cs +++ b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/ILocalizationResourceContributor.cs @@ -10,7 +10,7 @@ public interface ILocalizationResourceContributor void Initialize(LocalizationResourceInitializationContext context); - LocalizedString GetOrNull(string cultureName, string name); + LocalizedString? GetOrNull(string cultureName, string name); void Fill(string cultureName, Dictionary dictionary); diff --git a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/Json/JsonLocalizationDictionaryBuilder.cs b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/Json/JsonLocalizationDictionaryBuilder.cs index 04ec79aaf6..e4b66148a5 100644 --- a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/Json/JsonLocalizationDictionaryBuilder.cs +++ b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/Json/JsonLocalizationDictionaryBuilder.cs @@ -2,7 +2,6 @@ using System; using System.Collections.Generic; using System.IO; using System.Text.Json; -using JetBrains.Annotations; using Microsoft.Extensions.Localization; namespace Volo.Abp.Localization.Json; @@ -13,8 +12,7 @@ public static class JsonLocalizationDictionaryBuilder /// Builds an from given file. /// /// Path of the file - [CanBeNull] - public static ILocalizationDictionary BuildFromFile(string filePath) + public static ILocalizationDictionary? BuildFromFile(string filePath) { try { @@ -38,10 +36,9 @@ public static class JsonLocalizationDictionaryBuilder /// Builds an from given json string. /// /// Json string - [CanBeNull] - public static ILocalizationDictionary BuildFromJsonString(string jsonString) + public static ILocalizationDictionary? BuildFromJsonString(string jsonString) { - JsonLocalizationFile jsonFile; + JsonLocalizationFile? jsonFile; try { jsonFile = JsonSerializer.Deserialize(jsonString, DeserializeOptions); @@ -50,6 +47,11 @@ public static class JsonLocalizationDictionaryBuilder { throw new AbpException("Can not parse json string. " + ex.Message); } + + if (jsonFile == null) + { + return null; + } var cultureCode = jsonFile.Culture; if (string.IsNullOrEmpty(cultureCode)) diff --git a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/Json/JsonLocalizationFile.cs b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/Json/JsonLocalizationFile.cs index 08daf70682..8470e2696f 100644 --- a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/Json/JsonLocalizationFile.cs +++ b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/Json/JsonLocalizationFile.cs @@ -7,7 +7,7 @@ public class JsonLocalizationFile /// /// Culture name; eg : en , en-us, zh-CN /// - public string Culture { get; set; } + public string Culture { get; set; } = default!; public Dictionary Texts { get; set; } diff --git a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LanguageInfo.cs b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LanguageInfo.cs index 9183b89c4e..a2274b5a69 100644 --- a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LanguageInfo.cs +++ b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LanguageInfo.cs @@ -8,19 +8,18 @@ namespace Volo.Abp.Localization; public class LanguageInfo : ILanguageInfo { [NotNull] - public virtual string CultureName { get; protected set; } + public virtual string CultureName { get; protected set; } = default!; [NotNull] - public virtual string UiCultureName { get; protected set; } + public virtual string UiCultureName { get; protected set; } = default!; [NotNull] - public virtual string DisplayName { get; protected set; } + public virtual string DisplayName { get; protected set; } = default!; [NotNull] - public virtual string TwoLetterISOLanguageName { get; protected set; } + public virtual string TwoLetterISOLanguageName { get; protected set; } = default!; - [CanBeNull] - public virtual string FlagIcon { get; set; } + public virtual string? FlagIcon { get; set; } protected LanguageInfo() @@ -30,30 +29,30 @@ public class LanguageInfo : ILanguageInfo public LanguageInfo( string cultureName, - string uiCultureName = null, - string displayName = null, - string flagIcon = null) + string? uiCultureName = null, + string? displayName = null, + string? flagIcon = null) { ChangeCultureInternal(cultureName, uiCultureName, displayName); FlagIcon = flagIcon; } - public virtual void ChangeCulture(string cultureName, string uiCultureName = null, string displayName = null) + public virtual void ChangeCulture(string cultureName, string? uiCultureName = null, string? displayName = null) { ChangeCultureInternal(cultureName, uiCultureName, displayName); } - private void ChangeCultureInternal(string cultureName, string uiCultureName, string displayName) + private void ChangeCultureInternal(string cultureName, string? uiCultureName, string? displayName) { CultureName = Check.NotNullOrWhiteSpace(cultureName, nameof(cultureName)); - UiCultureName = !uiCultureName.IsNullOrWhiteSpace() + UiCultureName = (!uiCultureName.IsNullOrWhiteSpace() ? uiCultureName - : cultureName; + : cultureName)!; - DisplayName = !displayName.IsNullOrWhiteSpace() + DisplayName = (!displayName.IsNullOrWhiteSpace() ? displayName - : cultureName; + : cultureName)!; TwoLetterISOLanguageName = new CultureInfo(cultureName) .TwoLetterISOLanguageName; diff --git a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LanguageInfoExtensions.cs b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LanguageInfoExtensions.cs index 8909708b67..7b60cce40d 100644 --- a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LanguageInfoExtensions.cs +++ b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LanguageInfoExtensions.cs @@ -6,10 +6,10 @@ namespace Volo.Abp.Localization; public static class LanguageInfoExtensions { - public static T FindByCulture( + public static T? FindByCulture( [NotNull] this IEnumerable languages, [NotNull] string cultureName, - [CanBeNull] string uiCultureName = null) + string? uiCultureName = null) where T : class, ILanguageInfo { if (uiCultureName == null) diff --git a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LocalizableStringSerializer.cs b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LocalizableStringSerializer.cs index 5006d62ea8..02b9cc8fac 100644 --- a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LocalizableStringSerializer.cs +++ b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LocalizableStringSerializer.cs @@ -13,7 +13,7 @@ public class LocalizableStringSerializer : ILocalizableStringSerializer, ITransi LocalizationOptions = localizationOptions.Value; } - public virtual string Serialize(ILocalizableString localizableString) + public virtual string? Serialize(ILocalizableString? localizableString) { if (localizableString == null) { diff --git a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LocalizationResource.cs b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LocalizationResource.cs index 7a55f1f8a3..b6e0da82e4 100644 --- a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LocalizationResource.cs +++ b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LocalizationResource.cs @@ -12,8 +12,8 @@ public class LocalizationResource : LocalizationResourceBase public LocalizationResource( [NotNull] Type resourceType, - [CanBeNull] string defaultCultureName = null, - [CanBeNull] ILocalizationResourceContributor initialContributor = null) + string? defaultCultureName = null, + ILocalizationResourceContributor? initialContributor = null) : base( LocalizationResourceNameAttribute.GetName(resourceType), defaultCultureName, diff --git a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LocalizationResourceBase.cs b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LocalizationResourceBase.cs index a7ec4fb93b..6cbbd98188 100644 --- a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LocalizationResourceBase.cs +++ b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LocalizationResourceBase.cs @@ -10,16 +10,15 @@ public abstract class LocalizationResourceBase public List BaseResourceNames { get; } - [CanBeNull] - public string DefaultCultureName { get; set; } + public string? DefaultCultureName { get; set; } [NotNull] public LocalizationResourceContributorList Contributors { get; } public LocalizationResourceBase( [NotNull] string resourceName, - [CanBeNull] string defaultCultureName = null, - [CanBeNull] ILocalizationResourceContributor initialContributor = null) + string? defaultCultureName = null, + ILocalizationResourceContributor? initialContributor = null) { ResourceName = Check.NotNullOrWhiteSpace(resourceName, nameof(resourceName)); DefaultCultureName = defaultCultureName; diff --git a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LocalizationResourceContributorList.cs b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LocalizationResourceContributorList.cs index 6df15920da..9f11aa4051 100644 --- a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LocalizationResourceContributorList.cs +++ b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LocalizationResourceContributorList.cs @@ -7,7 +7,7 @@ namespace Volo.Abp.Localization; public class LocalizationResourceContributorList : List { - public LocalizedString GetOrNull( + public LocalizedString? GetOrNull( string cultureName, string name, bool includeDynamicContributors = true) diff --git a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LocalizationResourceDictionary.cs b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LocalizationResourceDictionary.cs index 4a88eac199..f6487a85b7 100644 --- a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LocalizationResourceDictionary.cs +++ b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/LocalizationResourceDictionary.cs @@ -8,12 +8,12 @@ public class LocalizationResourceDictionary : Dictionary _resourcesByTypes = new(); - public LocalizationResource Add([CanBeNull] string defaultCultureName = null) + public LocalizationResource Add(string? defaultCultureName = null) { return Add(typeof(TResouce), defaultCultureName); } - public LocalizationResource Add(Type resourceType, [CanBeNull] string defaultCultureName = null) + public LocalizationResource Add(Type resourceType, string? defaultCultureName = null) { var resourceName = LocalizationResourceNameAttribute.GetName(resourceType); if (ContainsKey(resourceName)) @@ -29,7 +29,7 @@ public class LocalizationResourceDictionary : Dictionary - public virtual LocalizedString GetOrNull(string name) + public virtual LocalizedString? GetOrNull(string name) { return Dictionary.GetOrDefault(name); } diff --git a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/VirtualFiles/Json/JsonVirtualFileLocalizationResourceContributor.cs b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/VirtualFiles/Json/JsonVirtualFileLocalizationResourceContributor.cs index fcafed49f3..71ca2744a0 100644 --- a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/VirtualFiles/Json/JsonVirtualFileLocalizationResourceContributor.cs +++ b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/VirtualFiles/Json/JsonVirtualFileLocalizationResourceContributor.cs @@ -19,7 +19,7 @@ public class JsonVirtualFileLocalizationResourceContributor : VirtualFileLocaliz return file.Name.EndsWith(".json", StringComparison.OrdinalIgnoreCase); } - protected override ILocalizationDictionary CreateDictionaryFromFileContent(string jsonString) + protected override ILocalizationDictionary? CreateDictionaryFromFileContent(string jsonString) { return JsonLocalizationDictionaryBuilder.BuildFromJsonString(jsonString); } diff --git a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/VirtualFiles/VirtualFileLocalizationResourceContributorBase.cs b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/VirtualFiles/VirtualFileLocalizationResourceContributorBase.cs index 40bb9de7c5..d87169ea31 100644 --- a/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/VirtualFiles/VirtualFileLocalizationResourceContributorBase.cs +++ b/framework/src/Volo.Abp.Localization/Volo/Abp/Localization/VirtualFiles/VirtualFileLocalizationResourceContributorBase.cs @@ -16,11 +16,11 @@ public abstract class VirtualFileLocalizationResourceContributorBase : ILocaliza public bool IsDynamic => false; private readonly string _virtualPath; - private IVirtualFileProvider _virtualFileProvider; - private Dictionary _dictionaries; + private IVirtualFileProvider _virtualFileProvider = default!; + private Dictionary? _dictionaries; private bool _subscribedForChanges; private readonly object _syncObj = new object(); - private LocalizationResourceBase _resource; + private LocalizationResourceBase _resource = default!; protected VirtualFileLocalizationResourceContributorBase(string virtualPath) { @@ -33,7 +33,7 @@ public abstract class VirtualFileLocalizationResourceContributorBase : ILocaliza _virtualFileProvider = context.ServiceProvider.GetRequiredService(); } - public virtual LocalizedString GetOrNull(string cultureName, string name) + public virtual LocalizedString? GetOrNull(string cultureName, string name) { return GetDictionaries().GetOrDefault(cultureName)?.GetOrNull(name); } @@ -118,8 +118,7 @@ public abstract class VirtualFileLocalizationResourceContributorBase : ILocaliza protected abstract bool CanParseFile(IFileInfo file); - [CanBeNull] - protected virtual ILocalizationDictionary CreateDictionaryFromFile(IFileInfo file) + protected virtual ILocalizationDictionary? CreateDictionaryFromFile(IFileInfo file) { using (var stream = file.CreateReadStream()) { @@ -127,6 +126,5 @@ public abstract class VirtualFileLocalizationResourceContributorBase : ILocaliza } } - [CanBeNull] - protected abstract ILocalizationDictionary CreateDictionaryFromFileContent(string fileContent); + protected abstract ILocalizationDictionary? CreateDictionaryFromFileContent(string fileContent); } diff --git a/framework/src/Volo.Abp.Minify/Volo.Abp.Minify.csproj b/framework/src/Volo.Abp.Minify/Volo.Abp.Minify.csproj index f552541094..9ec0a51e40 100644 --- a/framework/src/Volo.Abp.Minify/Volo.Abp.Minify.csproj +++ b/framework/src/Volo.Abp.Minify/Volo.Abp.Minify.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.Minify Volo.Abp.Minify $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.Minify/Volo/Abp/Minify/IMinifier.cs b/framework/src/Volo.Abp.Minify/Volo/Abp/Minify/IMinifier.cs index 4f816a2f48..4c4f1881da 100644 --- a/framework/src/Volo.Abp.Minify/Volo/Abp/Minify/IMinifier.cs +++ b/framework/src/Volo.Abp.Minify/Volo/Abp/Minify/IMinifier.cs @@ -6,6 +6,6 @@ public interface IMinifier { string Minify( string source, - [CanBeNull] string fileName = null, - [CanBeNull] string originalFileName = null); + string? fileName = null, + string? originalFileName = null); } diff --git a/framework/src/Volo.Abp.Minify/Volo/Abp/Minify/NUglify/NUglifyCssMinifier.cs b/framework/src/Volo.Abp.Minify/Volo/Abp/Minify/NUglify/NUglifyCssMinifier.cs index 281f5c6aa3..d2f78d95d6 100644 --- a/framework/src/Volo.Abp.Minify/Volo/Abp/Minify/NUglify/NUglifyCssMinifier.cs +++ b/framework/src/Volo.Abp.Minify/Volo/Abp/Minify/NUglify/NUglifyCssMinifier.cs @@ -5,7 +5,7 @@ namespace Volo.Abp.Minify.NUglify; public class NUglifyCssMinifier : NUglifyMinifierBase, ICssMinifier { - protected override UglifyResult UglifySource(string source, string fileName) + protected override UglifyResult UglifySource(string source, string? fileName) { return Uglify.Css(source, fileName); } diff --git a/framework/src/Volo.Abp.Minify/Volo/Abp/Minify/NUglify/NUglifyException.cs b/framework/src/Volo.Abp.Minify/Volo/Abp/Minify/NUglify/NUglifyException.cs index 6b4d68b07e..bf623771d3 100644 --- a/framework/src/Volo.Abp.Minify/Volo/Abp/Minify/NUglify/NUglifyException.cs +++ b/framework/src/Volo.Abp.Minify/Volo/Abp/Minify/NUglify/NUglifyException.cs @@ -7,7 +7,7 @@ namespace Volo.Abp.Minify.NUglify; public class NUglifyException : AbpException { - public List Errors { get; set; } + public List? Errors { get; set; } public NUglifyException(string message, List errors) : base(message) diff --git a/framework/src/Volo.Abp.Minify/Volo/Abp/Minify/NUglify/NUglifyHtmlMinifier.cs b/framework/src/Volo.Abp.Minify/Volo/Abp/Minify/NUglify/NUglifyHtmlMinifier.cs index dc8bbe22ea..6698b3cdd0 100644 --- a/framework/src/Volo.Abp.Minify/Volo/Abp/Minify/NUglify/NUglifyHtmlMinifier.cs +++ b/framework/src/Volo.Abp.Minify/Volo/Abp/Minify/NUglify/NUglifyHtmlMinifier.cs @@ -5,7 +5,7 @@ namespace Volo.Abp.Minify.NUglify; public class NUglifyHtmlMinifier : NUglifyMinifierBase, IHtmlMinifier { - protected override UglifyResult UglifySource(string source, string fileName) + protected override UglifyResult UglifySource(string source, string? fileName) { return Uglify.Html(source, sourceFileName: fileName); } diff --git a/framework/src/Volo.Abp.Minify/Volo/Abp/Minify/NUglify/NUglifyJavascriptMinifier.cs b/framework/src/Volo.Abp.Minify/Volo/Abp/Minify/NUglify/NUglifyJavascriptMinifier.cs index 5b8fa54ce3..6c13d00129 100644 --- a/framework/src/Volo.Abp.Minify/Volo/Abp/Minify/NUglify/NUglifyJavascriptMinifier.cs +++ b/framework/src/Volo.Abp.Minify/Volo/Abp/Minify/NUglify/NUglifyJavascriptMinifier.cs @@ -5,7 +5,7 @@ namespace Volo.Abp.Minify.NUglify; public class NUglifyJavascriptMinifier : NUglifyMinifierBase, IJavascriptMinifier { - protected override UglifyResult UglifySource(string source, string fileName) + protected override UglifyResult UglifySource(string source, string? fileName) { return Uglify.Js(source, fileName); } diff --git a/framework/src/Volo.Abp.Minify/Volo/Abp/Minify/NUglify/NUglifyMinifierBase.cs b/framework/src/Volo.Abp.Minify/Volo/Abp/Minify/NUglify/NUglifyMinifierBase.cs index d5018a1b28..28e0267e17 100644 --- a/framework/src/Volo.Abp.Minify/Volo/Abp/Minify/NUglify/NUglifyMinifierBase.cs +++ b/framework/src/Volo.Abp.Minify/Volo/Abp/Minify/NUglify/NUglifyMinifierBase.cs @@ -8,7 +8,7 @@ namespace Volo.Abp.Minify.NUglify; public abstract class NUglifyMinifierBase : IMinifier, ITransientDependency { - private static void CheckErrors(UglifyResult result, string originalFileName) + private static void CheckErrors(UglifyResult result, string? originalFileName) { if (result.HasErrors) { @@ -28,8 +28,8 @@ public abstract class NUglifyMinifierBase : IMinifier, ITransientDependency public string Minify( string source, - string fileName = null, - string originalFileName = null) + string? fileName = null, + string? originalFileName = null) { try { @@ -50,5 +50,5 @@ public abstract class NUglifyMinifierBase : IMinifier, ITransientDependency } } - protected abstract UglifyResult UglifySource(string source, string fileName); + protected abstract UglifyResult UglifySource(string source, string? fileName); } diff --git a/framework/src/Volo.Abp.MultiLingualObjects/Volo.Abp.MultiLingualObjects.csproj b/framework/src/Volo.Abp.MultiLingualObjects/Volo.Abp.MultiLingualObjects.csproj index 54c8469153..5b45ea638f 100644 --- a/framework/src/Volo.Abp.MultiLingualObjects/Volo.Abp.MultiLingualObjects.csproj +++ b/framework/src/Volo.Abp.MultiLingualObjects/Volo.Abp.MultiLingualObjects.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.MultiLingualObject $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; false diff --git a/framework/src/Volo.Abp.MultiLingualObjects/Volo/Abp/MultiLingualObjects/MultiLingualObjectManager.cs b/framework/src/Volo.Abp.MultiLingualObjects/Volo/Abp/MultiLingualObjects/MultiLingualObjectManager.cs index 908431e997..c41605ad0e 100644 --- a/framework/src/Volo.Abp.MultiLingualObjects/Volo/Abp/MultiLingualObjects/MultiLingualObjectManager.cs +++ b/framework/src/Volo.Abp.MultiLingualObjects/Volo/Abp/MultiLingualObjects/MultiLingualObjectManager.cs @@ -1,97 +1,97 @@ -using System; -using System.Collections.Generic; -using System.Globalization; -using System.Linq; -using System.Threading.Tasks; -using Volo.Abp.DependencyInjection; -using Volo.Abp.Localization; -using Volo.Abp.Settings; - -namespace Volo.Abp.MultiLingualObjects; - -public class MultiLingualObjectManager : IMultiLingualObjectManager, ITransientDependency -{ - protected ISettingProvider SettingProvider { get; } - - protected const int MaxCultureFallbackDepth = 5; - - public MultiLingualObjectManager(ISettingProvider settingProvider) - { - SettingProvider = settingProvider; - } - public virtual async Task GetTranslationAsync( - IEnumerable translations, - string? culture, - bool fallbackToParentCultures) - where TTranslation : class, IObjectTranslation - - { - culture ??= CultureInfo.CurrentUICulture.Name; - - if (translations == null || !translations.Any()) - { - return null; - } - - var translation = translations.FirstOrDefault(pt => pt.Language == culture); - if (translation != null) - { - return translation; - } - - if (fallbackToParentCultures) - { - translation = GetTranslationBasedOnCulturalRecursive( - CultureInfo.CurrentUICulture.Parent, - translations, - 0 - ); - - if (translation != null) - { - return translation; - } - } - - var defaultLanguage = await SettingProvider.GetOrNullAsync(LocalizationSettingNames.DefaultLanguage); - - translation = translations.FirstOrDefault(pt => pt.Language == defaultLanguage); - if (translation != null) - { - return translation; - } - - translation = translations.FirstOrDefault(); - return translation; - } - - public virtual Task GetTranslationAsync( - TMultiLingual multiLingual, - string? culture = null, - bool fallbackToParentCultures = true) - where TMultiLingual : IMultiLingualObject - where TTranslation : class, IObjectTranslation - { - return GetTranslationAsync(multiLingual.Translations, culture: culture, fallbackToParentCultures: fallbackToParentCultures); - } - - protected virtual TTranslation? GetTranslationBasedOnCulturalRecursive( - CultureInfo culture, IEnumerable translations, int currentDepth) - where TTranslation : class, IObjectTranslation - { - if (culture == null || - culture.Name.IsNullOrWhiteSpace() || - translations == null || !translations.Any() || - currentDepth > MaxCultureFallbackDepth) - { - return null; - } - - var translation = translations.FirstOrDefault(pt => pt.Language.Equals(culture.Name, StringComparison.OrdinalIgnoreCase)); - return translation ?? GetTranslationBasedOnCulturalRecursive(culture.Parent, translations, currentDepth + 1); +using System; +using System.Collections.Generic; +using System.Globalization; +using System.Linq; +using System.Threading.Tasks; +using Volo.Abp.DependencyInjection; +using Volo.Abp.Localization; +using Volo.Abp.Settings; + +namespace Volo.Abp.MultiLingualObjects; + +public class MultiLingualObjectManager : IMultiLingualObjectManager, ITransientDependency +{ + protected ISettingProvider SettingProvider { get; } + + protected const int MaxCultureFallbackDepth = 5; + + public MultiLingualObjectManager(ISettingProvider settingProvider) + { + SettingProvider = settingProvider; + } + public virtual async Task GetTranslationAsync( + IEnumerable? translations, + string? culture, + bool fallbackToParentCultures) + where TTranslation : class, IObjectTranslation + + { + culture ??= CultureInfo.CurrentUICulture.Name; + + if (translations == null || !translations.Any()) + { + return null; + } + + var translation = translations.FirstOrDefault(pt => pt.Language == culture); + if (translation != null) + { + return translation; + } + + if (fallbackToParentCultures) + { + translation = GetTranslationBasedOnCulturalRecursive( + CultureInfo.CurrentUICulture.Parent, + translations, + 0 + ); + + if (translation != null) + { + return translation; + } + } + + var defaultLanguage = await SettingProvider.GetOrNullAsync(LocalizationSettingNames.DefaultLanguage); + + translation = translations.FirstOrDefault(pt => pt.Language == defaultLanguage); + if (translation != null) + { + return translation; + } + + translation = translations.FirstOrDefault(); + return translation; + } + + public virtual Task GetTranslationAsync( + TMultiLingual multiLingual, + string? culture = null, + bool fallbackToParentCultures = true) + where TMultiLingual : IMultiLingualObject + where TTranslation : class, IObjectTranslation + { + return GetTranslationAsync(multiLingual.Translations, culture: culture, fallbackToParentCultures: fallbackToParentCultures); + } + + protected virtual TTranslation? GetTranslationBasedOnCulturalRecursive( + CultureInfo? culture, IEnumerable? translations, int currentDepth) + where TTranslation : class, IObjectTranslation + { + if (culture == null || + culture.Name.IsNullOrWhiteSpace() || + translations == null || !translations.Any() || + currentDepth > MaxCultureFallbackDepth) + { + return null; + } + + var translation = translations.FirstOrDefault(pt => pt.Language.Equals(culture.Name, StringComparison.OrdinalIgnoreCase)); + return translation ?? GetTranslationBasedOnCulturalRecursive(culture.Parent, translations, currentDepth + 1); } - public virtual async Task> GetBulkTranslationsAsync(IEnumerable> translationsCombined, string? culture, bool fallbackToParentCultures) + public virtual async Task> GetBulkTranslationsAsync(IEnumerable>? translationsCombined, string? culture, bool fallbackToParentCultures) where TTranslation : class, IObjectTranslation { culture ??= CultureInfo.CurrentUICulture.Name; @@ -180,7 +180,7 @@ public class MultiLingualObjectManager : IMultiLingualObjectManager, ITransientD } public virtual async Task> GetBulkTranslationsAsync(IEnumerable multiLinguals, string? culture, bool fallbackToParentCultures) - where TMultiLingual : IMultiLingualObject + where TMultiLingual : IMultiLingualObject where TTranslation : class, IObjectTranslation { var resInitial = await GetBulkTranslationsAsync(multiLinguals.Select(x => x.Translations), culture, fallbackToParentCultures); @@ -193,4 +193,4 @@ public class MultiLingualObjectManager : IMultiLingualObjectManager, ITransientD } return res; } -} +} diff --git a/framework/src/Volo.Abp.ObjectExtending/Volo.Abp.ObjectExtending.csproj b/framework/src/Volo.Abp.ObjectExtending/Volo.Abp.ObjectExtending.csproj index de9711ff6a..e427f154c7 100644 --- a/framework/src/Volo.Abp.ObjectExtending/Volo.Abp.ObjectExtending.csproj +++ b/framework/src/Volo.Abp.ObjectExtending/Volo.Abp.ObjectExtending.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.ObjectExtending Volo.Abp.ObjectExtending $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/Data/ExtraPropertyDictionaryExtensions.cs b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/Data/ExtraPropertyDictionaryExtensions.cs index d5de504afc..6c4cd02d1b 100644 --- a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/Data/ExtraPropertyDictionaryExtensions.cs +++ b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/Data/ExtraPropertyDictionaryExtensions.cs @@ -13,7 +13,7 @@ public static class ExtraPropertyDictionaryExtensions return (T)extraPropertyDictionary[key]; } - extraPropertyDictionary[key] = Enum.Parse(typeof(T), extraPropertyDictionary[key].ToString(), ignoreCase: true); + extraPropertyDictionary[key] = Enum.Parse(typeof(T), extraPropertyDictionary[key].ToString()!, ignoreCase: true); return (T)extraPropertyDictionary[key]; } @@ -24,7 +24,7 @@ public static class ExtraPropertyDictionaryExtensions return extraPropertyDictionary[key]; } - extraPropertyDictionary[key] = Enum.Parse(enumType, extraPropertyDictionary[key].ToString(), ignoreCase: true); + extraPropertyDictionary[key] = Enum.Parse(enumType, extraPropertyDictionary[key].ToString()!, ignoreCase: true); return extraPropertyDictionary[key]; } diff --git a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/Data/HasExtraPropertiesExtensions.cs b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/Data/HasExtraPropertiesExtensions.cs index 2e32a1b7dc..7423052772 100644 --- a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/Data/HasExtraPropertiesExtensions.cs +++ b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/Data/HasExtraPropertiesExtensions.cs @@ -18,13 +18,13 @@ public static class HasExtraPropertiesExtensions return source.ExtraProperties.ContainsKey(name); } - public static object GetProperty(this IHasExtraProperties source, string name, object defaultValue = null) + public static object? GetProperty(this IHasExtraProperties source, string name, object? defaultValue = null) { return source.ExtraProperties?.GetOrDefault(name) ?? defaultValue; } - public static TProperty GetProperty(this IHasExtraProperties source, string name, TProperty defaultValue = default) + public static TProperty? GetProperty(this IHasExtraProperties source, string name, TProperty? defaultValue = default) { var value = source.GetProperty(name); if (value == null) @@ -42,7 +42,7 @@ public static class HasExtraPropertiesExtensions if (conversionType == typeof(Guid)) { - return (TProperty)TypeDescriptor.GetConverter(conversionType).ConvertFromInvariantString(value.ToString()); + return (TProperty)TypeDescriptor.GetConverter(conversionType).ConvertFromInvariantString(value.ToString()!)!; } if (conversionType.IsEnum) @@ -80,7 +80,7 @@ public static class HasExtraPropertiesExtensions return source; } - public static TSource SetDefaultsForExtraProperties(this TSource source, Type objectType = null) + public static TSource SetDefaultsForExtraProperties(this TSource source, Type? objectType = null) where TSource : IHasExtraProperties { if (objectType == null) @@ -98,7 +98,7 @@ public static class HasExtraPropertiesExtensions continue; } - source.ExtraProperties[property.Name] = property.GetDefaultValue(); + source.ExtraProperties[property.Name] = property.GetDefaultValue()!; } return source; diff --git a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ExtensibleObjectMapper.cs b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ExtensibleObjectMapper.cs index 2de527866b..fbf277c55b 100644 --- a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ExtensibleObjectMapper.cs +++ b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ExtensibleObjectMapper.cs @@ -27,7 +27,7 @@ public static class ExtensibleObjectMapper [NotNull] TSource source, [NotNull] TDestination destination, MappingPropertyDefinitionChecks? definitionChecks = null, - string[] ignoredProperties = null) + string[]? ignoredProperties = null) where TSource : IHasExtraProperties where TDestination : IHasExtraProperties { @@ -78,7 +78,7 @@ public static class ExtensibleObjectMapper [NotNull] Dictionary sourceDictionary, [NotNull] Dictionary destinationDictionary, MappingPropertyDefinitionChecks? definitionChecks = null, - string[] ignoredProperties = null) + string[]? ignoredProperties = null) where TSource : IHasExtraProperties where TDestination : IHasExtraProperties { @@ -113,7 +113,7 @@ public static class ExtensibleObjectMapper [NotNull] Dictionary sourceDictionary, [NotNull] Dictionary destinationDictionary, MappingPropertyDefinitionChecks? definitionChecks = null, - string[] ignoredProperties = null) + string[]? ignoredProperties = null) { Check.AssignableTo(sourceType, nameof(sourceType)); Check.AssignableTo(destinationType, nameof(destinationType)); @@ -140,7 +140,7 @@ public static class ExtensibleObjectMapper public static bool CanMapProperty( [NotNull] string propertyName, MappingPropertyDefinitionChecks? definitionChecks = null, - string[] ignoredProperties = null) + string[]? ignoredProperties = null) { return CanMapProperty( typeof(TSource), @@ -156,7 +156,7 @@ public static class ExtensibleObjectMapper [NotNull] Type destinationType, [NotNull] string propertyName, MappingPropertyDefinitionChecks? definitionChecks = null, - string[] ignoredProperties = null) + string[]? ignoredProperties = null) { Check.AssignableTo(sourceType, nameof(sourceType)); Check.AssignableTo(destinationType, nameof(destinationType)); @@ -175,10 +175,10 @@ public static class ExtensibleObjectMapper private static bool CanMapProperty( [NotNull] string propertyName, - [CanBeNull] ObjectExtensionInfo sourceObjectExtension, - [CanBeNull] ObjectExtensionInfo destinationObjectExtension, + ObjectExtensionInfo? sourceObjectExtension, + ObjectExtensionInfo? destinationObjectExtension, MappingPropertyDefinitionChecks? definitionChecks = null, - string[] ignoredProperties = null) + string[]? ignoredProperties = null) { Check.NotNull(propertyName, nameof(propertyName)); diff --git a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ExtensibleObjectValidator.cs b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ExtensibleObjectValidator.cs index 8252051fad..09228fe927 100644 --- a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ExtensibleObjectValidator.cs +++ b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ExtensibleObjectValidator.cs @@ -13,7 +13,7 @@ public static class ExtensibleObjectValidator public static void CheckValue( [NotNull] IHasExtraProperties extensibleObject, [NotNull] string propertyName, - [CanBeNull] object value) + object? value) { var validationErrors = GetValidationErrors( extensibleObject, @@ -29,7 +29,7 @@ public static class ExtensibleObjectValidator public static bool IsValid( [NotNull] IHasExtraProperties extensibleObject, - [CanBeNull] ValidationContext objectValidationContext = null) + ValidationContext? objectValidationContext = null) { return GetValidationErrors( extensibleObject, @@ -40,8 +40,8 @@ public static class ExtensibleObjectValidator public static bool IsValid( [NotNull] IHasExtraProperties extensibleObject, [NotNull] string propertyName, - [CanBeNull] object value, - [CanBeNull] ValidationContext objectValidationContext = null) + object? value, + ValidationContext? objectValidationContext = null) { return GetValidationErrors( extensibleObject, @@ -54,7 +54,7 @@ public static class ExtensibleObjectValidator [NotNull] public static List GetValidationErrors( [NotNull] IHasExtraProperties extensibleObject, - [CanBeNull] ValidationContext objectValidationContext = null) + ValidationContext? objectValidationContext = null) { var validationErrors = new List(); @@ -71,8 +71,8 @@ public static class ExtensibleObjectValidator public static List GetValidationErrors( [NotNull] IHasExtraProperties extensibleObject, [NotNull] string propertyName, - [CanBeNull] object value, - [CanBeNull] ValidationContext objectValidationContext = null) + object? value, + ValidationContext? objectValidationContext = null) { var validationErrors = new List(); @@ -90,7 +90,7 @@ public static class ExtensibleObjectValidator public static void AddValidationErrors( [NotNull] IHasExtraProperties extensibleObject, [NotNull] List validationErrors, - [CanBeNull] ValidationContext objectValidationContext = null) + ValidationContext? objectValidationContext = null) { Check.NotNull(extensibleObject, nameof(extensibleObject)); Check.NotNull(validationErrors, nameof(validationErrors)); @@ -100,7 +100,7 @@ public static class ExtensibleObjectValidator objectValidationContext = new ValidationContext( extensibleObject, null, - new Dictionary() + new Dictionary() ); } @@ -133,8 +133,8 @@ public static class ExtensibleObjectValidator [NotNull] IHasExtraProperties extensibleObject, [NotNull] List validationErrors, [NotNull] string propertyName, - [CanBeNull] object value, - [CanBeNull] ValidationContext objectValidationContext = null) + object? value, + ValidationContext? objectValidationContext = null) { Check.NotNull(extensibleObject, nameof(extensibleObject)); Check.NotNull(validationErrors, nameof(validationErrors)); @@ -145,7 +145,7 @@ public static class ExtensibleObjectValidator objectValidationContext = new ValidationContext( extensibleObject, null, - new Dictionary() + new Dictionary() ); } @@ -203,7 +203,7 @@ public static class ExtensibleObjectValidator List validationErrors, ValidationContext objectValidationContext, ObjectExtensionPropertyInfo property, - object value) + object? value) { AddPropertyValidationAttributeErrors( extensibleObject, @@ -227,7 +227,7 @@ public static class ExtensibleObjectValidator List validationErrors, ValidationContext objectValidationContext, ObjectExtensionPropertyInfo property, - object value) + object? value) { var validationAttributes = property.GetValidationAttributes(); @@ -261,7 +261,7 @@ public static class ExtensibleObjectValidator List validationErrors, ValidationContext objectValidationContext, ObjectExtensionPropertyInfo property, - object value) + object? value) { if (!property.Validators.Any()) { diff --git a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ExtensionPropertyHelper.cs b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ExtensionPropertyHelper.cs index d2b6976bf1..89a5e8c87c 100644 --- a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ExtensionPropertyHelper.cs +++ b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ExtensionPropertyHelper.cs @@ -20,10 +20,10 @@ internal static class ExtensionPropertyHelper } } - public static object GetDefaultValue( + public static object? GetDefaultValue( Type propertyType, - Func defaultValueFactory, - object defaultValue) + Func? defaultValueFactory, + object? defaultValue) { if (defaultValueFactory != null) { diff --git a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/HasExtraPropertiesObjectExtendingExtensions.cs b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/HasExtraPropertiesObjectExtendingExtensions.cs index 12c6bfb984..d44a900314 100644 --- a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/HasExtraPropertiesObjectExtendingExtensions.cs +++ b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/HasExtraPropertiesObjectExtendingExtensions.cs @@ -24,7 +24,7 @@ public static class HasExtraPropertiesObjectExtendingExtensions [NotNull] this TSource source, [NotNull] TDestination destination, MappingPropertyDefinitionChecks? definitionChecks = null, - string[] ignoredProperties = null) + string[]? ignoredProperties = null) where TSource : IHasExtraProperties where TDestination : IHasExtraProperties { diff --git a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/IBasicObjectExtensionPropertyInfo.cs b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/IBasicObjectExtensionPropertyInfo.cs index 8fd6270eda..86f34354a8 100644 --- a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/IBasicObjectExtensionPropertyInfo.cs +++ b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/IBasicObjectExtensionPropertyInfo.cs @@ -20,19 +20,16 @@ public interface IBasicObjectExtensionPropertyInfo [NotNull] public List> Validators { get; } - [CanBeNull] - public ILocalizableString DisplayName { get; } + public ILocalizableString? DisplayName { get; } /// /// Uses as the default value if was not set. /// - [CanBeNull] - public object DefaultValue { get; set; } + public object? DefaultValue { get; set; } /// /// Used with the first priority to create the default value for the property. /// Uses to the if this was not set. /// - [CanBeNull] - public Func DefaultValueFactory { get; set; } + public Func? DefaultValueFactory { get; set; } } diff --git a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/Modularity/EntityExtensionConfiguration.cs b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/Modularity/EntityExtensionConfiguration.cs index b4e0014775..83429e36ce 100644 --- a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/Modularity/EntityExtensionConfiguration.cs +++ b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/Modularity/EntityExtensionConfiguration.cs @@ -27,7 +27,7 @@ public class EntityExtensionConfiguration [NotNull] public virtual EntityExtensionConfiguration AddOrUpdateProperty( [NotNull] string propertyName, - [CanBeNull] Action configureAction = null) + Action? configureAction = null) { return AddOrUpdateProperty( typeof(TProperty), @@ -40,7 +40,7 @@ public class EntityExtensionConfiguration public virtual EntityExtensionConfiguration AddOrUpdateProperty( [NotNull] Type propertyType, [NotNull] string propertyName, - [CanBeNull] Action configureAction = null) + Action? configureAction = null) { Check.NotNull(propertyType, nameof(propertyType)); Check.NotNull(propertyName, nameof(propertyName)); diff --git a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/Modularity/ExtensionPropertyConfiguration.cs b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/Modularity/ExtensionPropertyConfiguration.cs index eaad223cfa..8099f1fc14 100644 --- a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/Modularity/ExtensionPropertyConfiguration.cs +++ b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/Modularity/ExtensionPropertyConfiguration.cs @@ -23,8 +23,7 @@ public class ExtensionPropertyConfiguration : IHasNameWithLocalizableDisplayName [NotNull] public List> Validators { get; } - [CanBeNull] - public ILocalizableString DisplayName { get; set; } + public ILocalizableString? DisplayName { get; set; } [NotNull] public Dictionary Configuration { get; } @@ -49,15 +48,13 @@ public class ExtensionPropertyConfiguration : IHasNameWithLocalizableDisplayName /// /// Uses as the default value if was not set. /// - [CanBeNull] - public object DefaultValue { get; set; } + public object? DefaultValue { get; set; } /// /// Used with the first priority to create the default value for the property. /// Uses to the if this was not set. /// - [CanBeNull] - public Func DefaultValueFactory { get; set; } + public Func? DefaultValueFactory { get; set; } public ExtensionPropertyConfiguration( [NotNull] EntityExtensionConfiguration entityExtensionConfiguration, @@ -80,7 +77,7 @@ public class ExtensionPropertyConfiguration : IHasNameWithLocalizableDisplayName DefaultValue = TypeHelper.GetDefaultValue(Type); } - public object GetDefaultValue() + public object? GetDefaultValue() { return ExtensionPropertyHelper.GetDefaultValue(Type, DefaultValueFactory, DefaultValue); } diff --git a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/Modularity/ExtensionPropertyConfigurationExtensions.cs b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/Modularity/ExtensionPropertyConfigurationExtensions.cs index 085e486756..0b826a0ec5 100644 --- a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/Modularity/ExtensionPropertyConfigurationExtensions.cs +++ b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/Modularity/ExtensionPropertyConfigurationExtensions.cs @@ -5,7 +5,7 @@ namespace Volo.Abp.ObjectExtending.Modularity; public static class ExtensionPropertyConfigurationExtensions { - public static string GetLocalizationResourceNameOrNull( + public static string? GetLocalizationResourceNameOrNull( this ExtensionPropertyConfiguration property) { if (property.DisplayName is LocalizableString localizableString) @@ -16,7 +16,7 @@ public static class ExtensionPropertyConfigurationExtensions return null; } - public static Type GetLocalizationResourceTypeOrNull( + public static Type? GetLocalizationResourceTypeOrNull( this ExtensionPropertyConfiguration property) { if (property.DisplayName is LocalizableString localizableString) diff --git a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/Modularity/ExtensionPropertyLookupConfiguration.cs b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/Modularity/ExtensionPropertyLookupConfiguration.cs index 599ed7bed5..bd1cb61b20 100644 --- a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/Modularity/ExtensionPropertyLookupConfiguration.cs +++ b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/Modularity/ExtensionPropertyLookupConfiguration.cs @@ -4,7 +4,7 @@ namespace Volo.Abp.ObjectExtending.Modularity; public class ExtensionPropertyLookupConfiguration { - public string Url { get; set; } + public string Url { get; set; } = default!; /// /// Default value: "items". diff --git a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/Modularity/ModuleExtensionConfigurationHelper.cs b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/Modularity/ModuleExtensionConfigurationHelper.cs index d293dfe8df..c1426e3833 100644 --- a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/Modularity/ModuleExtensionConfigurationHelper.cs +++ b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/Modularity/ModuleExtensionConfigurationHelper.cs @@ -29,9 +29,9 @@ public static class ModuleExtensionConfigurationHelper public static void ApplyEntityConfigurationToApi( string moduleName, string objectName, - Type[] getApiTypes = null, - Type[] createApiTypes = null, - Type[] updateApiTypes = null) + Type[]? getApiTypes = null, + Type[]? createApiTypes = null, + Type[]? updateApiTypes = null) { lock (SyncLock) { @@ -66,8 +66,8 @@ public static class ModuleExtensionConfigurationHelper public static void ApplyEntityConfigurationToUi( string moduleName, string entityName, - Type[] createFormTypes = null, - Type[] editFormTypes = null) + Type[]? createFormTypes = null, + Type[]? editFormTypes = null) { lock (SyncLock) { @@ -96,12 +96,12 @@ public static class ModuleExtensionConfigurationHelper public static void ApplyEntityConfigurations( string moduleName, string entityName, - Type entityType = null, - Type[] createFormTypes = null, - Type[] editFormTypes = null, - Type[] getApiTypes = null, - Type[] createApiTypes = null, - Type[] updateApiTypes = null) + Type? entityType = null, + Type[]? createFormTypes = null, + Type[]? editFormTypes = null, + Type[]? getApiTypes = null, + Type[]? createApiTypes = null, + Type[]? updateApiTypes = null) { lock (SyncLock) { diff --git a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ModuleObjectExtensionManagerExtensions.cs b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ModuleObjectExtensionManagerExtensions.cs index f74b36f6ca..92a8f9ecd5 100644 --- a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ModuleObjectExtensionManagerExtensions.cs +++ b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ModuleObjectExtensionManagerExtensions.cs @@ -12,9 +12,9 @@ public static class ModuleObjectExtensionManagerExtensions { Check.NotNull(objectExtensionManager, nameof(objectExtensionManager)); - return objectExtensionManager.Configuration.GetOrAdd( + return (objectExtensionManager.Configuration.GetOrAdd( ObjectExtensionManagerConfigurationKey, _ => new ModuleExtensionConfigurationDictionary() - ) as ModuleExtensionConfigurationDictionary; + ) as ModuleExtensionConfigurationDictionary)!; } } diff --git a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionInfo.cs b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionInfo.cs index 66df96a3f5..c7ebe2f961 100644 --- a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionInfo.cs +++ b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionInfo.cs @@ -38,7 +38,7 @@ public class ObjectExtensionInfo [NotNull] public virtual ObjectExtensionInfo AddOrUpdateProperty( [NotNull] string propertyName, - [CanBeNull] Action configureAction = null) + Action? configureAction = null) { return AddOrUpdateProperty( typeof(TProperty), @@ -51,7 +51,7 @@ public class ObjectExtensionInfo public virtual ObjectExtensionInfo AddOrUpdateProperty( [NotNull] Type propertyType, [NotNull] string propertyName, - [CanBeNull] Action configureAction = null) + Action? configureAction = null) { Check.NotNull(propertyType, nameof(propertyType)); Check.NotNull(propertyName, nameof(propertyName)); @@ -73,8 +73,7 @@ public class ObjectExtensionInfo .ToImmutableList(); } - [CanBeNull] - public virtual ObjectExtensionPropertyInfo GetPropertyOrNull( + public virtual ObjectExtensionPropertyInfo? GetPropertyOrNull( [NotNull] string propertyName) { Check.NotNullOrEmpty(propertyName, nameof(propertyName)); diff --git a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionManager.cs b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionManager.cs index ff62d1bd91..1d7ad836b4 100644 --- a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionManager.cs +++ b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionManager.cs @@ -24,7 +24,7 @@ public class ObjectExtensionManager [NotNull] public virtual ObjectExtensionManager AddOrUpdate( - [CanBeNull] Action configureAction = null) + Action? configureAction = null) { return AddOrUpdate(typeof(TObject), configureAction); } @@ -32,7 +32,7 @@ public class ObjectExtensionManager [NotNull] public virtual ObjectExtensionManager AddOrUpdate( [NotNull] Type[] types, - [CanBeNull] Action configureAction = null) + Action? configureAction = null) { Check.NotNull(types, nameof(types)); @@ -47,7 +47,7 @@ public class ObjectExtensionManager [NotNull] public virtual ObjectExtensionManager AddOrUpdate( [NotNull] Type type, - [CanBeNull] Action configureAction = null) + Action? configureAction = null) { var extensionInfo = ObjectsExtensions.GetOrAdd( type, @@ -59,14 +59,12 @@ public class ObjectExtensionManager return this; } - [CanBeNull] - public virtual ObjectExtensionInfo GetOrNull() + public virtual ObjectExtensionInfo? GetOrNull() { return GetOrNull(typeof(TObject)); } - [CanBeNull] - public virtual ObjectExtensionInfo GetOrNull([NotNull] Type type) + public virtual ObjectExtensionInfo? GetOrNull([NotNull] Type type) { return ObjectsExtensions.GetOrDefault(type); } diff --git a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionManagerExtensions.cs b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionManagerExtensions.cs index a9c5c8a76f..71c7d78353 100644 --- a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionManagerExtensions.cs +++ b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionManagerExtensions.cs @@ -13,7 +13,7 @@ public static class ObjectExtensionManagerExtensions [NotNull] this ObjectExtensionManager objectExtensionManager, [NotNull] Type[] objectTypes, [NotNull] string propertyName, - [CanBeNull] Action configureAction = null) + Action? configureAction = null) { return objectExtensionManager.AddOrUpdateProperty( objectTypes, @@ -26,7 +26,7 @@ public static class ObjectExtensionManagerExtensions public static ObjectExtensionManager AddOrUpdateProperty( [NotNull] this ObjectExtensionManager objectExtensionManager, [NotNull] string propertyName, - [CanBeNull] Action configureAction = null) + Action? configureAction = null) where TObject : IHasExtraProperties { return objectExtensionManager.AddOrUpdateProperty( @@ -43,7 +43,7 @@ public static class ObjectExtensionManagerExtensions [NotNull] Type[] objectTypes, [NotNull] Type propertyType, [NotNull] string propertyName, - [CanBeNull] Action configureAction = null) + Action? configureAction = null) { Check.NotNull(objectTypes, nameof(objectTypes)); @@ -66,7 +66,7 @@ public static class ObjectExtensionManagerExtensions [NotNull] Type objectType, [NotNull] Type propertyType, [NotNull] string propertyName, - [CanBeNull] Action configureAction = null) + Action? configureAction = null) { Check.NotNull(objectExtensionManager, nameof(objectExtensionManager)); @@ -82,7 +82,7 @@ public static class ObjectExtensionManagerExtensions }); } - public static ObjectExtensionPropertyInfo GetPropertyOrNull( + public static ObjectExtensionPropertyInfo? GetPropertyOrNull( [NotNull] this ObjectExtensionManager objectExtensionManager, [NotNull] string propertyName) { @@ -92,7 +92,7 @@ public static class ObjectExtensionManagerExtensions ); } - public static ObjectExtensionPropertyInfo GetPropertyOrNull( + public static ObjectExtensionPropertyInfo? GetPropertyOrNull( [NotNull] this ObjectExtensionManager objectExtensionManager, [NotNull] Type objectType, [NotNull] string propertyName) diff --git a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionPropertyInfo.cs b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionPropertyInfo.cs index 9e73069d95..ab941a2f15 100644 --- a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionPropertyInfo.cs +++ b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionPropertyInfo.cs @@ -24,8 +24,7 @@ public class ObjectExtensionPropertyInfo : IHasNameWithLocalizableDisplayName, I [NotNull] public List> Validators { get; } - [CanBeNull] - public ILocalizableString DisplayName { get; set; } + public ILocalizableString? DisplayName { get; set; } /// /// Indicates whether to check the other side of the object mapping @@ -47,15 +46,13 @@ public class ObjectExtensionPropertyInfo : IHasNameWithLocalizableDisplayName, I /// /// Uses as the default value if was not set. /// - [CanBeNull] - public object DefaultValue { get; set; } + public object? DefaultValue { get; set; } /// /// Used with the first priority to create the default value for the property. /// Uses to the if this was not set. /// - [CanBeNull] - public Func DefaultValueFactory { get; set; } + public Func? DefaultValueFactory { get; set; } [NotNull] public ExtensionPropertyLookupConfiguration Lookup { get; set; } @@ -81,7 +78,7 @@ public class ObjectExtensionPropertyInfo : IHasNameWithLocalizableDisplayName, I UI = new ExtensionPropertyUI(); } - public object GetDefaultValue() + public object? GetDefaultValue() { return ExtensionPropertyHelper.GetDefaultValue(Type, DefaultValueFactory, DefaultValue); } diff --git a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionPropertyValidationContext.cs b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionPropertyValidationContext.cs index 7546954dfa..077941d91c 100644 --- a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionPropertyValidationContext.cs +++ b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionPropertyValidationContext.cs @@ -35,22 +35,20 @@ public class ObjectExtensionPropertyValidationContext /// /// The value of the validating property of the . /// - [CanBeNull] - public object Value { get; } + public object? Value { get; } /// /// Can be used to resolve services from the dependency injection container. /// This can be null when SetProperty method is used on the object. /// - [CanBeNull] - public IServiceProvider ServiceProvider => ValidationContext; + public IServiceProvider? ServiceProvider => ValidationContext; public ObjectExtensionPropertyValidationContext( [NotNull] ObjectExtensionPropertyInfo objectExtensionPropertyInfo, [NotNull] IHasExtraProperties validatingObject, [NotNull] List validationErrors, [NotNull] ValidationContext validationContext, - [CanBeNull] object value) + object? value) { ExtensionPropertyInfo = Check.NotNull(objectExtensionPropertyInfo, nameof(objectExtensionPropertyInfo)); ValidatingObject = Check.NotNull(validatingObject, nameof(validatingObject)); diff --git a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionValidationContext.cs b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionValidationContext.cs index 14b5b042f2..df7b8de8a2 100644 --- a/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionValidationContext.cs +++ b/framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/ObjectExtensionValidationContext.cs @@ -35,8 +35,7 @@ public class ObjectExtensionValidationContext /// /// Can be used to resolve services from the dependency injection container. /// - [CanBeNull] - public IServiceProvider ServiceProvider => ValidationContext; + public IServiceProvider? ServiceProvider => ValidationContext; public ObjectExtensionValidationContext( [NotNull] ObjectExtensionInfo objectExtensionInfo, diff --git a/framework/src/Volo.Abp.RemoteServices/Volo.Abp.RemoteServices.csproj b/framework/src/Volo.Abp.RemoteServices/Volo.Abp.RemoteServices.csproj index 52d536b51a..bdd0f16c25 100644 --- a/framework/src/Volo.Abp.RemoteServices/Volo.Abp.RemoteServices.csproj +++ b/framework/src/Volo.Abp.RemoteServices/Volo.Abp.RemoteServices.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.RemoteServices Volo.Abp.RemoteServices $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.RemoteServices/Volo/Abp/Http/Client/IRemoteServiceConfigurationProvider.cs b/framework/src/Volo.Abp.RemoteServices/Volo/Abp/Http/Client/IRemoteServiceConfigurationProvider.cs index 12b779141e..e869b19637 100644 --- a/framework/src/Volo.Abp.RemoteServices/Volo/Abp/Http/Client/IRemoteServiceConfigurationProvider.cs +++ b/framework/src/Volo.Abp.RemoteServices/Volo/Abp/Http/Client/IRemoteServiceConfigurationProvider.cs @@ -8,6 +8,5 @@ public interface IRemoteServiceConfigurationProvider [ItemNotNull] Task GetConfigurationOrDefaultAsync(string name); - [ItemCanBeNull] - Task GetConfigurationOrDefaultOrNullAsync(string name); + Task GetConfigurationOrDefaultOrNullAsync(string name); } diff --git a/framework/src/Volo.Abp.RemoteServices/Volo/Abp/Http/Client/RemoteServiceConfiguration.cs b/framework/src/Volo.Abp.RemoteServices/Volo/Abp/Http/Client/RemoteServiceConfiguration.cs index 34510be354..89d0b79f48 100644 --- a/framework/src/Volo.Abp.RemoteServices/Volo/Abp/Http/Client/RemoteServiceConfiguration.cs +++ b/framework/src/Volo.Abp.RemoteServices/Volo/Abp/Http/Client/RemoteServiceConfiguration.cs @@ -2,12 +2,12 @@ namespace Volo.Abp.Http.Client; -public class RemoteServiceConfiguration : Dictionary +public class RemoteServiceConfiguration : Dictionary { /// /// Base Url. /// - public string BaseUrl { + public string? BaseUrl { get => this.GetOrDefault(nameof(BaseUrl)); set => this[nameof(BaseUrl)] = value; } @@ -15,7 +15,7 @@ public class RemoteServiceConfiguration : Dictionary /// /// Version. /// - public string Version { + public string? Version { get => this.GetOrDefault(nameof(Version)); set => this[nameof(Version)] = value; } @@ -25,7 +25,7 @@ public class RemoteServiceConfiguration : Dictionary } - public RemoteServiceConfiguration(string baseUrl, string version = null) + public RemoteServiceConfiguration(string baseUrl, string? version = null) { this[nameof(BaseUrl)] = baseUrl; this[nameof(Version)] = version; diff --git a/framework/src/Volo.Abp.RemoteServices/Volo/Abp/Http/Client/RemoteServiceConfigurationDictionary.cs b/framework/src/Volo.Abp.RemoteServices/Volo/Abp/Http/Client/RemoteServiceConfigurationDictionary.cs index b79cf96414..ef4c5f5b77 100644 --- a/framework/src/Volo.Abp.RemoteServices/Volo/Abp/Http/Client/RemoteServiceConfigurationDictionary.cs +++ b/framework/src/Volo.Abp.RemoteServices/Volo/Abp/Http/Client/RemoteServiceConfigurationDictionary.cs @@ -3,11 +3,11 @@ using JetBrains.Annotations; namespace Volo.Abp.Http.Client; -public class RemoteServiceConfigurationDictionary : Dictionary +public class RemoteServiceConfigurationDictionary : Dictionary { public const string DefaultName = "Default"; - public RemoteServiceConfiguration Default { + public RemoteServiceConfiguration? Default { get => this.GetOrDefault(DefaultName); set => this[DefaultName] = value; } @@ -20,8 +20,7 @@ public class RemoteServiceConfigurationDictionary : Dictionary GetConfigurationOrDefaultOrNullAsync(string name) + public Task GetConfigurationOrDefaultOrNullAsync(string name) { return Task.FromResult(Options.RemoteServices.GetConfigurationOrDefaultOrNull(name)); } diff --git a/framework/src/Volo.Abp.RemoteServices/Volo/Abp/Http/Client/RemoteServiceConfigurationProviderExtensions.cs b/framework/src/Volo.Abp.RemoteServices/Volo/Abp/Http/Client/RemoteServiceConfigurationProviderExtensions.cs index 1c6aaac21d..6ec0a874da 100644 --- a/framework/src/Volo.Abp.RemoteServices/Volo/Abp/Http/Client/RemoteServiceConfigurationProviderExtensions.cs +++ b/framework/src/Volo.Abp.RemoteServices/Volo/Abp/Http/Client/RemoteServiceConfigurationProviderExtensions.cs @@ -10,8 +10,7 @@ public static class RemoteServiceConfigurationProviderExtensions this IRemoteServiceConfigurationProvider provider) => provider.GetConfigurationOrDefaultAsync(RemoteServiceConfigurationDictionary.DefaultName); - [ItemNotNull] - public static Task GetConfigurationOrDefaultOrNullAsync( + public static Task GetConfigurationOrDefaultOrNullAsync( this IRemoteServiceConfigurationProvider provider) => provider.GetConfigurationOrDefaultOrNullAsync(RemoteServiceConfigurationDictionary.DefaultName); } \ No newline at end of file diff --git a/framework/src/Volo.Abp.Security/System/Security/Principal/AbpClaimsIdentityExtensions.cs b/framework/src/Volo.Abp.Security/System/Security/Principal/AbpClaimsIdentityExtensions.cs index b48c372728..6c12decd19 100644 --- a/framework/src/Volo.Abp.Security/System/Security/Principal/AbpClaimsIdentityExtensions.cs +++ b/framework/src/Volo.Abp.Security/System/Security/Principal/AbpClaimsIdentityExtensions.cs @@ -84,7 +84,7 @@ public static class AbpClaimsIdentityExtensions return null; } - public static string FindClientId([NotNull] this ClaimsPrincipal principal) + public static string? FindClientId([NotNull] this ClaimsPrincipal principal) { Check.NotNull(principal, nameof(principal)); @@ -97,7 +97,7 @@ public static class AbpClaimsIdentityExtensions return clientIdOrNull.Value; } - public static string FindClientId([NotNull] this IIdentity identity) + public static string? FindClientId([NotNull] this IIdentity identity) { Check.NotNull(identity, nameof(identity)); diff --git a/framework/src/Volo.Abp.Security/Volo.Abp.Security.csproj b/framework/src/Volo.Abp.Security/Volo.Abp.Security.csproj index ab99014a5d..b12428be84 100644 --- a/framework/src/Volo.Abp.Security/Volo.Abp.Security.csproj +++ b/framework/src/Volo.Abp.Security/Volo.Abp.Security.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.Security Volo.Abp.Security $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.Security/Volo/Abp/Authorization/AbpAuthorizationException.cs b/framework/src/Volo.Abp.Security/Volo/Abp/Authorization/AbpAuthorizationException.cs index 68cdf5431d..5cae98964c 100644 --- a/framework/src/Volo.Abp.Security/Volo/Abp/Authorization/AbpAuthorizationException.cs +++ b/framework/src/Volo.Abp.Security/Volo/Abp/Authorization/AbpAuthorizationException.cs @@ -21,7 +21,7 @@ public class AbpAuthorizationException : AbpException, IHasLogLevel, IHasErrorCo /// /// Error code. /// - public string Code { get; } + public string? Code { get; } /// /// Creates a new object. @@ -67,7 +67,7 @@ public class AbpAuthorizationException : AbpException, IHasLogLevel, IHasErrorCo /// Exception message /// Exception code /// Inner exception - public AbpAuthorizationException(string message = null, string code = null, Exception innerException = null) + public AbpAuthorizationException(string? message = null, string? code = null, Exception? innerException = null) : base(message, innerException) { Code = code; diff --git a/framework/src/Volo.Abp.Security/Volo/Abp/Clients/CurrentClient.cs b/framework/src/Volo.Abp.Security/Volo/Abp/Clients/CurrentClient.cs index b82098d737..4ce2382c25 100644 --- a/framework/src/Volo.Abp.Security/Volo/Abp/Clients/CurrentClient.cs +++ b/framework/src/Volo.Abp.Security/Volo/Abp/Clients/CurrentClient.cs @@ -6,7 +6,7 @@ namespace Volo.Abp.Clients; public class CurrentClient : ICurrentClient, ITransientDependency { - public virtual string Id => _principalAccessor.Principal?.FindClientId(); + public virtual string? Id => _principalAccessor.Principal?.FindClientId(); public virtual bool IsAuthenticated => Id != null; diff --git a/framework/src/Volo.Abp.Security/Volo/Abp/Clients/ICurrentClient.cs b/framework/src/Volo.Abp.Security/Volo/Abp/Clients/ICurrentClient.cs index 6ecd3f216d..9db5834f4f 100644 --- a/framework/src/Volo.Abp.Security/Volo/Abp/Clients/ICurrentClient.cs +++ b/framework/src/Volo.Abp.Security/Volo/Abp/Clients/ICurrentClient.cs @@ -2,7 +2,7 @@ public interface ICurrentClient { - string Id { get; } + string? Id { get; } bool IsAuthenticated { get; } } diff --git a/framework/src/Volo.Abp.Security/Volo/Abp/Security/AbpSecurityModule.cs b/framework/src/Volo.Abp.Security/Volo/Abp/Security/AbpSecurityModule.cs index 921aca8d7e..69107c6d1d 100644 --- a/framework/src/Volo.Abp.Security/Volo/Abp/Security/AbpSecurityModule.cs +++ b/framework/src/Volo.Abp.Security/Volo/Abp/Security/AbpSecurityModule.cs @@ -23,7 +23,7 @@ public class AbpSecurityModule : AbpModule { Configure(options => { - options.ApplicationName = applicationName; + options.ApplicationName = applicationName!; }); } @@ -42,19 +42,19 @@ public class AbpSecurityModule : AbpModule var defaultPassPhrase = configuration["StringEncryption:DefaultPassPhrase"]; if (!defaultPassPhrase.IsNullOrWhiteSpace()) { - options.DefaultPassPhrase = defaultPassPhrase; + options.DefaultPassPhrase = defaultPassPhrase!; } var initVectorBytes = configuration["StringEncryption:InitVectorBytes"]; if (!initVectorBytes.IsNullOrWhiteSpace()) { - options.InitVectorBytes = Encoding.ASCII.GetBytes(initVectorBytes); ; + options.InitVectorBytes = Encoding.ASCII.GetBytes(initVectorBytes!); } var defaultSalt = configuration["StringEncryption:DefaultSalt"]; if (!defaultSalt.IsNullOrWhiteSpace()) { - options.DefaultSalt = Encoding.ASCII.GetBytes(defaultSalt); ; + options.DefaultSalt = Encoding.ASCII.GetBytes(defaultSalt!); } }); } diff --git a/framework/src/Volo.Abp.Security/Volo/Abp/Security/Claims/AbpClaimsPrincipalFactory.cs b/framework/src/Volo.Abp.Security/Volo/Abp/Security/Claims/AbpClaimsPrincipalFactory.cs index 1e9221cd88..ae9d947fb0 100644 --- a/framework/src/Volo.Abp.Security/Volo/Abp/Security/Claims/AbpClaimsPrincipalFactory.cs +++ b/framework/src/Volo.Abp.Security/Volo/Abp/Security/Claims/AbpClaimsPrincipalFactory.cs @@ -21,7 +21,7 @@ public class AbpClaimsPrincipalFactory : IAbpClaimsPrincipalFactory, ITransientD Options = abpClaimOptions.Value; } - public virtual async Task CreateAsync(ClaimsPrincipal existsClaimsPrincipal = null) + public virtual async Task CreateAsync(ClaimsPrincipal? existsClaimsPrincipal = null) { using (var scope = ServiceScopeFactory.CreateScope()) { diff --git a/framework/src/Volo.Abp.Security/Volo/Abp/Security/Claims/IAbpClaimsPrincipalFactory.cs b/framework/src/Volo.Abp.Security/Volo/Abp/Security/Claims/IAbpClaimsPrincipalFactory.cs index fcfcf4d348..b4f3046c9d 100644 --- a/framework/src/Volo.Abp.Security/Volo/Abp/Security/Claims/IAbpClaimsPrincipalFactory.cs +++ b/framework/src/Volo.Abp.Security/Volo/Abp/Security/Claims/IAbpClaimsPrincipalFactory.cs @@ -5,5 +5,5 @@ namespace Volo.Abp.Security.Claims; public interface IAbpClaimsPrincipalFactory { - Task CreateAsync(ClaimsPrincipal existsClaimsPrincipal = null); + Task CreateAsync(ClaimsPrincipal? existsClaimsPrincipal = null); } diff --git a/framework/src/Volo.Abp.Security/Volo/Abp/Security/Claims/ThreadCurrentPrincipalAccessor.cs b/framework/src/Volo.Abp.Security/Volo/Abp/Security/Claims/ThreadCurrentPrincipalAccessor.cs index 76030076a3..ab42441f98 100644 --- a/framework/src/Volo.Abp.Security/Volo/Abp/Security/Claims/ThreadCurrentPrincipalAccessor.cs +++ b/framework/src/Volo.Abp.Security/Volo/Abp/Security/Claims/ThreadCurrentPrincipalAccessor.cs @@ -8,6 +8,6 @@ public class ThreadCurrentPrincipalAccessor : CurrentPrincipalAccessorBase, ISin { protected override ClaimsPrincipal GetClaimsPrincipal() { - return Thread.CurrentPrincipal as ClaimsPrincipal; + return (Thread.CurrentPrincipal as ClaimsPrincipal)!; } } diff --git a/framework/src/Volo.Abp.Security/Volo/Abp/Security/Encryption/IStringEncryptionService.cs b/framework/src/Volo.Abp.Security/Volo/Abp/Security/Encryption/IStringEncryptionService.cs index 8a28dc7703..fdf077d483 100644 --- a/framework/src/Volo.Abp.Security/Volo/Abp/Security/Encryption/IStringEncryptionService.cs +++ b/framework/src/Volo.Abp.Security/Volo/Abp/Security/Encryption/IStringEncryptionService.cs @@ -15,8 +15,7 @@ public interface IStringEncryptionService /// A phrase to use as the encryption key (optional, uses default if not provided) /// Salt value (optional, uses default if not provided) /// Enrypted text - [CanBeNull] - string Encrypt([CanBeNull] string plainText, string passPhrase = null, byte[] salt = null); + string? Encrypt(string? plainText, string? passPhrase = null, byte[]? salt = null); /// /// Decrypts a text that is encrypted by the method. @@ -25,6 +24,5 @@ public interface IStringEncryptionService /// A phrase to use as the encryption key (optional, uses default if not provided) /// Salt value (optional, uses default if not provided) /// Decrypted text - [CanBeNull] - string Decrypt([CanBeNull] string cipherText, string passPhrase = null, byte[] salt = null); + string? Decrypt(string? cipherText, string? passPhrase = null, byte[]? salt = null); } diff --git a/framework/src/Volo.Abp.Security/Volo/Abp/Security/Encryption/StringEncryptionService.cs b/framework/src/Volo.Abp.Security/Volo/Abp/Security/Encryption/StringEncryptionService.cs index c02c6bca9a..e1e7e94b7a 100644 --- a/framework/src/Volo.Abp.Security/Volo/Abp/Security/Encryption/StringEncryptionService.cs +++ b/framework/src/Volo.Abp.Security/Volo/Abp/Security/Encryption/StringEncryptionService.cs @@ -19,7 +19,7 @@ public class StringEncryptionService : IStringEncryptionService, ITransientDepen Options = options.Value; } - public virtual string Encrypt(string plainText, string passPhrase = null, byte[] salt = null) + public virtual string? Encrypt(string? plainText, string? passPhrase = null, byte[]? salt = null) { if (plainText == null) { @@ -60,7 +60,7 @@ public class StringEncryptionService : IStringEncryptionService, ITransientDepen } } - public virtual string Decrypt(string cipherText, string passPhrase = null, byte[] salt = null) + public virtual string? Decrypt(string? cipherText, string? passPhrase = null, byte[]? salt = null) { if (string.IsNullOrEmpty(cipherText)) { diff --git a/framework/src/Volo.Abp.Security/Volo/Abp/SecurityLog/AbpSecurityLogOptions.cs b/framework/src/Volo.Abp.Security/Volo/Abp/SecurityLog/AbpSecurityLogOptions.cs index 24a885cba4..23db29baff 100644 --- a/framework/src/Volo.Abp.Security/Volo/Abp/SecurityLog/AbpSecurityLogOptions.cs +++ b/framework/src/Volo.Abp.Security/Volo/Abp/SecurityLog/AbpSecurityLogOptions.cs @@ -11,7 +11,7 @@ public class AbpSecurityLogOptions /// The name of the application or service writing security log. /// Default: null. /// - public string ApplicationName { get; set; } + public string? ApplicationName { get; set; } public AbpSecurityLogOptions() { diff --git a/framework/src/Volo.Abp.Security/Volo/Abp/SecurityLog/DefaultSecurityLogManager.cs b/framework/src/Volo.Abp.Security/Volo/Abp/SecurityLog/DefaultSecurityLogManager.cs index 392c8fa869..b870b553c3 100644 --- a/framework/src/Volo.Abp.Security/Volo/Abp/SecurityLog/DefaultSecurityLogManager.cs +++ b/framework/src/Volo.Abp.Security/Volo/Abp/SecurityLog/DefaultSecurityLogManager.cs @@ -19,7 +19,7 @@ public class DefaultSecurityLogManager : ISecurityLogManager, ITransientDependen SecurityLogOptions = securityLogOptions.Value; } - public async Task SaveAsync(Action saveAction = null) + public async Task SaveAsync(Action? saveAction = null) { if (!SecurityLogOptions.IsEnabled) { diff --git a/framework/src/Volo.Abp.Security/Volo/Abp/SecurityLog/ISecurityLogManager.cs b/framework/src/Volo.Abp.Security/Volo/Abp/SecurityLog/ISecurityLogManager.cs index 69c71b96af..0e406d2daf 100644 --- a/framework/src/Volo.Abp.Security/Volo/Abp/SecurityLog/ISecurityLogManager.cs +++ b/framework/src/Volo.Abp.Security/Volo/Abp/SecurityLog/ISecurityLogManager.cs @@ -5,5 +5,5 @@ namespace Volo.Abp.SecurityLog; public interface ISecurityLogManager { - Task SaveAsync(Action saveAction = null); + Task SaveAsync(Action? saveAction = null); } diff --git a/framework/src/Volo.Abp.Security/Volo/Abp/SecurityLog/SecurityLogInfo.cs b/framework/src/Volo.Abp.Security/Volo/Abp/SecurityLog/SecurityLogInfo.cs index b5bef5e3fc..f2bb55b5ea 100644 --- a/framework/src/Volo.Abp.Security/Volo/Abp/SecurityLog/SecurityLogInfo.cs +++ b/framework/src/Volo.Abp.Security/Volo/Abp/SecurityLog/SecurityLogInfo.cs @@ -6,29 +6,29 @@ namespace Volo.Abp.SecurityLog; [Serializable] public class SecurityLogInfo { - public string ApplicationName { get; set; } + public string? ApplicationName { get; set; } - public string Identity { get; set; } + public string? Identity { get; set; } - public string Action { get; set; } + public string? Action { get; set; } public Dictionary ExtraProperties { get; } public Guid? UserId { get; set; } - public string UserName { get; set; } + public string? UserName { get; set; } public Guid? TenantId { get; set; } - public string TenantName { get; set; } + public string? TenantName { get; set; } - public string ClientId { get; set; } + public string? ClientId { get; set; } - public string CorrelationId { get; set; } + public string? CorrelationId { get; set; } - public string ClientIpAddress { get; set; } + public string? ClientIpAddress { get; set; } - public string BrowserInfo { get; set; } + public string? BrowserInfo { get; set; } public DateTime CreationTime { get; set; } diff --git a/framework/src/Volo.Abp.Security/Volo/Abp/Users/CurrentUser.cs b/framework/src/Volo.Abp.Security/Volo/Abp/Users/CurrentUser.cs index 771fa7927b..cf52f1afa7 100644 --- a/framework/src/Volo.Abp.Security/Volo/Abp/Users/CurrentUser.cs +++ b/framework/src/Volo.Abp.Security/Volo/Abp/Users/CurrentUser.cs @@ -15,17 +15,17 @@ public class CurrentUser : ICurrentUser, ITransientDependency public virtual Guid? Id => _principalAccessor.Principal?.FindUserId(); - public virtual string UserName => this.FindClaimValue(AbpClaimTypes.UserName); + public virtual string? UserName => this.FindClaimValue(AbpClaimTypes.UserName); - public virtual string Name => this.FindClaimValue(AbpClaimTypes.Name); + public virtual string? Name => this.FindClaimValue(AbpClaimTypes.Name); - public virtual string SurName => this.FindClaimValue(AbpClaimTypes.SurName); + public virtual string? SurName => this.FindClaimValue(AbpClaimTypes.SurName); - public virtual string PhoneNumber => this.FindClaimValue(AbpClaimTypes.PhoneNumber); + public virtual string? PhoneNumber => this.FindClaimValue(AbpClaimTypes.PhoneNumber); public virtual bool PhoneNumberVerified => string.Equals(this.FindClaimValue(AbpClaimTypes.PhoneNumberVerified), "true", StringComparison.InvariantCultureIgnoreCase); - public virtual string Email => this.FindClaimValue(AbpClaimTypes.Email); + public virtual string? Email => this.FindClaimValue(AbpClaimTypes.Email); public virtual bool EmailVerified => string.Equals(this.FindClaimValue(AbpClaimTypes.EmailVerified), "true", StringComparison.InvariantCultureIgnoreCase); @@ -40,7 +40,7 @@ public class CurrentUser : ICurrentUser, ITransientDependency _principalAccessor = principalAccessor; } - public virtual Claim FindClaim(string claimType) + public virtual Claim? FindClaim(string claimType) { return _principalAccessor.Principal?.Claims.FirstOrDefault(c => c.Type == claimType); } diff --git a/framework/src/Volo.Abp.Security/Volo/Abp/Users/CurrentUserExtensions.cs b/framework/src/Volo.Abp.Security/Volo/Abp/Users/CurrentUserExtensions.cs index 7e10df87c6..b702bcffde 100644 --- a/framework/src/Volo.Abp.Security/Volo/Abp/Users/CurrentUserExtensions.cs +++ b/framework/src/Volo.Abp.Security/Volo/Abp/Users/CurrentUserExtensions.cs @@ -7,8 +7,7 @@ namespace Volo.Abp.Users; public static class CurrentUserExtensions { - [CanBeNull] - public static string FindClaimValue(this ICurrentUser currentUser, string claimType) + public static string? FindClaimValue(this ICurrentUser currentUser, string claimType) { return currentUser.FindClaim(claimType)?.Value; } @@ -29,7 +28,7 @@ public static class CurrentUserExtensions { Debug.Assert(currentUser.Id != null, "currentUser.Id != null"); - return currentUser.Id.Value; + return currentUser!.Id!.Value; } public static Guid? FindImpersonatorTenantId([NotNull] this ICurrentUser currentUser) @@ -62,12 +61,12 @@ public static class CurrentUserExtensions return null; } - public static string FindImpersonatorTenantName([NotNull] this ICurrentUser currentUser) + public static string? FindImpersonatorTenantName([NotNull] this ICurrentUser currentUser) { return currentUser.FindClaimValue(AbpClaimTypes.ImpersonatorTenantName); } - public static string FindImpersonatorUserName([NotNull] this ICurrentUser currentUser) + public static string? FindImpersonatorUserName([NotNull] this ICurrentUser currentUser) { return currentUser.FindClaimValue(AbpClaimTypes.ImpersonatorUserName); } diff --git a/framework/src/Volo.Abp.Security/Volo/Abp/Users/ICurrentUser.cs b/framework/src/Volo.Abp.Security/Volo/Abp/Users/ICurrentUser.cs index 95aecca83a..aacf001279 100644 --- a/framework/src/Volo.Abp.Security/Volo/Abp/Users/ICurrentUser.cs +++ b/framework/src/Volo.Abp.Security/Volo/Abp/Users/ICurrentUser.cs @@ -11,22 +11,17 @@ public interface ICurrentUser [CanBeNull] Guid? Id { get; } - [CanBeNull] - string UserName { get; } + string? UserName { get; } - [CanBeNull] - string Name { get; } + string? Name { get; } - [CanBeNull] - string SurName { get; } + string? SurName { get; } - [CanBeNull] - string PhoneNumber { get; } + string? PhoneNumber { get; } bool PhoneNumberVerified { get; } - [CanBeNull] - string Email { get; } + string? Email { get; } bool EmailVerified { get; } @@ -35,8 +30,7 @@ public interface ICurrentUser [NotNull] string[] Roles { get; } - [CanBeNull] - Claim FindClaim(string claimType); + Claim? FindClaim(string claimType); [NotNull] Claim[] FindClaims(string claimType); diff --git a/framework/src/Volo.Abp.Serialization/Volo.Abp.Serialization.csproj b/framework/src/Volo.Abp.Serialization/Volo.Abp.Serialization.csproj index f410670e83..c4c751210b 100644 --- a/framework/src/Volo.Abp.Serialization/Volo.Abp.Serialization.csproj +++ b/framework/src/Volo.Abp.Serialization/Volo.Abp.Serialization.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.Serialization Volo.Abp.Serialization $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.Serialization/Volo/Abp/Serialization/DefaultObjectSerializer.cs b/framework/src/Volo.Abp.Serialization/Volo/Abp/Serialization/DefaultObjectSerializer.cs index 0f95d782b0..99ec929ca8 100644 --- a/framework/src/Volo.Abp.Serialization/Volo/Abp/Serialization/DefaultObjectSerializer.cs +++ b/framework/src/Volo.Abp.Serialization/Volo/Abp/Serialization/DefaultObjectSerializer.cs @@ -15,7 +15,7 @@ public class DefaultObjectSerializer : IObjectSerializer, ITransientDependency _serviceProvider = serviceProvider; } - public virtual byte[] Serialize(T obj) + public virtual byte[]? Serialize(T? obj) { if (obj == null) { @@ -35,8 +35,7 @@ public class DefaultObjectSerializer : IObjectSerializer, ITransientDependency return AutoSerialize(obj); } - [CanBeNull] - public virtual T Deserialize(byte[] bytes) + public virtual T? Deserialize(byte[]? bytes) { if (bytes == null) { @@ -61,7 +60,7 @@ public class DefaultObjectSerializer : IObjectSerializer, ITransientDependency return JsonSerializer.SerializeToUtf8Bytes(obj); } - protected virtual T AutoDeserialize(byte[] bytes) + protected virtual T? AutoDeserialize(byte[] bytes) { return JsonSerializer.Deserialize(bytes); } diff --git a/framework/src/Volo.Abp.Serialization/Volo/Abp/Serialization/IObjectSerializer.cs b/framework/src/Volo.Abp.Serialization/Volo/Abp/Serialization/IObjectSerializer.cs index bb82d410b0..6631cb966d 100644 --- a/framework/src/Volo.Abp.Serialization/Volo/Abp/Serialization/IObjectSerializer.cs +++ b/framework/src/Volo.Abp.Serialization/Volo/Abp/Serialization/IObjectSerializer.cs @@ -2,14 +2,14 @@ public interface IObjectSerializer { - byte[] Serialize(T obj); + byte[]? Serialize(T? obj); - T Deserialize(byte[] bytes); + T? Deserialize(byte[] bytes); } public interface IObjectSerializer { - byte[] Serialize(T obj); + byte[]? Serialize(T? obj); - T Deserialize(byte[] bytes); + T? Deserialize(byte[]? bytes); } diff --git a/framework/src/Volo.Abp.Settings/Volo.Abp.Settings.csproj b/framework/src/Volo.Abp.Settings/Volo.Abp.Settings.csproj index 524f932e9c..efec1d42c5 100644 --- a/framework/src/Volo.Abp.Settings/Volo.Abp.Settings.csproj +++ b/framework/src/Volo.Abp.Settings/Volo.Abp.Settings.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.Settings Volo.Abp.Settings $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ConfigurationSettingValueProvider.cs b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ConfigurationSettingValueProvider.cs index 853b510d04..51e0a882b0 100644 --- a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ConfigurationSettingValueProvider.cs +++ b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ConfigurationSettingValueProvider.cs @@ -21,7 +21,7 @@ public class ConfigurationSettingValueProvider : ISettingValueProvider, ITransie Configuration = configuration; } - public virtual Task GetOrNullAsync(SettingDefinition setting) + public virtual Task GetOrNullAsync(SettingDefinition setting) { return Task.FromResult(Configuration[ConfigurationNamePrefix + setting.Name]); } diff --git a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/DefaultValueSettingValueProvider.cs b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/DefaultValueSettingValueProvider.cs index e5e7275281..299f9e63bc 100644 --- a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/DefaultValueSettingValueProvider.cs +++ b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/DefaultValueSettingValueProvider.cs @@ -16,7 +16,7 @@ public class DefaultValueSettingValueProvider : SettingValueProvider } - public override Task GetOrNullAsync(SettingDefinition setting) + public override Task GetOrNullAsync(SettingDefinition setting) { return Task.FromResult(setting.DefaultValue); } diff --git a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/GlobalSettingValueProvider.cs b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/GlobalSettingValueProvider.cs index 34439c6aef..6c0e8883d7 100644 --- a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/GlobalSettingValueProvider.cs +++ b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/GlobalSettingValueProvider.cs @@ -15,7 +15,7 @@ public class GlobalSettingValueProvider : SettingValueProvider { } - public override Task GetOrNullAsync(SettingDefinition setting) + public override Task GetOrNullAsync(SettingDefinition setting) { return SettingStore.GetOrNullAsync(setting.Name, Name, null); } diff --git a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingDefinitionContext.cs b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingDefinitionContext.cs index 8257c73adb..deecea1107 100644 --- a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingDefinitionContext.cs +++ b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingDefinitionContext.cs @@ -4,7 +4,7 @@ namespace Volo.Abp.Settings; public interface ISettingDefinitionContext { - SettingDefinition GetOrNull(string name); + SettingDefinition? GetOrNull(string name); IReadOnlyList GetAll(); diff --git a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingDefinitionManager.cs b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingDefinitionManager.cs index 865fe5557a..7939d113c4 100644 --- a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingDefinitionManager.cs +++ b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingDefinitionManager.cs @@ -10,5 +10,5 @@ public interface ISettingDefinitionManager IReadOnlyList GetAll(); - SettingDefinition GetOrNull(string name); + SettingDefinition? GetOrNull(string name); } diff --git a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingEncryptionService.cs b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingEncryptionService.cs index f91e8f808a..5c1328e8c3 100644 --- a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingEncryptionService.cs +++ b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingEncryptionService.cs @@ -4,9 +4,7 @@ namespace Volo.Abp.Settings; public interface ISettingEncryptionService { - [CanBeNull] - string Encrypt([NotNull] SettingDefinition settingDefinition, [CanBeNull] string plainValue); + string? Encrypt([NotNull] SettingDefinition settingDefinition, string? plainValue); - [CanBeNull] - string Decrypt([NotNull] SettingDefinition settingDefinition, [CanBeNull] string encryptedValue); + string? Decrypt([NotNull] SettingDefinition settingDefinition, string? encryptedValue); } diff --git a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingProvider.cs b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingProvider.cs index d58a21b874..a24060b5ff 100644 --- a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingProvider.cs +++ b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingProvider.cs @@ -6,7 +6,7 @@ namespace Volo.Abp.Settings; public interface ISettingProvider { - Task GetOrNullAsync([NotNull] string name); + Task GetOrNullAsync([NotNull] string name); Task> GetAllAsync([NotNull] string[] names); diff --git a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingStore.cs b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingStore.cs index a8be20c7d8..89f933f877 100644 --- a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingStore.cs +++ b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingStore.cs @@ -6,15 +6,15 @@ namespace Volo.Abp.Settings; public interface ISettingStore { - Task GetOrNullAsync( + Task GetOrNullAsync( [NotNull] string name, - [CanBeNull] string providerName, - [CanBeNull] string providerKey + string? providerName, + string? providerKey ); Task> GetAllAsync( [NotNull] string[] names, - [CanBeNull] string providerName, - [CanBeNull] string providerKey + string? providerName, + string? providerKey ); } diff --git a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingValueProvider.cs b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingValueProvider.cs index 6878fda17b..1619052cbd 100644 --- a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingValueProvider.cs +++ b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ISettingValueProvider.cs @@ -8,7 +8,7 @@ public interface ISettingValueProvider { string Name { get; } - Task GetOrNullAsync([NotNull] SettingDefinition setting); + Task GetOrNullAsync([NotNull] SettingDefinition setting); Task> GetAllAsync([NotNull] SettingDefinition[] settings); } diff --git a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/NullSettingStore.cs b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/NullSettingStore.cs index 8db9286a14..f6d04e0b4a 100644 --- a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/NullSettingStore.cs +++ b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/NullSettingStore.cs @@ -17,12 +17,12 @@ public class NullSettingStore : ISettingStore, ISingletonDependency Logger = NullLogger.Instance; } - public Task GetOrNullAsync(string name, string providerName, string providerKey) + public Task GetOrNullAsync(string name, string? providerName, string? providerKey) { - return Task.FromResult((string)null); + return Task.FromResult((string?)null); } - public Task> GetAllAsync(string[] names, string providerName, string providerKey) + public Task> GetAllAsync(string[] names, string? providerName, string? providerKey) { return Task.FromResult(names.Select(x => new SettingValue(x, null)).ToList()); } diff --git a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingDefinition.cs b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingDefinition.cs index 536a407271..72ccfcd3f3 100644 --- a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingDefinition.cs +++ b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingDefinition.cs @@ -17,16 +17,14 @@ public class SettingDefinition get => _displayName; set => _displayName = Check.NotNull(value, nameof(value)); } - private ILocalizableString _displayName; + private ILocalizableString _displayName = default!; - [CanBeNull] - public ILocalizableString Description { get; set; } + public ILocalizableString? Description { get; set; } /// /// Default value of the setting. /// - [CanBeNull] - public string DefaultValue { get; set; } + public string? DefaultValue { get; set; } /// /// Can clients see this setting and it's value. @@ -61,9 +59,9 @@ public class SettingDefinition public SettingDefinition( string name, - string defaultValue = null, - ILocalizableString displayName = null, - ILocalizableString description = null, + string? defaultValue = null, + ILocalizableString? displayName = null, + ILocalizableString? description = null, bool isVisibleToClients = false, bool isInherited = true, bool isEncrypted = false) diff --git a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingDefinitionContext.cs b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingDefinitionContext.cs index e06395f614..a1192c96c9 100644 --- a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingDefinitionContext.cs +++ b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingDefinitionContext.cs @@ -12,7 +12,7 @@ public class SettingDefinitionContext : ISettingDefinitionContext Settings = settings; } - public virtual SettingDefinition GetOrNull(string name) + public virtual SettingDefinition? GetOrNull(string name) { return Settings.GetOrDefault(name); } diff --git a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingDefinitionManager.cs b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingDefinitionManager.cs index ed285422b3..87f173d04e 100644 --- a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingDefinitionManager.cs +++ b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingDefinitionManager.cs @@ -45,7 +45,7 @@ public class SettingDefinitionManager : ISettingDefinitionManager, ISingletonDep return SettingDefinitions.Value.Values.ToImmutableList(); } - public virtual SettingDefinition GetOrNull(string name) + public virtual SettingDefinition? GetOrNull(string name) { return SettingDefinitions.Value.GetOrDefault(name); } @@ -63,7 +63,7 @@ public class SettingDefinitionManager : ISettingDefinitionManager, ISingletonDep foreach (var provider in providers) { - provider.Define(new SettingDefinitionContext(settings)); + provider!.Define(new SettingDefinitionContext(settings)); } } diff --git a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingEncryptionService.cs b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingEncryptionService.cs index 9f59f57910..45a3362d30 100644 --- a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingEncryptionService.cs +++ b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingEncryptionService.cs @@ -17,7 +17,7 @@ public class SettingEncryptionService : ISettingEncryptionService, ITransientDep Logger = NullLogger.Instance; } - public virtual string Encrypt(SettingDefinition settingDefinition, string plainValue) + public virtual string? Encrypt(SettingDefinition settingDefinition, string? plainValue) { if (plainValue.IsNullOrEmpty()) { @@ -27,7 +27,7 @@ public class SettingEncryptionService : ISettingEncryptionService, ITransientDep return StringEncryptionService.Encrypt(plainValue); } - public virtual string Decrypt(SettingDefinition settingDefinition, string encryptedValue) + public virtual string? Decrypt(SettingDefinition settingDefinition, string? encryptedValue) { if (encryptedValue.IsNullOrEmpty()) { diff --git a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingProvider.cs b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingProvider.cs index 01791bef00..31dfecc4c0 100644 --- a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingProvider.cs +++ b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingProvider.cs @@ -21,7 +21,7 @@ public class SettingProvider : ISettingProvider, ITransientDependency SettingValueProviderManager = settingValueProviderManager; } - public virtual async Task GetOrNullAsync(string name) + public virtual async Task GetOrNullAsync(string name) { var setting = SettingDefinitionManager.Get(name); var providers = Enumerable @@ -95,7 +95,7 @@ public class SettingProvider : ISettingProvider, ITransientDependency return settingValues; } - protected virtual async Task GetOrNullValueFromProvidersAsync( + protected virtual async Task GetOrNullValueFromProvidersAsync( IEnumerable providers, SettingDefinition setting) { diff --git a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingValue.cs b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingValue.cs index 63f6ab063f..56e972611b 100644 --- a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingValue.cs +++ b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingValue.cs @@ -3,14 +3,14 @@ namespace Volo.Abp.Settings; [Serializable] -public class SettingValue : NameValue +public class SettingValue : NameValue { public SettingValue() { } - public SettingValue(string name, string value) + public SettingValue(string name, string? value) { Name = name; Value = value; diff --git a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingValueProvider.cs b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingValueProvider.cs index c8b994986d..57d4b18a51 100644 --- a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingValueProvider.cs +++ b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingValueProvider.cs @@ -15,7 +15,7 @@ public abstract class SettingValueProvider : ISettingValueProvider, ITransientDe SettingStore = settingStore; } - public abstract Task GetOrNullAsync(SettingDefinition setting); + public abstract Task GetOrNullAsync(SettingDefinition setting); public abstract Task> GetAllAsync(SettingDefinition[] settings); } diff --git a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingValueProviderManager.cs b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingValueProviderManager.cs index f54b3cfda3..d0300357dc 100644 --- a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingValueProviderManager.cs +++ b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/SettingValueProviderManager.cs @@ -24,7 +24,7 @@ public class SettingValueProviderManager : ISettingValueProviderManager, ISingle () => Options .ValueProviders .Select(type => serviceProvider.GetRequiredService(type) as ISettingValueProvider) - .ToList(), + .ToList()!, true ); } diff --git a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/UserSettingValueProvider.cs b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/UserSettingValueProvider.cs index 791bef3709..7c1d65740a 100644 --- a/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/UserSettingValueProvider.cs +++ b/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/UserSettingValueProvider.cs @@ -19,7 +19,7 @@ public class UserSettingValueProvider : SettingValueProvider CurrentUser = currentUser; } - public override async Task GetOrNullAsync(SettingDefinition setting) + public override async Task GetOrNullAsync(SettingDefinition setting) { if (CurrentUser.Id == null) { diff --git a/framework/src/Volo.Abp.Sms.Aliyun/Volo.Abp.Sms.Aliyun.csproj b/framework/src/Volo.Abp.Sms.Aliyun/Volo.Abp.Sms.Aliyun.csproj index 8b007b7a4a..e59ce4be49 100644 --- a/framework/src/Volo.Abp.Sms.Aliyun/Volo.Abp.Sms.Aliyun.csproj +++ b/framework/src/Volo.Abp.Sms.Aliyun/Volo.Abp.Sms.Aliyun.csproj @@ -4,6 +4,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.Sms.Aliyun Volo.Abp.Sms.Aliyun $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.Sms.Aliyun/Volo/Abp/Sms/Aliyun/AbpAliyunSmsOptions.cs b/framework/src/Volo.Abp.Sms.Aliyun/Volo/Abp/Sms/Aliyun/AbpAliyunSmsOptions.cs index 1b3eac289c..895e03c710 100644 --- a/framework/src/Volo.Abp.Sms.Aliyun/Volo/Abp/Sms/Aliyun/AbpAliyunSmsOptions.cs +++ b/framework/src/Volo.Abp.Sms.Aliyun/Volo/Abp/Sms/Aliyun/AbpAliyunSmsOptions.cs @@ -2,9 +2,9 @@ namespace Volo.Abp.Sms.Aliyun; public class AbpAliyunSmsOptions { - public string AccessKeySecret { get; set; } + public string AccessKeySecret { get; set; } = default!; - public string AccessKeyId { get; set; } + public string AccessKeyId { get; set; } = default!; - public string EndPoint { get; set; } + public string EndPoint { get; set; } = default!; } diff --git a/framework/src/Volo.Abp.Sms/Volo.Abp.Sms.csproj b/framework/src/Volo.Abp.Sms/Volo.Abp.Sms.csproj index becbe00e65..7bba35f34a 100644 --- a/framework/src/Volo.Abp.Sms/Volo.Abp.Sms.csproj +++ b/framework/src/Volo.Abp.Sms/Volo.Abp.Sms.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.Sms Volo.Abp.Sms $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.Specifications/Volo.Abp.Specifications.csproj b/framework/src/Volo.Abp.Specifications/Volo.Abp.Specifications.csproj index f6a5b54948..98d2f529e3 100644 --- a/framework/src/Volo.Abp.Specifications/Volo.Abp.Specifications.csproj +++ b/framework/src/Volo.Abp.Specifications/Volo.Abp.Specifications.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.Specifications Volo.Abp.Specifications $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.TestBase/Volo.Abp.TestBase.csproj b/framework/src/Volo.Abp.TestBase/Volo.Abp.TestBase.csproj index 4b90693b3e..9cf201a287 100644 --- a/framework/src/Volo.Abp.TestBase/Volo.Abp.TestBase.csproj +++ b/framework/src/Volo.Abp.TestBase/Volo.Abp.TestBase.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.TestBase Volo.Abp.TestBase $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.TestBase/Volo/Abp/AbpTestBaseWithServiceProvider.cs b/framework/src/Volo.Abp.TestBase/Volo/Abp/AbpTestBaseWithServiceProvider.cs index 407660e854..04879b4fce 100644 --- a/framework/src/Volo.Abp.TestBase/Volo/Abp/AbpTestBaseWithServiceProvider.cs +++ b/framework/src/Volo.Abp.TestBase/Volo/Abp/AbpTestBaseWithServiceProvider.cs @@ -5,14 +5,14 @@ namespace Volo.Abp; public abstract class AbpTestBaseWithServiceProvider { - protected IServiceProvider ServiceProvider { get; set; } + protected IServiceProvider ServiceProvider { get; set; } = default!; - protected virtual T GetService() + protected virtual T? GetService() { return ServiceProvider.GetService(); } - - protected virtual T GetRequiredService() + + protected virtual T GetRequiredService() where T : notnull { return ServiceProvider.GetRequiredService(); } diff --git a/framework/src/Volo.Abp.TestBase/Volo/Abp/Testing/AbpAsyncIntegratedTest.cs b/framework/src/Volo.Abp.TestBase/Volo/Abp/Testing/AbpAsyncIntegratedTest.cs index 4238a8712b..4004c110a4 100644 --- a/framework/src/Volo.Abp.TestBase/Volo/Abp/Testing/AbpAsyncIntegratedTest.cs +++ b/framework/src/Volo.Abp.TestBase/Volo/Abp/Testing/AbpAsyncIntegratedTest.cs @@ -8,11 +8,11 @@ namespace Volo.Abp.Testing; public class AbpAsyncIntegratedTest : AbpTestBaseWithServiceProvider where TStartupModule : IAbpModule { - protected IAbpApplication Application { get; set; } + protected IAbpApplication Application { get; set; } = default!; - protected IServiceProvider RootServiceProvider { get; set; } + protected IServiceProvider RootServiceProvider { get; set; } = default!; - protected IServiceScope TestServiceScope { get; set; } + protected IServiceScope TestServiceScope { get; set; } = default!; public virtual async Task InitializeAsync() { diff --git a/framework/src/Volo.Abp.Threading/Volo.Abp.Threading.csproj b/framework/src/Volo.Abp.Threading/Volo.Abp.Threading.csproj index 70f9ecb0f8..2197766f6b 100644 --- a/framework/src/Volo.Abp.Threading/Volo.Abp.Threading.csproj +++ b/framework/src/Volo.Abp.Threading/Volo.Abp.Threading.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.Threading Volo.Abp.Threading $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.Threading/Volo/Abp/Linq/AsyncQueryableExecuter.cs b/framework/src/Volo.Abp.Threading/Volo/Abp/Linq/AsyncQueryableExecuter.cs index b6f4600caf..108d3bb595 100644 --- a/framework/src/Volo.Abp.Threading/Volo/Abp/Linq/AsyncQueryableExecuter.cs +++ b/framework/src/Volo.Abp.Threading/Volo/Abp/Linq/AsyncQueryableExecuter.cs @@ -17,7 +17,7 @@ public class AsyncQueryableExecuter : IAsyncQueryableExecuter, ISingletonDepende Providers = providers; } - protected virtual IAsyncQueryableProvider FindProvider(IQueryable queryable) + protected virtual IAsyncQueryableProvider? FindProvider(IQueryable queryable) { return Providers.FirstOrDefault(p => p.CanExecute(queryable)); } @@ -102,21 +102,29 @@ public class AsyncQueryableExecuter : IAsyncQueryableExecuter, ISingletonDepende : Task.FromResult(queryable.First(predicate)); } - public Task FirstOrDefaultAsync(IQueryable queryable, CancellationToken cancellationToken = default) + public Task FirstOrDefaultAsync(IQueryable queryable, CancellationToken cancellationToken = default) { var provider = FindProvider(queryable); - return provider != null - ? provider.FirstOrDefaultAsync(queryable, cancellationToken) - : Task.FromResult(queryable.FirstOrDefault()); + + if (provider != null) + { + return provider.FirstOrDefaultAsync(queryable, cancellationToken); + } + + return Task.FromResult(queryable.FirstOrDefault())!; } - public Task FirstOrDefaultAsync(IQueryable queryable, Expression> predicate, + public Task FirstOrDefaultAsync(IQueryable queryable, Expression> predicate, CancellationToken cancellationToken = default) { var provider = FindProvider(queryable); - return provider != null - ? provider.FirstOrDefaultAsync(queryable, predicate, cancellationToken) - : Task.FromResult(queryable.FirstOrDefault(predicate)); + + if (provider != null) + { + return provider.FirstOrDefaultAsync(queryable, predicate, cancellationToken); + } + + return Task.FromResult(queryable.FirstOrDefault(predicate))!; } public Task LastAsync(IQueryable queryable, CancellationToken cancellationToken = default) @@ -135,21 +143,29 @@ public class AsyncQueryableExecuter : IAsyncQueryableExecuter, ISingletonDepende : Task.FromResult(queryable.Last(predicate)); } - public Task LastOrDefaultAsync(IQueryable queryable, CancellationToken cancellationToken = default) + public Task LastOrDefaultAsync(IQueryable queryable, CancellationToken cancellationToken = default) { var provider = FindProvider(queryable); - return provider != null - ? provider.LastOrDefaultAsync(queryable, cancellationToken) - : Task.FromResult(queryable.LastOrDefault()); + + if (provider != null) + { + return provider.LastOrDefaultAsync(queryable, cancellationToken); + } + + return Task.FromResult(queryable.LastOrDefault())!; } - public Task LastOrDefaultAsync(IQueryable queryable, Expression> predicate, + public Task LastOrDefaultAsync(IQueryable queryable, Expression> predicate, CancellationToken cancellationToken = default) { var provider = FindProvider(queryable); - return provider != null - ? provider.LastOrDefaultAsync(queryable, predicate, cancellationToken) - : Task.FromResult(queryable.LastOrDefault(predicate)); + + if (provider != null) + { + return provider.LastOrDefaultAsync(queryable, predicate, cancellationToken); + } + + return Task.FromResult(queryable.LastOrDefault(predicate))!; } public Task SingleAsync(IQueryable queryable, CancellationToken cancellationToken = default) @@ -168,53 +184,77 @@ public class AsyncQueryableExecuter : IAsyncQueryableExecuter, ISingletonDepende : Task.FromResult(queryable.Single(predicate)); } - public Task SingleOrDefaultAsync(IQueryable queryable, CancellationToken cancellationToken = default) + public Task SingleOrDefaultAsync(IQueryable queryable, CancellationToken cancellationToken = default) { var provider = FindProvider(queryable); - return provider != null - ? provider.SingleOrDefaultAsync(queryable, cancellationToken) - : Task.FromResult(queryable.SingleOrDefault()); + + if (provider != null) + { + return provider.SingleOrDefaultAsync(queryable, cancellationToken); + } + + return Task.FromResult(queryable.SingleOrDefault())!; } - public Task SingleOrDefaultAsync(IQueryable queryable, Expression> predicate, + public Task SingleOrDefaultAsync(IQueryable queryable, Expression> predicate, CancellationToken cancellationToken = default) { var provider = FindProvider(queryable); - return provider != null - ? provider.SingleOrDefaultAsync(queryable, predicate, cancellationToken) - : Task.FromResult(queryable.SingleOrDefault(predicate)); + + if (provider != null) + { + return provider.SingleOrDefaultAsync(queryable, predicate, cancellationToken); + } + + return Task.FromResult(queryable.SingleOrDefault(predicate))!; } - public Task MinAsync(IQueryable queryable, CancellationToken cancellationToken = default) + public Task MinAsync(IQueryable queryable, CancellationToken cancellationToken = default) { var provider = FindProvider(queryable); - return provider != null - ? provider.MinAsync(queryable, cancellationToken) - : Task.FromResult(queryable.Min()); + + if(provider != null) + { + return provider.MinAsync(queryable, cancellationToken); + } + + return Task.FromResult(queryable.Min())!; } - public Task MinAsync(IQueryable queryable, Expression> selector, CancellationToken cancellationToken = default) + public Task MinAsync(IQueryable queryable, Expression> selector, CancellationToken cancellationToken = default) { var provider = FindProvider(queryable); - return provider != null - ? provider.MinAsync(queryable, selector, cancellationToken) - : Task.FromResult(queryable.Min(selector)); + + if(provider != null) + { + return provider.MinAsync(queryable, selector, cancellationToken); + } + + return Task.FromResult(queryable.Min(selector))!; } - public Task MaxAsync(IQueryable queryable, CancellationToken cancellationToken = default) + public Task MaxAsync(IQueryable queryable, CancellationToken cancellationToken = default) { var provider = FindProvider(queryable); - return provider != null - ? provider.MaxAsync(queryable, cancellationToken) - : Task.FromResult(queryable.Max()); + + if(provider != null) + { + return provider.MaxAsync(queryable, cancellationToken); + } + + return Task.FromResult(queryable.Max())!; } - public Task MaxAsync(IQueryable queryable, Expression> selector, CancellationToken cancellationToken = default) + public Task MaxAsync(IQueryable queryable, Expression> selector, CancellationToken cancellationToken = default) { var provider = FindProvider(queryable); - return provider != null - ? provider.MaxAsync(queryable, selector, cancellationToken) - : Task.FromResult(queryable.Max(selector)); + + if(provider != null) + { + return provider.MaxAsync(queryable, selector, cancellationToken); + } + + return Task.FromResult(queryable.Max(selector))!; } public Task SumAsync(IQueryable queryable, CancellationToken cancellationToken = default) diff --git a/framework/src/Volo.Abp.Threading/Volo/Abp/Linq/IAsyncQueryableExecuter.cs b/framework/src/Volo.Abp.Threading/Volo/Abp/Linq/IAsyncQueryableExecuter.cs index 5d1e3cf7d1..2bea6c4604 100644 --- a/framework/src/Volo.Abp.Threading/Volo/Abp/Linq/IAsyncQueryableExecuter.cs +++ b/framework/src/Volo.Abp.Threading/Volo/Abp/Linq/IAsyncQueryableExecuter.cs @@ -75,12 +75,12 @@ public interface IAsyncQueryableExecuter CancellationToken cancellationToken = default); - Task FirstOrDefaultAsync( + Task FirstOrDefaultAsync( [NotNull] IQueryable queryable, CancellationToken cancellationToken = default); - Task FirstOrDefaultAsync( + Task FirstOrDefaultAsync( [NotNull] IQueryable queryable, [NotNull] Expression> predicate, CancellationToken cancellationToken = default); @@ -100,12 +100,12 @@ public interface IAsyncQueryableExecuter CancellationToken cancellationToken = default); - Task LastOrDefaultAsync( + Task LastOrDefaultAsync( [NotNull] IQueryable queryable, CancellationToken cancellationToken = default); - Task LastOrDefaultAsync( + Task LastOrDefaultAsync( [NotNull] IQueryable queryable, [NotNull] Expression> predicate, CancellationToken cancellationToken = default); @@ -124,11 +124,11 @@ public interface IAsyncQueryableExecuter [NotNull] Expression> predicate, CancellationToken cancellationToken = default); - Task SingleOrDefaultAsync( + Task SingleOrDefaultAsync( [NotNull] IQueryable queryable, CancellationToken cancellationToken = default); - Task SingleOrDefaultAsync( + Task SingleOrDefaultAsync( [NotNull] IQueryable queryable, [NotNull] Expression> predicate, CancellationToken cancellationToken = default); @@ -137,12 +137,12 @@ public interface IAsyncQueryableExecuter #region Min - Task MinAsync( + Task MinAsync( [NotNull] IQueryable queryable, CancellationToken cancellationToken = default); - Task MinAsync( + Task MinAsync( [NotNull] IQueryable queryable, [NotNull] Expression> selector, CancellationToken cancellationToken = default); @@ -151,12 +151,12 @@ public interface IAsyncQueryableExecuter #region Max - Task MaxAsync( + Task MaxAsync( [NotNull] IQueryable queryable, CancellationToken cancellationToken = default); - Task MaxAsync( + Task MaxAsync( [NotNull] IQueryable queryable, [NotNull] Expression> selector, CancellationToken cancellationToken = default); diff --git a/framework/src/Volo.Abp.Threading/Volo/Abp/Linq/IAsyncQueryableProvider.cs b/framework/src/Volo.Abp.Threading/Volo/Abp/Linq/IAsyncQueryableProvider.cs index f32153d901..3f38553ac5 100644 --- a/framework/src/Volo.Abp.Threading/Volo/Abp/Linq/IAsyncQueryableProvider.cs +++ b/framework/src/Volo.Abp.Threading/Volo/Abp/Linq/IAsyncQueryableProvider.cs @@ -77,12 +77,12 @@ public interface IAsyncQueryableProvider CancellationToken cancellationToken = default); - Task FirstOrDefaultAsync( + Task FirstOrDefaultAsync( [NotNull] IQueryable queryable, CancellationToken cancellationToken = default); - Task FirstOrDefaultAsync( + Task FirstOrDefaultAsync( [NotNull] IQueryable queryable, [NotNull] Expression> predicate, CancellationToken cancellationToken = default); @@ -102,12 +102,12 @@ public interface IAsyncQueryableProvider CancellationToken cancellationToken = default); - Task LastOrDefaultAsync( + Task LastOrDefaultAsync( [NotNull] IQueryable queryable, CancellationToken cancellationToken = default); - Task LastOrDefaultAsync( + Task LastOrDefaultAsync( [NotNull] IQueryable queryable, [NotNull] Expression> predicate, CancellationToken cancellationToken = default); @@ -126,11 +126,11 @@ public interface IAsyncQueryableProvider [NotNull] Expression> predicate, CancellationToken cancellationToken = default); - Task SingleOrDefaultAsync( + Task SingleOrDefaultAsync( [NotNull] IQueryable queryable, CancellationToken cancellationToken = default); - Task SingleOrDefaultAsync( + Task SingleOrDefaultAsync( [NotNull] IQueryable queryable, [NotNull] Expression> predicate, CancellationToken cancellationToken = default); @@ -139,12 +139,12 @@ public interface IAsyncQueryableProvider #region Min - Task MinAsync( + Task MinAsync( [NotNull] IQueryable queryable, CancellationToken cancellationToken = default); - Task MinAsync( + Task MinAsync( [NotNull] IQueryable queryable, [NotNull] Expression> selector, CancellationToken cancellationToken = default); @@ -153,12 +153,12 @@ public interface IAsyncQueryableProvider #region Max - Task MaxAsync( + Task MaxAsync( [NotNull] IQueryable queryable, CancellationToken cancellationToken = default); - Task MaxAsync( + Task MaxAsync( [NotNull] IQueryable queryable, [NotNull] Expression> selector, CancellationToken cancellationToken = default); diff --git a/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/AbpAsyncTimer.cs b/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/AbpAsyncTimer.cs index 908b3fa09d..c17861ac21 100644 --- a/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/AbpAsyncTimer.cs +++ b/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/AbpAsyncTimer.cs @@ -43,7 +43,7 @@ public class AbpAsyncTimer : ITransientDependency Logger = NullLogger.Instance; _taskTimer = new Timer( - TimerCallBack, + TimerCallBack!, null, Timeout.Infinite, Timeout.Infinite diff --git a/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/AbpTimer.cs b/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/AbpTimer.cs index a5d7a4bdb8..05e4b14daa 100644 --- a/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/AbpTimer.cs +++ b/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/AbpTimer.cs @@ -15,7 +15,7 @@ public class AbpTimer : ITransientDependency /// /// This event is raised periodically according to Period of Timer. /// - public event EventHandler Elapsed; + public event EventHandler Elapsed = default!; /// /// Task period of timer (as milliseconds). @@ -42,7 +42,7 @@ public class AbpTimer : ITransientDependency Logger = NullLogger.Instance; _taskTimer = new Timer( - TimerCallBack, + TimerCallBack!, null, Timeout.Infinite, Timeout.Infinite diff --git a/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/AmbientDataContextAmbientScopeProvider.cs b/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/AmbientDataContextAmbientScopeProvider.cs index 06b71d16f3..3eabab1390 100644 --- a/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/AmbientDataContextAmbientScopeProvider.cs +++ b/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/AmbientDataContextAmbientScopeProvider.cs @@ -24,7 +24,7 @@ public class AmbientDataContextAmbientScopeProvider : IAmbientScopeProvider>.Instance; } - public T GetValue(string contextKey) + public T? GetValue(string contextKey) { var item = GetCurrentItem(contextKey); if (item == null) @@ -52,6 +52,11 @@ public class AmbientDataContextAmbientScopeProvider : IAmbientScopeProvider : IAmbientScopeProvider : IAmbientScopeProvider> AsyncLocalDictionary = new ConcurrentDictionary>(); + private static readonly ConcurrentDictionary> AsyncLocalDictionary = new ConcurrentDictionary>(); - public void SetData(string key, object value) + public void SetData(string key, object? value) { - var asyncLocal = AsyncLocalDictionary.GetOrAdd(key, (k) => new AsyncLocal()); + var asyncLocal = AsyncLocalDictionary.GetOrAdd(key, (k) => new AsyncLocal()); asyncLocal.Value = value; } - public object GetData(string key) + public object? GetData(string key) { - var asyncLocal = AsyncLocalDictionary.GetOrAdd(key, (k) => new AsyncLocal()); + var asyncLocal = AsyncLocalDictionary.GetOrAdd(key, (k) => new AsyncLocal()); return asyncLocal.Value; } } diff --git a/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/AsyncLocalSimpleScopeExtensions.cs b/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/AsyncLocalSimpleScopeExtensions.cs index 3d353921d9..5ad251f30c 100644 --- a/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/AsyncLocalSimpleScopeExtensions.cs +++ b/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/AsyncLocalSimpleScopeExtensions.cs @@ -5,11 +5,11 @@ namespace Volo.Abp.Threading; public static class AsyncLocalSimpleScopeExtensions { - public static IDisposable SetScoped(this AsyncLocal asyncLocal, T value) + public static IDisposable SetScoped(this AsyncLocal asyncLocal, T value) { var previousValue = asyncLocal.Value; asyncLocal.Value = value; - return new DisposeAction, T>>(static (state) => + return new DisposeAction, T?>>(static (state) => { var (asyncLocal, previousValue) = state; asyncLocal.Value = previousValue; diff --git a/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/CancellationTokenProviderBase.cs b/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/CancellationTokenProviderBase.cs index 7de1270ff0..a713d3a7fd 100644 --- a/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/CancellationTokenProviderBase.cs +++ b/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/CancellationTokenProviderBase.cs @@ -11,7 +11,7 @@ public abstract class CancellationTokenProviderBase : ICancellationTokenProvider protected IAmbientScopeProvider CancellationTokenOverrideScopeProvider { get; } - protected CancellationTokenOverride OverrideValue => CancellationTokenOverrideScopeProvider.GetValue(CancellationTokenOverrideContextKey); + protected CancellationTokenOverride? OverrideValue => CancellationTokenOverrideScopeProvider.GetValue(CancellationTokenOverrideContextKey); protected CancellationTokenProviderBase(IAmbientScopeProvider cancellationTokenOverrideScopeProvider) { diff --git a/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/IAmbientDataContext.cs b/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/IAmbientDataContext.cs index 78482aba53..ae5a2aeb92 100644 --- a/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/IAmbientDataContext.cs +++ b/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/IAmbientDataContext.cs @@ -2,7 +2,7 @@ public interface IAmbientDataContext { - void SetData(string key, object value); + void SetData(string key, object? value); - object GetData(string key); + object? GetData(string key); } diff --git a/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/IAmbientScopeProvider.cs b/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/IAmbientScopeProvider.cs index 4f2cd7650c..b65edec931 100644 --- a/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/IAmbientScopeProvider.cs +++ b/framework/src/Volo.Abp.Threading/Volo/Abp/Threading/IAmbientScopeProvider.cs @@ -4,7 +4,7 @@ namespace Volo.Abp.Threading; public interface IAmbientScopeProvider { - T GetValue(string contextKey); + T? GetValue(string contextKey); IDisposable BeginScope(string contextKey, T value); } diff --git a/framework/src/Volo.Abp.Timing/Volo.Abp.Timing.csproj b/framework/src/Volo.Abp.Timing/Volo.Abp.Timing.csproj index 4ba0547035..67875083a6 100644 --- a/framework/src/Volo.Abp.Timing/Volo.Abp.Timing.csproj +++ b/framework/src/Volo.Abp.Timing/Volo.Abp.Timing.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.Timing Volo.Abp.Timing $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.UI.Navigation/Volo.Abp.UI.Navigation.csproj b/framework/src/Volo.Abp.UI.Navigation/Volo.Abp.UI.Navigation.csproj index 65b07f1579..e23d96950e 100644 --- a/framework/src/Volo.Abp.UI.Navigation/Volo.Abp.UI.Navigation.csproj +++ b/framework/src/Volo.Abp.UI.Navigation/Volo.Abp.UI.Navigation.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.UI.Navigation Volo.Abp.UI.Navigation $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/ApplicationMenu.cs b/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/ApplicationMenu.cs index 9f48aebf97..d38279b1cd 100644 --- a/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/ApplicationMenu.cs +++ b/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/ApplicationMenu.cs @@ -26,7 +26,7 @@ public class ApplicationMenu : IHasMenuItems, IHasMenuGroups _displayName = value; } } - private string _displayName; + private string _displayName = default!; /// [NotNull] @@ -44,7 +44,7 @@ public class ApplicationMenu : IHasMenuItems, IHasMenuGroups public ApplicationMenu( [NotNull] string name, - string displayName = null) + string? displayName = null) { Check.NotNullOrWhiteSpace(name, nameof(name)); diff --git a/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/ApplicationMenuExtensions.cs b/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/ApplicationMenuExtensions.cs index 624abde425..59814ff3be 100644 --- a/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/ApplicationMenuExtensions.cs +++ b/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/ApplicationMenuExtensions.cs @@ -29,8 +29,7 @@ public static class ApplicationMenuExtensions return menuItem; } - [CanBeNull] - public static ApplicationMenuItem GetMenuItemOrNull( + public static ApplicationMenuItem? GetMenuItemOrNull( [NotNull] this IHasMenuItems menuWithItems, string menuItemName) { @@ -79,8 +78,7 @@ public static class ApplicationMenuExtensions return menuGroup; } - [CanBeNull] - public static ApplicationMenuGroup GetMenuGroupOrNull( + public static ApplicationMenuGroup? GetMenuGroupOrNull( [NotNull] this IHasMenuGroups menuWithGroups, string menuGroupName) { diff --git a/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/ApplicationMenuGroup.cs b/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/ApplicationMenuGroup.cs index 8d29e99552..ab76c1c337 100644 --- a/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/ApplicationMenuGroup.cs +++ b/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/ApplicationMenuGroup.cs @@ -4,8 +4,8 @@ namespace Volo.Abp.UI.Navigation; public class ApplicationMenuGroup { - private string _displayName; - private string _elementId; + private string _displayName = default!; + private string? _elementId; /// /// Default value of a group item. @@ -33,7 +33,7 @@ public class ApplicationMenuGroup /// /// Can be used to render the element with a specific Id for DOM selections. /// - public string ElementId { + public string? ElementId { get { return _elementId; } set { _elementId = NormalizeElementId(value); @@ -49,7 +49,7 @@ public class ApplicationMenuGroup public ApplicationMenuGroup( [NotNull] string name, [NotNull] string displayName, - string elementId = null, + string? elementId = null, int order = DefaultOrder) { Check.NotNullOrWhiteSpace(name, nameof(name)); @@ -57,7 +57,7 @@ public class ApplicationMenuGroup Name = name; DisplayName = displayName; - ElementId = elementId; + ElementId = elementId ?? GetDefaultElementId(); Order = order; } @@ -66,7 +66,7 @@ public class ApplicationMenuGroup return "MenuGroup_" + Name; } - private string NormalizeElementId(string elementId) + private string? NormalizeElementId(string? elementId) { return elementId?.Replace(".", "_"); } diff --git a/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/ApplicationMenuItem.cs b/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/ApplicationMenuItem.cs index 54bd591469..0c42a15c5e 100644 --- a/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/ApplicationMenuItem.cs +++ b/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/ApplicationMenuItem.cs @@ -7,8 +7,8 @@ namespace Volo.Abp.UI.Navigation; public class ApplicationMenuItem : IHasMenuItems, IHasSimpleStateCheckers { - private string _displayName; - private string _elementId; + private string _displayName = default!; + private string? _elementId; /// /// Default value of a menu item. @@ -42,14 +42,12 @@ public class ApplicationMenuItem : IHasMenuItems, IHasSimpleStateCheckers /// The URL to navigate when this menu item is selected. /// - [CanBeNull] - public string Url { get; set; } + public string? Url { get; set; } /// /// Icon of the menu item if exists. /// - [CanBeNull] - public string Icon { get; set; } + public string? Icon { get; set; } /// /// Returns true if this menu item has no child . @@ -59,8 +57,7 @@ public class ApplicationMenuItem : IHasMenuItems, IHasSimpleStateCheckers /// Target of the menu item. Can be null, "_blank", "_self", "_parent", "_top" or a frame name for web applications. /// - [CanBeNull] - public string Target { get; set; } + public string? Target { get; set; } /// /// Can be used to disable this menu item. @@ -71,9 +68,8 @@ public class ApplicationMenuItem : IHasMenuItems, IHasSimpleStateCheckers> StateCheckers { get; } @@ -86,7 +82,7 @@ public class ApplicationMenuItem : IHasMenuItems, IHasSimpleStateCheckers /// Can be used to render the element with a specific Id for DOM selections. /// - public string ElementId { + public string? ElementId { get { return _elementId; } set { _elementId = NormalizeElementId(value); @@ -96,24 +92,24 @@ public class ApplicationMenuItem : IHasMenuItems, IHasSimpleStateCheckers /// Can be used to render the element with extra CSS classes. /// - public string CssClass { get; set; } + public string? CssClass { get; set; } /// /// Can be used to group menu items. /// - public string GroupName { get; set; } + public string? GroupName { get; set; } public ApplicationMenuItem( [NotNull] string name, [NotNull] string displayName, - string url = null, - string icon = null, + string? url = null, + string? icon = null, int order = DefaultOrder, - string target = null, - string elementId = null, - string cssClass = null, - string groupName = null, - string requiredPermissionName = null) + string? target = null, + string? elementId = null, + string? cssClass = null, + string? groupName = null, + string? requiredPermissionName = null) { Check.NotNullOrWhiteSpace(name, nameof(name)); Check.NotNullOrWhiteSpace(displayName, nameof(displayName)); @@ -158,7 +154,7 @@ public class ApplicationMenuItem : IHasMenuItems, IHasSimpleStateCheckers !x.GroupName.IsNullOrWhiteSpace()).GroupBy(x => x.GroupName)) { - var group = applicationMenu.GetMenuGroupOrNull(menuGroup.First().GroupName); + var group = applicationMenu.GetMenuGroupOrNull(menuGroup.First().GroupName!); if (group != null) { continue; diff --git a/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/Urls/AppUrlProvider.cs b/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/Urls/AppUrlProvider.cs index ff1db3a772..17a4e684e9 100644 --- a/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/Urls/AppUrlProvider.cs +++ b/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/Urls/AppUrlProvider.cs @@ -33,7 +33,7 @@ public class AppUrlProvider : IAppUrlProvider, ITransientDependency Logger = NullLogger.Instance; } - public virtual async Task GetUrlAsync(string appName, string urlName = null) + public virtual async Task GetUrlAsync(string appName, string? urlName = null) { return await ReplacePlaceHoldersAsync( await GetConfiguredUrl( @@ -53,12 +53,12 @@ public class AppUrlProvider : IAppUrlProvider, ITransientDependency return allow; } - protected virtual async Task GetConfiguredUrl(string appName, string urlName) + protected virtual async Task GetConfiguredUrl(string appName, string? urlName) { var url = await GetUrlOrNullAsync(appName, urlName); if (!url.IsNullOrEmpty()) { - return url; + return url!; } if (!urlName.IsNullOrEmpty()) @@ -115,10 +115,10 @@ public class AppUrlProvider : IAppUrlProvider, ITransientDependency return tenantConfiguration.Name; } - return CurrentTenant.Name; + return CurrentTenant.Name!; } - public Task GetUrlOrNullAsync([NotNull] string appName, [CanBeNull] string urlName = null) + public Task GetUrlOrNullAsync([NotNull] string appName, string? urlName = null) { var app = Options.Applications[appName]; @@ -127,13 +127,13 @@ public class AppUrlProvider : IAppUrlProvider, ITransientDependency return Task.FromResult(app.RootUrl); } - var url = app.Urls.GetOrDefault(urlName); + var url = app.Urls.GetOrDefault(urlName!); if (app.RootUrl == null) { return Task.FromResult(url); } - return Task.FromResult(app.RootUrl.EnsureEndsWith('/') + url); + return Task.FromResult(app.RootUrl.EnsureEndsWith('/') + url); } } diff --git a/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/Urls/ApplicationUrlInfo.cs b/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/Urls/ApplicationUrlInfo.cs index 3e57fadcae..0e00c8039c 100644 --- a/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/Urls/ApplicationUrlInfo.cs +++ b/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/Urls/ApplicationUrlInfo.cs @@ -4,7 +4,7 @@ namespace Volo.Abp.UI.Navigation.Urls; public class ApplicationUrlInfo { - public string RootUrl { get; set; } + public string? RootUrl { get; set; } public IDictionary Urls { get; } diff --git a/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/Urls/IAppUrlProvider.cs b/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/Urls/IAppUrlProvider.cs index 51f6a56afa..9241c5f428 100644 --- a/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/Urls/IAppUrlProvider.cs +++ b/framework/src/Volo.Abp.UI.Navigation/Volo/Abp/Ui/Navigation/Urls/IAppUrlProvider.cs @@ -5,9 +5,9 @@ namespace Volo.Abp.UI.Navigation.Urls; public interface IAppUrlProvider { - Task GetUrlAsync([NotNull] string appName, [CanBeNull] string urlName = null); + Task GetUrlAsync([NotNull] string appName, string? urlName = null); - Task GetUrlOrNullAsync([NotNull] string appName, [CanBeNull] string urlName = null); + Task GetUrlOrNullAsync([NotNull] string appName, string? urlName = null); bool IsRedirectAllowedUrl(string url); } diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/en.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/en.json index 35e9e8978a..45b80c1aeb 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/en.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/en.json @@ -52,6 +52,7 @@ "OthersGroup": "Other", "Today": "Today", "Apply": "Apply", - "InternetConnectionInfo": "The operation could not be performed. Your internet connection is not available at the moment." + "InternetConnectionInfo": "The operation could not be performed. Your internet connection is not available at the moment.", + "CopiedToTheClipboard": "Copied to the clipboard" } } diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/tr.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/tr.json index 74c712baef..f3ede9eb41 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/tr.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/tr.json @@ -52,6 +52,7 @@ "OthersGroup": "Diğer", "Today": "Bugün", "Apply": "Uygula", - "InternetConnectionInfo": "İşlem gerçekleştirilemedi. İnternet bağlantısı mevcut değil." + "InternetConnectionInfo": "İşlem gerçekleştirilemedi. İnternet bağlantısı mevcut değil.", + "CopiedToTheClipboard": "Panoya kopyalandı" } } diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/zh-Hans.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/zh-Hans.json index 133faa7386..2305f35e52 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/zh-Hans.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/zh-Hans.json @@ -49,6 +49,7 @@ "ItemWillBeDeletedMessageWithFormat": "{0} 将被删除!", "ItemWillBeDeletedMessage": "此项将被删除!", "ManageYourAccount": "管理你的账户", - "OthersGroup": "其他" + "OthersGroup": "其他", + "CopiedToTheClipboard": "已复制到剪贴板" } } diff --git a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/zh-Hant.json b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/zh-Hant.json index 7bac7da3b8..7565c51287 100644 --- a/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/zh-Hant.json +++ b/framework/src/Volo.Abp.UI/Localization/Resources/AbpUi/zh-Hant.json @@ -49,6 +49,7 @@ "ItemWillBeDeletedMessageWithFormat": "{0} 將被刪除!", "ItemWillBeDeletedMessage": "此項目將被刪除!", "ManageYourAccount": "管理個人帳號", - "OthersGroup": "其他" + "OthersGroup": "其他", + "CopiedToTheClipboard": "已复制到剪贴板" } } diff --git a/framework/src/Volo.Abp.UI/Volo.Abp.UI.csproj b/framework/src/Volo.Abp.UI/Volo.Abp.UI.csproj index 0cf11fba78..b0bd555c96 100644 --- a/framework/src/Volo.Abp.UI/Volo.Abp.UI.csproj +++ b/framework/src/Volo.Abp.UI/Volo.Abp.UI.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.UI Volo.Abp.UI $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.UI/Volo/Abp/Ui/Branding/DefaultBrandingProvider.cs b/framework/src/Volo.Abp.UI/Volo/Abp/Ui/Branding/DefaultBrandingProvider.cs index 785c03a0e1..fcb1a7545e 100644 --- a/framework/src/Volo.Abp.UI/Volo/Abp/Ui/Branding/DefaultBrandingProvider.cs +++ b/framework/src/Volo.Abp.UI/Volo/Abp/Ui/Branding/DefaultBrandingProvider.cs @@ -6,7 +6,7 @@ public class DefaultBrandingProvider : IBrandingProvider, ITransientDependency { public virtual string AppName => "MyApplication"; - public virtual string LogoUrl => null; + public virtual string? LogoUrl => null; - public virtual string LogoReverseUrl => null; + public virtual string? LogoReverseUrl => null; } diff --git a/framework/src/Volo.Abp.UI/Volo/Abp/Ui/Branding/IBrandingProvider.cs b/framework/src/Volo.Abp.UI/Volo/Abp/Ui/Branding/IBrandingProvider.cs index 95085f56a6..f37ee09df1 100644 --- a/framework/src/Volo.Abp.UI/Volo/Abp/Ui/Branding/IBrandingProvider.cs +++ b/framework/src/Volo.Abp.UI/Volo/Abp/Ui/Branding/IBrandingProvider.cs @@ -7,10 +7,10 @@ public interface IBrandingProvider /// /// Logo on white background /// - string LogoUrl { get; } + string? LogoUrl { get; } /// /// Logo on dark background /// - string LogoReverseUrl { get; } + string? LogoReverseUrl { get; } } diff --git a/framework/src/Volo.Abp.UI/Volo/Abp/Ui/LayoutHooks/AbpLayoutHookOptions.cs b/framework/src/Volo.Abp.UI/Volo/Abp/Ui/LayoutHooks/AbpLayoutHookOptions.cs index d5ba4aa239..b76e713a8e 100644 --- a/framework/src/Volo.Abp.UI/Volo/Abp/Ui/LayoutHooks/AbpLayoutHookOptions.cs +++ b/framework/src/Volo.Abp.UI/Volo/Abp/Ui/LayoutHooks/AbpLayoutHookOptions.cs @@ -12,7 +12,7 @@ public class AbpLayoutHookOptions Hooks = new Dictionary>(); } - public AbpLayoutHookOptions Add(string name, Type componentType, string layout = null) + public AbpLayoutHookOptions Add(string name, Type componentType, string? layout = null) { Hooks .GetOrAdd(name, () => new List()) diff --git a/framework/src/Volo.Abp.UI/Volo/Abp/Ui/LayoutHooks/LayoutHookInfo.cs b/framework/src/Volo.Abp.UI/Volo/Abp/Ui/LayoutHooks/LayoutHookInfo.cs index db4ca39466..bb5c8e4801 100644 --- a/framework/src/Volo.Abp.UI/Volo/Abp/Ui/LayoutHooks/LayoutHookInfo.cs +++ b/framework/src/Volo.Abp.UI/Volo/Abp/Ui/LayoutHooks/LayoutHookInfo.cs @@ -13,9 +13,9 @@ public class LayoutHookInfo /// Specifies the layout name to apply this hook. /// null indicates that this hook will be applied to all layouts. /// - public string Layout { get; } + public string? Layout { get; } - public LayoutHookInfo(Type componentType, string layout = null) + public LayoutHookInfo(Type componentType, string? layout = null) { ComponentType = componentType; Layout = layout; diff --git a/framework/src/Volo.Abp.Uow/Volo.Abp.Uow.csproj b/framework/src/Volo.Abp.Uow/Volo.Abp.Uow.csproj index f33af433e7..f1c8b13cad 100644 --- a/framework/src/Volo.Abp.Uow/Volo.Abp.Uow.csproj +++ b/framework/src/Volo.Abp.Uow/Volo.Abp.Uow.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.Uow Volo.Abp.Uow $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/AlwaysDisableTransactionsUnitOfWorkManager.cs b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/AlwaysDisableTransactionsUnitOfWorkManager.cs index a02f63c3e1..462c001e6d 100644 --- a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/AlwaysDisableTransactionsUnitOfWorkManager.cs +++ b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/AlwaysDisableTransactionsUnitOfWorkManager.cs @@ -12,7 +12,7 @@ public class AlwaysDisableTransactionsUnitOfWorkManager : IUnitOfWorkManager _unitOfWorkManager = unitOfWorkManager; } - public IUnitOfWork Current => _unitOfWorkManager.Current; + public IUnitOfWork? Current => _unitOfWorkManager.Current; public IUnitOfWork Begin(AbpUnitOfWorkOptions options, bool requiresNew = false) { diff --git a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/AmbientUnitOfWork.cs b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/AmbientUnitOfWork.cs index 183126cb50..dc70dfad46 100644 --- a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/AmbientUnitOfWork.cs +++ b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/AmbientUnitOfWork.cs @@ -6,21 +6,21 @@ namespace Volo.Abp.Uow; [ExposeServices(typeof(IAmbientUnitOfWork), typeof(IUnitOfWorkAccessor))] public class AmbientUnitOfWork : IAmbientUnitOfWork, ISingletonDependency { - public IUnitOfWork UnitOfWork => _currentUow.Value; + public IUnitOfWork? UnitOfWork => _currentUow.Value; - private readonly AsyncLocal _currentUow; + private readonly AsyncLocal _currentUow; public AmbientUnitOfWork() { - _currentUow = new AsyncLocal(); + _currentUow = new AsyncLocal(); } - public void SetUnitOfWork(IUnitOfWork unitOfWork) + public void SetUnitOfWork(IUnitOfWork? unitOfWork) { _currentUow.Value = unitOfWork; } - public IUnitOfWork GetCurrentByChecking() + public IUnitOfWork? GetCurrentByChecking() { var uow = UnitOfWork; diff --git a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/ChildUnitOfWork.cs b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/ChildUnitOfWork.cs index bf8a44f724..eb51d8c189 100644 --- a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/ChildUnitOfWork.cs +++ b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/ChildUnitOfWork.cs @@ -10,9 +10,9 @@ internal class ChildUnitOfWork : IUnitOfWork { public Guid Id => _parent.Id; - public IAbpUnitOfWorkOptions Options => _parent.Options; + public IAbpUnitOfWorkOptions? Options => _parent.Options; - public IUnitOfWork Outer => _parent.Outer; + public IUnitOfWork? Outer => _parent.Outer; public bool IsReserved => _parent.IsReserved; @@ -20,10 +20,10 @@ internal class ChildUnitOfWork : IUnitOfWork public bool IsCompleted => _parent.IsCompleted; - public string ReservationName => _parent.ReservationName; + public string? ReservationName => _parent.ReservationName; - public event EventHandler Failed; - public event EventHandler Disposed; + public event EventHandler Failed = default!; + public event EventHandler Disposed = default!; public IServiceProvider ServiceProvider => _parent.ServiceProvider; @@ -37,11 +37,11 @@ internal class ChildUnitOfWork : IUnitOfWork _parent = parent; - _parent.Failed += (sender, args) => { Failed.InvokeSafely(sender, args); }; - _parent.Disposed += (sender, args) => { Disposed.InvokeSafely(sender, args); }; + _parent.Failed += (sender, args) => { Failed.InvokeSafely(sender!, args); }; + _parent.Disposed += (sender, args) => { Disposed.InvokeSafely(sender!, args); }; } - public void SetOuter(IUnitOfWork outer) + public void SetOuter(IUnitOfWork? outer) { _parent.SetOuter(outer); } @@ -78,19 +78,19 @@ internal class ChildUnitOfWork : IUnitOfWork public void AddOrReplaceLocalEvent( UnitOfWorkEventRecord eventRecord, - Predicate replacementSelector = null) + Predicate? replacementSelector = null) { _parent.AddOrReplaceLocalEvent(eventRecord, replacementSelector); } public void AddOrReplaceDistributedEvent( UnitOfWorkEventRecord eventRecord, - Predicate replacementSelector = null) + Predicate? replacementSelector = null) { _parent.AddOrReplaceDistributedEvent(eventRecord, replacementSelector); } - public IDatabaseApi FindDatabaseApi(string key) + public IDatabaseApi? FindDatabaseApi(string key) { return _parent.FindDatabaseApi(key); } @@ -105,7 +105,7 @@ internal class ChildUnitOfWork : IUnitOfWork return _parent.GetOrAddDatabaseApi(key, factory); } - public ITransactionApi FindTransactionApi(string key) + public ITransactionApi? FindTransactionApi(string key) { return _parent.FindTransactionApi(key); } diff --git a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/IAmbientUnitOfWork.cs b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/IAmbientUnitOfWork.cs index e29ed5aa6a..5781da4140 100644 --- a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/IAmbientUnitOfWork.cs +++ b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/IAmbientUnitOfWork.cs @@ -2,5 +2,5 @@ public interface IAmbientUnitOfWork : IUnitOfWorkAccessor { - IUnitOfWork GetCurrentByChecking(); + IUnitOfWork? GetCurrentByChecking(); } diff --git a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/IDatabaseApiContainer.cs b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/IDatabaseApiContainer.cs index 429bd48998..23d3b0f20b 100644 --- a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/IDatabaseApiContainer.cs +++ b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/IDatabaseApiContainer.cs @@ -6,8 +6,7 @@ namespace Volo.Abp.Uow; public interface IDatabaseApiContainer : IServiceProviderAccessor { - [CanBeNull] - IDatabaseApi FindDatabaseApi([NotNull] string key); + IDatabaseApi? FindDatabaseApi([NotNull] string key); void AddDatabaseApi([NotNull] string key, [NotNull] IDatabaseApi api); diff --git a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/ITransactionApiContainer.cs b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/ITransactionApiContainer.cs index f5bdf13ccb..9acce6ce69 100644 --- a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/ITransactionApiContainer.cs +++ b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/ITransactionApiContainer.cs @@ -5,8 +5,7 @@ namespace Volo.Abp.Uow; public interface ITransactionApiContainer { - [CanBeNull] - ITransactionApi FindTransactionApi([NotNull] string key); + ITransactionApi? FindTransactionApi([NotNull] string key); void AddTransactionApi([NotNull] string key, [NotNull] ITransactionApi api); diff --git a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/IUnitOfWork.cs b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/IUnitOfWork.cs index 200ce937d9..15dc2bdec0 100644 --- a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/IUnitOfWork.cs +++ b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/IUnitOfWork.cs @@ -17,9 +17,9 @@ public interface IUnitOfWork : IDatabaseApiContainer, ITransactionApiContainer, event EventHandler Disposed; - IAbpUnitOfWorkOptions Options { get; } + IAbpUnitOfWorkOptions? Options { get; } - IUnitOfWork Outer { get; } + IUnitOfWork? Outer { get; } bool IsReserved { get; } @@ -27,9 +27,9 @@ public interface IUnitOfWork : IDatabaseApiContainer, ITransactionApiContainer, bool IsCompleted { get; } - string ReservationName { get; } + string? ReservationName { get; } - void SetOuter([CanBeNull] IUnitOfWork outer); + void SetOuter(IUnitOfWork? outer); void Initialize([NotNull] AbpUnitOfWorkOptions options); @@ -45,11 +45,11 @@ public interface IUnitOfWork : IDatabaseApiContainer, ITransactionApiContainer, void AddOrReplaceLocalEvent( UnitOfWorkEventRecord eventRecord, - Predicate replacementSelector = null + Predicate? replacementSelector = null ); void AddOrReplaceDistributedEvent( UnitOfWorkEventRecord eventRecord, - Predicate replacementSelector = null + Predicate? replacementSelector = null ); } diff --git a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/IUnitOfWorkAccessor.cs b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/IUnitOfWorkAccessor.cs index 59fd00ce96..e2333b5bbc 100644 --- a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/IUnitOfWorkAccessor.cs +++ b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/IUnitOfWorkAccessor.cs @@ -4,8 +4,7 @@ namespace Volo.Abp.Uow; public interface IUnitOfWorkAccessor { - [CanBeNull] - IUnitOfWork UnitOfWork { get; } + IUnitOfWork? UnitOfWork { get; } - void SetUnitOfWork([CanBeNull] IUnitOfWork unitOfWork); + void SetUnitOfWork(IUnitOfWork? unitOfWork); } diff --git a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/IUnitOfWorkManager.cs b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/IUnitOfWorkManager.cs index 34796fe15b..4263dc5778 100644 --- a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/IUnitOfWorkManager.cs +++ b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/IUnitOfWorkManager.cs @@ -4,8 +4,7 @@ namespace Volo.Abp.Uow; public interface IUnitOfWorkManager { - [CanBeNull] - IUnitOfWork Current { get; } + IUnitOfWork? Current { get; } [NotNull] IUnitOfWork Begin([NotNull] AbpUnitOfWorkOptions options, bool requiresNew = false); diff --git a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/UnitOfWork.cs b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/UnitOfWork.cs index d5a7723e75..c04393d104 100644 --- a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/UnitOfWork.cs +++ b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/UnitOfWork.cs @@ -21,9 +21,9 @@ public class UnitOfWork : IUnitOfWork, ITransientDependency public Guid Id { get; } = Guid.NewGuid(); - public IAbpUnitOfWorkOptions Options { get; private set; } + public IAbpUnitOfWorkOptions? Options { get; private set; } - public IUnitOfWork Outer { get; private set; } + public IUnitOfWork? Outer { get; private set; } public bool IsReserved { get; set; } @@ -31,14 +31,14 @@ public class UnitOfWork : IUnitOfWork, ITransientDependency public bool IsCompleted { get; private set; } - public string ReservationName { get; set; } + public string? ReservationName { get; set; } protected List> CompletedHandlers { get; } = new List>(); protected List DistributedEvents { get; } = new List(); protected List LocalEvents { get; } = new List(); - public event EventHandler Failed; - public event EventHandler Disposed; + public event EventHandler Failed = default!; + public event EventHandler Disposed = default!; public IServiceProvider ServiceProvider { get; } protected IUnitOfWorkEventPublisher UnitOfWorkEventPublisher { get; } @@ -50,7 +50,7 @@ public class UnitOfWork : IUnitOfWork, ITransientDependency private readonly Dictionary _transactionApis; private readonly AbpUnitOfWorkDefaultOptions _defaultOptions; - private Exception _exception; + private Exception? _exception; private bool _isCompleting; private bool _isRolledback; @@ -90,7 +90,7 @@ public class UnitOfWork : IUnitOfWork, ITransientDependency IsReserved = true; } - public virtual void SetOuter(IUnitOfWork outer) + public virtual void SetOuter(IUnitOfWork? outer) { Outer = outer; } @@ -104,9 +104,9 @@ public class UnitOfWork : IUnitOfWork, ITransientDependency foreach (var databaseApi in GetAllActiveDatabaseApis()) { - if (databaseApi is ISupportsSavingChanges) + if (databaseApi is ISupportsSavingChanges supportsSavingChangesDatabaseApi) { - await (databaseApi as ISupportsSavingChanges).SaveChangesAsync(cancellationToken); + await supportsSavingChangesDatabaseApi.SaveChangesAsync(cancellationToken); } } } @@ -181,7 +181,7 @@ public class UnitOfWork : IUnitOfWork, ITransientDependency await RollbackAllAsync(cancellationToken); } - public virtual IDatabaseApi FindDatabaseApi(string key) + public virtual IDatabaseApi? FindDatabaseApi(string key) { return _databaseApis.GetOrDefault(key); } @@ -207,7 +207,7 @@ public class UnitOfWork : IUnitOfWork, ITransientDependency return _databaseApis.GetOrAdd(key, factory); } - public virtual ITransactionApi FindTransactionApi(string key) + public virtual ITransactionApi? FindTransactionApi(string key) { Check.NotNullOrWhiteSpace(key, nameof(key)); @@ -242,14 +242,14 @@ public class UnitOfWork : IUnitOfWork, ITransientDependency public virtual void AddOrReplaceLocalEvent( UnitOfWorkEventRecord eventRecord, - Predicate replacementSelector = null) + Predicate? replacementSelector = null) { AddOrReplaceEvent(LocalEvents, eventRecord, replacementSelector); } public virtual void AddOrReplaceDistributedEvent( UnitOfWorkEventRecord eventRecord, - Predicate replacementSelector = null) + Predicate? replacementSelector = null) { AddOrReplaceEvent(DistributedEvents, eventRecord, replacementSelector); } @@ -257,7 +257,7 @@ public class UnitOfWork : IUnitOfWork, ITransientDependency public virtual void AddOrReplaceEvent( List eventRecords, UnitOfWorkEventRecord eventRecord, - Predicate replacementSelector = null) + Predicate? replacementSelector = null) { if (replacementSelector == null) { @@ -340,11 +340,11 @@ public class UnitOfWork : IUnitOfWork, ITransientDependency { foreach (var databaseApi in GetAllActiveDatabaseApis()) { - if (databaseApi is ISupportsRollback) + if (databaseApi is ISupportsRollback supportsRollbackDatabaseApi) { try { - await (databaseApi as ISupportsRollback).RollbackAsync(cancellationToken); + await supportsRollbackDatabaseApi.RollbackAsync(cancellationToken); } catch { } } @@ -352,11 +352,11 @@ public class UnitOfWork : IUnitOfWork, ITransientDependency foreach (var transactionApi in GetAllActiveTransactionApis()) { - if (transactionApi is ISupportsRollback) + if (transactionApi is ISupportsRollback supportsRollbackTransactionApi) { try { - await (transactionApi as ISupportsRollback).RollbackAsync(cancellationToken); + await supportsRollbackTransactionApi.RollbackAsync(cancellationToken); } catch { } } diff --git a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/UnitOfWorkFailedEventArgs.cs b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/UnitOfWorkFailedEventArgs.cs index e8c1d293d7..5867beab13 100644 --- a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/UnitOfWorkFailedEventArgs.cs +++ b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/UnitOfWorkFailedEventArgs.cs @@ -13,8 +13,7 @@ public class UnitOfWorkFailedEventArgs : UnitOfWorkEventArgs /// Can be null if there is no exception, but is not called. /// Can be null if another exception occurred during the UOW. /// - [CanBeNull] - public Exception Exception { get; } + public Exception? Exception { get; } /// /// True, if the unit of work is manually rolled back. @@ -24,7 +23,7 @@ public class UnitOfWorkFailedEventArgs : UnitOfWorkEventArgs /// /// Creates a new object. /// - public UnitOfWorkFailedEventArgs([NotNull] IUnitOfWork unitOfWork, [CanBeNull] Exception exception, bool isRolledback) + public UnitOfWorkFailedEventArgs([NotNull] IUnitOfWork unitOfWork, Exception? exception, bool isRolledback) : base(unitOfWork) { Exception = exception; diff --git a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/UnitOfWorkHelper.cs b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/UnitOfWorkHelper.cs index 94929a6d1c..3e836a9ed0 100644 --- a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/UnitOfWorkHelper.cs +++ b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/UnitOfWorkHelper.cs @@ -23,7 +23,7 @@ public static class UnitOfWorkHelper return false; } - public static bool IsUnitOfWorkMethod([NotNull] MethodInfo methodInfo, [CanBeNull] out UnitOfWorkAttribute unitOfWorkAttribute) + public static bool IsUnitOfWorkMethod([NotNull] MethodInfo methodInfo, out UnitOfWorkAttribute? unitOfWorkAttribute) { Check.NotNull(methodInfo, nameof(methodInfo)); @@ -57,7 +57,7 @@ public static class UnitOfWorkHelper return false; } - public static UnitOfWorkAttribute GetUnitOfWorkAttributeOrNull(MethodInfo methodInfo) + public static UnitOfWorkAttribute? GetUnitOfWorkAttributeOrNull(MethodInfo methodInfo) { var attrs = methodInfo.GetCustomAttributes(true).OfType().ToArray(); if (attrs.Length > 0) @@ -65,12 +65,15 @@ public static class UnitOfWorkHelper return attrs[0]; } - attrs = methodInfo.DeclaringType.GetTypeInfo().GetCustomAttributes(true).OfType().ToArray(); - if (attrs.Length > 0) + if (methodInfo.DeclaringType != null) { - return attrs[0]; + attrs = methodInfo.DeclaringType.GetTypeInfo().GetCustomAttributes(true).OfType().ToArray(); + if (attrs.Length > 0) + { + return attrs[0]; + } } - + return null; } diff --git a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/UnitOfWorkInterceptor.cs b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/UnitOfWorkInterceptor.cs index 130f1d3e7b..d49d131299 100644 --- a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/UnitOfWorkInterceptor.cs +++ b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/UnitOfWorkInterceptor.cs @@ -52,7 +52,7 @@ public class UnitOfWorkInterceptor : AbpInterceptor, ITransientDependency } } - private AbpUnitOfWorkOptions CreateOptions(IServiceProvider serviceProvider, IAbpMethodInvocation invocation, [CanBeNull] UnitOfWorkAttribute unitOfWorkAttribute) + private AbpUnitOfWorkOptions CreateOptions(IServiceProvider serviceProvider, IAbpMethodInvocation invocation, UnitOfWorkAttribute? unitOfWorkAttribute) { var options = new AbpUnitOfWorkOptions(); diff --git a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/UnitOfWorkManager.cs b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/UnitOfWorkManager.cs index 4752f5bdba..970f7030ca 100644 --- a/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/UnitOfWorkManager.cs +++ b/framework/src/Volo.Abp.Uow/Volo/Abp/Uow/UnitOfWorkManager.cs @@ -10,7 +10,7 @@ public class UnitOfWorkManager : IUnitOfWorkManager, ISingletonDependency [Obsolete("This will be removed in next versions.")] public static AsyncLocal DisableObsoleteDbContextCreationWarning { get; } = new AsyncLocal(); - public IUnitOfWork Current => _ambientUnitOfWork.GetCurrentByChecking(); + public IUnitOfWork? Current => _ambientUnitOfWork.GetCurrentByChecking(); private readonly IServiceScopeFactory _serviceScopeFactory; private readonly IAmbientUnitOfWork _ambientUnitOfWork; diff --git a/framework/src/Volo.Abp.Validation.Abstractions/Volo.Abp.Validation.Abstractions.csproj b/framework/src/Volo.Abp.Validation.Abstractions/Volo.Abp.Validation.Abstractions.csproj index ff9731ff00..ea7347dd66 100644 --- a/framework/src/Volo.Abp.Validation.Abstractions/Volo.Abp.Validation.Abstractions.csproj +++ b/framework/src/Volo.Abp.Validation.Abstractions/Volo.Abp.Validation.Abstractions.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.Validation.Abstractions Volo.Abp.Validation.Abstractions $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.Validation/Volo.Abp.Validation.csproj b/framework/src/Volo.Abp.Validation/Volo.Abp.Validation.csproj index b8f10667a2..d56374024d 100644 --- a/framework/src/Volo.Abp.Validation/Volo.Abp.Validation.csproj +++ b/framework/src/Volo.Abp.Validation/Volo.Abp.Validation.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.Validation Volo.Abp.Validation $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/DataAnnotationObjectValidationContributor.cs b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/DataAnnotationObjectValidationContributor.cs index 8119e71271..90afe4d60e 100644 --- a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/DataAnnotationObjectValidationContributor.cs +++ b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/DataAnnotationObjectValidationContributor.cs @@ -33,7 +33,7 @@ public class DataAnnotationObjectValidationContributor : IObjectValidationContri return Task.CompletedTask; } - protected virtual void ValidateObjectRecursively(List errors, object validatingObject, int currentDepth) + protected virtual void ValidateObjectRecursively(List errors, object? validatingObject, int currentDepth) { if (currentDepth > MaxRecursiveParameterValidationDepth) { diff --git a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/DefaultAttributeValidationResultProvider.cs b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/DefaultAttributeValidationResultProvider.cs index feb8db8184..ced3615d04 100644 --- a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/DefaultAttributeValidationResultProvider.cs +++ b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/DefaultAttributeValidationResultProvider.cs @@ -5,7 +5,7 @@ namespace Volo.Abp.Validation; public class DefaultAttributeValidationResultProvider : IAttributeValidationResultProvider, ITransientDependency { - public virtual ValidationResult GetOrDefault(ValidationAttribute validationAttribute, object validatingObject, ValidationContext validationContext) + public virtual ValidationResult? GetOrDefault(ValidationAttribute validationAttribute, object? validatingObject, ValidationContext validationContext) { return validationAttribute.GetValidationResult(validatingObject, validationContext); } diff --git a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/IAttributeValidationResultProvider.cs b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/IAttributeValidationResultProvider.cs index 737dbac508..5cc919b967 100644 --- a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/IAttributeValidationResultProvider.cs +++ b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/IAttributeValidationResultProvider.cs @@ -4,5 +4,5 @@ namespace Volo.Abp.Validation; public interface IAttributeValidationResultProvider { - ValidationResult GetOrDefault(ValidationAttribute validationAttribute, object validatingObject, ValidationContext validationContext); + ValidationResult? GetOrDefault(ValidationAttribute validationAttribute, object? validatingObject, ValidationContext validationContext); } diff --git a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/IObjectValidator.cs b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/IObjectValidator.cs index 57d60b0f8e..51cff66c10 100644 --- a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/IObjectValidator.cs +++ b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/IObjectValidator.cs @@ -8,13 +8,13 @@ public interface IObjectValidator { Task ValidateAsync( object validatingObject, - string name = null, + string? name = null, bool allowNull = false ); Task> GetErrorsAsync( object validatingObject, - string name = null, + string? name = null, bool allowNull = false ); } diff --git a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/ObjectValidator.cs b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/ObjectValidator.cs index 83dd17521f..dd3ff2f395 100644 --- a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/ObjectValidator.cs +++ b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/ObjectValidator.cs @@ -19,7 +19,7 @@ public class ObjectValidator : IObjectValidator, ITransientDependency Options = options.Value; } - public virtual async Task ValidateAsync(object validatingObject, string name = null, bool allowNull = false) + public virtual async Task ValidateAsync(object validatingObject, string? name = null, bool allowNull = false) { var errors = await GetErrorsAsync(validatingObject, name, allowNull); @@ -32,7 +32,7 @@ public class ObjectValidator : IObjectValidator, ITransientDependency } } - public virtual async Task> GetErrorsAsync(object validatingObject, string name = null, bool allowNull = false) + public virtual async Task> GetErrorsAsync(object validatingObject, string? name = null, bool allowNull = false) { if (validatingObject == null) { diff --git a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/AlwaysValidValueValidator.cs b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/AlwaysValidValueValidator.cs index e986124fd9..1aad057983 100644 --- a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/AlwaysValidValueValidator.cs +++ b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/AlwaysValidValueValidator.cs @@ -6,7 +6,7 @@ namespace Volo.Abp.Validation.StringValues; [ValueValidator("NULL")] public class AlwaysValidValueValidator : ValueValidatorBase { - public override bool IsValid(object value) + public override bool IsValid(object? value) { return true; } diff --git a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/BooleanValueValidator.cs b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/BooleanValueValidator.cs index 3330b2bd49..5328cc8590 100644 --- a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/BooleanValueValidator.cs +++ b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/BooleanValueValidator.cs @@ -6,7 +6,7 @@ namespace Volo.Abp.Validation.StringValues; [ValueValidator("BOOLEAN")] public class BooleanValueValidator : ValueValidatorBase { - public override bool IsValid(object value) + public override bool IsValid(object? value) { if (value == null) { diff --git a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/IStringValueType.cs b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/IStringValueType.cs index 6cddb0701c..94493fd2b4 100644 --- a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/IStringValueType.cs +++ b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/IStringValueType.cs @@ -7,11 +7,10 @@ public interface IStringValueType { string Name { get; } - [CanBeNull] - object this[string key] { get; set; } + object? this[string key] { get; set; } [NotNull] - Dictionary Properties { get; } + Dictionary Properties { get; } IValueValidator Validator { get; set; } } diff --git a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/IValueValidator.cs b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/IValueValidator.cs index c449ed891e..6095f6ecc4 100644 --- a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/IValueValidator.cs +++ b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/IValueValidator.cs @@ -7,11 +7,10 @@ public interface IValueValidator { string Name { get; } - [CanBeNull] - object this[string key] { get; set; } + object? this[string key] { get; set; } [NotNull] - IDictionary Properties { get; } + IDictionary Properties { get; } - bool IsValid(object value); + bool IsValid(object? value); } diff --git a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/LocalizableSelectionStringValueItem.cs b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/LocalizableSelectionStringValueItem.cs index e01b7ee69b..753b4a8df0 100644 --- a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/LocalizableSelectionStringValueItem.cs +++ b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/LocalizableSelectionStringValueItem.cs @@ -2,7 +2,7 @@ public class LocalizableSelectionStringValueItem : ISelectionStringValueItem { - public string Value { get; set; } + public string Value { get; set; } = default!; - public LocalizableStringInfo DisplayText { get; set; } + public LocalizableStringInfo DisplayText { get; set; } = default!; } diff --git a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/NumericValueValidator.cs b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/NumericValueValidator.cs index 213327f884..e665301247 100644 --- a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/NumericValueValidator.cs +++ b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/NumericValueValidator.cs @@ -28,7 +28,7 @@ public class NumericValueValidator : ValueValidatorBase MaxValue = maxValue; } - public override bool IsValid(object value) + public override bool IsValid(object? value) { if (value == null) { diff --git a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/SelectionStringValueType.cs b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/SelectionStringValueType.cs index 50fd401f00..92145ac764 100644 --- a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/SelectionStringValueType.cs +++ b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/SelectionStringValueType.cs @@ -6,7 +6,7 @@ namespace Volo.Abp.Validation.StringValues; [StringValueType("SELECTION")] public class SelectionStringValueType : StringValueTypeBase { - public ISelectionStringValueItemSource ItemSource { get; set; } + public ISelectionStringValueItemSource ItemSource { get; set; } = default!; public SelectionStringValueType() { diff --git a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/StringValueTypeBase.cs b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/StringValueTypeBase.cs index 2700b691f1..4e4f44b1d7 100644 --- a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/StringValueTypeBase.cs +++ b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/StringValueTypeBase.cs @@ -8,12 +8,12 @@ public abstract class StringValueTypeBase : IStringValueType { public virtual string Name => ValueValidatorAttribute.GetName(GetType()); - public object this[string key] { + public object? this[string key] { get => Properties.GetOrDefault(key); set => Properties[key] = value; } - public Dictionary Properties { get; } + public Dictionary Properties { get; } public IValueValidator Validator { get; set; } @@ -26,6 +26,6 @@ public abstract class StringValueTypeBase : IStringValueType protected StringValueTypeBase(IValueValidator validator) { Validator = validator; - Properties = new Dictionary(); + Properties = new Dictionary(); } } diff --git a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/StringValueValidator.cs b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/StringValueValidator.cs index 4b2cea9b67..3b3318719a 100644 --- a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/StringValueValidator.cs +++ b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/StringValueValidator.cs @@ -22,7 +22,7 @@ public class StringValueValidator : ValueValidatorBase set => this["MaxLength"] = value; } - public string RegularExpression { + public string? RegularExpression { get => this["RegularExpression"] as string; set => this["RegularExpression"] = value; } @@ -32,7 +32,7 @@ public class StringValueValidator : ValueValidatorBase } - public StringValueValidator(int minLength = 0, int maxLength = 0, string regularExpression = null, bool allowNull = false) + public StringValueValidator(int minLength = 0, int maxLength = 0, string? regularExpression = null, bool allowNull = false) { MinLength = minLength; MaxLength = maxLength; @@ -40,20 +40,18 @@ public class StringValueValidator : ValueValidatorBase AllowNull = allowNull; } - public override bool IsValid(object value) + public override bool IsValid(object? value) { if (value == null) { return AllowNull; } - if (!(value is string)) + if (!(value is string strValue)) { return false; } - var strValue = value as string; - if (MinLength > 0 && strValue.Length < MinLength) { return false; @@ -66,7 +64,7 @@ public class StringValueValidator : ValueValidatorBase if (!RegularExpression.IsNullOrEmpty()) { - return Regex.IsMatch(strValue, RegularExpression); + return Regex.IsMatch(strValue, RegularExpression!); } return true; diff --git a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/ValueValidatorBase.cs b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/ValueValidatorBase.cs index 4537562301..5befa8ce7c 100644 --- a/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/ValueValidatorBase.cs +++ b/framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/ValueValidatorBase.cs @@ -8,17 +8,17 @@ public abstract class ValueValidatorBase : IValueValidator { public virtual string Name => ValueValidatorAttribute.GetName(GetType()); - public object this[string key] { + public object? this[string key] { get => Properties.GetOrDefault(key); set => Properties[key] = value; } - public IDictionary Properties { get; } + public IDictionary Properties { get; } protected ValueValidatorBase() { - Properties = new Dictionary(); + Properties = new Dictionary(); } - public abstract bool IsValid(object value); + public abstract bool IsValid(object? value); } diff --git a/framework/src/Volo.Abp.VirtualFileSystem/Microsoft/Extensions/FileProviders/AbpFileInfoExtensions.cs b/framework/src/Volo.Abp.VirtualFileSystem/Microsoft/Extensions/FileProviders/AbpFileInfoExtensions.cs index 14db7846f3..8ca3c11c42 100644 --- a/framework/src/Volo.Abp.VirtualFileSystem/Microsoft/Extensions/FileProviders/AbpFileInfoExtensions.cs +++ b/framework/src/Volo.Abp.VirtualFileSystem/Microsoft/Extensions/FileProviders/AbpFileInfoExtensions.cs @@ -84,7 +84,7 @@ public static class AbpFileInfoExtensions } } - public static string GetVirtualOrPhysicalPathOrNull([NotNull] this IFileInfo fileInfo) + public static string? GetVirtualOrPhysicalPathOrNull([NotNull] this IFileInfo fileInfo) { Check.NotNull(fileInfo, nameof(fileInfo)); diff --git a/framework/src/Volo.Abp.VirtualFileSystem/Volo.Abp.VirtualFileSystem.csproj b/framework/src/Volo.Abp.VirtualFileSystem/Volo.Abp.VirtualFileSystem.csproj index 7e4ade4eca..97698351c7 100644 --- a/framework/src/Volo.Abp.VirtualFileSystem/Volo.Abp.VirtualFileSystem.csproj +++ b/framework/src/Volo.Abp.VirtualFileSystem/Volo.Abp.VirtualFileSystem.csproj @@ -5,6 +5,8 @@ netstandard2.0;netstandard2.1;net7.0 + enable + Nullable Volo.Abp.VirtualFileSystem Volo.Abp.VirtualFileSystem $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; diff --git a/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/DictionaryBasedFileProvider.cs b/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/DictionaryBasedFileProvider.cs index fddf2fec76..cb0786393b 100644 --- a/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/DictionaryBasedFileProvider.cs +++ b/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/DictionaryBasedFileProvider.cs @@ -9,11 +9,11 @@ public abstract class DictionaryBasedFileProvider : IFileProvider { protected abstract IDictionary Files { get; } - public virtual IFileInfo GetFileInfo(string subpath) + public virtual IFileInfo GetFileInfo(string? subpath) { if (subpath == null) { - return new NotFoundFileInfo(subpath); + return new NotFoundFileInfo(subpath!); } var file = Files.GetOrDefault(NormalizePath(subpath)); @@ -40,7 +40,7 @@ public abstract class DictionaryBasedFileProvider : IFileProvider foreach (var fileInfo in Files.Values) { var fullPath = fileInfo.GetVirtualOrPhysicalPathOrNull(); - if (!fullPath.StartsWith(directoryPath)) + if (fullPath == null || !fullPath.StartsWith(directoryPath)) { continue; } diff --git a/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/DynamicFileProvider.cs b/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/DynamicFileProvider.cs index c10ca90afe..12e5184a97 100644 --- a/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/DynamicFileProvider.cs +++ b/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/DynamicFileProvider.cs @@ -32,8 +32,8 @@ public class DynamicFileProvider : DictionaryBasedFileProvider, IDynamicFileProv public void AddOrUpdate(IFileInfo fileInfo) { var filePath = fileInfo.GetVirtualOrPhysicalPathOrNull(); - DynamicFiles.AddOrUpdate(filePath, fileInfo, (key, value) => fileInfo); - ReportChange(filePath); + DynamicFiles.AddOrUpdate(filePath!, fileInfo, (key, value) => fileInfo); + ReportChange(filePath!); } public bool Delete(string filePath) diff --git a/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/Embedded/AbpEmbeddedFileProvider.cs b/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/Embedded/AbpEmbeddedFileProvider.cs index e147cfc347..9ea816e0eb 100644 --- a/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/Embedded/AbpEmbeddedFileProvider.cs +++ b/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/Embedded/AbpEmbeddedFileProvider.cs @@ -13,15 +13,14 @@ public class AbpEmbeddedFileProvider : DictionaryBasedFileProvider [NotNull] public Assembly Assembly { get; } - [CanBeNull] - public string BaseNamespace { get; } + public string? BaseNamespace { get; } protected override IDictionary Files => _files.Value; private readonly Lazy> _files; public AbpEmbeddedFileProvider( [NotNull] Assembly assembly, - [CanBeNull] string baseNamespace = null) + string? baseNamespace = null) { Check.NotNull(assembly, nameof(assembly)); @@ -40,7 +39,7 @@ public class AbpEmbeddedFileProvider : DictionaryBasedFileProvider foreach (var resourcePath in Assembly.GetManifestResourceNames()) { - if (!BaseNamespace.IsNullOrEmpty() && !resourcePath.StartsWith(BaseNamespace)) + if (!BaseNamespace.IsNullOrEmpty() && !resourcePath.StartsWith(BaseNamespace!)) { continue; } @@ -106,7 +105,7 @@ public class AbpEmbeddedFileProvider : DictionaryBasedFileProvider { if (!BaseNamespace.IsNullOrEmpty()) { - resourceName = resourceName.Substring(BaseNamespace.Length + 1); + resourceName = resourceName.Substring(BaseNamespace!.Length + 1); } var pathParts = resourceName.Split('.'); diff --git a/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/Embedded/EmbeddedResourceFileInfo.cs b/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/Embedded/EmbeddedResourceFileInfo.cs index 8dfc13f66b..33ddb0bec7 100644 --- a/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/Embedded/EmbeddedResourceFileInfo.cs +++ b/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/Embedded/EmbeddedResourceFileInfo.cs @@ -18,7 +18,7 @@ public class EmbeddedResourceFileInfo : IFileInfo { using (var stream = _assembly.GetManifestResourceStream(_resourcePath)) { - _length = stream.Length; + _length = stream!.Length; } } @@ -27,7 +27,7 @@ public class EmbeddedResourceFileInfo : IFileInfo } private long? _length; - public string PhysicalPath => null; + public string? PhysicalPath => null; public string VirtualPath { get; } @@ -68,7 +68,7 @@ public class EmbeddedResourceFileInfo : IFileInfo _length = stream.Length; } - return stream; + return stream!; } public override string ToString() diff --git a/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/Embedded/EmbeddedVirtualFileSetInfo.cs b/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/Embedded/EmbeddedVirtualFileSetInfo.cs index 37642fc6fe..3515722b77 100644 --- a/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/Embedded/EmbeddedVirtualFileSetInfo.cs +++ b/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/Embedded/EmbeddedVirtualFileSetInfo.cs @@ -7,12 +7,12 @@ public class EmbeddedVirtualFileSetInfo : VirtualFileSetInfo { public Assembly Assembly { get; } - public string BaseFolder { get; } + public string? BaseFolder { get; } public EmbeddedVirtualFileSetInfo( IFileProvider fileProvider, Assembly assembly, - string baseFolder = null) + string? baseFolder = null) : base(fileProvider) { Assembly = assembly; diff --git a/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/InMemoryFileInfo.cs b/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/InMemoryFileInfo.cs index db3932b1ee..f192766aaf 100644 --- a/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/InMemoryFileInfo.cs +++ b/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/InMemoryFileInfo.cs @@ -10,7 +10,7 @@ public class InMemoryFileInfo : IFileInfo public long Length => _fileContent.Length; - public string PhysicalPath => null; + public string? PhysicalPath => null; public string Name { get; } diff --git a/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/VirtualFileSetListExtensions.cs b/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/VirtualFileSetListExtensions.cs index 3767645861..e25721f00f 100644 --- a/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/VirtualFileSetListExtensions.cs +++ b/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/VirtualFileSetListExtensions.cs @@ -13,8 +13,8 @@ public static class VirtualFileSetListExtensions { public static void AddEmbedded( [NotNull] this VirtualFileSetList list, - [CanBeNull] string baseNamespace = null, - [CanBeNull] string baseFolder = null) + string? baseNamespace = null, + string? baseFolder = null) { Check.NotNull(list, nameof(list)); @@ -42,8 +42,8 @@ public static class VirtualFileSetListExtensions private static IFileProvider CreateFileProvider( [NotNull] Assembly assembly, - [CanBeNull] string baseNamespace = null, - [CanBeNull] string baseFolder = null) + string? baseNamespace = null, + string? baseFolder = null) { Check.NotNull(assembly, nameof(assembly)); @@ -80,7 +80,7 @@ public static class VirtualFileSetListExtensions if (!embeddedVirtualFileSet.BaseFolder.IsNullOrEmpty()) { - thisPath = Path.Combine(thisPath, embeddedVirtualFileSet.BaseFolder); + thisPath = Path.Combine(thisPath, embeddedVirtualFileSet.BaseFolder!); } fileSets[i] = new PhysicalVirtualFileSetInfo(new PhysicalFileProvider(thisPath), thisPath); diff --git a/framework/test/Volo.Abp.Core.Tests/Volo/Abp/Modularity/ModuleLoader_Tests.cs b/framework/test/Volo.Abp.Core.Tests/Volo/Abp/Modularity/ModuleLoader_Tests.cs index eb15943670..d06025302d 100644 --- a/framework/test/Volo.Abp.Core.Tests/Volo/Abp/Modularity/ModuleLoader_Tests.cs +++ b/framework/test/Volo.Abp.Core.Tests/Volo/Abp/Modularity/ModuleLoader_Tests.cs @@ -21,9 +21,14 @@ public class ModuleLoader_Tests modules.Length.ShouldBe(2); modules[0].Type.ShouldBe(typeof(IndependentEmptyModule)); modules[1].Type.ShouldBe(typeof(MyStartupModule)); + modules[1].Assembly.ShouldBe(typeof(MyStartupModule).Assembly); + modules[1].AllAssemblies.Count.ShouldBe(2); + modules[1].AllAssemblies[0].ShouldBe(typeof(IAbpApplication).Assembly); + modules[1].AllAssemblies[1].ShouldBe(typeof(MyStartupModule).Assembly); } [DependsOn(typeof(IndependentEmptyModule))] + [AdditionalAssembly(typeof(IAbpApplication))] public class MyStartupModule : AbpModule { public override void ConfigureServices(ServiceConfigurationContext context) diff --git a/framework/test/Volo.Abp.Core.Tests/Volo/Abp/Reflection/AssemblyFinder_Tests.cs b/framework/test/Volo.Abp.Core.Tests/Volo/Abp/Reflection/AssemblyFinder_Tests.cs index 2ba02eee6b..f3086dcb8c 100644 --- a/framework/test/Volo.Abp.Core.Tests/Volo/Abp/Reflection/AssemblyFinder_Tests.cs +++ b/framework/test/Volo.Abp.Core.Tests/Volo/Abp/Reflection/AssemblyFinder_Tests.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using System.Linq; +using System.Reflection; using NSubstitute; using Shouldly; using Volo.Abp.Modularity; @@ -50,6 +51,7 @@ public class AssemblyFinder_Tests { var moduleDescriptor = Substitute.For(); moduleDescriptor.Type.Returns(moduleType); + moduleDescriptor.AllAssemblies.Returns(new List { moduleType.Assembly }); return moduleDescriptor; } } diff --git a/latest-versions.json b/latest-versions.json index ee5249ef27..1e25f674d5 100644 --- a/latest-versions.json +++ b/latest-versions.json @@ -1,8 +1,8 @@ [ - { - "version": "7.2.2", - "releaseDate": "", - "type": "stable", - "message": "" - } -] + { + "version": "7.2.3", + "releaseDate": "", + "type": "stable", + "message": "" + } +] \ No newline at end of file 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 a4eb775dc1..68379055d8 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.2", + "@abp/aspnetcore.mvc.ui.theme.shared": "~7.2.3", "highlight.js": "^9.13.1" }, "devDependencies": {} diff --git a/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js b/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js deleted file mode 100644 index bc8f4b5d51..0000000000 --- a/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js +++ /dev/null @@ -1,5 +0,0 @@ -(function () { - [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map(function (tooltipTriggerEl) { - return new bootstrap.Tooltip(tooltipTriggerEl) - }); -})(); 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 c490581c3b..b1fcabbb07 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.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== +"@abp/aspnetcore.mvc.ui.theme.shared@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.shared/-/aspnetcore.mvc.ui.theme.shared-7.2.3.tgz#189dde88792497d29f76a6079dc6db34973ee98d" + integrity sha512-+G2mM/BJWqgGqZFg6GP28PaCtq+YlRmRfg7r0JQ1wkAN9pc11yKm0LRQjFnkcVBzg0A+N2hZqnFbW7wQhwXOHg== + dependencies: + "@abp/aspnetcore.mvc.ui" "~7.2.3" + "@abp/bootstrap" "~7.2.3" + "@abp/bootstrap-datepicker" "~7.2.3" + "@abp/bootstrap-daterangepicker" "~7.2.3" + "@abp/datatables.net-bs5" "~7.2.3" + "@abp/font-awesome" "~7.2.3" + "@abp/jquery-form" "~7.2.3" + "@abp/jquery-validation-unobtrusive" "~7.2.3" + "@abp/lodash" "~7.2.3" + "@abp/luxon" "~7.2.3" + "@abp/malihu-custom-scrollbar-plugin" "~7.2.3" + "@abp/moment" "~7.2.3" + "@abp/select2" "~7.2.3" + "@abp/sweetalert2" "~7.2.3" + "@abp/timeago" "~7.2.3" + "@abp/toastr" "~7.2.3" + +"@abp/aspnetcore.mvc.ui@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui/-/aspnetcore.mvc.ui-7.2.3.tgz#d828561e678f6ea779a67c908705ba553ae82edc" + integrity sha512-KJCw6OxjQBgNw4QoSoDQOe32bFF9NvHdD09zMVsoCB/GgN66dcbZnk+ldidHcwjLFDPXOuHJMx+TKmno3VgUaQ== 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.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== +"@abp/bootstrap-datepicker@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap-datepicker/-/bootstrap-datepicker-7.2.3.tgz#7610ff44a6c1ea73f0c9b4c79a31cbb9e505d66f" + integrity sha512-wiKVXftVrXcjwz0FpshD6P4WW3CNk/4cLH15aaqRjM+J0BigDeH9CczlpVc7jXdn+c8plHIRz0t5tqlUud7dIQ== dependencies: bootstrap-datepicker "^1.9.0" -"@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== +"@abp/bootstrap-daterangepicker@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap-daterangepicker/-/bootstrap-daterangepicker-7.2.3.tgz#3946fb853dae52ef092db4bb23b94389577c17d3" + integrity sha512-ChdnXMzHvg+HwrUtw2z6KuqRTqHVOq8qEBai+IPW6PykJSML+tZKzer3jzDIzyHq68OIqom3n3xL0XpcniKMew== dependencies: bootstrap-daterangepicker "^3.1.0" -"@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== +"@abp/bootstrap@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap/-/bootstrap-7.2.3.tgz#43ecd5912ac65bbc142f198ec112b0b2a15e4864" + integrity sha512-Z00q1sAwo9PvFSpfFlbbUHPMyghLOzuEuAzz/8nA6tK7WR0KQBS/0zGC0nK9hNwbyZ4FqKwPSznRVwuwrnqyhQ== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" bootstrap "^5.1.3" -"@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== +"@abp/core@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/core/-/core-7.2.3.tgz#a669073989a30f600355b368c01c654714456f17" + integrity sha512-UyKBWwXbKCzKZwV2YJPgP3v2naDFsfJzV+KEHpdgLdPZyrpBhp+bQ80VNVe2HHrD/bLfhM4fu9pCXw6RYZKnvA== dependencies: - "@abp/utils" "~7.2.2" + "@abp/utils" "~7.2.3" -"@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== +"@abp/datatables.net-bs5@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/datatables.net-bs5/-/datatables.net-bs5-7.2.3.tgz#362f3b8ff2f3612989787e2b6ef19bad181b4206" + integrity sha512-TmXTkIX+Vb1O/fER5JeRlWIOZLoSXG4QD3F0ZbebrjgS9k7oSu9igR/VhXBs1m1lvOqcNKv7Y4LTNRAMw+Mi0A== dependencies: - "@abp/datatables.net" "~7.2.2" + "@abp/datatables.net" "~7.2.3" datatables.net-bs5 "^1.11.4" -"@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== +"@abp/datatables.net@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/datatables.net/-/datatables.net-7.2.3.tgz#36661e223d15a0f75caad607094007d974ba678b" + integrity sha512-g+LmRMg4Sk34iU/MN4RpgC/yd8NVEjhVWg/kT+nuWunsnwLHkcfK59KPGXn9ZLktL4VqQYj2WeXbDv8TEbOObg== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" datatables.net "^1.11.4" -"@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== +"@abp/font-awesome@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/font-awesome/-/font-awesome-7.2.3.tgz#09b7c02b16ff99c9b5b62c1eefad9b1fc2879bcd" + integrity sha512-+4QRhfU08t1MYkmzTPX0B+p+SZQtOqtlDafzeDm5X6fbOlxV1hi97eRWtLtLgLjodjJWztpECWcsTUTgDhExwQ== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" "@fortawesome/fontawesome-free" "^5.15.4" -"@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== +"@abp/jquery-form@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-form/-/jquery-form-7.2.3.tgz#b0b295b22ae2ba292100e64d0bb97b3e1e295307" + integrity sha512-ucdGIZ0sxefakGRei9BJvDuoN16fKsYfpOT70/udw3k7uC3gFJD0AvAlEOEZPsFZhpNoqUKexNMym4lZovqBkg== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" jquery-form "^4.3.0" -"@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== +"@abp/jquery-validation-unobtrusive@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-validation-unobtrusive/-/jquery-validation-unobtrusive-7.2.3.tgz#1df04e286baa521c216cb949468199e6cacc34e3" + integrity sha512-Hcf1sqAFRIAYKqvN1pZGed+lazzY1nztvcmQlOOgUquiXRS3QjI3dIvxWw5nekJwUPqMpSfuC1GErQo0KpE1fw== dependencies: - "@abp/jquery-validation" "~7.2.2" + "@abp/jquery-validation" "~7.2.3" jquery-validation-unobtrusive "^3.2.12" -"@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== +"@abp/jquery-validation@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-validation/-/jquery-validation-7.2.3.tgz#438ac052e5d71dab50cf5da8be60ea68a460a725" + integrity sha512-drpE5mXErHQPk/4KChsj3zwNCA4GqNlYquTtHNv9/t5S/NuGqFAkchPV6mRYaiQypcxCndZQNSUEqnWxbuMY0g== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" jquery-validation "^1.19.3" -"@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== +"@abp/jquery@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery/-/jquery-7.2.3.tgz#555192ff0bcde89bbabee0f734ff74bf77cce1b5" + integrity sha512-r/p3D2QlV57YvrGJsLfTuIJGwLSSi5AVFtkmgKyfpyXYOCNb+TVF9sEZOZnoZebX6cT0JRvtUfZ0dk6ZBebAzg== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" jquery "~3.6.0" -"@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== +"@abp/lodash@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/lodash/-/lodash-7.2.3.tgz#99c1667f1499a7f318902e96ff81b4184b0dce86" + integrity sha512-5KuXPPpa2mkTlUYPR83bUTJUSSGoq9/kFSf9fYC0Wk2mFFeG4mRK6mXwcyHTfYshQe2qxuncxZsJ+4j5uQN9PA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" lodash "^4.17.21" -"@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== +"@abp/luxon@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/luxon/-/luxon-7.2.3.tgz#f643ed28b2d1743edd41edfec98d0e70b2f1f008" + integrity sha512-Y3IT1GbyuNSAzfpGnc5uzjz3Z/nDRUpYiZhoX0XeoQlJ+GyVT/+dytsZbuQBLgEWmQJhk9zxdcITXFT5vrWDcw== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" luxon "^2.3.0" -"@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== +"@abp/malihu-custom-scrollbar-plugin@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/malihu-custom-scrollbar-plugin/-/malihu-custom-scrollbar-plugin-7.2.3.tgz#a29f25921b07683b02e2f5c82a3da827e3e7d552" + integrity sha512-wq9eBrw/bY3wb50v5zuL0qOcVLOT86XN2ZJQj69O/bi2+0WNdLRCqMHhY0kaafb7UIBAlKChKA/xeICwCZxn+w== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" malihu-custom-scrollbar-plugin "^3.1.5" -"@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== +"@abp/moment@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/moment/-/moment-7.2.3.tgz#f6d2ba7b030b81239853490bdcc9e3c2bd4a39b1" + integrity sha512-pXsOzSom9RZHRGWuVaLIVzSkPayIcWMMmgSyo8T3gtZzZG/QJbpBWT+pug0X8pmV8So4d9E0LjacmODBKLM30A== dependencies: moment "^2.9.0" -"@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== +"@abp/select2@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/select2/-/select2-7.2.3.tgz#4cecd1cd843807583fce09ef632f472f3f7da70b" + integrity sha512-Cdzl467UftB421W+l8uikGr2NlOsHwxKDxt5yPrF03LEec1MBys5y7UPUV1TEO6l0xwAVi4mW8dXaawyIOSjUA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" select2 "^4.0.13" -"@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== +"@abp/sweetalert2@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/sweetalert2/-/sweetalert2-7.2.3.tgz#9e9c503bdb4d47d2b67b0d8193d82145884c90f3" + integrity sha512-KHZD1YRMN6Z4JxPfXuEwocubooux8nKq6sPNG6RKg+rWpp23Fp8nX/ZngJNywVXSRqzrdEvUAM+92JG7zMwKXw== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" sweetalert2 "^11.3.6" -"@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== +"@abp/timeago@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/timeago/-/timeago-7.2.3.tgz#2ced6fa607a0471bf3385fbf5d9b1f2d902e824a" + integrity sha512-7eiibNXJWBGpQnitd/i8aWUNHOkcsuq8fAwBLJWvG8Whhh1nmBEjng0pGhheMqo0xoydefWi1K2uZDg99tKPeQ== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" timeago "^1.6.7" -"@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== +"@abp/toastr@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/toastr/-/toastr-7.2.3.tgz#0ef7c24b232ca3d01d4ac5a7dff57800b0ebdcbf" + integrity sha512-2zNMQE6ArRULP6xl+M66/EY83ZrXfNY+sNHUkmZH4uqfGhqR/ijKIQm1quxCLDmUcAjRr1kzu8BCc98pc9tfFw== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" toastr "^2.1.4" -"@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== +"@abp/utils@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/utils/-/utils-7.2.3.tgz#f384ba76b2948dbc8c49a453a343facda0825e2c" + integrity sha512-hejxDJhSI9Kor4mS9c/JHHQrW/wLXC/XMOJMUcBVkX/5IQd9GU9EW63oalNQyVA3gz3h5obnb0Qcfdv65wc5Pg== 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 c164aa0919..1553f24233 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.2", - "@abp/prismjs": "~7.2.2" + "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.3", + "@abp/prismjs": "~7.2.3" }, "devDependencies": {} } diff --git a/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Demo/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js b/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Demo/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js deleted file mode 100644 index 39ca36d655..0000000000 --- a/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Demo/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js +++ /dev/null @@ -1,5 +0,0 @@ -(function () { - [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')).map(function (popoverTriggerEl) { - return new bootstrap.Popover(popoverTriggerEl) - }) -})(); diff --git a/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Demo/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js b/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Demo/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js deleted file mode 100644 index bc8f4b5d51..0000000000 --- a/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Demo/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js +++ /dev/null @@ -1,5 +0,0 @@ -(function () { - [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map(function (tooltipTriggerEl) { - return new bootstrap.Tooltip(tooltipTriggerEl) - }); -})(); 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 1711cb0ae7..99aa4c3110 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.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== +"@abp/aspnetcore.mvc.ui.theme.basic@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.basic/-/aspnetcore.mvc.ui.theme.basic-7.2.3.tgz#31f2dda74b2bf8f520caf97690e509fd1c1088c4" + integrity sha512-7DIwWrkLJSc2kXYcIcZH+EivpwOXzkO4j2yrUilK0OijoOM9Pa/iGStdNTPlYioOKUNti3/1zah+v5SELNdqIw== + dependencies: + "@abp/aspnetcore.mvc.ui.theme.shared" "~7.2.3" + +"@abp/aspnetcore.mvc.ui.theme.shared@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.shared/-/aspnetcore.mvc.ui.theme.shared-7.2.3.tgz#189dde88792497d29f76a6079dc6db34973ee98d" + integrity sha512-+G2mM/BJWqgGqZFg6GP28PaCtq+YlRmRfg7r0JQ1wkAN9pc11yKm0LRQjFnkcVBzg0A+N2hZqnFbW7wQhwXOHg== + dependencies: + "@abp/aspnetcore.mvc.ui" "~7.2.3" + "@abp/bootstrap" "~7.2.3" + "@abp/bootstrap-datepicker" "~7.2.3" + "@abp/bootstrap-daterangepicker" "~7.2.3" + "@abp/datatables.net-bs5" "~7.2.3" + "@abp/font-awesome" "~7.2.3" + "@abp/jquery-form" "~7.2.3" + "@abp/jquery-validation-unobtrusive" "~7.2.3" + "@abp/lodash" "~7.2.3" + "@abp/luxon" "~7.2.3" + "@abp/malihu-custom-scrollbar-plugin" "~7.2.3" + "@abp/moment" "~7.2.3" + "@abp/select2" "~7.2.3" + "@abp/sweetalert2" "~7.2.3" + "@abp/timeago" "~7.2.3" + "@abp/toastr" "~7.2.3" + +"@abp/aspnetcore.mvc.ui@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui/-/aspnetcore.mvc.ui-7.2.3.tgz#d828561e678f6ea779a67c908705ba553ae82edc" + integrity sha512-KJCw6OxjQBgNw4QoSoDQOe32bFF9NvHdD09zMVsoCB/GgN66dcbZnk+ldidHcwjLFDPXOuHJMx+TKmno3VgUaQ== 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.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== +"@abp/bootstrap-datepicker@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap-datepicker/-/bootstrap-datepicker-7.2.3.tgz#7610ff44a6c1ea73f0c9b4c79a31cbb9e505d66f" + integrity sha512-wiKVXftVrXcjwz0FpshD6P4WW3CNk/4cLH15aaqRjM+J0BigDeH9CczlpVc7jXdn+c8plHIRz0t5tqlUud7dIQ== dependencies: bootstrap-datepicker "^1.9.0" -"@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== +"@abp/bootstrap-daterangepicker@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap-daterangepicker/-/bootstrap-daterangepicker-7.2.3.tgz#3946fb853dae52ef092db4bb23b94389577c17d3" + integrity sha512-ChdnXMzHvg+HwrUtw2z6KuqRTqHVOq8qEBai+IPW6PykJSML+tZKzer3jzDIzyHq68OIqom3n3xL0XpcniKMew== dependencies: bootstrap-daterangepicker "^3.1.0" -"@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== +"@abp/bootstrap@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap/-/bootstrap-7.2.3.tgz#43ecd5912ac65bbc142f198ec112b0b2a15e4864" + integrity sha512-Z00q1sAwo9PvFSpfFlbbUHPMyghLOzuEuAzz/8nA6tK7WR0KQBS/0zGC0nK9hNwbyZ4FqKwPSznRVwuwrnqyhQ== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" bootstrap "^5.1.3" -"@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== +"@abp/clipboard@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/clipboard/-/clipboard-7.2.3.tgz#dcd8ffc229bd0419be6cd49679fe65dfea90163e" + integrity sha512-Eu7GIMqXpGqU1UK3gm0QfI4DQLaWcFLeO/hL/RefqU79kpWwN+PKg4bYAH8uuYovQUR8i0DRwk8rqOlayjjWRA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" clipboard "^2.0.8" -"@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== +"@abp/core@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/core/-/core-7.2.3.tgz#a669073989a30f600355b368c01c654714456f17" + integrity sha512-UyKBWwXbKCzKZwV2YJPgP3v2naDFsfJzV+KEHpdgLdPZyrpBhp+bQ80VNVe2HHrD/bLfhM4fu9pCXw6RYZKnvA== dependencies: - "@abp/utils" "~7.2.2" + "@abp/utils" "~7.2.3" -"@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== +"@abp/datatables.net-bs5@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/datatables.net-bs5/-/datatables.net-bs5-7.2.3.tgz#362f3b8ff2f3612989787e2b6ef19bad181b4206" + integrity sha512-TmXTkIX+Vb1O/fER5JeRlWIOZLoSXG4QD3F0ZbebrjgS9k7oSu9igR/VhXBs1m1lvOqcNKv7Y4LTNRAMw+Mi0A== dependencies: - "@abp/datatables.net" "~7.2.2" + "@abp/datatables.net" "~7.2.3" datatables.net-bs5 "^1.11.4" -"@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== +"@abp/datatables.net@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/datatables.net/-/datatables.net-7.2.3.tgz#36661e223d15a0f75caad607094007d974ba678b" + integrity sha512-g+LmRMg4Sk34iU/MN4RpgC/yd8NVEjhVWg/kT+nuWunsnwLHkcfK59KPGXn9ZLktL4VqQYj2WeXbDv8TEbOObg== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" datatables.net "^1.11.4" -"@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== +"@abp/font-awesome@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/font-awesome/-/font-awesome-7.2.3.tgz#09b7c02b16ff99c9b5b62c1eefad9b1fc2879bcd" + integrity sha512-+4QRhfU08t1MYkmzTPX0B+p+SZQtOqtlDafzeDm5X6fbOlxV1hi97eRWtLtLgLjodjJWztpECWcsTUTgDhExwQ== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" "@fortawesome/fontawesome-free" "^5.15.4" -"@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== +"@abp/jquery-form@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-form/-/jquery-form-7.2.3.tgz#b0b295b22ae2ba292100e64d0bb97b3e1e295307" + integrity sha512-ucdGIZ0sxefakGRei9BJvDuoN16fKsYfpOT70/udw3k7uC3gFJD0AvAlEOEZPsFZhpNoqUKexNMym4lZovqBkg== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" jquery-form "^4.3.0" -"@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== +"@abp/jquery-validation-unobtrusive@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-validation-unobtrusive/-/jquery-validation-unobtrusive-7.2.3.tgz#1df04e286baa521c216cb949468199e6cacc34e3" + integrity sha512-Hcf1sqAFRIAYKqvN1pZGed+lazzY1nztvcmQlOOgUquiXRS3QjI3dIvxWw5nekJwUPqMpSfuC1GErQo0KpE1fw== dependencies: - "@abp/jquery-validation" "~7.2.2" + "@abp/jquery-validation" "~7.2.3" jquery-validation-unobtrusive "^3.2.12" -"@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== +"@abp/jquery-validation@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-validation/-/jquery-validation-7.2.3.tgz#438ac052e5d71dab50cf5da8be60ea68a460a725" + integrity sha512-drpE5mXErHQPk/4KChsj3zwNCA4GqNlYquTtHNv9/t5S/NuGqFAkchPV6mRYaiQypcxCndZQNSUEqnWxbuMY0g== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" jquery-validation "^1.19.3" -"@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== +"@abp/jquery@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery/-/jquery-7.2.3.tgz#555192ff0bcde89bbabee0f734ff74bf77cce1b5" + integrity sha512-r/p3D2QlV57YvrGJsLfTuIJGwLSSi5AVFtkmgKyfpyXYOCNb+TVF9sEZOZnoZebX6cT0JRvtUfZ0dk6ZBebAzg== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" jquery "~3.6.0" -"@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== +"@abp/lodash@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/lodash/-/lodash-7.2.3.tgz#99c1667f1499a7f318902e96ff81b4184b0dce86" + integrity sha512-5KuXPPpa2mkTlUYPR83bUTJUSSGoq9/kFSf9fYC0Wk2mFFeG4mRK6mXwcyHTfYshQe2qxuncxZsJ+4j5uQN9PA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" lodash "^4.17.21" -"@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== +"@abp/luxon@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/luxon/-/luxon-7.2.3.tgz#f643ed28b2d1743edd41edfec98d0e70b2f1f008" + integrity sha512-Y3IT1GbyuNSAzfpGnc5uzjz3Z/nDRUpYiZhoX0XeoQlJ+GyVT/+dytsZbuQBLgEWmQJhk9zxdcITXFT5vrWDcw== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" luxon "^2.3.0" -"@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== +"@abp/malihu-custom-scrollbar-plugin@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/malihu-custom-scrollbar-plugin/-/malihu-custom-scrollbar-plugin-7.2.3.tgz#a29f25921b07683b02e2f5c82a3da827e3e7d552" + integrity sha512-wq9eBrw/bY3wb50v5zuL0qOcVLOT86XN2ZJQj69O/bi2+0WNdLRCqMHhY0kaafb7UIBAlKChKA/xeICwCZxn+w== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" malihu-custom-scrollbar-plugin "^3.1.5" -"@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== +"@abp/moment@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/moment/-/moment-7.2.3.tgz#f6d2ba7b030b81239853490bdcc9e3c2bd4a39b1" + integrity sha512-pXsOzSom9RZHRGWuVaLIVzSkPayIcWMMmgSyo8T3gtZzZG/QJbpBWT+pug0X8pmV8So4d9E0LjacmODBKLM30A== dependencies: moment "^2.9.0" -"@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== +"@abp/prismjs@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/prismjs/-/prismjs-7.2.3.tgz#3ecef3120373eea8a5d01a7b12aa7669aff45307" + integrity sha512-yR/UPqpQ9MTHqBo5bK5izaVemdyqcncxWNIb1NETU4FwZ8ucLRnCbxX427gQUSWlqo6qc+Q9vdS4hOWjLTuroA== dependencies: - "@abp/clipboard" "~7.2.2" - "@abp/core" "~7.2.2" + "@abp/clipboard" "~7.2.3" + "@abp/core" "~7.2.3" prismjs "^1.26.0" -"@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== +"@abp/select2@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/select2/-/select2-7.2.3.tgz#4cecd1cd843807583fce09ef632f472f3f7da70b" + integrity sha512-Cdzl467UftB421W+l8uikGr2NlOsHwxKDxt5yPrF03LEec1MBys5y7UPUV1TEO6l0xwAVi4mW8dXaawyIOSjUA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" select2 "^4.0.13" -"@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== +"@abp/sweetalert2@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/sweetalert2/-/sweetalert2-7.2.3.tgz#9e9c503bdb4d47d2b67b0d8193d82145884c90f3" + integrity sha512-KHZD1YRMN6Z4JxPfXuEwocubooux8nKq6sPNG6RKg+rWpp23Fp8nX/ZngJNywVXSRqzrdEvUAM+92JG7zMwKXw== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" sweetalert2 "^11.3.6" -"@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== +"@abp/timeago@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/timeago/-/timeago-7.2.3.tgz#2ced6fa607a0471bf3385fbf5d9b1f2d902e824a" + integrity sha512-7eiibNXJWBGpQnitd/i8aWUNHOkcsuq8fAwBLJWvG8Whhh1nmBEjng0pGhheMqo0xoydefWi1K2uZDg99tKPeQ== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" timeago "^1.6.7" -"@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== +"@abp/toastr@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/toastr/-/toastr-7.2.3.tgz#0ef7c24b232ca3d01d4ac5a7dff57800b0ebdcbf" + integrity sha512-2zNMQE6ArRULP6xl+M66/EY83ZrXfNY+sNHUkmZH4uqfGhqR/ijKIQm1quxCLDmUcAjRr1kzu8BCc98pc9tfFw== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" toastr "^2.1.4" -"@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== +"@abp/utils@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/utils/-/utils-7.2.3.tgz#f384ba76b2948dbc8c49a453a343facda0825e2c" + integrity sha512-hejxDJhSI9Kor4mS9c/JHHQrW/wLXC/XMOJMUcBVkX/5IQd9GU9EW63oalNQyVA3gz3h5obnb0Qcfdv65wc5Pg== dependencies: just-compare "^1.3.0" diff --git a/modules/blogging/app/Volo.BloggingTestApp/package.json b/modules/blogging/app/Volo.BloggingTestApp/package.json index 5b062c6c1a..298b0e1dae 100644 --- a/modules/blogging/app/Volo.BloggingTestApp/package.json +++ b/modules/blogging/app/Volo.BloggingTestApp/package.json @@ -3,7 +3,7 @@ "name": "volo.blogtestapp", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.2", - "@abp/blogging": "~7.2.2" + "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.3", + "@abp/blogging": "~7.2.3" } } diff --git a/modules/blogging/app/Volo.BloggingTestApp/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js b/modules/blogging/app/Volo.BloggingTestApp/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js deleted file mode 100644 index 39ca36d655..0000000000 --- a/modules/blogging/app/Volo.BloggingTestApp/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js +++ /dev/null @@ -1,5 +0,0 @@ -(function () { - [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')).map(function (popoverTriggerEl) { - return new bootstrap.Popover(popoverTriggerEl) - }) -})(); diff --git a/modules/blogging/app/Volo.BloggingTestApp/yarn.lock b/modules/blogging/app/Volo.BloggingTestApp/yarn.lock index b197c39b79..e1edf87de6 100644 --- a/modules/blogging/app/Volo.BloggingTestApp/yarn.lock +++ b/modules/blogging/app/Volo.BloggingTestApp/yarn.lock @@ -2,39 +2,39 @@ # yarn lockfile v1 -"@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== +"@abp/aspnetcore.mvc.ui.theme.basic@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.basic/-/aspnetcore.mvc.ui.theme.basic-7.2.3.tgz#31f2dda74b2bf8f520caf97690e509fd1c1088c4" + integrity sha512-7DIwWrkLJSc2kXYcIcZH+EivpwOXzkO4j2yrUilK0OijoOM9Pa/iGStdNTPlYioOKUNti3/1zah+v5SELNdqIw== + dependencies: + "@abp/aspnetcore.mvc.ui.theme.shared" "~7.2.3" + +"@abp/aspnetcore.mvc.ui.theme.shared@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.shared/-/aspnetcore.mvc.ui.theme.shared-7.2.3.tgz#189dde88792497d29f76a6079dc6db34973ee98d" + integrity sha512-+G2mM/BJWqgGqZFg6GP28PaCtq+YlRmRfg7r0JQ1wkAN9pc11yKm0LRQjFnkcVBzg0A+N2hZqnFbW7wQhwXOHg== + dependencies: + "@abp/aspnetcore.mvc.ui" "~7.2.3" + "@abp/bootstrap" "~7.2.3" + "@abp/bootstrap-datepicker" "~7.2.3" + "@abp/bootstrap-daterangepicker" "~7.2.3" + "@abp/datatables.net-bs5" "~7.2.3" + "@abp/font-awesome" "~7.2.3" + "@abp/jquery-form" "~7.2.3" + "@abp/jquery-validation-unobtrusive" "~7.2.3" + "@abp/lodash" "~7.2.3" + "@abp/luxon" "~7.2.3" + "@abp/malihu-custom-scrollbar-plugin" "~7.2.3" + "@abp/moment" "~7.2.3" + "@abp/select2" "~7.2.3" + "@abp/sweetalert2" "~7.2.3" + "@abp/timeago" "~7.2.3" + "@abp/toastr" "~7.2.3" + +"@abp/aspnetcore.mvc.ui@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui/-/aspnetcore.mvc.ui-7.2.3.tgz#d828561e678f6ea779a67c908705ba553ae82edc" + integrity sha512-KJCw6OxjQBgNw4QoSoDQOe32bFF9NvHdD09zMVsoCB/GgN66dcbZnk+ldidHcwjLFDPXOuHJMx+TKmno3VgUaQ== dependencies: ansi-colors "^4.1.1" extend-object "^1.0.0" @@ -43,201 +43,201 @@ merge-stream "^2.0.0" micromatch "^4.0.2" -"@abp/blogging@~7.2.2": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@abp/blogging/-/blogging-7.2.2.tgz#d862220b56de1a6527e6b28f67001278d2ef90ec" - integrity sha512-50/iEC6B6Hy0W9lnC9bYW2RjUzB2VCMA/x/kVT9nOmdDaOdqwg/qc3NleNdHBkVoeH5BzhjXW6oAXc3+8TXEzA== +"@abp/blogging@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/blogging/-/blogging-7.2.3.tgz#ec058af87c72e3528cd9dcca4b3523c85e043e05" + integrity sha512-l0beNX9Fas9+wBzfFrE2zyQVPxvEowBGNta6d6XNQJN3kAPMQuaEhib9J/srY+0XRBlxsfpdpEsQsK8AWreRaA== dependencies: - "@abp/aspnetcore.mvc.ui.theme.shared" "~7.2.2" - "@abp/owl.carousel" "~7.2.2" - "@abp/prismjs" "~7.2.2" - "@abp/tui-editor" "~7.2.2" + "@abp/aspnetcore.mvc.ui.theme.shared" "~7.2.3" + "@abp/owl.carousel" "~7.2.3" + "@abp/prismjs" "~7.2.3" + "@abp/tui-editor" "~7.2.3" -"@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== +"@abp/bootstrap-datepicker@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap-datepicker/-/bootstrap-datepicker-7.2.3.tgz#7610ff44a6c1ea73f0c9b4c79a31cbb9e505d66f" + integrity sha512-wiKVXftVrXcjwz0FpshD6P4WW3CNk/4cLH15aaqRjM+J0BigDeH9CczlpVc7jXdn+c8plHIRz0t5tqlUud7dIQ== dependencies: bootstrap-datepicker "^1.9.0" -"@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== +"@abp/bootstrap-daterangepicker@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap-daterangepicker/-/bootstrap-daterangepicker-7.2.3.tgz#3946fb853dae52ef092db4bb23b94389577c17d3" + integrity sha512-ChdnXMzHvg+HwrUtw2z6KuqRTqHVOq8qEBai+IPW6PykJSML+tZKzer3jzDIzyHq68OIqom3n3xL0XpcniKMew== dependencies: bootstrap-daterangepicker "^3.1.0" -"@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== +"@abp/bootstrap@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap/-/bootstrap-7.2.3.tgz#43ecd5912ac65bbc142f198ec112b0b2a15e4864" + integrity sha512-Z00q1sAwo9PvFSpfFlbbUHPMyghLOzuEuAzz/8nA6tK7WR0KQBS/0zGC0nK9hNwbyZ4FqKwPSznRVwuwrnqyhQ== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" bootstrap "^5.1.3" -"@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== +"@abp/clipboard@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/clipboard/-/clipboard-7.2.3.tgz#dcd8ffc229bd0419be6cd49679fe65dfea90163e" + integrity sha512-Eu7GIMqXpGqU1UK3gm0QfI4DQLaWcFLeO/hL/RefqU79kpWwN+PKg4bYAH8uuYovQUR8i0DRwk8rqOlayjjWRA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" clipboard "^2.0.8" -"@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== +"@abp/core@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/core/-/core-7.2.3.tgz#a669073989a30f600355b368c01c654714456f17" + integrity sha512-UyKBWwXbKCzKZwV2YJPgP3v2naDFsfJzV+KEHpdgLdPZyrpBhp+bQ80VNVe2HHrD/bLfhM4fu9pCXw6RYZKnvA== dependencies: - "@abp/utils" "~7.2.2" + "@abp/utils" "~7.2.3" -"@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== +"@abp/datatables.net-bs5@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/datatables.net-bs5/-/datatables.net-bs5-7.2.3.tgz#362f3b8ff2f3612989787e2b6ef19bad181b4206" + integrity sha512-TmXTkIX+Vb1O/fER5JeRlWIOZLoSXG4QD3F0ZbebrjgS9k7oSu9igR/VhXBs1m1lvOqcNKv7Y4LTNRAMw+Mi0A== dependencies: - "@abp/datatables.net" "~7.2.2" + "@abp/datatables.net" "~7.2.3" datatables.net-bs5 "^1.11.4" -"@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== +"@abp/datatables.net@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/datatables.net/-/datatables.net-7.2.3.tgz#36661e223d15a0f75caad607094007d974ba678b" + integrity sha512-g+LmRMg4Sk34iU/MN4RpgC/yd8NVEjhVWg/kT+nuWunsnwLHkcfK59KPGXn9ZLktL4VqQYj2WeXbDv8TEbOObg== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" datatables.net "^1.11.4" -"@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== +"@abp/font-awesome@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/font-awesome/-/font-awesome-7.2.3.tgz#09b7c02b16ff99c9b5b62c1eefad9b1fc2879bcd" + integrity sha512-+4QRhfU08t1MYkmzTPX0B+p+SZQtOqtlDafzeDm5X6fbOlxV1hi97eRWtLtLgLjodjJWztpECWcsTUTgDhExwQ== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" "@fortawesome/fontawesome-free" "^5.15.4" -"@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== +"@abp/jquery-form@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-form/-/jquery-form-7.2.3.tgz#b0b295b22ae2ba292100e64d0bb97b3e1e295307" + integrity sha512-ucdGIZ0sxefakGRei9BJvDuoN16fKsYfpOT70/udw3k7uC3gFJD0AvAlEOEZPsFZhpNoqUKexNMym4lZovqBkg== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" jquery-form "^4.3.0" -"@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== +"@abp/jquery-validation-unobtrusive@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-validation-unobtrusive/-/jquery-validation-unobtrusive-7.2.3.tgz#1df04e286baa521c216cb949468199e6cacc34e3" + integrity sha512-Hcf1sqAFRIAYKqvN1pZGed+lazzY1nztvcmQlOOgUquiXRS3QjI3dIvxWw5nekJwUPqMpSfuC1GErQo0KpE1fw== dependencies: - "@abp/jquery-validation" "~7.2.2" + "@abp/jquery-validation" "~7.2.3" jquery-validation-unobtrusive "^3.2.12" -"@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== +"@abp/jquery-validation@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-validation/-/jquery-validation-7.2.3.tgz#438ac052e5d71dab50cf5da8be60ea68a460a725" + integrity sha512-drpE5mXErHQPk/4KChsj3zwNCA4GqNlYquTtHNv9/t5S/NuGqFAkchPV6mRYaiQypcxCndZQNSUEqnWxbuMY0g== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" jquery-validation "^1.19.3" -"@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== +"@abp/jquery@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery/-/jquery-7.2.3.tgz#555192ff0bcde89bbabee0f734ff74bf77cce1b5" + integrity sha512-r/p3D2QlV57YvrGJsLfTuIJGwLSSi5AVFtkmgKyfpyXYOCNb+TVF9sEZOZnoZebX6cT0JRvtUfZ0dk6ZBebAzg== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" jquery "~3.6.0" -"@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== +"@abp/lodash@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/lodash/-/lodash-7.2.3.tgz#99c1667f1499a7f318902e96ff81b4184b0dce86" + integrity sha512-5KuXPPpa2mkTlUYPR83bUTJUSSGoq9/kFSf9fYC0Wk2mFFeG4mRK6mXwcyHTfYshQe2qxuncxZsJ+4j5uQN9PA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" lodash "^4.17.21" -"@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== +"@abp/luxon@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/luxon/-/luxon-7.2.3.tgz#f643ed28b2d1743edd41edfec98d0e70b2f1f008" + integrity sha512-Y3IT1GbyuNSAzfpGnc5uzjz3Z/nDRUpYiZhoX0XeoQlJ+GyVT/+dytsZbuQBLgEWmQJhk9zxdcITXFT5vrWDcw== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" luxon "^2.3.0" -"@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== +"@abp/malihu-custom-scrollbar-plugin@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/malihu-custom-scrollbar-plugin/-/malihu-custom-scrollbar-plugin-7.2.3.tgz#a29f25921b07683b02e2f5c82a3da827e3e7d552" + integrity sha512-wq9eBrw/bY3wb50v5zuL0qOcVLOT86XN2ZJQj69O/bi2+0WNdLRCqMHhY0kaafb7UIBAlKChKA/xeICwCZxn+w== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" malihu-custom-scrollbar-plugin "^3.1.5" -"@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== +"@abp/moment@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/moment/-/moment-7.2.3.tgz#f6d2ba7b030b81239853490bdcc9e3c2bd4a39b1" + integrity sha512-pXsOzSom9RZHRGWuVaLIVzSkPayIcWMMmgSyo8T3gtZzZG/QJbpBWT+pug0X8pmV8So4d9E0LjacmODBKLM30A== dependencies: moment "^2.9.0" -"@abp/owl.carousel@~7.2.2": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@abp/owl.carousel/-/owl.carousel-7.2.2.tgz#6ec2eb05d8c72d7debe98de0e7f8b9a3beb91d0c" - integrity sha512-uPVeB03ugsFHMg4Lnlf0szryUHu90MNItDTLdoaMFyIl68K2qmPdQI+CF5vL7Jr9r1M6Y0zGQ8eOvDu13hpQAA== +"@abp/owl.carousel@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/owl.carousel/-/owl.carousel-7.2.3.tgz#d745ab06c5666c34977827d78b38493b18251972" + integrity sha512-SAEv9GEIWX9CWQXJCrCro3vJSAakkh9WzWmhfLG8kI/Duj/LyH5BlMLIArL3L4qcmG0NPgJA6IiXhkFe+WNDKg== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" owl.carousel "^2.3.4" -"@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== +"@abp/prismjs@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/prismjs/-/prismjs-7.2.3.tgz#3ecef3120373eea8a5d01a7b12aa7669aff45307" + integrity sha512-yR/UPqpQ9MTHqBo5bK5izaVemdyqcncxWNIb1NETU4FwZ8ucLRnCbxX427gQUSWlqo6qc+Q9vdS4hOWjLTuroA== dependencies: - "@abp/clipboard" "~7.2.2" - "@abp/core" "~7.2.2" + "@abp/clipboard" "~7.2.3" + "@abp/core" "~7.2.3" prismjs "^1.26.0" -"@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== +"@abp/select2@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/select2/-/select2-7.2.3.tgz#4cecd1cd843807583fce09ef632f472f3f7da70b" + integrity sha512-Cdzl467UftB421W+l8uikGr2NlOsHwxKDxt5yPrF03LEec1MBys5y7UPUV1TEO6l0xwAVi4mW8dXaawyIOSjUA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" select2 "^4.0.13" -"@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== +"@abp/sweetalert2@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/sweetalert2/-/sweetalert2-7.2.3.tgz#9e9c503bdb4d47d2b67b0d8193d82145884c90f3" + integrity sha512-KHZD1YRMN6Z4JxPfXuEwocubooux8nKq6sPNG6RKg+rWpp23Fp8nX/ZngJNywVXSRqzrdEvUAM+92JG7zMwKXw== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" sweetalert2 "^11.3.6" -"@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== +"@abp/timeago@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/timeago/-/timeago-7.2.3.tgz#2ced6fa607a0471bf3385fbf5d9b1f2d902e824a" + integrity sha512-7eiibNXJWBGpQnitd/i8aWUNHOkcsuq8fAwBLJWvG8Whhh1nmBEjng0pGhheMqo0xoydefWi1K2uZDg99tKPeQ== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" timeago "^1.6.7" -"@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== +"@abp/toastr@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/toastr/-/toastr-7.2.3.tgz#0ef7c24b232ca3d01d4ac5a7dff57800b0ebdcbf" + integrity sha512-2zNMQE6ArRULP6xl+M66/EY83ZrXfNY+sNHUkmZH4uqfGhqR/ijKIQm1quxCLDmUcAjRr1kzu8BCc98pc9tfFw== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" toastr "^2.1.4" -"@abp/tui-editor@~7.2.2": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@abp/tui-editor/-/tui-editor-7.2.2.tgz#1b7ad823bd56b854b727d2846142066f61a6edf8" - integrity sha512-4uuupAWEAXoLHpnk9wrmjAYiba3wYiBSLapewK3WTMZt6tLtugQ0rWS+7DNerMplR+ZwEObAN2UvNCUI6I+lBw== +"@abp/tui-editor@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/tui-editor/-/tui-editor-7.2.3.tgz#1e5d747e949e8fda3ad81a016bb51ff838b6ef7c" + integrity sha512-yXYXkjSIEO49AzijqOg+aboOBbhp/rGjWn5qJbIivVc6NgODrxmB8gHeC1HhmdlWWLJUt1R/jP1+y2imDWbjgw== dependencies: - "@abp/jquery" "~7.2.2" - "@abp/prismjs" "~7.2.2" + "@abp/jquery" "~7.2.3" + "@abp/prismjs" "~7.2.3" -"@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== +"@abp/utils@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/utils/-/utils-7.2.3.tgz#f384ba76b2948dbc8c49a453a343facda0825e2c" + integrity sha512-hejxDJhSI9Kor4mS9c/JHHQrW/wLXC/XMOJMUcBVkX/5IQd9GU9EW63oalNQyVA3gz3h5obnb0Qcfdv65wc5Pg== dependencies: just-compare "^1.3.0" diff --git a/modules/client-simulation/demo/Volo.ClientSimulation.Demo/package.json b/modules/client-simulation/demo/Volo.ClientSimulation.Demo/package.json index 5fd2200926..a0652123ca 100644 --- a/modules/client-simulation/demo/Volo.ClientSimulation.Demo/package.json +++ b/modules/client-simulation/demo/Volo.ClientSimulation.Demo/package.json @@ -3,6 +3,6 @@ "name": "client-simulation-web", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.2" + "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.3" } } diff --git a/modules/client-simulation/demo/Volo.ClientSimulation.Demo/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js b/modules/client-simulation/demo/Volo.ClientSimulation.Demo/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js deleted file mode 100644 index 39ca36d655..0000000000 --- a/modules/client-simulation/demo/Volo.ClientSimulation.Demo/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js +++ /dev/null @@ -1,5 +0,0 @@ -(function () { - [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')).map(function (popoverTriggerEl) { - return new bootstrap.Popover(popoverTriggerEl) - }) -})(); diff --git a/modules/client-simulation/demo/Volo.ClientSimulation.Demo/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js b/modules/client-simulation/demo/Volo.ClientSimulation.Demo/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js deleted file mode 100644 index bc8f4b5d51..0000000000 --- a/modules/client-simulation/demo/Volo.ClientSimulation.Demo/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js +++ /dev/null @@ -1,5 +0,0 @@ -(function () { - [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map(function (tooltipTriggerEl) { - return new bootstrap.Tooltip(tooltipTriggerEl) - }); -})(); diff --git a/modules/client-simulation/demo/Volo.ClientSimulation.Demo/yarn.lock b/modules/client-simulation/demo/Volo.ClientSimulation.Demo/yarn.lock index 161a0caba3..7e5e33b3ea 100644 --- a/modules/client-simulation/demo/Volo.ClientSimulation.Demo/yarn.lock +++ b/modules/client-simulation/demo/Volo.ClientSimulation.Demo/yarn.lock @@ -2,39 +2,39 @@ # yarn lockfile v1 -"@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== +"@abp/aspnetcore.mvc.ui.theme.basic@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.basic/-/aspnetcore.mvc.ui.theme.basic-7.2.3.tgz#31f2dda74b2bf8f520caf97690e509fd1c1088c4" + integrity sha512-7DIwWrkLJSc2kXYcIcZH+EivpwOXzkO4j2yrUilK0OijoOM9Pa/iGStdNTPlYioOKUNti3/1zah+v5SELNdqIw== + dependencies: + "@abp/aspnetcore.mvc.ui.theme.shared" "~7.2.3" + +"@abp/aspnetcore.mvc.ui.theme.shared@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.shared/-/aspnetcore.mvc.ui.theme.shared-7.2.3.tgz#189dde88792497d29f76a6079dc6db34973ee98d" + integrity sha512-+G2mM/BJWqgGqZFg6GP28PaCtq+YlRmRfg7r0JQ1wkAN9pc11yKm0LRQjFnkcVBzg0A+N2hZqnFbW7wQhwXOHg== + dependencies: + "@abp/aspnetcore.mvc.ui" "~7.2.3" + "@abp/bootstrap" "~7.2.3" + "@abp/bootstrap-datepicker" "~7.2.3" + "@abp/bootstrap-daterangepicker" "~7.2.3" + "@abp/datatables.net-bs5" "~7.2.3" + "@abp/font-awesome" "~7.2.3" + "@abp/jquery-form" "~7.2.3" + "@abp/jquery-validation-unobtrusive" "~7.2.3" + "@abp/lodash" "~7.2.3" + "@abp/luxon" "~7.2.3" + "@abp/malihu-custom-scrollbar-plugin" "~7.2.3" + "@abp/moment" "~7.2.3" + "@abp/select2" "~7.2.3" + "@abp/sweetalert2" "~7.2.3" + "@abp/timeago" "~7.2.3" + "@abp/toastr" "~7.2.3" + +"@abp/aspnetcore.mvc.ui@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui/-/aspnetcore.mvc.ui-7.2.3.tgz#d828561e678f6ea779a67c908705ba553ae82edc" + integrity sha512-KJCw6OxjQBgNw4QoSoDQOe32bFF9NvHdD09zMVsoCB/GgN66dcbZnk+ldidHcwjLFDPXOuHJMx+TKmno3VgUaQ== dependencies: ansi-colors "^4.1.1" extend-object "^1.0.0" @@ -43,158 +43,158 @@ merge-stream "^2.0.0" micromatch "^4.0.2" -"@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== +"@abp/bootstrap-datepicker@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap-datepicker/-/bootstrap-datepicker-7.2.3.tgz#7610ff44a6c1ea73f0c9b4c79a31cbb9e505d66f" + integrity sha512-wiKVXftVrXcjwz0FpshD6P4WW3CNk/4cLH15aaqRjM+J0BigDeH9CczlpVc7jXdn+c8plHIRz0t5tqlUud7dIQ== dependencies: bootstrap-datepicker "^1.9.0" -"@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== +"@abp/bootstrap-daterangepicker@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap-daterangepicker/-/bootstrap-daterangepicker-7.2.3.tgz#3946fb853dae52ef092db4bb23b94389577c17d3" + integrity sha512-ChdnXMzHvg+HwrUtw2z6KuqRTqHVOq8qEBai+IPW6PykJSML+tZKzer3jzDIzyHq68OIqom3n3xL0XpcniKMew== dependencies: bootstrap-daterangepicker "^3.1.0" -"@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== +"@abp/bootstrap@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap/-/bootstrap-7.2.3.tgz#43ecd5912ac65bbc142f198ec112b0b2a15e4864" + integrity sha512-Z00q1sAwo9PvFSpfFlbbUHPMyghLOzuEuAzz/8nA6tK7WR0KQBS/0zGC0nK9hNwbyZ4FqKwPSznRVwuwrnqyhQ== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" bootstrap "^5.1.3" -"@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== +"@abp/core@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/core/-/core-7.2.3.tgz#a669073989a30f600355b368c01c654714456f17" + integrity sha512-UyKBWwXbKCzKZwV2YJPgP3v2naDFsfJzV+KEHpdgLdPZyrpBhp+bQ80VNVe2HHrD/bLfhM4fu9pCXw6RYZKnvA== dependencies: - "@abp/utils" "~7.2.2" + "@abp/utils" "~7.2.3" -"@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== +"@abp/datatables.net-bs5@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/datatables.net-bs5/-/datatables.net-bs5-7.2.3.tgz#362f3b8ff2f3612989787e2b6ef19bad181b4206" + integrity sha512-TmXTkIX+Vb1O/fER5JeRlWIOZLoSXG4QD3F0ZbebrjgS9k7oSu9igR/VhXBs1m1lvOqcNKv7Y4LTNRAMw+Mi0A== dependencies: - "@abp/datatables.net" "~7.2.2" + "@abp/datatables.net" "~7.2.3" datatables.net-bs5 "^1.11.4" -"@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== +"@abp/datatables.net@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/datatables.net/-/datatables.net-7.2.3.tgz#36661e223d15a0f75caad607094007d974ba678b" + integrity sha512-g+LmRMg4Sk34iU/MN4RpgC/yd8NVEjhVWg/kT+nuWunsnwLHkcfK59KPGXn9ZLktL4VqQYj2WeXbDv8TEbOObg== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" datatables.net "^1.11.4" -"@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== +"@abp/font-awesome@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/font-awesome/-/font-awesome-7.2.3.tgz#09b7c02b16ff99c9b5b62c1eefad9b1fc2879bcd" + integrity sha512-+4QRhfU08t1MYkmzTPX0B+p+SZQtOqtlDafzeDm5X6fbOlxV1hi97eRWtLtLgLjodjJWztpECWcsTUTgDhExwQ== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" "@fortawesome/fontawesome-free" "^5.15.4" -"@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== +"@abp/jquery-form@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-form/-/jquery-form-7.2.3.tgz#b0b295b22ae2ba292100e64d0bb97b3e1e295307" + integrity sha512-ucdGIZ0sxefakGRei9BJvDuoN16fKsYfpOT70/udw3k7uC3gFJD0AvAlEOEZPsFZhpNoqUKexNMym4lZovqBkg== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" jquery-form "^4.3.0" -"@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== +"@abp/jquery-validation-unobtrusive@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-validation-unobtrusive/-/jquery-validation-unobtrusive-7.2.3.tgz#1df04e286baa521c216cb949468199e6cacc34e3" + integrity sha512-Hcf1sqAFRIAYKqvN1pZGed+lazzY1nztvcmQlOOgUquiXRS3QjI3dIvxWw5nekJwUPqMpSfuC1GErQo0KpE1fw== dependencies: - "@abp/jquery-validation" "~7.2.2" + "@abp/jquery-validation" "~7.2.3" jquery-validation-unobtrusive "^3.2.12" -"@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== +"@abp/jquery-validation@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-validation/-/jquery-validation-7.2.3.tgz#438ac052e5d71dab50cf5da8be60ea68a460a725" + integrity sha512-drpE5mXErHQPk/4KChsj3zwNCA4GqNlYquTtHNv9/t5S/NuGqFAkchPV6mRYaiQypcxCndZQNSUEqnWxbuMY0g== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" jquery-validation "^1.19.3" -"@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== +"@abp/jquery@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery/-/jquery-7.2.3.tgz#555192ff0bcde89bbabee0f734ff74bf77cce1b5" + integrity sha512-r/p3D2QlV57YvrGJsLfTuIJGwLSSi5AVFtkmgKyfpyXYOCNb+TVF9sEZOZnoZebX6cT0JRvtUfZ0dk6ZBebAzg== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" jquery "~3.6.0" -"@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== +"@abp/lodash@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/lodash/-/lodash-7.2.3.tgz#99c1667f1499a7f318902e96ff81b4184b0dce86" + integrity sha512-5KuXPPpa2mkTlUYPR83bUTJUSSGoq9/kFSf9fYC0Wk2mFFeG4mRK6mXwcyHTfYshQe2qxuncxZsJ+4j5uQN9PA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" lodash "^4.17.21" -"@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== +"@abp/luxon@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/luxon/-/luxon-7.2.3.tgz#f643ed28b2d1743edd41edfec98d0e70b2f1f008" + integrity sha512-Y3IT1GbyuNSAzfpGnc5uzjz3Z/nDRUpYiZhoX0XeoQlJ+GyVT/+dytsZbuQBLgEWmQJhk9zxdcITXFT5vrWDcw== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" luxon "^2.3.0" -"@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== +"@abp/malihu-custom-scrollbar-plugin@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/malihu-custom-scrollbar-plugin/-/malihu-custom-scrollbar-plugin-7.2.3.tgz#a29f25921b07683b02e2f5c82a3da827e3e7d552" + integrity sha512-wq9eBrw/bY3wb50v5zuL0qOcVLOT86XN2ZJQj69O/bi2+0WNdLRCqMHhY0kaafb7UIBAlKChKA/xeICwCZxn+w== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" malihu-custom-scrollbar-plugin "^3.1.5" -"@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== +"@abp/moment@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/moment/-/moment-7.2.3.tgz#f6d2ba7b030b81239853490bdcc9e3c2bd4a39b1" + integrity sha512-pXsOzSom9RZHRGWuVaLIVzSkPayIcWMMmgSyo8T3gtZzZG/QJbpBWT+pug0X8pmV8So4d9E0LjacmODBKLM30A== dependencies: moment "^2.9.0" -"@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== +"@abp/select2@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/select2/-/select2-7.2.3.tgz#4cecd1cd843807583fce09ef632f472f3f7da70b" + integrity sha512-Cdzl467UftB421W+l8uikGr2NlOsHwxKDxt5yPrF03LEec1MBys5y7UPUV1TEO6l0xwAVi4mW8dXaawyIOSjUA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" select2 "^4.0.13" -"@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== +"@abp/sweetalert2@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/sweetalert2/-/sweetalert2-7.2.3.tgz#9e9c503bdb4d47d2b67b0d8193d82145884c90f3" + integrity sha512-KHZD1YRMN6Z4JxPfXuEwocubooux8nKq6sPNG6RKg+rWpp23Fp8nX/ZngJNywVXSRqzrdEvUAM+92JG7zMwKXw== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" sweetalert2 "^11.3.6" -"@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== +"@abp/timeago@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/timeago/-/timeago-7.2.3.tgz#2ced6fa607a0471bf3385fbf5d9b1f2d902e824a" + integrity sha512-7eiibNXJWBGpQnitd/i8aWUNHOkcsuq8fAwBLJWvG8Whhh1nmBEjng0pGhheMqo0xoydefWi1K2uZDg99tKPeQ== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" timeago "^1.6.7" -"@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== +"@abp/toastr@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/toastr/-/toastr-7.2.3.tgz#0ef7c24b232ca3d01d4ac5a7dff57800b0ebdcbf" + integrity sha512-2zNMQE6ArRULP6xl+M66/EY83ZrXfNY+sNHUkmZH4uqfGhqR/ijKIQm1quxCLDmUcAjRr1kzu8BCc98pc9tfFw== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" toastr "^2.1.4" -"@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== +"@abp/utils@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/utils/-/utils-7.2.3.tgz#f384ba76b2948dbc8c49a453a343facda0825e2c" + integrity sha512-hejxDJhSI9Kor4mS9c/JHHQrW/wLXC/XMOJMUcBVkX/5IQd9GU9EW63oalNQyVA3gz3h5obnb0Qcfdv65wc5Pg== dependencies: just-compare "^1.3.0" diff --git a/modules/cms-kit/angular/package.json b/modules/cms-kit/angular/package.json index 2db4ad9af5..58c85266c4 100644 --- a/modules/cms-kit/angular/package.json +++ b/modules/cms-kit/angular/package.json @@ -15,11 +15,11 @@ }, "private": true, "dependencies": { - "@abp/ng.account": "~7.2.2", - "@abp/ng.identity": "~7.2.2", - "@abp/ng.setting-management": "~7.2.2", - "@abp/ng.tenant-management": "~7.2.2", - "@abp/ng.theme.basic": "~7.2.2", + "@abp/ng.account": "~7.2.3", + "@abp/ng.identity": "~7.2.3", + "@abp/ng.setting-management": "~7.2.3", + "@abp/ng.tenant-management": "~7.2.3", + "@abp/ng.theme.basic": "~7.2.3", "@angular/animations": "~10.0.0", "@angular/common": "~10.0.0", "@angular/compiler": "~10.0.0", diff --git a/modules/cms-kit/angular/projects/cms-kit/package.json b/modules/cms-kit/angular/projects/cms-kit/package.json index df329c05a2..bd50b151e1 100644 --- a/modules/cms-kit/angular/projects/cms-kit/package.json +++ b/modules/cms-kit/angular/projects/cms-kit/package.json @@ -4,8 +4,8 @@ "peerDependencies": { "@angular/common": "^9.1.11", "@angular/core": "^9.1.11", - "@abp/ng.core": ">=7.2.2", - "@abp/ng.theme.shared": ">=7.2.2" + "@abp/ng.core": ">=7.2.3", + "@abp/ng.theme.shared": ">=7.2.3" }, "dependencies": { "tslib": "^2.0.0" diff --git a/modules/cms-kit/host/Volo.CmsKit.IdentityServer/package.json b/modules/cms-kit/host/Volo.CmsKit.IdentityServer/package.json index d5289cf1b2..e7cce48297 100644 --- a/modules/cms-kit/host/Volo.CmsKit.IdentityServer/package.json +++ b/modules/cms-kit/host/Volo.CmsKit.IdentityServer/package.json @@ -3,6 +3,6 @@ "name": "my-app-identityserver", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.2" + "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.3" } } diff --git a/modules/cms-kit/host/Volo.CmsKit.IdentityServer/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js b/modules/cms-kit/host/Volo.CmsKit.IdentityServer/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js deleted file mode 100644 index 39ca36d655..0000000000 --- a/modules/cms-kit/host/Volo.CmsKit.IdentityServer/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js +++ /dev/null @@ -1,5 +0,0 @@ -(function () { - [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')).map(function (popoverTriggerEl) { - return new bootstrap.Popover(popoverTriggerEl) - }) -})(); diff --git a/modules/cms-kit/host/Volo.CmsKit.IdentityServer/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js b/modules/cms-kit/host/Volo.CmsKit.IdentityServer/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js deleted file mode 100644 index bc8f4b5d51..0000000000 --- a/modules/cms-kit/host/Volo.CmsKit.IdentityServer/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js +++ /dev/null @@ -1,5 +0,0 @@ -(function () { - [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map(function (tooltipTriggerEl) { - return new bootstrap.Tooltip(tooltipTriggerEl) - }); -})(); diff --git a/modules/cms-kit/host/Volo.CmsKit.IdentityServer/yarn.lock b/modules/cms-kit/host/Volo.CmsKit.IdentityServer/yarn.lock index 161a0caba3..7e5e33b3ea 100644 --- a/modules/cms-kit/host/Volo.CmsKit.IdentityServer/yarn.lock +++ b/modules/cms-kit/host/Volo.CmsKit.IdentityServer/yarn.lock @@ -2,39 +2,39 @@ # yarn lockfile v1 -"@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== +"@abp/aspnetcore.mvc.ui.theme.basic@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.basic/-/aspnetcore.mvc.ui.theme.basic-7.2.3.tgz#31f2dda74b2bf8f520caf97690e509fd1c1088c4" + integrity sha512-7DIwWrkLJSc2kXYcIcZH+EivpwOXzkO4j2yrUilK0OijoOM9Pa/iGStdNTPlYioOKUNti3/1zah+v5SELNdqIw== + dependencies: + "@abp/aspnetcore.mvc.ui.theme.shared" "~7.2.3" + +"@abp/aspnetcore.mvc.ui.theme.shared@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.shared/-/aspnetcore.mvc.ui.theme.shared-7.2.3.tgz#189dde88792497d29f76a6079dc6db34973ee98d" + integrity sha512-+G2mM/BJWqgGqZFg6GP28PaCtq+YlRmRfg7r0JQ1wkAN9pc11yKm0LRQjFnkcVBzg0A+N2hZqnFbW7wQhwXOHg== + dependencies: + "@abp/aspnetcore.mvc.ui" "~7.2.3" + "@abp/bootstrap" "~7.2.3" + "@abp/bootstrap-datepicker" "~7.2.3" + "@abp/bootstrap-daterangepicker" "~7.2.3" + "@abp/datatables.net-bs5" "~7.2.3" + "@abp/font-awesome" "~7.2.3" + "@abp/jquery-form" "~7.2.3" + "@abp/jquery-validation-unobtrusive" "~7.2.3" + "@abp/lodash" "~7.2.3" + "@abp/luxon" "~7.2.3" + "@abp/malihu-custom-scrollbar-plugin" "~7.2.3" + "@abp/moment" "~7.2.3" + "@abp/select2" "~7.2.3" + "@abp/sweetalert2" "~7.2.3" + "@abp/timeago" "~7.2.3" + "@abp/toastr" "~7.2.3" + +"@abp/aspnetcore.mvc.ui@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui/-/aspnetcore.mvc.ui-7.2.3.tgz#d828561e678f6ea779a67c908705ba553ae82edc" + integrity sha512-KJCw6OxjQBgNw4QoSoDQOe32bFF9NvHdD09zMVsoCB/GgN66dcbZnk+ldidHcwjLFDPXOuHJMx+TKmno3VgUaQ== dependencies: ansi-colors "^4.1.1" extend-object "^1.0.0" @@ -43,158 +43,158 @@ merge-stream "^2.0.0" micromatch "^4.0.2" -"@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== +"@abp/bootstrap-datepicker@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap-datepicker/-/bootstrap-datepicker-7.2.3.tgz#7610ff44a6c1ea73f0c9b4c79a31cbb9e505d66f" + integrity sha512-wiKVXftVrXcjwz0FpshD6P4WW3CNk/4cLH15aaqRjM+J0BigDeH9CczlpVc7jXdn+c8plHIRz0t5tqlUud7dIQ== dependencies: bootstrap-datepicker "^1.9.0" -"@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== +"@abp/bootstrap-daterangepicker@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap-daterangepicker/-/bootstrap-daterangepicker-7.2.3.tgz#3946fb853dae52ef092db4bb23b94389577c17d3" + integrity sha512-ChdnXMzHvg+HwrUtw2z6KuqRTqHVOq8qEBai+IPW6PykJSML+tZKzer3jzDIzyHq68OIqom3n3xL0XpcniKMew== dependencies: bootstrap-daterangepicker "^3.1.0" -"@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== +"@abp/bootstrap@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap/-/bootstrap-7.2.3.tgz#43ecd5912ac65bbc142f198ec112b0b2a15e4864" + integrity sha512-Z00q1sAwo9PvFSpfFlbbUHPMyghLOzuEuAzz/8nA6tK7WR0KQBS/0zGC0nK9hNwbyZ4FqKwPSznRVwuwrnqyhQ== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" bootstrap "^5.1.3" -"@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== +"@abp/core@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/core/-/core-7.2.3.tgz#a669073989a30f600355b368c01c654714456f17" + integrity sha512-UyKBWwXbKCzKZwV2YJPgP3v2naDFsfJzV+KEHpdgLdPZyrpBhp+bQ80VNVe2HHrD/bLfhM4fu9pCXw6RYZKnvA== dependencies: - "@abp/utils" "~7.2.2" + "@abp/utils" "~7.2.3" -"@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== +"@abp/datatables.net-bs5@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/datatables.net-bs5/-/datatables.net-bs5-7.2.3.tgz#362f3b8ff2f3612989787e2b6ef19bad181b4206" + integrity sha512-TmXTkIX+Vb1O/fER5JeRlWIOZLoSXG4QD3F0ZbebrjgS9k7oSu9igR/VhXBs1m1lvOqcNKv7Y4LTNRAMw+Mi0A== dependencies: - "@abp/datatables.net" "~7.2.2" + "@abp/datatables.net" "~7.2.3" datatables.net-bs5 "^1.11.4" -"@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== +"@abp/datatables.net@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/datatables.net/-/datatables.net-7.2.3.tgz#36661e223d15a0f75caad607094007d974ba678b" + integrity sha512-g+LmRMg4Sk34iU/MN4RpgC/yd8NVEjhVWg/kT+nuWunsnwLHkcfK59KPGXn9ZLktL4VqQYj2WeXbDv8TEbOObg== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" datatables.net "^1.11.4" -"@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== +"@abp/font-awesome@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/font-awesome/-/font-awesome-7.2.3.tgz#09b7c02b16ff99c9b5b62c1eefad9b1fc2879bcd" + integrity sha512-+4QRhfU08t1MYkmzTPX0B+p+SZQtOqtlDafzeDm5X6fbOlxV1hi97eRWtLtLgLjodjJWztpECWcsTUTgDhExwQ== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" "@fortawesome/fontawesome-free" "^5.15.4" -"@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== +"@abp/jquery-form@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-form/-/jquery-form-7.2.3.tgz#b0b295b22ae2ba292100e64d0bb97b3e1e295307" + integrity sha512-ucdGIZ0sxefakGRei9BJvDuoN16fKsYfpOT70/udw3k7uC3gFJD0AvAlEOEZPsFZhpNoqUKexNMym4lZovqBkg== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" jquery-form "^4.3.0" -"@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== +"@abp/jquery-validation-unobtrusive@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-validation-unobtrusive/-/jquery-validation-unobtrusive-7.2.3.tgz#1df04e286baa521c216cb949468199e6cacc34e3" + integrity sha512-Hcf1sqAFRIAYKqvN1pZGed+lazzY1nztvcmQlOOgUquiXRS3QjI3dIvxWw5nekJwUPqMpSfuC1GErQo0KpE1fw== dependencies: - "@abp/jquery-validation" "~7.2.2" + "@abp/jquery-validation" "~7.2.3" jquery-validation-unobtrusive "^3.2.12" -"@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== +"@abp/jquery-validation@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-validation/-/jquery-validation-7.2.3.tgz#438ac052e5d71dab50cf5da8be60ea68a460a725" + integrity sha512-drpE5mXErHQPk/4KChsj3zwNCA4GqNlYquTtHNv9/t5S/NuGqFAkchPV6mRYaiQypcxCndZQNSUEqnWxbuMY0g== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" jquery-validation "^1.19.3" -"@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== +"@abp/jquery@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery/-/jquery-7.2.3.tgz#555192ff0bcde89bbabee0f734ff74bf77cce1b5" + integrity sha512-r/p3D2QlV57YvrGJsLfTuIJGwLSSi5AVFtkmgKyfpyXYOCNb+TVF9sEZOZnoZebX6cT0JRvtUfZ0dk6ZBebAzg== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" jquery "~3.6.0" -"@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== +"@abp/lodash@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/lodash/-/lodash-7.2.3.tgz#99c1667f1499a7f318902e96ff81b4184b0dce86" + integrity sha512-5KuXPPpa2mkTlUYPR83bUTJUSSGoq9/kFSf9fYC0Wk2mFFeG4mRK6mXwcyHTfYshQe2qxuncxZsJ+4j5uQN9PA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" lodash "^4.17.21" -"@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== +"@abp/luxon@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/luxon/-/luxon-7.2.3.tgz#f643ed28b2d1743edd41edfec98d0e70b2f1f008" + integrity sha512-Y3IT1GbyuNSAzfpGnc5uzjz3Z/nDRUpYiZhoX0XeoQlJ+GyVT/+dytsZbuQBLgEWmQJhk9zxdcITXFT5vrWDcw== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" luxon "^2.3.0" -"@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== +"@abp/malihu-custom-scrollbar-plugin@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/malihu-custom-scrollbar-plugin/-/malihu-custom-scrollbar-plugin-7.2.3.tgz#a29f25921b07683b02e2f5c82a3da827e3e7d552" + integrity sha512-wq9eBrw/bY3wb50v5zuL0qOcVLOT86XN2ZJQj69O/bi2+0WNdLRCqMHhY0kaafb7UIBAlKChKA/xeICwCZxn+w== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" malihu-custom-scrollbar-plugin "^3.1.5" -"@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== +"@abp/moment@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/moment/-/moment-7.2.3.tgz#f6d2ba7b030b81239853490bdcc9e3c2bd4a39b1" + integrity sha512-pXsOzSom9RZHRGWuVaLIVzSkPayIcWMMmgSyo8T3gtZzZG/QJbpBWT+pug0X8pmV8So4d9E0LjacmODBKLM30A== dependencies: moment "^2.9.0" -"@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== +"@abp/select2@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/select2/-/select2-7.2.3.tgz#4cecd1cd843807583fce09ef632f472f3f7da70b" + integrity sha512-Cdzl467UftB421W+l8uikGr2NlOsHwxKDxt5yPrF03LEec1MBys5y7UPUV1TEO6l0xwAVi4mW8dXaawyIOSjUA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" select2 "^4.0.13" -"@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== +"@abp/sweetalert2@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/sweetalert2/-/sweetalert2-7.2.3.tgz#9e9c503bdb4d47d2b67b0d8193d82145884c90f3" + integrity sha512-KHZD1YRMN6Z4JxPfXuEwocubooux8nKq6sPNG6RKg+rWpp23Fp8nX/ZngJNywVXSRqzrdEvUAM+92JG7zMwKXw== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" sweetalert2 "^11.3.6" -"@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== +"@abp/timeago@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/timeago/-/timeago-7.2.3.tgz#2ced6fa607a0471bf3385fbf5d9b1f2d902e824a" + integrity sha512-7eiibNXJWBGpQnitd/i8aWUNHOkcsuq8fAwBLJWvG8Whhh1nmBEjng0pGhheMqo0xoydefWi1K2uZDg99tKPeQ== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" timeago "^1.6.7" -"@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== +"@abp/toastr@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/toastr/-/toastr-7.2.3.tgz#0ef7c24b232ca3d01d4ac5a7dff57800b0ebdcbf" + integrity sha512-2zNMQE6ArRULP6xl+M66/EY83ZrXfNY+sNHUkmZH4uqfGhqR/ijKIQm1quxCLDmUcAjRr1kzu8BCc98pc9tfFw== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" toastr "^2.1.4" -"@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== +"@abp/utils@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/utils/-/utils-7.2.3.tgz#f384ba76b2948dbc8c49a453a343facda0825e2c" + integrity sha512-hejxDJhSI9Kor4mS9c/JHHQrW/wLXC/XMOJMUcBVkX/5IQd9GU9EW63oalNQyVA3gz3h5obnb0Qcfdv65wc5Pg== dependencies: just-compare "^1.3.0" diff --git a/modules/cms-kit/host/Volo.CmsKit.Web.Host/package.json b/modules/cms-kit/host/Volo.CmsKit.Web.Host/package.json index 2789947efd..dc291e5514 100644 --- a/modules/cms-kit/host/Volo.CmsKit.Web.Host/package.json +++ b/modules/cms-kit/host/Volo.CmsKit.Web.Host/package.json @@ -3,6 +3,6 @@ "name": "my-app", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.2" + "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.3" } } diff --git a/modules/cms-kit/host/Volo.CmsKit.Web.Host/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js b/modules/cms-kit/host/Volo.CmsKit.Web.Host/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js deleted file mode 100644 index 39ca36d655..0000000000 --- a/modules/cms-kit/host/Volo.CmsKit.Web.Host/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js +++ /dev/null @@ -1,5 +0,0 @@ -(function () { - [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')).map(function (popoverTriggerEl) { - return new bootstrap.Popover(popoverTriggerEl) - }) -})(); diff --git a/modules/cms-kit/host/Volo.CmsKit.Web.Host/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js b/modules/cms-kit/host/Volo.CmsKit.Web.Host/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js deleted file mode 100644 index bc8f4b5d51..0000000000 --- a/modules/cms-kit/host/Volo.CmsKit.Web.Host/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js +++ /dev/null @@ -1,5 +0,0 @@ -(function () { - [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map(function (tooltipTriggerEl) { - return new bootstrap.Tooltip(tooltipTriggerEl) - }); -})(); diff --git a/modules/cms-kit/host/Volo.CmsKit.Web.Host/yarn.lock b/modules/cms-kit/host/Volo.CmsKit.Web.Host/yarn.lock index 161a0caba3..7e5e33b3ea 100644 --- a/modules/cms-kit/host/Volo.CmsKit.Web.Host/yarn.lock +++ b/modules/cms-kit/host/Volo.CmsKit.Web.Host/yarn.lock @@ -2,39 +2,39 @@ # yarn lockfile v1 -"@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== +"@abp/aspnetcore.mvc.ui.theme.basic@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.basic/-/aspnetcore.mvc.ui.theme.basic-7.2.3.tgz#31f2dda74b2bf8f520caf97690e509fd1c1088c4" + integrity sha512-7DIwWrkLJSc2kXYcIcZH+EivpwOXzkO4j2yrUilK0OijoOM9Pa/iGStdNTPlYioOKUNti3/1zah+v5SELNdqIw== + dependencies: + "@abp/aspnetcore.mvc.ui.theme.shared" "~7.2.3" + +"@abp/aspnetcore.mvc.ui.theme.shared@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.shared/-/aspnetcore.mvc.ui.theme.shared-7.2.3.tgz#189dde88792497d29f76a6079dc6db34973ee98d" + integrity sha512-+G2mM/BJWqgGqZFg6GP28PaCtq+YlRmRfg7r0JQ1wkAN9pc11yKm0LRQjFnkcVBzg0A+N2hZqnFbW7wQhwXOHg== + dependencies: + "@abp/aspnetcore.mvc.ui" "~7.2.3" + "@abp/bootstrap" "~7.2.3" + "@abp/bootstrap-datepicker" "~7.2.3" + "@abp/bootstrap-daterangepicker" "~7.2.3" + "@abp/datatables.net-bs5" "~7.2.3" + "@abp/font-awesome" "~7.2.3" + "@abp/jquery-form" "~7.2.3" + "@abp/jquery-validation-unobtrusive" "~7.2.3" + "@abp/lodash" "~7.2.3" + "@abp/luxon" "~7.2.3" + "@abp/malihu-custom-scrollbar-plugin" "~7.2.3" + "@abp/moment" "~7.2.3" + "@abp/select2" "~7.2.3" + "@abp/sweetalert2" "~7.2.3" + "@abp/timeago" "~7.2.3" + "@abp/toastr" "~7.2.3" + +"@abp/aspnetcore.mvc.ui@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui/-/aspnetcore.mvc.ui-7.2.3.tgz#d828561e678f6ea779a67c908705ba553ae82edc" + integrity sha512-KJCw6OxjQBgNw4QoSoDQOe32bFF9NvHdD09zMVsoCB/GgN66dcbZnk+ldidHcwjLFDPXOuHJMx+TKmno3VgUaQ== dependencies: ansi-colors "^4.1.1" extend-object "^1.0.0" @@ -43,158 +43,158 @@ merge-stream "^2.0.0" micromatch "^4.0.2" -"@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== +"@abp/bootstrap-datepicker@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap-datepicker/-/bootstrap-datepicker-7.2.3.tgz#7610ff44a6c1ea73f0c9b4c79a31cbb9e505d66f" + integrity sha512-wiKVXftVrXcjwz0FpshD6P4WW3CNk/4cLH15aaqRjM+J0BigDeH9CczlpVc7jXdn+c8plHIRz0t5tqlUud7dIQ== dependencies: bootstrap-datepicker "^1.9.0" -"@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== +"@abp/bootstrap-daterangepicker@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap-daterangepicker/-/bootstrap-daterangepicker-7.2.3.tgz#3946fb853dae52ef092db4bb23b94389577c17d3" + integrity sha512-ChdnXMzHvg+HwrUtw2z6KuqRTqHVOq8qEBai+IPW6PykJSML+tZKzer3jzDIzyHq68OIqom3n3xL0XpcniKMew== dependencies: bootstrap-daterangepicker "^3.1.0" -"@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== +"@abp/bootstrap@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap/-/bootstrap-7.2.3.tgz#43ecd5912ac65bbc142f198ec112b0b2a15e4864" + integrity sha512-Z00q1sAwo9PvFSpfFlbbUHPMyghLOzuEuAzz/8nA6tK7WR0KQBS/0zGC0nK9hNwbyZ4FqKwPSznRVwuwrnqyhQ== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" bootstrap "^5.1.3" -"@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== +"@abp/core@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/core/-/core-7.2.3.tgz#a669073989a30f600355b368c01c654714456f17" + integrity sha512-UyKBWwXbKCzKZwV2YJPgP3v2naDFsfJzV+KEHpdgLdPZyrpBhp+bQ80VNVe2HHrD/bLfhM4fu9pCXw6RYZKnvA== dependencies: - "@abp/utils" "~7.2.2" + "@abp/utils" "~7.2.3" -"@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== +"@abp/datatables.net-bs5@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/datatables.net-bs5/-/datatables.net-bs5-7.2.3.tgz#362f3b8ff2f3612989787e2b6ef19bad181b4206" + integrity sha512-TmXTkIX+Vb1O/fER5JeRlWIOZLoSXG4QD3F0ZbebrjgS9k7oSu9igR/VhXBs1m1lvOqcNKv7Y4LTNRAMw+Mi0A== dependencies: - "@abp/datatables.net" "~7.2.2" + "@abp/datatables.net" "~7.2.3" datatables.net-bs5 "^1.11.4" -"@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== +"@abp/datatables.net@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/datatables.net/-/datatables.net-7.2.3.tgz#36661e223d15a0f75caad607094007d974ba678b" + integrity sha512-g+LmRMg4Sk34iU/MN4RpgC/yd8NVEjhVWg/kT+nuWunsnwLHkcfK59KPGXn9ZLktL4VqQYj2WeXbDv8TEbOObg== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" datatables.net "^1.11.4" -"@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== +"@abp/font-awesome@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/font-awesome/-/font-awesome-7.2.3.tgz#09b7c02b16ff99c9b5b62c1eefad9b1fc2879bcd" + integrity sha512-+4QRhfU08t1MYkmzTPX0B+p+SZQtOqtlDafzeDm5X6fbOlxV1hi97eRWtLtLgLjodjJWztpECWcsTUTgDhExwQ== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" "@fortawesome/fontawesome-free" "^5.15.4" -"@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== +"@abp/jquery-form@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-form/-/jquery-form-7.2.3.tgz#b0b295b22ae2ba292100e64d0bb97b3e1e295307" + integrity sha512-ucdGIZ0sxefakGRei9BJvDuoN16fKsYfpOT70/udw3k7uC3gFJD0AvAlEOEZPsFZhpNoqUKexNMym4lZovqBkg== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" jquery-form "^4.3.0" -"@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== +"@abp/jquery-validation-unobtrusive@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-validation-unobtrusive/-/jquery-validation-unobtrusive-7.2.3.tgz#1df04e286baa521c216cb949468199e6cacc34e3" + integrity sha512-Hcf1sqAFRIAYKqvN1pZGed+lazzY1nztvcmQlOOgUquiXRS3QjI3dIvxWw5nekJwUPqMpSfuC1GErQo0KpE1fw== dependencies: - "@abp/jquery-validation" "~7.2.2" + "@abp/jquery-validation" "~7.2.3" jquery-validation-unobtrusive "^3.2.12" -"@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== +"@abp/jquery-validation@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-validation/-/jquery-validation-7.2.3.tgz#438ac052e5d71dab50cf5da8be60ea68a460a725" + integrity sha512-drpE5mXErHQPk/4KChsj3zwNCA4GqNlYquTtHNv9/t5S/NuGqFAkchPV6mRYaiQypcxCndZQNSUEqnWxbuMY0g== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" jquery-validation "^1.19.3" -"@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== +"@abp/jquery@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery/-/jquery-7.2.3.tgz#555192ff0bcde89bbabee0f734ff74bf77cce1b5" + integrity sha512-r/p3D2QlV57YvrGJsLfTuIJGwLSSi5AVFtkmgKyfpyXYOCNb+TVF9sEZOZnoZebX6cT0JRvtUfZ0dk6ZBebAzg== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" jquery "~3.6.0" -"@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== +"@abp/lodash@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/lodash/-/lodash-7.2.3.tgz#99c1667f1499a7f318902e96ff81b4184b0dce86" + integrity sha512-5KuXPPpa2mkTlUYPR83bUTJUSSGoq9/kFSf9fYC0Wk2mFFeG4mRK6mXwcyHTfYshQe2qxuncxZsJ+4j5uQN9PA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" lodash "^4.17.21" -"@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== +"@abp/luxon@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/luxon/-/luxon-7.2.3.tgz#f643ed28b2d1743edd41edfec98d0e70b2f1f008" + integrity sha512-Y3IT1GbyuNSAzfpGnc5uzjz3Z/nDRUpYiZhoX0XeoQlJ+GyVT/+dytsZbuQBLgEWmQJhk9zxdcITXFT5vrWDcw== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" luxon "^2.3.0" -"@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== +"@abp/malihu-custom-scrollbar-plugin@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/malihu-custom-scrollbar-plugin/-/malihu-custom-scrollbar-plugin-7.2.3.tgz#a29f25921b07683b02e2f5c82a3da827e3e7d552" + integrity sha512-wq9eBrw/bY3wb50v5zuL0qOcVLOT86XN2ZJQj69O/bi2+0WNdLRCqMHhY0kaafb7UIBAlKChKA/xeICwCZxn+w== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" malihu-custom-scrollbar-plugin "^3.1.5" -"@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== +"@abp/moment@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/moment/-/moment-7.2.3.tgz#f6d2ba7b030b81239853490bdcc9e3c2bd4a39b1" + integrity sha512-pXsOzSom9RZHRGWuVaLIVzSkPayIcWMMmgSyo8T3gtZzZG/QJbpBWT+pug0X8pmV8So4d9E0LjacmODBKLM30A== dependencies: moment "^2.9.0" -"@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== +"@abp/select2@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/select2/-/select2-7.2.3.tgz#4cecd1cd843807583fce09ef632f472f3f7da70b" + integrity sha512-Cdzl467UftB421W+l8uikGr2NlOsHwxKDxt5yPrF03LEec1MBys5y7UPUV1TEO6l0xwAVi4mW8dXaawyIOSjUA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" select2 "^4.0.13" -"@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== +"@abp/sweetalert2@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/sweetalert2/-/sweetalert2-7.2.3.tgz#9e9c503bdb4d47d2b67b0d8193d82145884c90f3" + integrity sha512-KHZD1YRMN6Z4JxPfXuEwocubooux8nKq6sPNG6RKg+rWpp23Fp8nX/ZngJNywVXSRqzrdEvUAM+92JG7zMwKXw== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" sweetalert2 "^11.3.6" -"@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== +"@abp/timeago@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/timeago/-/timeago-7.2.3.tgz#2ced6fa607a0471bf3385fbf5d9b1f2d902e824a" + integrity sha512-7eiibNXJWBGpQnitd/i8aWUNHOkcsuq8fAwBLJWvG8Whhh1nmBEjng0pGhheMqo0xoydefWi1K2uZDg99tKPeQ== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" timeago "^1.6.7" -"@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== +"@abp/toastr@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/toastr/-/toastr-7.2.3.tgz#0ef7c24b232ca3d01d4ac5a7dff57800b0ebdcbf" + integrity sha512-2zNMQE6ArRULP6xl+M66/EY83ZrXfNY+sNHUkmZH4uqfGhqR/ijKIQm1quxCLDmUcAjRr1kzu8BCc98pc9tfFw== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" toastr "^2.1.4" -"@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== +"@abp/utils@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/utils/-/utils-7.2.3.tgz#f384ba76b2948dbc8c49a453a343facda0825e2c" + integrity sha512-hejxDJhSI9Kor4mS9c/JHHQrW/wLXC/XMOJMUcBVkX/5IQd9GU9EW63oalNQyVA3gz3h5obnb0Qcfdv65wc5Pg== dependencies: just-compare "^1.3.0" diff --git a/modules/cms-kit/host/Volo.CmsKit.Web.Unified/package.json b/modules/cms-kit/host/Volo.CmsKit.Web.Unified/package.json index 2efbacd853..45fb731be3 100644 --- a/modules/cms-kit/host/Volo.CmsKit.Web.Unified/package.json +++ b/modules/cms-kit/host/Volo.CmsKit.Web.Unified/package.json @@ -3,7 +3,7 @@ "name": "my-app", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.2", - "@abp/cms-kit": "7.2.2" + "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.3", + "@abp/cms-kit": "7.2.3" } } diff --git a/modules/cms-kit/host/Volo.CmsKit.Web.Unified/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js b/modules/cms-kit/host/Volo.CmsKit.Web.Unified/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js deleted file mode 100644 index 39ca36d655..0000000000 --- a/modules/cms-kit/host/Volo.CmsKit.Web.Unified/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js +++ /dev/null @@ -1,5 +0,0 @@ -(function () { - [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')).map(function (popoverTriggerEl) { - return new bootstrap.Popover(popoverTriggerEl) - }) -})(); diff --git a/modules/cms-kit/host/Volo.CmsKit.Web.Unified/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js b/modules/cms-kit/host/Volo.CmsKit.Web.Unified/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js deleted file mode 100644 index bc8f4b5d51..0000000000 --- a/modules/cms-kit/host/Volo.CmsKit.Web.Unified/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js +++ /dev/null @@ -1,5 +0,0 @@ -(function () { - [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map(function (tooltipTriggerEl) { - return new bootstrap.Tooltip(tooltipTriggerEl) - }); -})(); diff --git a/modules/cms-kit/host/Volo.CmsKit.Web.Unified/yarn.lock b/modules/cms-kit/host/Volo.CmsKit.Web.Unified/yarn.lock index 9e203dd45a..e4fe34523f 100644 --- a/modules/cms-kit/host/Volo.CmsKit.Web.Unified/yarn.lock +++ b/modules/cms-kit/host/Volo.CmsKit.Web.Unified/yarn.lock @@ -2,39 +2,39 @@ # yarn lockfile v1 -"@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== +"@abp/aspnetcore.mvc.ui.theme.basic@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.basic/-/aspnetcore.mvc.ui.theme.basic-7.2.3.tgz#31f2dda74b2bf8f520caf97690e509fd1c1088c4" + integrity sha512-7DIwWrkLJSc2kXYcIcZH+EivpwOXzkO4j2yrUilK0OijoOM9Pa/iGStdNTPlYioOKUNti3/1zah+v5SELNdqIw== + dependencies: + "@abp/aspnetcore.mvc.ui.theme.shared" "~7.2.3" + +"@abp/aspnetcore.mvc.ui.theme.shared@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.shared/-/aspnetcore.mvc.ui.theme.shared-7.2.3.tgz#189dde88792497d29f76a6079dc6db34973ee98d" + integrity sha512-+G2mM/BJWqgGqZFg6GP28PaCtq+YlRmRfg7r0JQ1wkAN9pc11yKm0LRQjFnkcVBzg0A+N2hZqnFbW7wQhwXOHg== + dependencies: + "@abp/aspnetcore.mvc.ui" "~7.2.3" + "@abp/bootstrap" "~7.2.3" + "@abp/bootstrap-datepicker" "~7.2.3" + "@abp/bootstrap-daterangepicker" "~7.2.3" + "@abp/datatables.net-bs5" "~7.2.3" + "@abp/font-awesome" "~7.2.3" + "@abp/jquery-form" "~7.2.3" + "@abp/jquery-validation-unobtrusive" "~7.2.3" + "@abp/lodash" "~7.2.3" + "@abp/luxon" "~7.2.3" + "@abp/malihu-custom-scrollbar-plugin" "~7.2.3" + "@abp/moment" "~7.2.3" + "@abp/select2" "~7.2.3" + "@abp/sweetalert2" "~7.2.3" + "@abp/timeago" "~7.2.3" + "@abp/toastr" "~7.2.3" + +"@abp/aspnetcore.mvc.ui@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui/-/aspnetcore.mvc.ui-7.2.3.tgz#d828561e678f6ea779a67c908705ba553ae82edc" + integrity sha512-KJCw6OxjQBgNw4QoSoDQOe32bFF9NvHdD09zMVsoCB/GgN66dcbZnk+ldidHcwjLFDPXOuHJMx+TKmno3VgUaQ== dependencies: ansi-colors "^4.1.1" extend-object "^1.0.0" @@ -43,257 +43,257 @@ merge-stream "^2.0.0" micromatch "^4.0.2" -"@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== +"@abp/bootstrap-datepicker@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap-datepicker/-/bootstrap-datepicker-7.2.3.tgz#7610ff44a6c1ea73f0c9b4c79a31cbb9e505d66f" + integrity sha512-wiKVXftVrXcjwz0FpshD6P4WW3CNk/4cLH15aaqRjM+J0BigDeH9CczlpVc7jXdn+c8plHIRz0t5tqlUud7dIQ== dependencies: bootstrap-datepicker "^1.9.0" -"@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== +"@abp/bootstrap-daterangepicker@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap-daterangepicker/-/bootstrap-daterangepicker-7.2.3.tgz#3946fb853dae52ef092db4bb23b94389577c17d3" + integrity sha512-ChdnXMzHvg+HwrUtw2z6KuqRTqHVOq8qEBai+IPW6PykJSML+tZKzer3jzDIzyHq68OIqom3n3xL0XpcniKMew== dependencies: bootstrap-daterangepicker "^3.1.0" -"@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== +"@abp/bootstrap@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap/-/bootstrap-7.2.3.tgz#43ecd5912ac65bbc142f198ec112b0b2a15e4864" + integrity sha512-Z00q1sAwo9PvFSpfFlbbUHPMyghLOzuEuAzz/8nA6tK7WR0KQBS/0zGC0nK9hNwbyZ4FqKwPSznRVwuwrnqyhQ== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" bootstrap "^5.1.3" -"@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== +"@abp/clipboard@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/clipboard/-/clipboard-7.2.3.tgz#dcd8ffc229bd0419be6cd49679fe65dfea90163e" + integrity sha512-Eu7GIMqXpGqU1UK3gm0QfI4DQLaWcFLeO/hL/RefqU79kpWwN+PKg4bYAH8uuYovQUR8i0DRwk8rqOlayjjWRA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" clipboard "^2.0.8" -"@abp/cms-kit.admin@~7.2.2": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@abp/cms-kit.admin/-/cms-kit.admin-7.2.2.tgz#e5cc50a5662716fa7700c6ce4e1fef8db869ad9f" - integrity sha512-raOfrUDKAinmMKIQlrbOoSgxWjChlrs5gX3p7bfSaIppWeWd2iZfImONeuYFzK4XaRj+5eYPIOKNI39/eMUGtg== +"@abp/cms-kit.admin@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/cms-kit.admin/-/cms-kit.admin-7.2.3.tgz#ab25a054a5edb474abb7891ad2685a14a73d8197" + integrity sha512-dNDavBdjaMiWNcN8rMKAa24fRNCnDkn/fgCVHPplwwXl5cU8d2H58cZQ30DIKZmar5qlFJA9up38cg9m/Kp2kg== dependencies: - "@abp/codemirror" "~7.2.2" - "@abp/jstree" "~7.2.2" - "@abp/slugify" "~7.2.2" - "@abp/tui-editor" "~7.2.2" - "@abp/uppy" "~7.2.2" + "@abp/codemirror" "~7.2.3" + "@abp/jstree" "~7.2.3" + "@abp/slugify" "~7.2.3" + "@abp/tui-editor" "~7.2.3" + "@abp/uppy" "~7.2.3" -"@abp/cms-kit.public@~7.2.2": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@abp/cms-kit.public/-/cms-kit.public-7.2.2.tgz#41b6d21ca2261d55d538e95d0d848e0b5c60695d" - integrity sha512-j1E/DcMAe9ghZ4l3xq86Si+FqyakgoK4ftEm3z6waBOglYuALMI/YzHgoxzsicVBi065gilSIsV6EBV2Wcsr2Q== +"@abp/cms-kit.public@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/cms-kit.public/-/cms-kit.public-7.2.3.tgz#9223bdc1440c0386282a8d29077ee30c4568d5d7" + integrity sha512-qj0HH5d6kyuZtUDrfgvWy5r8ZU9vPmeiTcIrI8FjmYHtrk3ZM2hlp6W1jBxPJ/rhYouKVfRA/N79Uz78bLAtFg== dependencies: - "@abp/highlight.js" "~7.2.2" - "@abp/star-rating-svg" "~7.2.2" + "@abp/highlight.js" "~7.2.3" + "@abp/star-rating-svg" "~7.2.3" -"@abp/cms-kit@7.2.2": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@abp/cms-kit/-/cms-kit-7.2.2.tgz#fdabc27eb10d4f42bece0bc8ac6f3b0cfa667103" - integrity sha512-P+Kpol8yZz6P+Lno9gedadIJbbF/F7XpXEeH1L8tHcb8Hh1P3WkjwpD4X2I/jA/64VPb97FQFsmKAuypu20Tmw== +"@abp/cms-kit@7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/cms-kit/-/cms-kit-7.2.3.tgz#7a9725abb7e3255e10d6568e9949d56e17f5d528" + integrity sha512-65hmy6Rfe2BTD11lcEAxVV57Wq2vY0eB2X62BpH72rtFPfBEBXUPXIOpRu782OwzA5NKgDilWrK1M17JxLGRFg== dependencies: - "@abp/cms-kit.admin" "~7.2.2" - "@abp/cms-kit.public" "~7.2.2" + "@abp/cms-kit.admin" "~7.2.3" + "@abp/cms-kit.public" "~7.2.3" -"@abp/codemirror@~7.2.2": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@abp/codemirror/-/codemirror-7.2.2.tgz#191b3d2d3e6c825d9ca3215811917cd676a1823d" - integrity sha512-E3ROs8936g2dbl/DF6SwC3A8O3X4QzZ+9QvPGFMAaIpMusBmoWQ0D3PrbyNqaxStmvd0pEwO4f0nY+7KOfeWQw== +"@abp/codemirror@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/codemirror/-/codemirror-7.2.3.tgz#c42d551b9b3b75a9f6e00cafa4c8fb8ca4607e03" + integrity sha512-YD/Xd5zFpXT8/iczAGQMI183Izbx1N/m7im4mhb1RYyLWbfkLrtKk9VNDne5+Njw+7zSKoMOu0phWA6iRysgvw== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" codemirror "^5.65.1" -"@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== +"@abp/core@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/core/-/core-7.2.3.tgz#a669073989a30f600355b368c01c654714456f17" + integrity sha512-UyKBWwXbKCzKZwV2YJPgP3v2naDFsfJzV+KEHpdgLdPZyrpBhp+bQ80VNVe2HHrD/bLfhM4fu9pCXw6RYZKnvA== dependencies: - "@abp/utils" "~7.2.2" + "@abp/utils" "~7.2.3" -"@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== +"@abp/datatables.net-bs5@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/datatables.net-bs5/-/datatables.net-bs5-7.2.3.tgz#362f3b8ff2f3612989787e2b6ef19bad181b4206" + integrity sha512-TmXTkIX+Vb1O/fER5JeRlWIOZLoSXG4QD3F0ZbebrjgS9k7oSu9igR/VhXBs1m1lvOqcNKv7Y4LTNRAMw+Mi0A== dependencies: - "@abp/datatables.net" "~7.2.2" + "@abp/datatables.net" "~7.2.3" datatables.net-bs5 "^1.11.4" -"@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== +"@abp/datatables.net@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/datatables.net/-/datatables.net-7.2.3.tgz#36661e223d15a0f75caad607094007d974ba678b" + integrity sha512-g+LmRMg4Sk34iU/MN4RpgC/yd8NVEjhVWg/kT+nuWunsnwLHkcfK59KPGXn9ZLktL4VqQYj2WeXbDv8TEbOObg== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" datatables.net "^1.11.4" -"@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== +"@abp/font-awesome@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/font-awesome/-/font-awesome-7.2.3.tgz#09b7c02b16ff99c9b5b62c1eefad9b1fc2879bcd" + integrity sha512-+4QRhfU08t1MYkmzTPX0B+p+SZQtOqtlDafzeDm5X6fbOlxV1hi97eRWtLtLgLjodjJWztpECWcsTUTgDhExwQ== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" "@fortawesome/fontawesome-free" "^5.15.4" -"@abp/highlight.js@~7.2.2": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@abp/highlight.js/-/highlight.js-7.2.2.tgz#b3618ce617644026033e7723f3f44a470e606a72" - integrity sha512-JKkgHbgvAXj0pSQI8k9Dyj/6IMVK+uKhsxP7zk4N/+4OxRsCqysnov5JXUqldN3L5k3Ar58m2dvQzCv0Oxmk6g== +"@abp/highlight.js@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/highlight.js/-/highlight.js-7.2.3.tgz#ed8508f47589af7c23c7e401f90797e13969f80b" + integrity sha512-j2oXA17GJ8zVLL11N7zJCEzmabl3/XtHgpsPe0KiO2YZnkhLWv8nuCPpZYOrTtqp1I0JmQn3lDy3u/WSBUX5jA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" "@highlightjs/cdn-assets" "~11.4.0" -"@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== +"@abp/jquery-form@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-form/-/jquery-form-7.2.3.tgz#b0b295b22ae2ba292100e64d0bb97b3e1e295307" + integrity sha512-ucdGIZ0sxefakGRei9BJvDuoN16fKsYfpOT70/udw3k7uC3gFJD0AvAlEOEZPsFZhpNoqUKexNMym4lZovqBkg== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" jquery-form "^4.3.0" -"@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== +"@abp/jquery-validation-unobtrusive@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-validation-unobtrusive/-/jquery-validation-unobtrusive-7.2.3.tgz#1df04e286baa521c216cb949468199e6cacc34e3" + integrity sha512-Hcf1sqAFRIAYKqvN1pZGed+lazzY1nztvcmQlOOgUquiXRS3QjI3dIvxWw5nekJwUPqMpSfuC1GErQo0KpE1fw== dependencies: - "@abp/jquery-validation" "~7.2.2" + "@abp/jquery-validation" "~7.2.3" jquery-validation-unobtrusive "^3.2.12" -"@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== +"@abp/jquery-validation@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-validation/-/jquery-validation-7.2.3.tgz#438ac052e5d71dab50cf5da8be60ea68a460a725" + integrity sha512-drpE5mXErHQPk/4KChsj3zwNCA4GqNlYquTtHNv9/t5S/NuGqFAkchPV6mRYaiQypcxCndZQNSUEqnWxbuMY0g== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" jquery-validation "^1.19.3" -"@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== +"@abp/jquery@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery/-/jquery-7.2.3.tgz#555192ff0bcde89bbabee0f734ff74bf77cce1b5" + integrity sha512-r/p3D2QlV57YvrGJsLfTuIJGwLSSi5AVFtkmgKyfpyXYOCNb+TVF9sEZOZnoZebX6cT0JRvtUfZ0dk6ZBebAzg== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" jquery "~3.6.0" -"@abp/jstree@~7.2.2": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@abp/jstree/-/jstree-7.2.2.tgz#944e401dc1885676fb2b056a6fc7ffe3e05b1ecc" - integrity sha512-x7BP8sxFAwYeipEhjzMdGbFS9m7RsMjGEZqnRORCFnk6+IGiy72YiUGNE8xJ1ScTbsnjT1mxtgaYcrB3KnX+mw== +"@abp/jstree@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jstree/-/jstree-7.2.3.tgz#4e444c1ed8420a0234f2e31986613dbf7af8c1b8" + integrity sha512-8ju9dAIkBp8Z2GoFn+QjMsyjjSDz6MSxVzrxyJEAKppoIEN21SC3vBibFyv7jHvjNctJ1vCJt3yUM/3GitPpaw== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" jstree "^3.3.12" -"@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== +"@abp/lodash@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/lodash/-/lodash-7.2.3.tgz#99c1667f1499a7f318902e96ff81b4184b0dce86" + integrity sha512-5KuXPPpa2mkTlUYPR83bUTJUSSGoq9/kFSf9fYC0Wk2mFFeG4mRK6mXwcyHTfYshQe2qxuncxZsJ+4j5uQN9PA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" lodash "^4.17.21" -"@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== +"@abp/luxon@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/luxon/-/luxon-7.2.3.tgz#f643ed28b2d1743edd41edfec98d0e70b2f1f008" + integrity sha512-Y3IT1GbyuNSAzfpGnc5uzjz3Z/nDRUpYiZhoX0XeoQlJ+GyVT/+dytsZbuQBLgEWmQJhk9zxdcITXFT5vrWDcw== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" luxon "^2.3.0" -"@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== +"@abp/malihu-custom-scrollbar-plugin@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/malihu-custom-scrollbar-plugin/-/malihu-custom-scrollbar-plugin-7.2.3.tgz#a29f25921b07683b02e2f5c82a3da827e3e7d552" + integrity sha512-wq9eBrw/bY3wb50v5zuL0qOcVLOT86XN2ZJQj69O/bi2+0WNdLRCqMHhY0kaafb7UIBAlKChKA/xeICwCZxn+w== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" malihu-custom-scrollbar-plugin "^3.1.5" -"@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== +"@abp/moment@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/moment/-/moment-7.2.3.tgz#f6d2ba7b030b81239853490bdcc9e3c2bd4a39b1" + integrity sha512-pXsOzSom9RZHRGWuVaLIVzSkPayIcWMMmgSyo8T3gtZzZG/QJbpBWT+pug0X8pmV8So4d9E0LjacmODBKLM30A== dependencies: moment "^2.9.0" -"@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== +"@abp/prismjs@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/prismjs/-/prismjs-7.2.3.tgz#3ecef3120373eea8a5d01a7b12aa7669aff45307" + integrity sha512-yR/UPqpQ9MTHqBo5bK5izaVemdyqcncxWNIb1NETU4FwZ8ucLRnCbxX427gQUSWlqo6qc+Q9vdS4hOWjLTuroA== dependencies: - "@abp/clipboard" "~7.2.2" - "@abp/core" "~7.2.2" + "@abp/clipboard" "~7.2.3" + "@abp/core" "~7.2.3" prismjs "^1.26.0" -"@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== +"@abp/select2@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/select2/-/select2-7.2.3.tgz#4cecd1cd843807583fce09ef632f472f3f7da70b" + integrity sha512-Cdzl467UftB421W+l8uikGr2NlOsHwxKDxt5yPrF03LEec1MBys5y7UPUV1TEO6l0xwAVi4mW8dXaawyIOSjUA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" select2 "^4.0.13" -"@abp/slugify@~7.2.2": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@abp/slugify/-/slugify-7.2.2.tgz#56e53f92e81c004b97c1f31d3a63db0df07b2eb5" - integrity sha512-9+/I5pxUFDXq6HXCkR2+wFVWQ47L10fhJXpyVrmU5JbNIo4XvetouynElKkwFkIwXbgk8j5dBTg9tSxHIbRqSA== +"@abp/slugify@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/slugify/-/slugify-7.2.3.tgz#7ad9bada15a50c070332e4ce694f63d81977b1ca" + integrity sha512-wSTZsGZQoWvCtLSRj7l60jcOGb9Brc33rqU2DI2KjyjpFk69NJYng6pvDxnz7c5ysPb+MbOElJJ5gbGZCxn6uw== dependencies: slugify "^1.6.5" -"@abp/star-rating-svg@~7.2.2": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@abp/star-rating-svg/-/star-rating-svg-7.2.2.tgz#c80abfe48f80af2f904f7d5cb42fad113a28ec13" - integrity sha512-Ye1JSu6j4wFRKsbMs5n+gz9+zJmkilPWl3HGWJeanI/JY69HBLH5IlI65L6HEc8QNrdCLRCMSNj+S96BpF4XpA== +"@abp/star-rating-svg@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/star-rating-svg/-/star-rating-svg-7.2.3.tgz#c1f3980945a33828b103d04ca6b9b5b67fd3d42d" + integrity sha512-j/1lq3jsAqBhAesDLZLNG1Uo9OuJU3J7ZULoTf1iq5hala5q2JSvqC3fr7pOrpmDGcs6YXt3YFHy6x4pTw8RFg== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" star-rating-svg "^3.5.0" -"@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== +"@abp/sweetalert2@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/sweetalert2/-/sweetalert2-7.2.3.tgz#9e9c503bdb4d47d2b67b0d8193d82145884c90f3" + integrity sha512-KHZD1YRMN6Z4JxPfXuEwocubooux8nKq6sPNG6RKg+rWpp23Fp8nX/ZngJNywVXSRqzrdEvUAM+92JG7zMwKXw== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" sweetalert2 "^11.3.6" -"@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== +"@abp/timeago@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/timeago/-/timeago-7.2.3.tgz#2ced6fa607a0471bf3385fbf5d9b1f2d902e824a" + integrity sha512-7eiibNXJWBGpQnitd/i8aWUNHOkcsuq8fAwBLJWvG8Whhh1nmBEjng0pGhheMqo0xoydefWi1K2uZDg99tKPeQ== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" timeago "^1.6.7" -"@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== +"@abp/toastr@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/toastr/-/toastr-7.2.3.tgz#0ef7c24b232ca3d01d4ac5a7dff57800b0ebdcbf" + integrity sha512-2zNMQE6ArRULP6xl+M66/EY83ZrXfNY+sNHUkmZH4uqfGhqR/ijKIQm1quxCLDmUcAjRr1kzu8BCc98pc9tfFw== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" toastr "^2.1.4" -"@abp/tui-editor@~7.2.2": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@abp/tui-editor/-/tui-editor-7.2.2.tgz#1b7ad823bd56b854b727d2846142066f61a6edf8" - integrity sha512-4uuupAWEAXoLHpnk9wrmjAYiba3wYiBSLapewK3WTMZt6tLtugQ0rWS+7DNerMplR+ZwEObAN2UvNCUI6I+lBw== +"@abp/tui-editor@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/tui-editor/-/tui-editor-7.2.3.tgz#1e5d747e949e8fda3ad81a016bb51ff838b6ef7c" + integrity sha512-yXYXkjSIEO49AzijqOg+aboOBbhp/rGjWn5qJbIivVc6NgODrxmB8gHeC1HhmdlWWLJUt1R/jP1+y2imDWbjgw== dependencies: - "@abp/jquery" "~7.2.2" - "@abp/prismjs" "~7.2.2" + "@abp/jquery" "~7.2.3" + "@abp/prismjs" "~7.2.3" -"@abp/uppy@~7.2.2": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@abp/uppy/-/uppy-7.2.2.tgz#64fd4b79212bfb879d2b646ff0b5dc3059cf5733" - integrity sha512-rFNrUfET4Skr/rwoztAve3yjEA9JB4sPUD1ClH8uTTmV7YeNTnDlWe/8q+dhwf9+j1GAYBWdP41BALLG8Is3RA== +"@abp/uppy@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/uppy/-/uppy-7.2.3.tgz#67be5102f92eb16e743809e5b9d1e87d16ef030c" + integrity sha512-eL5tV9l7VwD9ly+JRf0N3/wuahkIW0CrN+w9obawWPl3rygvvbD5UfcTQrM7KBruUs4FV59jbnjdfME+TO3JYQ== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" uppy "^1.16.1" -"@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== +"@abp/utils@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/utils/-/utils-7.2.3.tgz#f384ba76b2948dbc8c49a453a343facda0825e2c" + integrity sha512-hejxDJhSI9Kor4mS9c/JHHQrW/wLXC/XMOJMUcBVkX/5IQd9GU9EW63oalNQyVA3gz3h5obnb0Qcfdv65wc5Pg== dependencies: just-compare "^1.3.0" diff --git a/modules/docs/app/VoloDocs.Web/package.json b/modules/docs/app/VoloDocs.Web/package.json index 29fc7d7eaa..64b456bf68 100644 --- a/modules/docs/app/VoloDocs.Web/package.json +++ b/modules/docs/app/VoloDocs.Web/package.json @@ -3,7 +3,7 @@ "name": "volo.docstestapp", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.2", - "@abp/docs": "~7.2.2" + "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.3", + "@abp/docs": "~7.2.3" } } diff --git a/modules/docs/app/VoloDocs.Web/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js b/modules/docs/app/VoloDocs.Web/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js deleted file mode 100644 index 39ca36d655..0000000000 --- a/modules/docs/app/VoloDocs.Web/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js +++ /dev/null @@ -1,5 +0,0 @@ -(function () { - [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')).map(function (popoverTriggerEl) { - return new bootstrap.Popover(popoverTriggerEl) - }) -})(); diff --git a/modules/docs/app/VoloDocs.Web/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js b/modules/docs/app/VoloDocs.Web/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js deleted file mode 100644 index bc8f4b5d51..0000000000 --- a/modules/docs/app/VoloDocs.Web/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js +++ /dev/null @@ -1,5 +0,0 @@ -(function () { - [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map(function (tooltipTriggerEl) { - return new bootstrap.Tooltip(tooltipTriggerEl) - }); -})(); diff --git a/modules/docs/app/VoloDocs.Web/yarn.lock b/modules/docs/app/VoloDocs.Web/yarn.lock index b6e9fd8a76..12bdd6262a 100644 --- a/modules/docs/app/VoloDocs.Web/yarn.lock +++ b/modules/docs/app/VoloDocs.Web/yarn.lock @@ -2,47 +2,47 @@ # yarn lockfile v1 -"@abp/anchor-js@~7.2.2": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@abp/anchor-js/-/anchor-js-7.2.2.tgz#a5dbdeecf5e27d68858fcd676346b4ab603cc072" - integrity sha512-RxCKSnNq/RQC+oE3uVOoI8uSFvMCouddTShMA6ETCUSvjsnDgmL8arhDmrzc2CRGnV/HdEiT6QH1ivM8dWg7VQ== +"@abp/anchor-js@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/anchor-js/-/anchor-js-7.2.3.tgz#68aaa6c632d6d6481ee7d60347b20b4de083c184" + integrity sha512-a8lJpoN8mdwJuqcj8jX8l5qcqo8ZKwpMGtxC7nPjTCmmSkKqAFgyHPZrU64Z8scCaqJ44bDmR/TlF17SXMd6xw== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" anchor-js "^4.3.1" -"@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== +"@abp/aspnetcore.mvc.ui.theme.basic@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.basic/-/aspnetcore.mvc.ui.theme.basic-7.2.3.tgz#31f2dda74b2bf8f520caf97690e509fd1c1088c4" + integrity sha512-7DIwWrkLJSc2kXYcIcZH+EivpwOXzkO4j2yrUilK0OijoOM9Pa/iGStdNTPlYioOKUNti3/1zah+v5SELNdqIw== + dependencies: + "@abp/aspnetcore.mvc.ui.theme.shared" "~7.2.3" + +"@abp/aspnetcore.mvc.ui.theme.shared@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.shared/-/aspnetcore.mvc.ui.theme.shared-7.2.3.tgz#189dde88792497d29f76a6079dc6db34973ee98d" + integrity sha512-+G2mM/BJWqgGqZFg6GP28PaCtq+YlRmRfg7r0JQ1wkAN9pc11yKm0LRQjFnkcVBzg0A+N2hZqnFbW7wQhwXOHg== + dependencies: + "@abp/aspnetcore.mvc.ui" "~7.2.3" + "@abp/bootstrap" "~7.2.3" + "@abp/bootstrap-datepicker" "~7.2.3" + "@abp/bootstrap-daterangepicker" "~7.2.3" + "@abp/datatables.net-bs5" "~7.2.3" + "@abp/font-awesome" "~7.2.3" + "@abp/jquery-form" "~7.2.3" + "@abp/jquery-validation-unobtrusive" "~7.2.3" + "@abp/lodash" "~7.2.3" + "@abp/luxon" "~7.2.3" + "@abp/malihu-custom-scrollbar-plugin" "~7.2.3" + "@abp/moment" "~7.2.3" + "@abp/select2" "~7.2.3" + "@abp/sweetalert2" "~7.2.3" + "@abp/timeago" "~7.2.3" + "@abp/toastr" "~7.2.3" + +"@abp/aspnetcore.mvc.ui@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui/-/aspnetcore.mvc.ui-7.2.3.tgz#d828561e678f6ea779a67c908705ba553ae82edc" + integrity sha512-KJCw6OxjQBgNw4QoSoDQOe32bFF9NvHdD09zMVsoCB/GgN66dcbZnk+ldidHcwjLFDPXOuHJMx+TKmno3VgUaQ== dependencies: ansi-colors "^4.1.1" extend-object "^1.0.0" @@ -51,194 +51,194 @@ merge-stream "^2.0.0" micromatch "^4.0.2" -"@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== +"@abp/bootstrap-datepicker@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap-datepicker/-/bootstrap-datepicker-7.2.3.tgz#7610ff44a6c1ea73f0c9b4c79a31cbb9e505d66f" + integrity sha512-wiKVXftVrXcjwz0FpshD6P4WW3CNk/4cLH15aaqRjM+J0BigDeH9CczlpVc7jXdn+c8plHIRz0t5tqlUud7dIQ== dependencies: bootstrap-datepicker "^1.9.0" -"@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== +"@abp/bootstrap-daterangepicker@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap-daterangepicker/-/bootstrap-daterangepicker-7.2.3.tgz#3946fb853dae52ef092db4bb23b94389577c17d3" + integrity sha512-ChdnXMzHvg+HwrUtw2z6KuqRTqHVOq8qEBai+IPW6PykJSML+tZKzer3jzDIzyHq68OIqom3n3xL0XpcniKMew== dependencies: bootstrap-daterangepicker "^3.1.0" -"@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== +"@abp/bootstrap@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap/-/bootstrap-7.2.3.tgz#43ecd5912ac65bbc142f198ec112b0b2a15e4864" + integrity sha512-Z00q1sAwo9PvFSpfFlbbUHPMyghLOzuEuAzz/8nA6tK7WR0KQBS/0zGC0nK9hNwbyZ4FqKwPSznRVwuwrnqyhQ== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" bootstrap "^5.1.3" -"@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== +"@abp/clipboard@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/clipboard/-/clipboard-7.2.3.tgz#dcd8ffc229bd0419be6cd49679fe65dfea90163e" + integrity sha512-Eu7GIMqXpGqU1UK3gm0QfI4DQLaWcFLeO/hL/RefqU79kpWwN+PKg4bYAH8uuYovQUR8i0DRwk8rqOlayjjWRA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" clipboard "^2.0.8" -"@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== +"@abp/core@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/core/-/core-7.2.3.tgz#a669073989a30f600355b368c01c654714456f17" + integrity sha512-UyKBWwXbKCzKZwV2YJPgP3v2naDFsfJzV+KEHpdgLdPZyrpBhp+bQ80VNVe2HHrD/bLfhM4fu9pCXw6RYZKnvA== dependencies: - "@abp/utils" "~7.2.2" + "@abp/utils" "~7.2.3" -"@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== +"@abp/datatables.net-bs5@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/datatables.net-bs5/-/datatables.net-bs5-7.2.3.tgz#362f3b8ff2f3612989787e2b6ef19bad181b4206" + integrity sha512-TmXTkIX+Vb1O/fER5JeRlWIOZLoSXG4QD3F0ZbebrjgS9k7oSu9igR/VhXBs1m1lvOqcNKv7Y4LTNRAMw+Mi0A== dependencies: - "@abp/datatables.net" "~7.2.2" + "@abp/datatables.net" "~7.2.3" datatables.net-bs5 "^1.11.4" -"@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== +"@abp/datatables.net@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/datatables.net/-/datatables.net-7.2.3.tgz#36661e223d15a0f75caad607094007d974ba678b" + integrity sha512-g+LmRMg4Sk34iU/MN4RpgC/yd8NVEjhVWg/kT+nuWunsnwLHkcfK59KPGXn9ZLktL4VqQYj2WeXbDv8TEbOObg== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" datatables.net "^1.11.4" -"@abp/docs@~7.2.2": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@abp/docs/-/docs-7.2.2.tgz#9d8055885ffe76ae708becbeac9e6067bbfec172" - integrity sha512-yDQCYQX3uDDTrTv8wa+zhF7slNqxdu2OmLkxHX7bNEieLVbHEqyuQWYP2gI6emXPKFmOJiEsOeEyu6gCvAHM5A== +"@abp/docs@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/docs/-/docs-7.2.3.tgz#50c3dfb03c510b5a3bcc8b1b5dbc90b89d2802b1" + integrity sha512-eJgbXE2BMzxJgV2ei7xRnhH3tRo2TAx9T3PZH/mrQ/9Yn46Toz9oQW36S5QqO2iOkDYoL7oANJnXTcAgNaGW2g== dependencies: - "@abp/anchor-js" "~7.2.2" - "@abp/clipboard" "~7.2.2" - "@abp/malihu-custom-scrollbar-plugin" "~7.2.2" - "@abp/popper.js" "~7.2.2" - "@abp/prismjs" "~7.2.2" + "@abp/anchor-js" "~7.2.3" + "@abp/clipboard" "~7.2.3" + "@abp/malihu-custom-scrollbar-plugin" "~7.2.3" + "@abp/popper.js" "~7.2.3" + "@abp/prismjs" "~7.2.3" -"@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== +"@abp/font-awesome@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/font-awesome/-/font-awesome-7.2.3.tgz#09b7c02b16ff99c9b5b62c1eefad9b1fc2879bcd" + integrity sha512-+4QRhfU08t1MYkmzTPX0B+p+SZQtOqtlDafzeDm5X6fbOlxV1hi97eRWtLtLgLjodjJWztpECWcsTUTgDhExwQ== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" "@fortawesome/fontawesome-free" "^5.15.4" -"@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== +"@abp/jquery-form@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-form/-/jquery-form-7.2.3.tgz#b0b295b22ae2ba292100e64d0bb97b3e1e295307" + integrity sha512-ucdGIZ0sxefakGRei9BJvDuoN16fKsYfpOT70/udw3k7uC3gFJD0AvAlEOEZPsFZhpNoqUKexNMym4lZovqBkg== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" jquery-form "^4.3.0" -"@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== +"@abp/jquery-validation-unobtrusive@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-validation-unobtrusive/-/jquery-validation-unobtrusive-7.2.3.tgz#1df04e286baa521c216cb949468199e6cacc34e3" + integrity sha512-Hcf1sqAFRIAYKqvN1pZGed+lazzY1nztvcmQlOOgUquiXRS3QjI3dIvxWw5nekJwUPqMpSfuC1GErQo0KpE1fw== dependencies: - "@abp/jquery-validation" "~7.2.2" + "@abp/jquery-validation" "~7.2.3" jquery-validation-unobtrusive "^3.2.12" -"@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== +"@abp/jquery-validation@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-validation/-/jquery-validation-7.2.3.tgz#438ac052e5d71dab50cf5da8be60ea68a460a725" + integrity sha512-drpE5mXErHQPk/4KChsj3zwNCA4GqNlYquTtHNv9/t5S/NuGqFAkchPV6mRYaiQypcxCndZQNSUEqnWxbuMY0g== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" jquery-validation "^1.19.3" -"@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== +"@abp/jquery@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery/-/jquery-7.2.3.tgz#555192ff0bcde89bbabee0f734ff74bf77cce1b5" + integrity sha512-r/p3D2QlV57YvrGJsLfTuIJGwLSSi5AVFtkmgKyfpyXYOCNb+TVF9sEZOZnoZebX6cT0JRvtUfZ0dk6ZBebAzg== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" jquery "~3.6.0" -"@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== +"@abp/lodash@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/lodash/-/lodash-7.2.3.tgz#99c1667f1499a7f318902e96ff81b4184b0dce86" + integrity sha512-5KuXPPpa2mkTlUYPR83bUTJUSSGoq9/kFSf9fYC0Wk2mFFeG4mRK6mXwcyHTfYshQe2qxuncxZsJ+4j5uQN9PA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" lodash "^4.17.21" -"@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== +"@abp/luxon@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/luxon/-/luxon-7.2.3.tgz#f643ed28b2d1743edd41edfec98d0e70b2f1f008" + integrity sha512-Y3IT1GbyuNSAzfpGnc5uzjz3Z/nDRUpYiZhoX0XeoQlJ+GyVT/+dytsZbuQBLgEWmQJhk9zxdcITXFT5vrWDcw== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" luxon "^2.3.0" -"@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== +"@abp/malihu-custom-scrollbar-plugin@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/malihu-custom-scrollbar-plugin/-/malihu-custom-scrollbar-plugin-7.2.3.tgz#a29f25921b07683b02e2f5c82a3da827e3e7d552" + integrity sha512-wq9eBrw/bY3wb50v5zuL0qOcVLOT86XN2ZJQj69O/bi2+0WNdLRCqMHhY0kaafb7UIBAlKChKA/xeICwCZxn+w== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" malihu-custom-scrollbar-plugin "^3.1.5" -"@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== +"@abp/moment@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/moment/-/moment-7.2.3.tgz#f6d2ba7b030b81239853490bdcc9e3c2bd4a39b1" + integrity sha512-pXsOzSom9RZHRGWuVaLIVzSkPayIcWMMmgSyo8T3gtZzZG/QJbpBWT+pug0X8pmV8So4d9E0LjacmODBKLM30A== dependencies: moment "^2.9.0" -"@abp/popper.js@~7.2.2": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@abp/popper.js/-/popper.js-7.2.2.tgz#440a2b73b7e37b917ce6aae21a0230a493243141" - integrity sha512-NzkNp7GljWn/J9KujGqclK/o3lNSCa28Eay/Z2yupJKWbX4hvsC04EdQm9+wx4xwZSJR11/6V0wKUmkS9BO34w== +"@abp/popper.js@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/popper.js/-/popper.js-7.2.3.tgz#565d595067fd018ffa931a4e7e9f97a98f42ec6b" + integrity sha512-Hi1YdiDYDBOs6vbJZHuH9Wcr5efzLC7Cz7tgF8oHekg4so67xguFv4eCR+yaS6FscZrbX/xqUkkq31J+PnCLAA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" "@popperjs/core" "^2.11.2" -"@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== +"@abp/prismjs@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/prismjs/-/prismjs-7.2.3.tgz#3ecef3120373eea8a5d01a7b12aa7669aff45307" + integrity sha512-yR/UPqpQ9MTHqBo5bK5izaVemdyqcncxWNIb1NETU4FwZ8ucLRnCbxX427gQUSWlqo6qc+Q9vdS4hOWjLTuroA== dependencies: - "@abp/clipboard" "~7.2.2" - "@abp/core" "~7.2.2" + "@abp/clipboard" "~7.2.3" + "@abp/core" "~7.2.3" prismjs "^1.26.0" -"@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== +"@abp/select2@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/select2/-/select2-7.2.3.tgz#4cecd1cd843807583fce09ef632f472f3f7da70b" + integrity sha512-Cdzl467UftB421W+l8uikGr2NlOsHwxKDxt5yPrF03LEec1MBys5y7UPUV1TEO6l0xwAVi4mW8dXaawyIOSjUA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" select2 "^4.0.13" -"@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== +"@abp/sweetalert2@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/sweetalert2/-/sweetalert2-7.2.3.tgz#9e9c503bdb4d47d2b67b0d8193d82145884c90f3" + integrity sha512-KHZD1YRMN6Z4JxPfXuEwocubooux8nKq6sPNG6RKg+rWpp23Fp8nX/ZngJNywVXSRqzrdEvUAM+92JG7zMwKXw== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" sweetalert2 "^11.3.6" -"@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== +"@abp/timeago@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/timeago/-/timeago-7.2.3.tgz#2ced6fa607a0471bf3385fbf5d9b1f2d902e824a" + integrity sha512-7eiibNXJWBGpQnitd/i8aWUNHOkcsuq8fAwBLJWvG8Whhh1nmBEjng0pGhheMqo0xoydefWi1K2uZDg99tKPeQ== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" timeago "^1.6.7" -"@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== +"@abp/toastr@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/toastr/-/toastr-7.2.3.tgz#0ef7c24b232ca3d01d4ac5a7dff57800b0ebdcbf" + integrity sha512-2zNMQE6ArRULP6xl+M66/EY83ZrXfNY+sNHUkmZH4uqfGhqR/ijKIQm1quxCLDmUcAjRr1kzu8BCc98pc9tfFw== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" toastr "^2.1.4" -"@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== +"@abp/utils@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/utils/-/utils-7.2.3.tgz#f384ba76b2948dbc8c49a453a343facda0825e2c" + integrity sha512-hejxDJhSI9Kor4mS9c/JHHQrW/wLXC/XMOJMUcBVkX/5IQd9GU9EW63oalNQyVA3gz3h5obnb0Qcfdv65wc5Pg== dependencies: just-compare "^1.3.0" diff --git a/modules/openiddict/app/OpenIddict.Demo.Server/package.json b/modules/openiddict/app/OpenIddict.Demo.Server/package.json index 2789947efd..dc291e5514 100644 --- a/modules/openiddict/app/OpenIddict.Demo.Server/package.json +++ b/modules/openiddict/app/OpenIddict.Demo.Server/package.json @@ -3,6 +3,6 @@ "name": "my-app", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.2" + "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.3" } } diff --git a/modules/openiddict/app/angular/package.json b/modules/openiddict/app/angular/package.json index 78a5756aab..d9a303cdbe 100644 --- a/modules/openiddict/app/angular/package.json +++ b/modules/openiddict/app/angular/package.json @@ -12,15 +12,15 @@ }, "private": true, "dependencies": { - "@abp/ng.account": "~7.2.2", - "@abp/ng.components": "~7.2.2", - "@abp/ng.core": "~7.2.2", - "@abp/ng.oauth": "~7.2.2", - "@abp/ng.identity": "~7.2.2", - "@abp/ng.setting-management": "~7.2.2", - "@abp/ng.tenant-management": "~7.2.2", - "@abp/ng.theme.shared": "~7.2.2", - "@abp/ng.theme.lepton-x": "~2.2.0-rc.1", + "@abp/ng.account": "~7.2.3", + "@abp/ng.components": "~7.2.3", + "@abp/ng.core": "~7.2.3", + "@abp/ng.oauth": "~7.2.3", + "@abp/ng.identity": "~7.2.3", + "@abp/ng.setting-management": "~7.2.3", + "@abp/ng.tenant-management": "~7.2.3", + "@abp/ng.theme.shared": "~7.2.3", + "@abp/ng.theme.lepton-x": "~2.2.1", "@angular/animations": "^15.0.1", "@angular/common": "^15.0.1", "@angular/compiler": "^15.0.1", @@ -36,7 +36,7 @@ "zone.js": "~0.11.4" }, "devDependencies": { - "@abp/ng.schematics": "~7.2.2", + "@abp/ng.schematics": "~7.2.3", "@angular-devkit/build-angular": "^15.0.1", "@angular-eslint/builder": "~15.1.0", "@angular-eslint/eslint-plugin": "~15.1.0", diff --git a/modules/setting-management/app/Volo.Abp.SettingManagement.DemoApp/package.json b/modules/setting-management/app/Volo.Abp.SettingManagement.DemoApp/package.json index cfd84936d8..7c99adaf33 100644 --- a/modules/setting-management/app/Volo.Abp.SettingManagement.DemoApp/package.json +++ b/modules/setting-management/app/Volo.Abp.SettingManagement.DemoApp/package.json @@ -3,6 +3,6 @@ "name": "demo-app", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.2" + "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.3" } } diff --git a/modules/setting-management/app/Volo.Abp.SettingManagement.DemoApp/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js b/modules/setting-management/app/Volo.Abp.SettingManagement.DemoApp/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js deleted file mode 100644 index 39ca36d655..0000000000 --- a/modules/setting-management/app/Volo.Abp.SettingManagement.DemoApp/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js +++ /dev/null @@ -1,5 +0,0 @@ -(function () { - [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')).map(function (popoverTriggerEl) { - return new bootstrap.Popover(popoverTriggerEl) - }) -})(); diff --git a/modules/setting-management/app/Volo.Abp.SettingManagement.DemoApp/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js b/modules/setting-management/app/Volo.Abp.SettingManagement.DemoApp/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js deleted file mode 100644 index bc8f4b5d51..0000000000 --- a/modules/setting-management/app/Volo.Abp.SettingManagement.DemoApp/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js +++ /dev/null @@ -1,5 +0,0 @@ -(function () { - [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map(function (tooltipTriggerEl) { - return new bootstrap.Tooltip(tooltipTriggerEl) - }); -})(); diff --git a/modules/setting-management/app/Volo.Abp.SettingManagement.DemoApp/yarn.lock b/modules/setting-management/app/Volo.Abp.SettingManagement.DemoApp/yarn.lock index 161a0caba3..7e5e33b3ea 100644 --- a/modules/setting-management/app/Volo.Abp.SettingManagement.DemoApp/yarn.lock +++ b/modules/setting-management/app/Volo.Abp.SettingManagement.DemoApp/yarn.lock @@ -2,39 +2,39 @@ # yarn lockfile v1 -"@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== +"@abp/aspnetcore.mvc.ui.theme.basic@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.basic/-/aspnetcore.mvc.ui.theme.basic-7.2.3.tgz#31f2dda74b2bf8f520caf97690e509fd1c1088c4" + integrity sha512-7DIwWrkLJSc2kXYcIcZH+EivpwOXzkO4j2yrUilK0OijoOM9Pa/iGStdNTPlYioOKUNti3/1zah+v5SELNdqIw== + dependencies: + "@abp/aspnetcore.mvc.ui.theme.shared" "~7.2.3" + +"@abp/aspnetcore.mvc.ui.theme.shared@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.shared/-/aspnetcore.mvc.ui.theme.shared-7.2.3.tgz#189dde88792497d29f76a6079dc6db34973ee98d" + integrity sha512-+G2mM/BJWqgGqZFg6GP28PaCtq+YlRmRfg7r0JQ1wkAN9pc11yKm0LRQjFnkcVBzg0A+N2hZqnFbW7wQhwXOHg== + dependencies: + "@abp/aspnetcore.mvc.ui" "~7.2.3" + "@abp/bootstrap" "~7.2.3" + "@abp/bootstrap-datepicker" "~7.2.3" + "@abp/bootstrap-daterangepicker" "~7.2.3" + "@abp/datatables.net-bs5" "~7.2.3" + "@abp/font-awesome" "~7.2.3" + "@abp/jquery-form" "~7.2.3" + "@abp/jquery-validation-unobtrusive" "~7.2.3" + "@abp/lodash" "~7.2.3" + "@abp/luxon" "~7.2.3" + "@abp/malihu-custom-scrollbar-plugin" "~7.2.3" + "@abp/moment" "~7.2.3" + "@abp/select2" "~7.2.3" + "@abp/sweetalert2" "~7.2.3" + "@abp/timeago" "~7.2.3" + "@abp/toastr" "~7.2.3" + +"@abp/aspnetcore.mvc.ui@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui/-/aspnetcore.mvc.ui-7.2.3.tgz#d828561e678f6ea779a67c908705ba553ae82edc" + integrity sha512-KJCw6OxjQBgNw4QoSoDQOe32bFF9NvHdD09zMVsoCB/GgN66dcbZnk+ldidHcwjLFDPXOuHJMx+TKmno3VgUaQ== dependencies: ansi-colors "^4.1.1" extend-object "^1.0.0" @@ -43,158 +43,158 @@ merge-stream "^2.0.0" micromatch "^4.0.2" -"@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== +"@abp/bootstrap-datepicker@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap-datepicker/-/bootstrap-datepicker-7.2.3.tgz#7610ff44a6c1ea73f0c9b4c79a31cbb9e505d66f" + integrity sha512-wiKVXftVrXcjwz0FpshD6P4WW3CNk/4cLH15aaqRjM+J0BigDeH9CczlpVc7jXdn+c8plHIRz0t5tqlUud7dIQ== dependencies: bootstrap-datepicker "^1.9.0" -"@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== +"@abp/bootstrap-daterangepicker@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap-daterangepicker/-/bootstrap-daterangepicker-7.2.3.tgz#3946fb853dae52ef092db4bb23b94389577c17d3" + integrity sha512-ChdnXMzHvg+HwrUtw2z6KuqRTqHVOq8qEBai+IPW6PykJSML+tZKzer3jzDIzyHq68OIqom3n3xL0XpcniKMew== dependencies: bootstrap-daterangepicker "^3.1.0" -"@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== +"@abp/bootstrap@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap/-/bootstrap-7.2.3.tgz#43ecd5912ac65bbc142f198ec112b0b2a15e4864" + integrity sha512-Z00q1sAwo9PvFSpfFlbbUHPMyghLOzuEuAzz/8nA6tK7WR0KQBS/0zGC0nK9hNwbyZ4FqKwPSznRVwuwrnqyhQ== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" bootstrap "^5.1.3" -"@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== +"@abp/core@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/core/-/core-7.2.3.tgz#a669073989a30f600355b368c01c654714456f17" + integrity sha512-UyKBWwXbKCzKZwV2YJPgP3v2naDFsfJzV+KEHpdgLdPZyrpBhp+bQ80VNVe2HHrD/bLfhM4fu9pCXw6RYZKnvA== dependencies: - "@abp/utils" "~7.2.2" + "@abp/utils" "~7.2.3" -"@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== +"@abp/datatables.net-bs5@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/datatables.net-bs5/-/datatables.net-bs5-7.2.3.tgz#362f3b8ff2f3612989787e2b6ef19bad181b4206" + integrity sha512-TmXTkIX+Vb1O/fER5JeRlWIOZLoSXG4QD3F0ZbebrjgS9k7oSu9igR/VhXBs1m1lvOqcNKv7Y4LTNRAMw+Mi0A== dependencies: - "@abp/datatables.net" "~7.2.2" + "@abp/datatables.net" "~7.2.3" datatables.net-bs5 "^1.11.4" -"@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== +"@abp/datatables.net@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/datatables.net/-/datatables.net-7.2.3.tgz#36661e223d15a0f75caad607094007d974ba678b" + integrity sha512-g+LmRMg4Sk34iU/MN4RpgC/yd8NVEjhVWg/kT+nuWunsnwLHkcfK59KPGXn9ZLktL4VqQYj2WeXbDv8TEbOObg== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" datatables.net "^1.11.4" -"@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== +"@abp/font-awesome@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/font-awesome/-/font-awesome-7.2.3.tgz#09b7c02b16ff99c9b5b62c1eefad9b1fc2879bcd" + integrity sha512-+4QRhfU08t1MYkmzTPX0B+p+SZQtOqtlDafzeDm5X6fbOlxV1hi97eRWtLtLgLjodjJWztpECWcsTUTgDhExwQ== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" "@fortawesome/fontawesome-free" "^5.15.4" -"@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== +"@abp/jquery-form@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-form/-/jquery-form-7.2.3.tgz#b0b295b22ae2ba292100e64d0bb97b3e1e295307" + integrity sha512-ucdGIZ0sxefakGRei9BJvDuoN16fKsYfpOT70/udw3k7uC3gFJD0AvAlEOEZPsFZhpNoqUKexNMym4lZovqBkg== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" jquery-form "^4.3.0" -"@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== +"@abp/jquery-validation-unobtrusive@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-validation-unobtrusive/-/jquery-validation-unobtrusive-7.2.3.tgz#1df04e286baa521c216cb949468199e6cacc34e3" + integrity sha512-Hcf1sqAFRIAYKqvN1pZGed+lazzY1nztvcmQlOOgUquiXRS3QjI3dIvxWw5nekJwUPqMpSfuC1GErQo0KpE1fw== dependencies: - "@abp/jquery-validation" "~7.2.2" + "@abp/jquery-validation" "~7.2.3" jquery-validation-unobtrusive "^3.2.12" -"@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== +"@abp/jquery-validation@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-validation/-/jquery-validation-7.2.3.tgz#438ac052e5d71dab50cf5da8be60ea68a460a725" + integrity sha512-drpE5mXErHQPk/4KChsj3zwNCA4GqNlYquTtHNv9/t5S/NuGqFAkchPV6mRYaiQypcxCndZQNSUEqnWxbuMY0g== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" jquery-validation "^1.19.3" -"@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== +"@abp/jquery@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery/-/jquery-7.2.3.tgz#555192ff0bcde89bbabee0f734ff74bf77cce1b5" + integrity sha512-r/p3D2QlV57YvrGJsLfTuIJGwLSSi5AVFtkmgKyfpyXYOCNb+TVF9sEZOZnoZebX6cT0JRvtUfZ0dk6ZBebAzg== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" jquery "~3.6.0" -"@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== +"@abp/lodash@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/lodash/-/lodash-7.2.3.tgz#99c1667f1499a7f318902e96ff81b4184b0dce86" + integrity sha512-5KuXPPpa2mkTlUYPR83bUTJUSSGoq9/kFSf9fYC0Wk2mFFeG4mRK6mXwcyHTfYshQe2qxuncxZsJ+4j5uQN9PA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" lodash "^4.17.21" -"@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== +"@abp/luxon@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/luxon/-/luxon-7.2.3.tgz#f643ed28b2d1743edd41edfec98d0e70b2f1f008" + integrity sha512-Y3IT1GbyuNSAzfpGnc5uzjz3Z/nDRUpYiZhoX0XeoQlJ+GyVT/+dytsZbuQBLgEWmQJhk9zxdcITXFT5vrWDcw== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" luxon "^2.3.0" -"@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== +"@abp/malihu-custom-scrollbar-plugin@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/malihu-custom-scrollbar-plugin/-/malihu-custom-scrollbar-plugin-7.2.3.tgz#a29f25921b07683b02e2f5c82a3da827e3e7d552" + integrity sha512-wq9eBrw/bY3wb50v5zuL0qOcVLOT86XN2ZJQj69O/bi2+0WNdLRCqMHhY0kaafb7UIBAlKChKA/xeICwCZxn+w== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" malihu-custom-scrollbar-plugin "^3.1.5" -"@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== +"@abp/moment@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/moment/-/moment-7.2.3.tgz#f6d2ba7b030b81239853490bdcc9e3c2bd4a39b1" + integrity sha512-pXsOzSom9RZHRGWuVaLIVzSkPayIcWMMmgSyo8T3gtZzZG/QJbpBWT+pug0X8pmV8So4d9E0LjacmODBKLM30A== dependencies: moment "^2.9.0" -"@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== +"@abp/select2@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/select2/-/select2-7.2.3.tgz#4cecd1cd843807583fce09ef632f472f3f7da70b" + integrity sha512-Cdzl467UftB421W+l8uikGr2NlOsHwxKDxt5yPrF03LEec1MBys5y7UPUV1TEO6l0xwAVi4mW8dXaawyIOSjUA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" select2 "^4.0.13" -"@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== +"@abp/sweetalert2@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/sweetalert2/-/sweetalert2-7.2.3.tgz#9e9c503bdb4d47d2b67b0d8193d82145884c90f3" + integrity sha512-KHZD1YRMN6Z4JxPfXuEwocubooux8nKq6sPNG6RKg+rWpp23Fp8nX/ZngJNywVXSRqzrdEvUAM+92JG7zMwKXw== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" sweetalert2 "^11.3.6" -"@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== +"@abp/timeago@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/timeago/-/timeago-7.2.3.tgz#2ced6fa607a0471bf3385fbf5d9b1f2d902e824a" + integrity sha512-7eiibNXJWBGpQnitd/i8aWUNHOkcsuq8fAwBLJWvG8Whhh1nmBEjng0pGhheMqo0xoydefWi1K2uZDg99tKPeQ== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" timeago "^1.6.7" -"@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== +"@abp/toastr@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/toastr/-/toastr-7.2.3.tgz#0ef7c24b232ca3d01d4ac5a7dff57800b0ebdcbf" + integrity sha512-2zNMQE6ArRULP6xl+M66/EY83ZrXfNY+sNHUkmZH4uqfGhqR/ijKIQm1quxCLDmUcAjRr1kzu8BCc98pc9tfFw== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" toastr "^2.1.4" -"@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== +"@abp/utils@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/utils/-/utils-7.2.3.tgz#f384ba76b2948dbc8c49a453a343facda0825e2c" + integrity sha512-hejxDJhSI9Kor4mS9c/JHHQrW/wLXC/XMOJMUcBVkX/5IQd9GU9EW63oalNQyVA3gz3h5obnb0Qcfdv65wc5Pg== dependencies: just-compare "^1.3.0" diff --git a/modules/setting-management/src/Volo.Abp.SettingManagement.Domain.Shared/Volo/Abp/SettingManagement/Localization/Resources/AbpSettingManagement/de-DE.json b/modules/setting-management/src/Volo.Abp.SettingManagement.Domain.Shared/Volo/Abp/SettingManagement/Localization/Resources/AbpSettingManagement/de-DE.json index 5aac7a3ba2..d688609eb7 100644 --- a/modules/setting-management/src/Volo.Abp.SettingManagement.Domain.Shared/Volo/Abp/SettingManagement/Localization/Resources/AbpSettingManagement/de-DE.json +++ b/modules/setting-management/src/Volo.Abp.SettingManagement.Domain.Shared/Volo/Abp/SettingManagement/Localization/Resources/AbpSettingManagement/de-DE.json @@ -5,7 +5,20 @@ "SuccessfullySaved": "Erfolgreich gespeichert", "Permission:SettingManagement": "Einstellungen-Verwaltung", "Permission:Emailing": "E-Mail", + "Permission:EmailingTest": "Test E-Mails", + "Permission:TimeZone": "Zeitzone", + "SendTestEmail": "Test E-Mail senden", + "SenderEmailAddress": "Absender-Adresse", + "TargetEmailAddress": "Empfänger-Adresse", + "Subject": "Betreff", + "Body": "Nachricht", + "TestEmailSubject": "Test E-Mail {0}", + "TestEmailBody": "Test E-Mail Nachricht hier eingeben", + "SuccessfullySent": "Erfolgreich gesendet", + "Send": "Senden", "Menu:Emailing": "E-Mail", + "Menu:TimeZone": "Zeitzone", + "DisplayName:Timezone": "Zeitzone", "SmtpHost": "Host", "SmtpPort": "Port", "SmtpUserName": "Benutzername", diff --git a/modules/setting-management/src/Volo.Abp.SettingManagement.Domain.Shared/Volo/Abp/SettingManagement/Localization/Resources/AbpSettingManagement/tr.json b/modules/setting-management/src/Volo.Abp.SettingManagement.Domain.Shared/Volo/Abp/SettingManagement/Localization/Resources/AbpSettingManagement/tr.json index 756c9f000d..6655f49966 100644 --- a/modules/setting-management/src/Volo.Abp.SettingManagement.Domain.Shared/Volo/Abp/SettingManagement/Localization/Resources/AbpSettingManagement/tr.json +++ b/modules/setting-management/src/Volo.Abp.SettingManagement.Domain.Shared/Volo/Abp/SettingManagement/Localization/Resources/AbpSettingManagement/tr.json @@ -22,7 +22,7 @@ "SmtpHost": "Sunucu", "SmtpPort": "Port", "SmtpUserName": "Kullanıcı adı", - "SmtpPassword": "şifre", + "SmtpPassword": "Şifre", "SmtpDomain": "Domain", "SmtpEnableSsl": "Ssl'i aktif et", "SmtpUseDefaultCredentials": "Varsayılan yetkilendirmeleri kullan", diff --git a/modules/virtual-file-explorer/app/Volo.Abp.VirtualFileExplorer.DemoApp/package.json b/modules/virtual-file-explorer/app/Volo.Abp.VirtualFileExplorer.DemoApp/package.json index dcaf814966..b9ab9e1ec5 100644 --- a/modules/virtual-file-explorer/app/Volo.Abp.VirtualFileExplorer.DemoApp/package.json +++ b/modules/virtual-file-explorer/app/Volo.Abp.VirtualFileExplorer.DemoApp/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.2", - "@abp/virtual-file-explorer": "~7.2.2" + "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.3", + "@abp/virtual-file-explorer": "~7.2.3" } } diff --git a/modules/virtual-file-explorer/app/Volo.Abp.VirtualFileExplorer.DemoApp/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js b/modules/virtual-file-explorer/app/Volo.Abp.VirtualFileExplorer.DemoApp/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js deleted file mode 100644 index 39ca36d655..0000000000 --- a/modules/virtual-file-explorer/app/Volo.Abp.VirtualFileExplorer.DemoApp/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js +++ /dev/null @@ -1,5 +0,0 @@ -(function () { - [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')).map(function (popoverTriggerEl) { - return new bootstrap.Popover(popoverTriggerEl) - }) -})(); diff --git a/modules/virtual-file-explorer/app/Volo.Abp.VirtualFileExplorer.DemoApp/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js b/modules/virtual-file-explorer/app/Volo.Abp.VirtualFileExplorer.DemoApp/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js deleted file mode 100644 index bc8f4b5d51..0000000000 --- a/modules/virtual-file-explorer/app/Volo.Abp.VirtualFileExplorer.DemoApp/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js +++ /dev/null @@ -1,5 +0,0 @@ -(function () { - [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map(function (tooltipTriggerEl) { - return new bootstrap.Tooltip(tooltipTriggerEl) - }); -})(); diff --git a/modules/virtual-file-explorer/app/Volo.Abp.VirtualFileExplorer.DemoApp/yarn.lock b/modules/virtual-file-explorer/app/Volo.Abp.VirtualFileExplorer.DemoApp/yarn.lock index e04527a50e..1c69184181 100644 --- a/modules/virtual-file-explorer/app/Volo.Abp.VirtualFileExplorer.DemoApp/yarn.lock +++ b/modules/virtual-file-explorer/app/Volo.Abp.VirtualFileExplorer.DemoApp/yarn.lock @@ -2,39 +2,39 @@ # yarn lockfile v1 -"@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== +"@abp/aspnetcore.mvc.ui.theme.basic@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.basic/-/aspnetcore.mvc.ui.theme.basic-7.2.3.tgz#31f2dda74b2bf8f520caf97690e509fd1c1088c4" + integrity sha512-7DIwWrkLJSc2kXYcIcZH+EivpwOXzkO4j2yrUilK0OijoOM9Pa/iGStdNTPlYioOKUNti3/1zah+v5SELNdqIw== + dependencies: + "@abp/aspnetcore.mvc.ui.theme.shared" "~7.2.3" + +"@abp/aspnetcore.mvc.ui.theme.shared@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui.theme.shared/-/aspnetcore.mvc.ui.theme.shared-7.2.3.tgz#189dde88792497d29f76a6079dc6db34973ee98d" + integrity sha512-+G2mM/BJWqgGqZFg6GP28PaCtq+YlRmRfg7r0JQ1wkAN9pc11yKm0LRQjFnkcVBzg0A+N2hZqnFbW7wQhwXOHg== + dependencies: + "@abp/aspnetcore.mvc.ui" "~7.2.3" + "@abp/bootstrap" "~7.2.3" + "@abp/bootstrap-datepicker" "~7.2.3" + "@abp/bootstrap-daterangepicker" "~7.2.3" + "@abp/datatables.net-bs5" "~7.2.3" + "@abp/font-awesome" "~7.2.3" + "@abp/jquery-form" "~7.2.3" + "@abp/jquery-validation-unobtrusive" "~7.2.3" + "@abp/lodash" "~7.2.3" + "@abp/luxon" "~7.2.3" + "@abp/malihu-custom-scrollbar-plugin" "~7.2.3" + "@abp/moment" "~7.2.3" + "@abp/select2" "~7.2.3" + "@abp/sweetalert2" "~7.2.3" + "@abp/timeago" "~7.2.3" + "@abp/toastr" "~7.2.3" + +"@abp/aspnetcore.mvc.ui@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/aspnetcore.mvc.ui/-/aspnetcore.mvc.ui-7.2.3.tgz#d828561e678f6ea779a67c908705ba553ae82edc" + integrity sha512-KJCw6OxjQBgNw4QoSoDQOe32bFF9NvHdD09zMVsoCB/GgN66dcbZnk+ldidHcwjLFDPXOuHJMx+TKmno3VgUaQ== dependencies: ansi-colors "^4.1.1" extend-object "^1.0.0" @@ -43,185 +43,185 @@ merge-stream "^2.0.0" micromatch "^4.0.2" -"@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== +"@abp/bootstrap-datepicker@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap-datepicker/-/bootstrap-datepicker-7.2.3.tgz#7610ff44a6c1ea73f0c9b4c79a31cbb9e505d66f" + integrity sha512-wiKVXftVrXcjwz0FpshD6P4WW3CNk/4cLH15aaqRjM+J0BigDeH9CczlpVc7jXdn+c8plHIRz0t5tqlUud7dIQ== dependencies: bootstrap-datepicker "^1.9.0" -"@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== +"@abp/bootstrap-daterangepicker@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap-daterangepicker/-/bootstrap-daterangepicker-7.2.3.tgz#3946fb853dae52ef092db4bb23b94389577c17d3" + integrity sha512-ChdnXMzHvg+HwrUtw2z6KuqRTqHVOq8qEBai+IPW6PykJSML+tZKzer3jzDIzyHq68OIqom3n3xL0XpcniKMew== dependencies: bootstrap-daterangepicker "^3.1.0" -"@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== +"@abp/bootstrap@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/bootstrap/-/bootstrap-7.2.3.tgz#43ecd5912ac65bbc142f198ec112b0b2a15e4864" + integrity sha512-Z00q1sAwo9PvFSpfFlbbUHPMyghLOzuEuAzz/8nA6tK7WR0KQBS/0zGC0nK9hNwbyZ4FqKwPSznRVwuwrnqyhQ== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" bootstrap "^5.1.3" -"@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== +"@abp/clipboard@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/clipboard/-/clipboard-7.2.3.tgz#dcd8ffc229bd0419be6cd49679fe65dfea90163e" + integrity sha512-Eu7GIMqXpGqU1UK3gm0QfI4DQLaWcFLeO/hL/RefqU79kpWwN+PKg4bYAH8uuYovQUR8i0DRwk8rqOlayjjWRA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" clipboard "^2.0.8" -"@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== +"@abp/core@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/core/-/core-7.2.3.tgz#a669073989a30f600355b368c01c654714456f17" + integrity sha512-UyKBWwXbKCzKZwV2YJPgP3v2naDFsfJzV+KEHpdgLdPZyrpBhp+bQ80VNVe2HHrD/bLfhM4fu9pCXw6RYZKnvA== dependencies: - "@abp/utils" "~7.2.2" + "@abp/utils" "~7.2.3" -"@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== +"@abp/datatables.net-bs5@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/datatables.net-bs5/-/datatables.net-bs5-7.2.3.tgz#362f3b8ff2f3612989787e2b6ef19bad181b4206" + integrity sha512-TmXTkIX+Vb1O/fER5JeRlWIOZLoSXG4QD3F0ZbebrjgS9k7oSu9igR/VhXBs1m1lvOqcNKv7Y4LTNRAMw+Mi0A== dependencies: - "@abp/datatables.net" "~7.2.2" + "@abp/datatables.net" "~7.2.3" datatables.net-bs5 "^1.11.4" -"@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== +"@abp/datatables.net@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/datatables.net/-/datatables.net-7.2.3.tgz#36661e223d15a0f75caad607094007d974ba678b" + integrity sha512-g+LmRMg4Sk34iU/MN4RpgC/yd8NVEjhVWg/kT+nuWunsnwLHkcfK59KPGXn9ZLktL4VqQYj2WeXbDv8TEbOObg== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" datatables.net "^1.11.4" -"@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== +"@abp/font-awesome@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/font-awesome/-/font-awesome-7.2.3.tgz#09b7c02b16ff99c9b5b62c1eefad9b1fc2879bcd" + integrity sha512-+4QRhfU08t1MYkmzTPX0B+p+SZQtOqtlDafzeDm5X6fbOlxV1hi97eRWtLtLgLjodjJWztpECWcsTUTgDhExwQ== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" "@fortawesome/fontawesome-free" "^5.15.4" -"@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== +"@abp/jquery-form@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-form/-/jquery-form-7.2.3.tgz#b0b295b22ae2ba292100e64d0bb97b3e1e295307" + integrity sha512-ucdGIZ0sxefakGRei9BJvDuoN16fKsYfpOT70/udw3k7uC3gFJD0AvAlEOEZPsFZhpNoqUKexNMym4lZovqBkg== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" jquery-form "^4.3.0" -"@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== +"@abp/jquery-validation-unobtrusive@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-validation-unobtrusive/-/jquery-validation-unobtrusive-7.2.3.tgz#1df04e286baa521c216cb949468199e6cacc34e3" + integrity sha512-Hcf1sqAFRIAYKqvN1pZGed+lazzY1nztvcmQlOOgUquiXRS3QjI3dIvxWw5nekJwUPqMpSfuC1GErQo0KpE1fw== dependencies: - "@abp/jquery-validation" "~7.2.2" + "@abp/jquery-validation" "~7.2.3" jquery-validation-unobtrusive "^3.2.12" -"@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== +"@abp/jquery-validation@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery-validation/-/jquery-validation-7.2.3.tgz#438ac052e5d71dab50cf5da8be60ea68a460a725" + integrity sha512-drpE5mXErHQPk/4KChsj3zwNCA4GqNlYquTtHNv9/t5S/NuGqFAkchPV6mRYaiQypcxCndZQNSUEqnWxbuMY0g== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" jquery-validation "^1.19.3" -"@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== +"@abp/jquery@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/jquery/-/jquery-7.2.3.tgz#555192ff0bcde89bbabee0f734ff74bf77cce1b5" + integrity sha512-r/p3D2QlV57YvrGJsLfTuIJGwLSSi5AVFtkmgKyfpyXYOCNb+TVF9sEZOZnoZebX6cT0JRvtUfZ0dk6ZBebAzg== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" jquery "~3.6.0" -"@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== +"@abp/lodash@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/lodash/-/lodash-7.2.3.tgz#99c1667f1499a7f318902e96ff81b4184b0dce86" + integrity sha512-5KuXPPpa2mkTlUYPR83bUTJUSSGoq9/kFSf9fYC0Wk2mFFeG4mRK6mXwcyHTfYshQe2qxuncxZsJ+4j5uQN9PA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" lodash "^4.17.21" -"@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== +"@abp/luxon@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/luxon/-/luxon-7.2.3.tgz#f643ed28b2d1743edd41edfec98d0e70b2f1f008" + integrity sha512-Y3IT1GbyuNSAzfpGnc5uzjz3Z/nDRUpYiZhoX0XeoQlJ+GyVT/+dytsZbuQBLgEWmQJhk9zxdcITXFT5vrWDcw== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" luxon "^2.3.0" -"@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== +"@abp/malihu-custom-scrollbar-plugin@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/malihu-custom-scrollbar-plugin/-/malihu-custom-scrollbar-plugin-7.2.3.tgz#a29f25921b07683b02e2f5c82a3da827e3e7d552" + integrity sha512-wq9eBrw/bY3wb50v5zuL0qOcVLOT86XN2ZJQj69O/bi2+0WNdLRCqMHhY0kaafb7UIBAlKChKA/xeICwCZxn+w== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" malihu-custom-scrollbar-plugin "^3.1.5" -"@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== +"@abp/moment@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/moment/-/moment-7.2.3.tgz#f6d2ba7b030b81239853490bdcc9e3c2bd4a39b1" + integrity sha512-pXsOzSom9RZHRGWuVaLIVzSkPayIcWMMmgSyo8T3gtZzZG/QJbpBWT+pug0X8pmV8So4d9E0LjacmODBKLM30A== dependencies: moment "^2.9.0" -"@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== +"@abp/prismjs@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/prismjs/-/prismjs-7.2.3.tgz#3ecef3120373eea8a5d01a7b12aa7669aff45307" + integrity sha512-yR/UPqpQ9MTHqBo5bK5izaVemdyqcncxWNIb1NETU4FwZ8ucLRnCbxX427gQUSWlqo6qc+Q9vdS4hOWjLTuroA== dependencies: - "@abp/clipboard" "~7.2.2" - "@abp/core" "~7.2.2" + "@abp/clipboard" "~7.2.3" + "@abp/core" "~7.2.3" prismjs "^1.26.0" -"@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== +"@abp/select2@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/select2/-/select2-7.2.3.tgz#4cecd1cd843807583fce09ef632f472f3f7da70b" + integrity sha512-Cdzl467UftB421W+l8uikGr2NlOsHwxKDxt5yPrF03LEec1MBys5y7UPUV1TEO6l0xwAVi4mW8dXaawyIOSjUA== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" select2 "^4.0.13" -"@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== +"@abp/sweetalert2@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/sweetalert2/-/sweetalert2-7.2.3.tgz#9e9c503bdb4d47d2b67b0d8193d82145884c90f3" + integrity sha512-KHZD1YRMN6Z4JxPfXuEwocubooux8nKq6sPNG6RKg+rWpp23Fp8nX/ZngJNywVXSRqzrdEvUAM+92JG7zMwKXw== dependencies: - "@abp/core" "~7.2.2" + "@abp/core" "~7.2.3" sweetalert2 "^11.3.6" -"@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== +"@abp/timeago@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/timeago/-/timeago-7.2.3.tgz#2ced6fa607a0471bf3385fbf5d9b1f2d902e824a" + integrity sha512-7eiibNXJWBGpQnitd/i8aWUNHOkcsuq8fAwBLJWvG8Whhh1nmBEjng0pGhheMqo0xoydefWi1K2uZDg99tKPeQ== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" timeago "^1.6.7" -"@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== +"@abp/toastr@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/toastr/-/toastr-7.2.3.tgz#0ef7c24b232ca3d01d4ac5a7dff57800b0ebdcbf" + integrity sha512-2zNMQE6ArRULP6xl+M66/EY83ZrXfNY+sNHUkmZH4uqfGhqR/ijKIQm1quxCLDmUcAjRr1kzu8BCc98pc9tfFw== dependencies: - "@abp/jquery" "~7.2.2" + "@abp/jquery" "~7.2.3" toastr "^2.1.4" -"@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== +"@abp/utils@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/utils/-/utils-7.2.3.tgz#f384ba76b2948dbc8c49a453a343facda0825e2c" + integrity sha512-hejxDJhSI9Kor4mS9c/JHHQrW/wLXC/XMOJMUcBVkX/5IQd9GU9EW63oalNQyVA3gz3h5obnb0Qcfdv65wc5Pg== dependencies: just-compare "^1.3.0" -"@abp/virtual-file-explorer@~7.2.2": - version "7.2.2" - resolved "https://registry.yarnpkg.com/@abp/virtual-file-explorer/-/virtual-file-explorer-7.2.2.tgz#23430972f2eea3c81945354e3e74b561d96af6eb" - integrity sha512-e2bysLPTPMvlh6OAS7yJP+xG/L+XV5N6K569CjqD2p9t722+574qnE6+ytViE2O471HQtMel+LlPt9EDG7hy+Q== +"@abp/virtual-file-explorer@~7.2.3": + version "7.2.3" + resolved "https://registry.yarnpkg.com/@abp/virtual-file-explorer/-/virtual-file-explorer-7.2.3.tgz#c0c53a80cdd848b94957205a5de4ceb63b0fa528" + integrity sha512-stB6v1QCgX6Txynatc98RS4+6afgcaoaurqfB11jw6EOOMMVsXAlGA8EcmZeIDrzaPM++pd13rfvtfcaTCvgrg== dependencies: - "@abp/clipboard" "~7.2.2" - "@abp/prismjs" "~7.2.2" + "@abp/clipboard" "~7.2.3" + "@abp/prismjs" "~7.2.3" "@fortawesome/fontawesome-free@^5.15.4": version "5.15.4" diff --git a/npm/ng-packs/lerna.version.json b/npm/ng-packs/lerna.version.json index e6eb1ced15..a5bbc6d1fa 100644 --- a/npm/ng-packs/lerna.version.json +++ b/npm/ng-packs/lerna.version.json @@ -1,5 +1,5 @@ { - "version": "7.2.2", + "version": "7.2.3", "packages": [ "packages/*" ], diff --git a/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js b/npm/packs/bootstrap/src/bootstrap.enable.popovers.everywhere.js similarity index 97% rename from modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js rename to npm/packs/bootstrap/src/bootstrap.enable.popovers.everywhere.js index 39ca36d655..a02a2a7a5e 100644 --- a/modules/basic-theme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/wwwroot/libs/bootstrap/js/bootstrap.enable.popovers.everywhere.js +++ b/npm/packs/bootstrap/src/bootstrap.enable.popovers.everywhere.js @@ -1,5 +1,5 @@ -(function () { - [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')).map(function (popoverTriggerEl) { - return new bootstrap.Popover(popoverTriggerEl) - }) -})(); +(function () { + [].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')).map(function (popoverTriggerEl) { + return new bootstrap.Popover(popoverTriggerEl) + }) +})(); diff --git a/modules/blogging/app/Volo.BloggingTestApp/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js b/npm/packs/bootstrap/src/bootstrap.enable.tooltips.everywhere.js similarity index 97% rename from modules/blogging/app/Volo.BloggingTestApp/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js rename to npm/packs/bootstrap/src/bootstrap.enable.tooltips.everywhere.js index bc8f4b5d51..5a2b42a1d1 100644 --- a/modules/blogging/app/Volo.BloggingTestApp/wwwroot/libs/bootstrap/js/bootstrap.enable.tooltips.everywhere.js +++ b/npm/packs/bootstrap/src/bootstrap.enable.tooltips.everywhere.js @@ -1,5 +1,5 @@ -(function () { - [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map(function (tooltipTriggerEl) { - return new bootstrap.Tooltip(tooltipTriggerEl) - }); -})(); +(function () { + [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map(function (tooltipTriggerEl) { + return new bootstrap.Tooltip(tooltipTriggerEl) + }); +})(); diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server.Mongo/package.json b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server.Mongo/package.json index 8073fdcd73..c0940ec1d7 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server.Mongo/package.json +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server.Mongo/package.json @@ -3,7 +3,7 @@ "name": "my-app", "private": true, "dependencies": { - "@abp/aspnetcore.components.server.leptonxlitetheme": "~2.2.0-rc.1", - "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.0-rc.1" + "@abp/aspnetcore.components.server.leptonxlitetheme": "~2.2.1", + "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.1" } } diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/package.json b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/package.json index bcbe499d0c..1abb5b0090 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/package.json +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/package.json @@ -3,7 +3,7 @@ "name": "my-app", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.0-rc.1", - "@abp/aspnetcore.components.server.leptonxlitetheme": "~2.2.0-rc.1" + "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.1", + "@abp/aspnetcore.components.server.leptonxlitetheme": "~2.2.1" } } diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server.Mongo/package.json b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server.Mongo/package.json index c4f99fc613..af067966a5 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server.Mongo/package.json +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server.Mongo/package.json @@ -3,6 +3,6 @@ "name": "my-app", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.0-rc.1" + "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.1" } } diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/package.json b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/package.json index c4f99fc613..af067966a5 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/package.json +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.WebAssembly/Server/package.json @@ -3,6 +3,6 @@ "name": "my-app", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.0-rc.1" + "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.1" } } diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host.Mongo/package.json b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host.Mongo/package.json index c4f99fc613..af067966a5 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host.Mongo/package.json +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host.Mongo/package.json @@ -3,6 +3,6 @@ "name": "my-app", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.0-rc.1" + "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.1" } } diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/package.json b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/package.json index c4f99fc613..af067966a5 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/package.json +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/package.json @@ -3,6 +3,6 @@ "name": "my-app", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.0-rc.1" + "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.1" } } diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc.Mongo/package.json b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc.Mongo/package.json index c4f99fc613..af067966a5 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc.Mongo/package.json +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc.Mongo/package.json @@ -3,6 +3,6 @@ "name": "my-app", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.0-rc.1" + "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.1" } } diff --git a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/package.json b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/package.json index c4f99fc613..af067966a5 100644 --- a/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/package.json +++ b/templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/package.json @@ -3,6 +3,6 @@ "name": "my-app", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.0-rc.1" + "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.1" } } diff --git a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.AuthServer/package.json b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.AuthServer/package.json index 8b38b1f07d..e2eca2820f 100644 --- a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.AuthServer/package.json +++ b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.AuthServer/package.json @@ -3,6 +3,6 @@ "name": "my-app-authserver", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.0-rc.1" + "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.1" } } diff --git a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server.Tiered/package.json b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server.Tiered/package.json index bcbe499d0c..1abb5b0090 100644 --- a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server.Tiered/package.json +++ b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server.Tiered/package.json @@ -3,7 +3,7 @@ "name": "my-app", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.0-rc.1", - "@abp/aspnetcore.components.server.leptonxlitetheme": "~2.2.0-rc.1" + "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.1", + "@abp/aspnetcore.components.server.leptonxlitetheme": "~2.2.1" } } diff --git a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server/package.json b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server/package.json index bcbe499d0c..1abb5b0090 100644 --- a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server/package.json +++ b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server/package.json @@ -3,7 +3,7 @@ "name": "my-app", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.0-rc.1", - "@abp/aspnetcore.components.server.leptonxlitetheme": "~2.2.0-rc.1" + "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.1", + "@abp/aspnetcore.components.server.leptonxlitetheme": "~2.2.1" } } diff --git a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.HttpApi.HostWithIds/package.json b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.HttpApi.HostWithIds/package.json index c4f99fc613..af067966a5 100644 --- a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.HttpApi.HostWithIds/package.json +++ b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.HttpApi.HostWithIds/package.json @@ -3,6 +3,6 @@ "name": "my-app", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.0-rc.1" + "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.1" } } diff --git a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web.Host/package.json b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web.Host/package.json index c4f99fc613..af067966a5 100644 --- a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web.Host/package.json +++ b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web.Host/package.json @@ -3,6 +3,6 @@ "name": "my-app", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.0-rc.1" + "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.1" } } diff --git a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web/package.json b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web/package.json index c4f99fc613..af067966a5 100644 --- a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web/package.json +++ b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web/package.json @@ -3,6 +3,6 @@ "name": "my-app", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.0-rc.1" + "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~2.2.1" } } diff --git a/templates/app/aspnet-core/test/MyCompanyName.MyProjectName.Web.Tests/MyProjectNameWebTestBase.cs b/templates/app/aspnet-core/test/MyCompanyName.MyProjectName.Web.Tests/MyProjectNameWebTestBase.cs index 9736848b6b..d038106f5a 100644 --- a/templates/app/aspnet-core/test/MyCompanyName.MyProjectName.Web.Tests/MyProjectNameWebTestBase.cs +++ b/templates/app/aspnet-core/test/MyCompanyName.MyProjectName.Web.Tests/MyProjectNameWebTestBase.cs @@ -9,7 +9,7 @@ using Volo.Abp.AspNetCore.TestBase; namespace MyCompanyName.MyProjectName; -public abstract class MyProjectNameWebTestBase : AbpAspNetCoreIntegratedTestBase +public abstract class MyProjectNameWebTestBase : AbpAspNetCoreIntegratedTestBase { protected override IHostBuilder CreateHostBuilder() { diff --git a/templates/app/aspnet-core/test/MyCompanyName.MyProjectName.Web.Tests/MyProjectNameWebTestStartup.cs b/templates/app/aspnet-core/test/MyCompanyName.MyProjectName.Web.Tests/MyProjectNameWebTestStartup.cs deleted file mode 100644 index 1851f73c9f..0000000000 --- a/templates/app/aspnet-core/test/MyCompanyName.MyProjectName.Web.Tests/MyProjectNameWebTestStartup.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using Microsoft.AspNetCore.Builder; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Logging; -using Volo.Abp; - -namespace MyCompanyName.MyProjectName; - -public class MyProjectNameWebTestStartup -{ - public void ConfigureServices(IServiceCollection services) - { - services.AddApplication(); - } - - public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory) - { - app.InitializeApplication(); - } -} diff --git a/templates/module/angular/projects/my-project-name/package.json b/templates/module/angular/projects/my-project-name/package.json index b39e73d551..066025dcfc 100644 --- a/templates/module/angular/projects/my-project-name/package.json +++ b/templates/module/angular/projects/my-project-name/package.json @@ -4,8 +4,8 @@ "peerDependencies": { "@angular/common": ">=14", "@angular/core": ">=14", - "@abp/ng.core": ">=7.2.2", - "@abp/ng.theme.shared": ">=7.2.2" + "@abp/ng.core": ">=7.2.3", + "@abp/ng.theme.shared": ">=7.2.3" }, "dependencies": { "tslib": "^2.1.0" diff --git a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/package.json b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/package.json index 7a42d353ad..efdf28da3a 100644 --- a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/package.json +++ b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.AuthServer/package.json @@ -3,6 +3,6 @@ "name": "my-app-authserver", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.2" + "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.3" } } diff --git a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/package.json b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/package.json index 2f6bd0d26f..94078e3825 100644 --- a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/package.json +++ b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Server.Host/package.json @@ -3,7 +3,7 @@ "name": "my-app", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.2", - "@abp/aspnetcore.components.server.basictheme": "~7.2.2" + "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.3", + "@abp/aspnetcore.components.server.basictheme": "~7.2.3" } } diff --git a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Host/package.json b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Host/package.json index 2789947efd..dc291e5514 100644 --- a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Host/package.json +++ b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Host/package.json @@ -3,6 +3,6 @@ "name": "my-app", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.2" + "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.3" } } diff --git a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/package.json b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/package.json index 2789947efd..dc291e5514 100644 --- a/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/package.json +++ b/templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Web.Unified/package.json @@ -3,6 +3,6 @@ "name": "my-app", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.2" + "@abp/aspnetcore.mvc.ui.theme.basic": "~7.2.3" } }