84 changed files with 12504 additions and 7993 deletions
@ -1,10 +0,0 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace LY.MicroService.AuthServer; |
|||
|
|||
public partial class AuthServerHttpApiHostModule |
|||
{ |
|||
} |
|||
@ -1,9 +1,9 @@ |
|||
{ |
|||
"version": "9.3.5", |
|||
"version": "10.2.0", |
|||
"name": "my-app-authserver", |
|||
"private": true, |
|||
"dependencies": { |
|||
"@abp/aspnetcore.mvc.ui.theme.leptonxlite": "4.3.5", |
|||
"@abp/qrcode": "9.3.5" |
|||
"@abp/aspnetcore.mvc.ui.theme.leptonxlite": "5.2.0", |
|||
"@abp/qrcode": "10.2.0" |
|||
} |
|||
} |
|||
@ -0,0 +1,9 @@ |
|||
.account-module-form { |
|||
padding: 24px; |
|||
border: 0; |
|||
background: #fff; |
|||
color: #000; |
|||
box-shadow: 0 0 30px rgba(8, 20, 73, .1); |
|||
border-radius: 4px; |
|||
margin-top: 0.75rem !important; |
|||
} |
|||
File diff suppressed because it is too large
File diff suppressed because it is too large
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,27 @@ |
|||
$.validator.methods.range = function (value, element, param) { |
|||
if (this.optional(element)) { |
|||
return true; |
|||
} |
|||
|
|||
// Remove thousands separators and convert decimal separators
|
|||
var cleanValue = value.replace(/[.,](?=.*[.,])/g, '').replace(/[.,](?!.*[.,])/g, '.'); |
|||
var numericValue = parseFloat(cleanValue); |
|||
|
|||
// Check if conversion was successful and value is within range
|
|||
return !isNaN(numericValue) && (numericValue >= param[0] && numericValue <= param[1]); |
|||
}; |
|||
|
|||
$.validator.methods.number = function (value, element) { |
|||
if (this.optional(element)) { |
|||
return true; |
|||
} |
|||
|
|||
// 1. Period as decimal separator, comma as thousands separator (e.g., 1,234.56 or -1,234.56)
|
|||
// 2. Comma as decimal separator, period as thousands separator (e.g., 1.234,56 or -1.234,56)
|
|||
// 3. Pure numbers (integers)
|
|||
var pattern1 = /^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:-?\.\d+)?$/; |
|||
var pattern2 = /^(?:-?\d+|-?\d{1,3}(?:\.\d{3})+)?(?:-?,\d+)?$/; |
|||
var pattern3 = /^-?\d+$/; |
|||
|
|||
return pattern1.test(value) || pattern2.test(value) || pattern3.test(value); |
|||
} |
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,15 +0,0 @@ |
|||
using Microsoft.Extensions.DependencyInjection; |
|||
using LY.MicroService.WebhooksManagement.DataSeeder; |
|||
|
|||
namespace LY.MicroService.WebhooksManagement; |
|||
|
|||
public partial class WebhooksManagementHttpApiHostModule |
|||
{ |
|||
private static void ConfigureSeedWorker(IServiceCollection services, bool isDevelopment = false) |
|||
{ |
|||
if (isDevelopment) |
|||
{ |
|||
services.AddHostedService<WebhooksManagementDataSeederWorker>(); |
|||
} |
|||
} |
|||
} |
|||
@ -1,15 +0,0 @@ |
|||
using LY.MicroService.WorkflowManagement.DataSeeder; |
|||
using Microsoft.Extensions.DependencyInjection; |
|||
|
|||
namespace LY.MicroService.WorkflowManagement; |
|||
|
|||
public partial class WorkflowManagementHttpApiHostModule |
|||
{ |
|||
private static void ConfigureSeedWorker(IServiceCollection services, bool isDevelopment = false) |
|||
{ |
|||
if (isDevelopment) |
|||
{ |
|||
services.AddHostedService<WorkflowManagementDataSeederWorker>(); |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue