2025-05-06 06:45:49 +00:00
|
|
|
|
using System.Collections.Generic;
|
2025-11-11 19:49:52 +00:00
|
|
|
|
using Erp.Languages.Languages;
|
|
|
|
|
|
using Erp.Platform.Enums;
|
2025-06-25 06:48:40 +00:00
|
|
|
|
using Volo.Abp.Reflection;
|
2025-05-06 06:45:49 +00:00
|
|
|
|
|
2025-11-11 19:49:52 +00:00
|
|
|
|
namespace Erp.Platform;
|
2025-05-06 06:45:49 +00:00
|
|
|
|
|
|
|
|
|
|
public static class PlatformConsts
|
|
|
|
|
|
{
|
|
|
|
|
|
public const bool IsMultiTenant = true;
|
|
|
|
|
|
|
|
|
|
|
|
public const string AppName = "Platform";
|
|
|
|
|
|
public const string DefaultLanguage = LanguageCodes.En;
|
|
|
|
|
|
public const string React = "UI";
|
|
|
|
|
|
public const char MultiValueDelimiter = '|';
|
|
|
|
|
|
|
2025-10-09 10:59:17 +00:00
|
|
|
|
public static class EditorOptionValues
|
|
|
|
|
|
{
|
2025-10-22 14:58:27 +00:00
|
|
|
|
public static string Disabled = "{ \"disabled\" : true }";
|
2025-10-09 10:59:17 +00:00
|
|
|
|
public static string ShowClearButton = "{ \"showClearButton\" : true }";
|
|
|
|
|
|
public static string HtmlEditorOptions = "{\"toolbar\": {\"multiline\": true, \"items\": [{\"name\": \"undo\"},{\"name\": \"redo\"},{\"name\": \"separator\"},{\"name\": \"size\",\"acceptedValues\": [\"8pt\",\"10pt\",\"12pt\",\"14pt\",\"18pt\",\"24pt\",\"36pt\"],\"options\": {\"inputAttr\": {\"aria-label\": \"Font size\"}}},{\"name\": \"font\",\"acceptedValues\": [\"Arial\",\"Courier New\",\"Georgia\",\"Impact\",\"Lucida Console\",\"Tahoma\",\"Times New Roman\",\"Verdana\"],\"options\": {\"inputAttr\": {\"aria-label\": \"Font family\"}}},{\"name\": \"separator\"},{\"name\": \"bold\"},{\"name\": \"italic\"},{\"name\": \"strike\"},{\"name\": \"underline\"},{\"name\": \"separator\"},{\"name\": \"alignLeft\"},{\"name\": \"alignCenter\"},{\"name\": \"alignRight\"},{\"name\": \"alignJustify\"},{\"name\": \"separator\"},{\"name\": \"orderedList\"},{\"name\": \"bulletList\"},{\"name\": \"separator\"},{\"name\": \"header\",\"acceptedValues\": [false,1,2,3,4,5],\"options\": {\"inputAttr\": {\"aria-label\": \"Font family\"}}},{\"name\": \"separator\"},{\"name\": \"color\"},{\"name\": \"background\"},{\"name\": \"separator\"},{\"name\": \"link\"},{\"name\": \"image\"},{\"name\": \"separator\"},{\"name\": \"clear\"},{\"name\": \"codeBlock\"},{\"name\": \"blockquote\"},{\"name\": \"separator\"},{\"name\": \"insertTable\"},{\"name\": \"deleteTable\"},{\"name\": \"insertRowAbove\"},{\"name\": \"insertRowBelow\"},{\"name\": \"deleteRow\"},{\"name\": \"insertColumnLeft\"},{\"name\": \"insertColumnRight\"},{\"name\": \"deleteColumn\"}]}}";
|
2025-11-11 11:50:54 +00:00
|
|
|
|
public static string PhoneEditorOptions = "{\"format\": \"phoneGlobal\", \"mask\":\"(000) 000-0000\", \"maskInvalidMessage\":\"Lütfen geçerli bir telefon numarası girin\", \"useMaskedValue\":false, \"maskRules\": { \"X\": \"[0-9]\" }, \"placeholder\": \"(555) 123-4567\" }";
|
2025-11-04 14:42:22 +00:00
|
|
|
|
public static string TimeSpanOptions = "{\"type\":\"time\",\"pickerType\":\"list\",\"displayFormat\":\"HH:mm\",\"dateSerializationFormat\":\"yyyy-MM-ddTHH:mm:ss\",\"interval\":5,\"width\":\"100%\"}";
|
2025-11-03 20:31:28 +00:00
|
|
|
|
public static string NumberStandartFormat = "{ \"format\": \"fixedPoint\", \"precision\": 2 }";
|
2025-10-23 12:05:16 +00:00
|
|
|
|
public static string NumberPercentFormat = "{ \"format\": \"#0.##'%'\" }";
|
2025-10-24 21:53:53 +00:00
|
|
|
|
public static string DateFormat = "{ \"format\": \"dd/MM/yyyy\", \"displayFormat\" : \"dd/MM/yyyy\" }";
|
|
|
|
|
|
public static string DateTimeFormat = "{ \"format\": \"dd/MM/yyyy HH:mm\", \"displayFormat\" : \"dd/MM/yyyy HH:mm\" }";
|
2025-11-04 14:42:22 +00:00
|
|
|
|
public static string SliderOptions = "{\"tooltip\": { \"enabled\": true }}";
|
2025-10-23 08:35:35 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class EditorScriptValues
|
|
|
|
|
|
{
|
|
|
|
|
|
public static string CalcTotalDaysFromDates = "(() => {const d=v=>!v?null:(v instanceof Date?v:new Date(v));const nf={...formData,[editor.dataField]:e?.value};const s=d(nf.StartDate),t=d(nf.EndDate);setFormData({...formData,TotalDays: s&&t?Math.max(0,Math.floor((Date.UTC(t.getFullYear(),t.getMonth(),t.getDate())-Date.UTC(s.getFullYear(),s.getMonth(),s.getDate()))/(24*60*60*1000))+1):null});})();";
|
2025-10-24 09:21:33 +00:00
|
|
|
|
public static string CalcTotalHoursFromTimes = "(()=>{const toD=v=>!v?null:(v instanceof Date?v:new Date(v));const next={...formData,[e.dataField]:e.value};const s=toD(next.StartTime),t=toD(next.EndTime);let h=null;if(s&&t){h=(t-s)/36e5;if(h<0)h+=24;h=Math.round(h*10)/10;}setFormData({...next,TotalHours:h});})();";
|
2025-10-09 10:59:17 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2025-05-06 06:45:49 +00:00
|
|
|
|
public static class Prefix
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string App = "App";
|
|
|
|
|
|
public const string Abp = "Abp";
|
2025-10-03 11:35:52 +00:00
|
|
|
|
public const string DbSchema = null;
|
2025-05-06 06:45:49 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2025-10-11 23:29:45 +00:00
|
|
|
|
public static class Permissions
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string MenuGroup = "MenuGroup";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2025-05-29 13:25:02 +00:00
|
|
|
|
public static class Tenants
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string IsActive = "IsActive";
|
2025-08-23 17:56:54 +00:00
|
|
|
|
public const string OrganizationName = "OrganizationName";
|
2025-06-13 14:42:50 +00:00
|
|
|
|
public const string VknTckn = "VknTckn";
|
2025-08-11 06:34:44 +00:00
|
|
|
|
public const string Founder = "Founder";
|
2025-06-13 14:42:50 +00:00
|
|
|
|
public const string TaxOffice = "TaxOffice";
|
2025-06-27 07:15:36 +00:00
|
|
|
|
public const string Country = "Country";
|
2025-06-13 14:42:50 +00:00
|
|
|
|
public const string City = "City";
|
2025-06-27 07:15:36 +00:00
|
|
|
|
public const string District = "District";
|
2025-11-20 07:07:31 +00:00
|
|
|
|
public const string Township = "Township";
|
2025-10-21 14:32:50 +00:00
|
|
|
|
public const string Address1 = "Address1";
|
2025-08-19 19:26:50 +00:00
|
|
|
|
public const string Address2 = "Address2";
|
2025-06-13 14:42:50 +00:00
|
|
|
|
public const string PostalCode = "PostalCode";
|
2025-11-03 20:31:28 +00:00
|
|
|
|
public const string PhoneNumber = "PhoneNumber";
|
|
|
|
|
|
public const string MobileNumber = "MobileNumber";
|
|
|
|
|
|
public const string FaxNumber = "FaxNumber";
|
2025-06-13 14:42:50 +00:00
|
|
|
|
public const string Email = "Email";
|
|
|
|
|
|
public const string Website = "Website";
|
2025-10-11 23:29:45 +00:00
|
|
|
|
public const string MenuGroup = "MenuGroup";
|
2025-05-29 13:25:02 +00:00
|
|
|
|
}
|
2025-06-19 07:15:26 +00:00
|
|
|
|
|
2025-05-06 06:45:49 +00:00
|
|
|
|
public static class AbpIdentity
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string GroupName = $"{Prefix.Abp}.Identity";
|
|
|
|
|
|
|
|
|
|
|
|
public static class Profile
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".Profile";
|
|
|
|
|
|
public static class General
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = Profile.Default + ".General";
|
|
|
|
|
|
public const string RequireVerifiedAccount = Default + ".RequireVerifiedAccount";
|
|
|
|
|
|
public const string BlacklistedEmailProviders = Default + ".BlacklistedEmailProviders";
|
|
|
|
|
|
public const string ForcePasswordChangeFrequency = Default + ".ForcePasswordChangeFrequency";
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class User
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string FullName = "FullName";
|
|
|
|
|
|
public const string Name = "Name";
|
|
|
|
|
|
public const string Surname = "Surname";
|
|
|
|
|
|
public const string LoginEndDate = "LoginEndDate";
|
|
|
|
|
|
public const string RoleNames = "RoleNames";
|
|
|
|
|
|
public const string IsVerified = "IsVerified";
|
|
|
|
|
|
public const string RocketUsername = "RocketUsername";
|
|
|
|
|
|
|
|
|
|
|
|
public const string UserLockedOutMessage = GroupName + ".UserLockedOutMessage";
|
|
|
|
|
|
public const string InvalidUserNameOrPassword = GroupName + ".InvalidUserNameOrPassword";
|
|
|
|
|
|
public const string ResendEmailConfirmedError = GroupName + ".ResendEmailConfirmedError";
|
|
|
|
|
|
public const string UserNotVerifiedMessage = GroupName + ".UserNotVerifiedMessage";
|
|
|
|
|
|
public const string ShouldChangePasswordOnNextLogin = GroupName + ".ShouldChangePasswordOnNextLogin";
|
|
|
|
|
|
public const string ShouldChangePasswordPeriodic = GroupName + ".ShouldChangePasswordPeriodic";
|
|
|
|
|
|
public const string IpRestrictionError = GroupName + ".IpRestrictionError";
|
|
|
|
|
|
public const string LoginEndDateError = GroupName + ".LoginEndDateError";
|
2025-05-29 13:25:02 +00:00
|
|
|
|
public const string TenantIsPassive = GroupName + ".TenantIsPassive";
|
2025-05-06 06:45:49 +00:00
|
|
|
|
public const string CaptchaWrongCode = GroupName + ".CaptchaWrongCode";
|
|
|
|
|
|
public const string TwoFactorWrongCode = GroupName + ".TwoFactorWrongCode";
|
|
|
|
|
|
public const string SignOut = GroupName + ".SignOut";
|
|
|
|
|
|
|
|
|
|
|
|
public const string AdminRoleName = "admin";
|
|
|
|
|
|
public const string AdminNameDefaultValue = "Sedat";
|
|
|
|
|
|
public const string AdminSurNameDefaultValue = "ÖZTÜRK";
|
2025-05-06 11:03:45 +00:00
|
|
|
|
public const string AdminEmailDefaultValue = "system@sozsoft.com";
|
2025-05-06 06:45:49 +00:00
|
|
|
|
public const string AdminPasswordDefaultValue = "1q2w3E*";
|
|
|
|
|
|
public const string AdminPhoneNumberDefaultValue = "05449476346";
|
2025-05-06 20:55:04 +00:00
|
|
|
|
public const string AdminRocketUsernameDefaultValue = "sedat.ozturk";
|
2025-05-06 06:45:49 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class OrganizationUnits
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".OrganizationUnits";
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class AbpAccount
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string GroupName = $"{Prefix.Abp}.Account";
|
|
|
|
|
|
public const string IsSelfRegistrationEnabled = GroupName + ".IsSelfRegistrationEnabled";
|
|
|
|
|
|
public const string EnableLocalLogin = GroupName + ".EnableLocalLogin";
|
|
|
|
|
|
|
|
|
|
|
|
public static class TwoFactor
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".TwoFactor";
|
|
|
|
|
|
public const string Enabled = Default + ".Enabled";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class Captcha
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".Captcha";
|
|
|
|
|
|
public const string MaxFailedAccessAttempts = Default + ".MaxFailedAccessAttempts";
|
|
|
|
|
|
public const string EndPoint = Default + ".EndPoint";
|
|
|
|
|
|
public const string SiteKey = Default + ".SiteKey";
|
|
|
|
|
|
public const string SecretKey = Default + ".SecretKey";
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class AbpSettings
|
|
|
|
|
|
{
|
|
|
|
|
|
public static class Mailing
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string GroupName = $"{Prefix.Abp}.Mailing";
|
|
|
|
|
|
|
|
|
|
|
|
public static class Default
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string GroupName = Mailing.GroupName + ".Default";
|
|
|
|
|
|
public const string DefaultFromAddress = Mailing.GroupName + ".DefaultFromAddress";
|
|
|
|
|
|
public const string DefaultFromDisplayName = Mailing.GroupName + ".DefaultFromDisplayName";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class Smtp
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string GroupName = Mailing.GroupName + ".Smtp";
|
|
|
|
|
|
public const string Host = GroupName + ".Host";
|
|
|
|
|
|
public const string Port = GroupName + ".Port";
|
|
|
|
|
|
public const string UserName = GroupName + ".UserName";
|
|
|
|
|
|
public const string Password = GroupName + ".Password";
|
|
|
|
|
|
public const string Domain = GroupName + ".Domain";
|
|
|
|
|
|
public const string EnableSsl = GroupName + ".EnableSsl";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class AWS
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string GroupName = Mailing.GroupName + ".AWS";
|
|
|
|
|
|
public const string Profile = GroupName + ".Profile";
|
|
|
|
|
|
public const string Region = GroupName + ".Region";
|
|
|
|
|
|
public const string AccessKey = GroupName + ".AccessKey";
|
|
|
|
|
|
public const string AccessKeyId = GroupName + ".AccessKeyId";
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class SiteManagement
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string GroupName = $"{Prefix.App}.SiteManagement";
|
|
|
|
|
|
|
|
|
|
|
|
public static class General
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".General";
|
|
|
|
|
|
|
|
|
|
|
|
public const string NewMemberNotificationEmails = Default + ".NewMemberNotificationEmails";
|
|
|
|
|
|
public const string TimedLoginEmails = Default + ".TimedLoginEmails";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class Theme
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".Theme";
|
|
|
|
|
|
|
|
|
|
|
|
public static class Style
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = Theme.Default + ".Style";
|
|
|
|
|
|
|
|
|
|
|
|
public static Dictionary<string, string> Items = new()
|
|
|
|
|
|
{
|
|
|
|
|
|
{ "dx.light",$"{Prefix.App}.Setting.light" },
|
|
|
|
|
|
{ "dx.light.compact", $"{Prefix.App}.Setting.light.compact" },
|
|
|
|
|
|
{ "dx.dark", $"{Prefix.App}.Setting.dark" },
|
|
|
|
|
|
{ "dx.dark.compact", $"{Prefix.App}.Setting.dark.compact" },
|
|
|
|
|
|
{ "dx.contrast", $"{Prefix.App}.Setting.contrast" },
|
|
|
|
|
|
{ "dx.contrast.compact", $"{Prefix.App}.Setting.contrast.compact" },
|
|
|
|
|
|
{ "dx.carmine", $"{Prefix.App}.Setting.carmine" },
|
|
|
|
|
|
{ "dx.darkmoon", $"{Prefix.App}.Setting.darkmoon" },
|
|
|
|
|
|
{ "dx.softblue", $"{Prefix.App}.Setting.softblue" },
|
|
|
|
|
|
{ "dx.darkviolet", $"{Prefix.App}.Setting.darkviolet" },
|
|
|
|
|
|
{ "dx.greenmist", $"{Prefix.App}.Setting.greenmist" },
|
|
|
|
|
|
{ "dx.material.blue.light", $"{Prefix.App}.Setting.material.blue.light" },
|
|
|
|
|
|
{ "dx.material.blue.dark", $"{Prefix.App}.Setting.material.blue.dark" },
|
|
|
|
|
|
{ "dx.material.lime.light",$"{Prefix.App}.Setting.material.lime.light" },
|
|
|
|
|
|
{ "dx.material.lime.dark", $"{Prefix.App}.Setting.material.lime.dark" },
|
|
|
|
|
|
{ "dx.material.orange.light", $"{Prefix.App}.Setting.material.orange.light" },
|
|
|
|
|
|
{ "dx.material.orange.dark", $"{Prefix.App}.Setting.material.orange.dark" },
|
|
|
|
|
|
{ "dx.material.purple.light", $"{Prefix.App}.Setting.material.purple.light" },
|
|
|
|
|
|
{ "dx.material.purple.dark", $"{Prefix.App}.Setting.material.purple.dark" },
|
|
|
|
|
|
{ "dx.material.teal.light", $"{Prefix.App}.Setting.material.teal.light" },
|
|
|
|
|
|
{ "dx.material.teal.dark", $"{Prefix.App}.Setting.material.teal.dark" },
|
|
|
|
|
|
{ "dx.material.blue.light.compact", $"{Prefix.App}.Setting.material.blue.light.compact" },
|
|
|
|
|
|
{ "dx.material.blue.dark.compact", $"{Prefix.App}.Setting.material.blue.dark.compact" },
|
|
|
|
|
|
{ "dx.material.lime.light.compact", $"{Prefix.App}.Setting.material.lime.light.compact" },
|
|
|
|
|
|
{ "dx.material.lime.dark.compact", $"{Prefix.App}.Setting.material.lime.dark.compact" },
|
|
|
|
|
|
{ "dx.material.orange.light.compact",$"{Prefix.App}.Setting.material.orange.light.compact" },
|
|
|
|
|
|
{ "dx.material.orange.dark.compact",$"{Prefix.App}.Setting.material.orange.dark.compact" },
|
|
|
|
|
|
{ "dx.material.purple.light.compact",$"{Prefix.App}.Setting.material.purple.light.compact" },
|
|
|
|
|
|
{ "dx.material.purple.dark.compact",$"{Prefix.App}.Setting.material.purple.dark.compact" },
|
|
|
|
|
|
{ "dx.material.teal.light.compact", $"{Prefix.App}.Setting.material.teal.light.compact" },
|
|
|
|
|
|
{ "dx.material.teal.dark.compact", $"{Prefix.App}.Setting.material.teal.dark.compact" },
|
|
|
|
|
|
};
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class Sender
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string GroupName = $"{Prefix.App}.Sender";
|
|
|
|
|
|
|
|
|
|
|
|
public static class Sms
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".Sms";
|
|
|
|
|
|
|
|
|
|
|
|
public static class PostaGuvercini
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = Sms.Default + ".PostaGuvercini";
|
|
|
|
|
|
|
|
|
|
|
|
public const string Url = Default + ".Url";
|
|
|
|
|
|
public const string Username = Default + ".Username";
|
|
|
|
|
|
public const string Password = Default + ".Password";
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class Rocket
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".Rocket";
|
|
|
|
|
|
|
|
|
|
|
|
public const string Url = Default + ".Url";
|
|
|
|
|
|
public const string UserId = Default + ".UserId";
|
|
|
|
|
|
public const string Token = Default + ".Token";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class WhatsApp
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".WhatsApp";
|
|
|
|
|
|
|
|
|
|
|
|
public const string Url = Default + ".Url";
|
|
|
|
|
|
public const string PhoneNumberId = Default + ".PhoneNumberId";
|
|
|
|
|
|
public const string TemplateName = Default + ".TemplateName";
|
|
|
|
|
|
public const string Token = Default + ".Token";
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class AppCodes
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Home = Prefix.App + ".Home";
|
2025-06-25 06:48:40 +00:00
|
|
|
|
public const string Saas = Prefix.App + ".Saas";
|
|
|
|
|
|
public const string Branches = Prefix.App + ".Branches";
|
2025-05-06 06:45:49 +00:00
|
|
|
|
public static class Settings
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = Prefix.App + ".Settings";
|
|
|
|
|
|
public const string GlobalSearch = Default + ".GlobalSearch";
|
|
|
|
|
|
public const string SettingDefinitions = Default + ".SettingDefinitions";
|
|
|
|
|
|
}
|
|
|
|
|
|
public static class Languages
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = Prefix.App + ".Languages";
|
|
|
|
|
|
public const string Language = Default + ".Language";
|
|
|
|
|
|
public const string LanguageText = Default + ".LanguageText";
|
|
|
|
|
|
}
|
|
|
|
|
|
public const string Menus = Prefix.App + ".Menus";
|
|
|
|
|
|
public static class Listforms
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = Prefix.App + ".Listforms";
|
|
|
|
|
|
|
|
|
|
|
|
public const string Wizard = Default + ".Wizard";
|
|
|
|
|
|
public const string DataSource = Default + ".DataSource";
|
|
|
|
|
|
public const string Listform = Default + ".Listform";
|
|
|
|
|
|
public const string ListformField = Default + ".ListformField";
|
|
|
|
|
|
public const string Chart = Default + ".Chart";
|
|
|
|
|
|
}
|
|
|
|
|
|
public static class Notifications
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = Prefix.App + ".Notifications";
|
|
|
|
|
|
public const string NotificationRules = Default + ".NotificationRules";
|
|
|
|
|
|
public const string Notification = Default + ".Notification";
|
|
|
|
|
|
}
|
2025-06-25 06:48:40 +00:00
|
|
|
|
public const string BackgroundWorkers = Prefix.App + ".BackgroundWorkers";
|
2025-10-30 20:22:31 +00:00
|
|
|
|
public static class DeveloperKits
|
2025-05-06 06:45:49 +00:00
|
|
|
|
{
|
2025-10-30 20:22:31 +00:00
|
|
|
|
public const string Default = Prefix.App + ".DeveloperKit";
|
|
|
|
|
|
public const string CustomEndpoints = Default + ".CustomEndpoints";
|
|
|
|
|
|
|
|
|
|
|
|
public const string Get = CustomEndpoints + ".Get";
|
|
|
|
|
|
public const string Post = CustomEndpoints + ".Post";
|
2025-11-05 06:37:04 +00:00
|
|
|
|
|
|
|
|
|
|
public static class DynamicServices
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string DynamicService = Default + ".DynamicServices";
|
2025-11-06 18:13:35 +00:00
|
|
|
|
|
2025-11-05 06:37:04 +00:00
|
|
|
|
public const string Create = DynamicService + ".Create";
|
|
|
|
|
|
public const string Edit = DynamicService + ".Edit";
|
|
|
|
|
|
public const string Delete = DynamicService + ".Delete";
|
|
|
|
|
|
public const string Manage = DynamicService + ".Manage";
|
|
|
|
|
|
public const string TestCompile = DynamicService + ".TestCompile";
|
|
|
|
|
|
public const string Publish = DynamicService + ".Publish";
|
|
|
|
|
|
public const string ViewCode = DynamicService + ".ViewCode";
|
|
|
|
|
|
}
|
2025-05-06 06:45:49 +00:00
|
|
|
|
}
|
2025-06-25 06:48:40 +00:00
|
|
|
|
public const string Blog = Prefix.App + ".Blog";
|
|
|
|
|
|
public const string Forum = Prefix.App + ".Forum";
|
|
|
|
|
|
public const string Administration = Prefix.App + ".Administration";
|
|
|
|
|
|
public const string Setting = Prefix.App + ".Setting";
|
|
|
|
|
|
public static class IdentityManagement
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string ClaimTypes = Prefix.App + ".ClaimType";
|
|
|
|
|
|
public const string IpRestrictions = Prefix.App + ".IpRestrictions";
|
|
|
|
|
|
}
|
2025-06-11 14:21:51 +00:00
|
|
|
|
public const string AuditLogs = Prefix.App + ".AuditLogs";
|
2025-06-25 06:48:40 +00:00
|
|
|
|
public static class Definitions
|
|
|
|
|
|
{
|
2025-11-05 06:37:04 +00:00
|
|
|
|
public const string ContactTag = Default + ".ContactTag";
|
|
|
|
|
|
public const string ContactTitle = Default + ".ContactTitle";
|
|
|
|
|
|
public const string Currency = Default + ".Currency";
|
|
|
|
|
|
public const string CountryGroup = Default + ".CountryGroup";
|
|
|
|
|
|
public const string Country = Default + ".Country";
|
|
|
|
|
|
public const string City = Default + ".City";
|
|
|
|
|
|
public const string District = Default + ".District";
|
2025-06-25 06:48:40 +00:00
|
|
|
|
public const string Default = Prefix.App + ".Definitions";
|
2025-10-06 13:59:12 +00:00
|
|
|
|
public const string Sector = Default + ".Sector";
|
2025-06-25 06:48:40 +00:00
|
|
|
|
public const string SkillType = Default + ".SkillType";
|
|
|
|
|
|
public const string UomCategory = Default + ".UomCategory";
|
2025-10-05 21:16:29 +00:00
|
|
|
|
public const string Bank = Default + ".Bank";
|
|
|
|
|
|
public const string Behavior = Default + ".Behavior";
|
|
|
|
|
|
public const string Disease = Default + ".Disease";
|
|
|
|
|
|
public const string Document = Default + ".Document";
|
|
|
|
|
|
public const string EducationStatus = Default + ".EducationStatus";
|
|
|
|
|
|
public const string MeetingMethod = Default + ".MeetingMethod";
|
|
|
|
|
|
public const string MeetingResult = Default + ".MeetingResult";
|
|
|
|
|
|
public const string Program = Default + ".Program";
|
|
|
|
|
|
public const string Interesting = Default + ".Interesting";
|
|
|
|
|
|
public const string SalesRejectionReason = Default + ".SalesRejectionReason";
|
2025-10-06 10:27:46 +00:00
|
|
|
|
public const string ClassCancellationReason = Default + ".ClassCancellationReason";
|
2025-10-05 21:16:29 +00:00
|
|
|
|
public const string Source = Default + ".Source";
|
|
|
|
|
|
public const string Vaccine = Default + ".Vaccine";
|
|
|
|
|
|
public const string NoteType = Default + ".NoteType";
|
2025-10-06 10:27:46 +00:00
|
|
|
|
public const string WorkHour = Default + ".WorkHour";
|
|
|
|
|
|
public const string Vehicle = Default + ".Vehicle";
|
|
|
|
|
|
public const string Schedule = Default + ".Schedule";
|
|
|
|
|
|
public const string ScheduleLesson = Default + ".ScheduleLesson";
|
|
|
|
|
|
public const string Psychologist = Default + ".Psychologist";
|
|
|
|
|
|
public const string Meal = Default + ".Meal";
|
|
|
|
|
|
public const string Lawyer = Default + ".Lawyer";
|
|
|
|
|
|
public const string LessonPeriod = Default + ".LessonPeriod";
|
|
|
|
|
|
public const string RegistrationType = Default + ".RegistrationType";
|
|
|
|
|
|
public const string RegistrationMethod = Default + ".RegistrationMethod";
|
|
|
|
|
|
public const string ClassType = Default + ".ClassType";
|
|
|
|
|
|
public const string Class = Default + ".Class";
|
|
|
|
|
|
public const string Level = Default + ".Level";
|
2025-06-25 06:48:40 +00:00
|
|
|
|
}
|
2025-10-24 09:21:33 +00:00
|
|
|
|
public static class Hr
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = Prefix.App + ".Hr";
|
|
|
|
|
|
public const string EventType = Default + ".EventType";
|
|
|
|
|
|
public const string EventCategory = Default + ".EventCategory";
|
|
|
|
|
|
public const string Event = Default + ".Event";
|
|
|
|
|
|
}
|
2025-05-06 06:45:49 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class Wizard
|
|
|
|
|
|
{
|
|
|
|
|
|
public static string WizardKey(string code) => $"{Prefix.App}.{AppName}.{code}";
|
|
|
|
|
|
public static string WizardKeyTitle(string code) => $"{WizardKey(code)}.Title";
|
|
|
|
|
|
public static string WizardKeyDesc(string code) => $"{WizardKey(code)}.Desc";
|
|
|
|
|
|
public static string WizardKeyParent(string code) => $"{WizardKey(code)}.Parent";
|
|
|
|
|
|
|
|
|
|
|
|
public static string PermCreate(string code) => $"{WizardKey(code)}.Create";
|
|
|
|
|
|
public static string PermUpdate(string code) => $"{WizardKey(code)}.Update";
|
|
|
|
|
|
public static string PermDelete(string code) => $"{WizardKey(code)}.Delete";
|
|
|
|
|
|
public static string PermExport(string code) => $"{WizardKey(code)}.Export";
|
|
|
|
|
|
public static string LangKeyCreate => $"{Prefix.App}.Create";
|
|
|
|
|
|
public static string LangKeyUpdate => $"{Prefix.App}.Update";
|
|
|
|
|
|
public static string LangKeyDelete => $"{Prefix.App}.Delete";
|
|
|
|
|
|
public static string LangKeyExport => $"{Prefix.App}.Export";
|
|
|
|
|
|
|
|
|
|
|
|
public static string MenuUrl(string code) => $"/list/{code}";
|
|
|
|
|
|
public static string MenuIcon => "FcList";
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class AppErrorCodes
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string NoAuth = "Error:0001";
|
2025-11-10 18:29:21 +00:00
|
|
|
|
public const string EntityNotFound = "App.NoResults";
|
2025-05-06 06:45:49 +00:00
|
|
|
|
public const string ParameterNotValid = "Error:0003";
|
|
|
|
|
|
public const string SimilarInformationNotCopied = "Error:0004";
|
|
|
|
|
|
public const string InternalError = "Error:0005";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class UserCannotSignInErrors
|
|
|
|
|
|
{
|
|
|
|
|
|
public static string LoginNotAllowed_NotVerified { get; set; } = "UserCannotSignInWithoutVerifiedAccount";
|
|
|
|
|
|
public static string LoginNotAllowed_NotAllowedIp { get; set; } = "UserCannotSignInWithoutAllowedIp";
|
|
|
|
|
|
public static string LoginNotAllowed_LoginEndDateDue { get; set; } = "UserCannotSignInLoginEndDateDue";
|
|
|
|
|
|
public static string ShouldChangePasswordOnNextLogin { get; set; } = "UserCannotSignInShouldChangePasswordOnNextLogin";
|
|
|
|
|
|
public static string ShouldChangePasswordPeriodic { get; set; } = "UserCannotSignInShouldChangePasswordPeriodic";
|
2025-05-29 13:25:02 +00:00
|
|
|
|
public static string LoginNotAllowed_TenantIsPassive { get; set; } = "UserCannotSignInTenantIsPassive";
|
|
|
|
|
|
public static string LoginNotAllowed_TenantNotFound { get; set; } = "UserCannotSignInTenantNotFound";
|
2025-05-06 06:45:49 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class GridOptions
|
|
|
|
|
|
{
|
|
|
|
|
|
public const int RowsPerPage = 100;
|
|
|
|
|
|
|
|
|
|
|
|
public const string SortModeNone = "none";
|
|
|
|
|
|
public const string SortModeSingle = "single";
|
|
|
|
|
|
public const string SortModeMultiple = "multiple";
|
|
|
|
|
|
|
|
|
|
|
|
public const string FilterRowApplyFilterAuto = "auto";
|
|
|
|
|
|
public const string FilterRowApplyFilterOnClick = "onClick";
|
|
|
|
|
|
|
|
|
|
|
|
public const string PagerOptionDisplayModeAdaptive = "adaptive";
|
|
|
|
|
|
public const string PagerOptionDisplayModeCompact = "compact";
|
|
|
|
|
|
public const string PagerOptionDisplayModeFull = "full";
|
|
|
|
|
|
|
|
|
|
|
|
public const string PagerOptionScrollingModeInfinite = "infinite";
|
|
|
|
|
|
public const string PagerOptionScrollingModeStandard = "standard";
|
|
|
|
|
|
public const string PagerOptionScrollingModeVirtual = "virtual";
|
|
|
|
|
|
|
|
|
|
|
|
public const string SelectionModeNone = "none";
|
|
|
|
|
|
public const string SelectionModeSingle = "single";
|
|
|
|
|
|
public const string SelectionModeMultiple = "multiple";
|
|
|
|
|
|
|
|
|
|
|
|
public const string SelectionAllModePage = "page";
|
|
|
|
|
|
public const string SelectionAllModeAllPages = "allPages";
|
|
|
|
|
|
|
|
|
|
|
|
public const string ShowCheckBoxesModeNone = "none";
|
|
|
|
|
|
public const string ShowCheckBoxesModeAlways = "always";
|
|
|
|
|
|
public const string ShowCheckBoxesModeOnClick = "onClick";
|
|
|
|
|
|
public const string ShowCheckBoxesModeOnLongTap = "onLongTap";
|
|
|
|
|
|
|
|
|
|
|
|
public const string StateStoringTypeCustom = "custom";
|
|
|
|
|
|
public const string StateStoringTypeLocalStorage = "localStorage";
|
|
|
|
|
|
|
|
|
|
|
|
public const string ColumnResizingModeNextColumn = "nextColumn";
|
|
|
|
|
|
public const string ColumnResizingModeWidget = "widget";
|
|
|
|
|
|
|
|
|
|
|
|
public const string EditingModeBatch = "batch";
|
|
|
|
|
|
public const string EditingModeCell = "cell";
|
|
|
|
|
|
public const string EditingModeRow = "row";
|
|
|
|
|
|
public const string EditingModeForm = "form";
|
|
|
|
|
|
public const string EditingModePopup = "popup";
|
|
|
|
|
|
|
|
|
|
|
|
public const string EditingRefreshModeFull = "full";
|
|
|
|
|
|
public const string EditingRefreshModeReshape = "reshape";
|
|
|
|
|
|
public const string EditingRefreshModeRepaint = "repaint";
|
|
|
|
|
|
|
|
|
|
|
|
public const string EditingNewRowPositionFirst = "first";
|
|
|
|
|
|
public const string EditingNewRowPositionLast = "last";
|
|
|
|
|
|
public const string EditingNewRowPositionPageBottom = "pageBottom";
|
|
|
|
|
|
public const string EditingNewRowPositionPageTop = "pageTop";
|
|
|
|
|
|
public const string EditingNewRowPositionViewportBottom = "viewportBottom";
|
|
|
|
|
|
public const string EditingNewRowPositionViewportTop = "viewportTop";
|
|
|
|
|
|
|
|
|
|
|
|
public const string EditingStartEditActionClick = "click";
|
|
|
|
|
|
public const string EditingStartEditActionDblClick = "dblClick";
|
|
|
|
|
|
|
|
|
|
|
|
//Accepted Values: 'empty' | 'group' | 'simple' | 'tabbed' | 'button'
|
|
|
|
|
|
public const string EditingFormItemTypeEmpty = "empty";
|
|
|
|
|
|
public const string EditingFormItemTypeGroup = "group";
|
|
|
|
|
|
public const string EditingFormItemTypeSimple = "simple";
|
|
|
|
|
|
public const string EditingFormItemTypeTabbed = "tabbed";
|
|
|
|
|
|
public const string EditingFormItemTypeButton = "button";
|
|
|
|
|
|
|
|
|
|
|
|
public const string GridRowTypeData = "data";
|
|
|
|
|
|
public const string GridRowTypeDetail = "detail";
|
|
|
|
|
|
public const string GridRowTypeDetailAdaptive = "detailAdaptive";
|
|
|
|
|
|
public const string GridRowTypeGroup = "group";
|
|
|
|
|
|
public const string GridRowTypeGroupFooter = "groupFooter";
|
|
|
|
|
|
public const string GridRowTypeHeader = "header";
|
|
|
|
|
|
public const string GridRowTypeFilter = "filter";
|
|
|
|
|
|
public const string GridRowTypeTotalFooter = "totalFooter";
|
|
|
|
|
|
|
|
|
|
|
|
public const string LoadPanelAuto = "auto";
|
|
|
|
|
|
public const string LoadPanelTrue = "true";
|
|
|
|
|
|
public const string LoadPanelFalse = "false";
|
|
|
|
|
|
|
|
|
|
|
|
public const string ColumnChooserDragAndDrop = "dragAndDrop";
|
|
|
|
|
|
public const string ColumnChooserSelect = "select";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class GridColumnOptions
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string SortOrderAsc = "asc";
|
|
|
|
|
|
public const string SortOrderDesc = "desc";
|
|
|
|
|
|
|
|
|
|
|
|
public static readonly string[] FilterOperations = { "=", "<>", "<", "<=", ">", ">=", "contains", "endswith", "isblank", "isnotblank", "notcontains", "startswith", "between", "anyof", "noneof" };
|
|
|
|
|
|
public static readonly string[] FilterOperationsForString = { "contains", "notcontains", "startswith", "endswith", "=", "<>" };
|
|
|
|
|
|
public static readonly string[] FilterOperationsForNumeric = { "=", "<>", "<", ">", "<=", ">=", "between" };
|
|
|
|
|
|
public static readonly string[] FilterOperationsForDate = { "=", "<>", "<", ">", "<=", ">=", "between" };
|
|
|
|
|
|
|
|
|
|
|
|
public const string ScrollingModeInfinite = "infinite";
|
|
|
|
|
|
public const string ScrollingModeStandard = "standard";
|
|
|
|
|
|
public const string ScrollingModeVirtual = "virtual";
|
|
|
|
|
|
|
|
|
|
|
|
public const string PagerDisplayModeAdaptive = "adaptive";
|
|
|
|
|
|
public const string PagerDisplayModeCompact = "compact";
|
|
|
|
|
|
public const string PagerDisplayModeFull = "full";
|
|
|
|
|
|
|
|
|
|
|
|
public const string SummaryTypeCount = "count";
|
|
|
|
|
|
public const string SummaryTypeSum = "sum";
|
|
|
|
|
|
public const string SummaryTypeAvg = "avg";
|
|
|
|
|
|
public const string SummaryTypeMax = "max";
|
|
|
|
|
|
public const string SummaryTypeMin = "min";
|
|
|
|
|
|
public const string SummaryTypeCustom = "custom";
|
|
|
|
|
|
|
|
|
|
|
|
public const string ColumnCustomizationFixedPositionLeft = "left";
|
|
|
|
|
|
public const string ColumnCustomizationFixedPositionRight = "right";
|
|
|
|
|
|
|
|
|
|
|
|
public const string ColumnValueFormatBillions = "billions";
|
|
|
|
|
|
public const string ColumnValueFormatCurrency = "currency";
|
|
|
|
|
|
public const string ColumnValueFormatDay = "day";
|
|
|
|
|
|
public const string ColumnValueFormatDecimal = "decimal";
|
|
|
|
|
|
public const string ColumnValueFormatExponential = "exponential";
|
|
|
|
|
|
public const string ColumnValueFormatFixedPoint = "fixedPoint";
|
|
|
|
|
|
public const string ColumnValueFormatLargeNumber = "largeNumber";
|
|
|
|
|
|
public const string ColumnValueFormatLongDate = "longDate";
|
|
|
|
|
|
public const string ColumnValueFormatLongTime = "longTime";
|
|
|
|
|
|
public const string ColumnValueFormatMillions = "millions";
|
|
|
|
|
|
public const string ColumnValueFormatMillisecond = "millisecond";
|
|
|
|
|
|
public const string ColumnValueFormatMonth = "month";
|
|
|
|
|
|
public const string ColumnValueFormatMonthAndDay = "monthAndDay";
|
|
|
|
|
|
public const string ColumnValueFormatMonthAndYear = "monthAndYear";
|
|
|
|
|
|
public const string ColumnValueFormatPercent = "percent";
|
|
|
|
|
|
public const string ColumnValueFormatQuarter = "quarter";
|
|
|
|
|
|
public const string ColumnValueFormatQuarterAndYear = "quarterAndYear";
|
|
|
|
|
|
public const string ColumnValueFormatShortDate = "shortDate";
|
|
|
|
|
|
public const string ColumnValueFormatShortTime = "shortTime";
|
|
|
|
|
|
public const string ColumnValueFormatThousands = "thousands";
|
|
|
|
|
|
public const string ColumnValueFormatTrillions = "trillions";
|
|
|
|
|
|
public const string ColumnValueFormatYear = "year";
|
|
|
|
|
|
public const string ColumnValueFormatDayOfWeek = "dayOfWeek";
|
|
|
|
|
|
public const string ColumnValueFormatHour = "hour";
|
|
|
|
|
|
public const string ColumnValueFormatLongDateLongTime = "longDateLongTime";
|
|
|
|
|
|
public const string ColumnValueFormatMinute = "minute";
|
|
|
|
|
|
public const string ColumnValueFormatSecond = "second";
|
|
|
|
|
|
public const string ColumnValueFormatShortDateShortTime = "shortDateShortTime";
|
|
|
|
|
|
|
|
|
|
|
|
public const string ColumnJoinTypeInner = "INNER JOIN";
|
|
|
|
|
|
public const string ColumnJoinTypeLeft = "LEFT JOIN";
|
|
|
|
|
|
public const string ColumnJoinTypeRight = "RIGHT JOIN";
|
|
|
|
|
|
//public const string ColumnJoinTypeCross = "CROSS JOIN";
|
|
|
|
|
|
|
|
|
|
|
|
public const string ColumnConditionTypeAnd = "AND";
|
|
|
|
|
|
public const string ColumnConditionTypeOr = "OR";
|
|
|
|
|
|
|
|
|
|
|
|
public const string ColumnValidationTypeRequired = "required";
|
|
|
|
|
|
public const string ColumnValidationTypeNumeric = "numeric";
|
|
|
|
|
|
public const string ColumnValidationTypeRange = "range";
|
|
|
|
|
|
public const string ColumnValidationTypeStringLength = "stringLength";
|
|
|
|
|
|
public const string ColumnValidationTypeCustom = "custom";
|
|
|
|
|
|
public const string ColumnValidationTypeCompare = "compare";
|
|
|
|
|
|
public const string ColumnValidationTypePattern = "pattern";
|
|
|
|
|
|
public const string ColumnValidationTypeEmail = "email";
|
|
|
|
|
|
public const string ColumnValidationTypeAsync = "async";
|
|
|
|
|
|
|
|
|
|
|
|
public const string ColumnValidationComparisonTypeNotEqual = "!=";
|
|
|
|
|
|
public const string ColumnValidationComparisonTypeNotEqualOrType = "!==";
|
|
|
|
|
|
public const string ColumnValidationComparisonTypeLessThan = "<";
|
|
|
|
|
|
public const string ColumnValidationComparisonTypeLessThanOrEqual = "<=";
|
|
|
|
|
|
public const string ColumnValidationComparisonTypeEqualTo = "==";
|
|
|
|
|
|
public const string ColumnValidationComparisonTypeEqualAndType = "===";
|
|
|
|
|
|
public const string ColumnValidationComparisonTypeGreaterThan = ">";
|
|
|
|
|
|
public const string ColumnValidationComparisonTypeGreaterThanOrEqual = ">=";
|
|
|
|
|
|
|
|
|
|
|
|
public const string ColumnLookupTagBoxEditorApplyValueModeInstantly = "instantly";
|
|
|
|
|
|
public const string ColumnLookupTagBoxEditorApplyValueModeUseButtons = "useButtons";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class Urls
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string EmailConfirmation = "Account.EmailConfirmation";
|
|
|
|
|
|
public const string PasswordReset = "Account.PasswordReset";
|
|
|
|
|
|
public const string TwoFactor = "Account.TwoFactor";
|
|
|
|
|
|
public const string Login = "Account.Login";
|
|
|
|
|
|
public const string UserDetail = "Identity.UserDetail";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class DefaultValues
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string UserId = "@USERID";
|
|
|
|
|
|
public const string UserName = "@USERNAME";
|
|
|
|
|
|
public const string Roles = "@ROLES";
|
2025-11-14 20:59:46 +00:00
|
|
|
|
public const string Date = "@DATE";
|
2025-05-06 06:45:49 +00:00
|
|
|
|
public const string Now = "@NOW";
|
2025-10-23 12:05:16 +00:00
|
|
|
|
public const string Year = "@YEAR";
|
|
|
|
|
|
public const string Month = "@MONTH";
|
|
|
|
|
|
public const string Day = "@DAY";
|
2025-05-06 06:45:49 +00:00
|
|
|
|
public const string Id = "@ID";
|
2025-11-08 09:42:38 +00:00
|
|
|
|
public const string NewId = "@NEWID";
|
2025-05-06 06:45:49 +00:00
|
|
|
|
public const string Selected_Ids = "@SELECTED_IDS";
|
|
|
|
|
|
public const string TenantId = "@TENANTID";
|
2025-11-16 20:35:09 +00:00
|
|
|
|
public const string AutoNumber = "@AUTONUMBER";
|
2025-05-06 06:45:49 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class EditorTypes
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string dxAutocomplete = "dxAutocomplete";
|
|
|
|
|
|
public const string dxCalendar = "dxCalendar";
|
|
|
|
|
|
public const string dxCheckBox = "dxCheckBox";
|
|
|
|
|
|
public const string dxColorBox = "dxColorBox";
|
|
|
|
|
|
public const string dxDateBox = "dxDateBox";
|
|
|
|
|
|
public const string dxDateRangeBox = "dxDateRangeBox";
|
|
|
|
|
|
public const string dxDropDownBox = "dxDropDownBox";
|
|
|
|
|
|
public const string dxHtmlEditor = "dxHtmlEditor";
|
|
|
|
|
|
public const string dxLookup = "dxHtmlEdidxLookuptor";
|
|
|
|
|
|
public const string dxNumberBox = "dxNumberBox";
|
|
|
|
|
|
public const string dxRadioGroup = "dxRadioGroup";
|
|
|
|
|
|
public const string dxRangeSlider = "dxRangeSlider";
|
|
|
|
|
|
public const string dxSelectBox = "dxSelectBox";
|
|
|
|
|
|
public const string dxSlider = "dxSlider";
|
|
|
|
|
|
public const string dxSwitch = "dxSwitch";
|
|
|
|
|
|
public const string dxTagBox = "dxTagBox";
|
|
|
|
|
|
public const string dxTextArea = "dxTextArea";
|
|
|
|
|
|
public const string dxTextBox = "dxTextBox";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2025-07-27 18:57:19 +00:00
|
|
|
|
public static class CustomEndpointConsts
|
2025-05-06 06:45:49 +00:00
|
|
|
|
{
|
|
|
|
|
|
public static class ParameterTypes
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Static = "S";
|
|
|
|
|
|
public const string Query = "Q";
|
|
|
|
|
|
public const string Path = "P";
|
|
|
|
|
|
public const string Body = "B";
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2025-06-25 06:48:40 +00:00
|
|
|
|
public static class IdentityPermissions
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string GroupName = "AbpIdentity";
|
|
|
|
|
|
|
|
|
|
|
|
public static class Roles
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".Roles";
|
|
|
|
|
|
public const string Create = Default + ".Create";
|
|
|
|
|
|
public const string Update = Default + ".Update";
|
|
|
|
|
|
public const string Delete = Default + ".Delete";
|
2025-10-15 10:37:36 +00:00
|
|
|
|
public const string Export = Default + ".Export";
|
|
|
|
|
|
public const string Import = Default + ".Import";
|
2025-11-14 20:59:46 +00:00
|
|
|
|
public const string Note = Default + ".Note";
|
2025-06-25 06:48:40 +00:00
|
|
|
|
public const string ManagePermissions = Default + ".ManagePermissions";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class Users
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".Users";
|
|
|
|
|
|
public const string Create = Default + ".Create";
|
|
|
|
|
|
public const string Update = Default + ".Update";
|
|
|
|
|
|
public const string Delete = Default + ".Delete";
|
2025-10-15 10:37:36 +00:00
|
|
|
|
public const string Export = Default + ".Export";
|
|
|
|
|
|
public const string Import = Default + ".Import";
|
2025-11-14 20:59:46 +00:00
|
|
|
|
public const string Note = Default + ".Note";
|
2025-06-25 06:48:40 +00:00
|
|
|
|
public const string ManagePermissions = Default + ".ManagePermissions";
|
|
|
|
|
|
public const string ManageRoles = Update + ".ManageRoles";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static class UserLookup
|
|
|
|
|
|
{
|
|
|
|
|
|
public const string Default = GroupName + ".UserLookup";
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static string[] GetAll()
|
|
|
|
|
|
{
|
|
|
|
|
|
return ReflectionHelper.GetPublicConstantsRecursively(typeof(IdentityPermissions));
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-11-01 08:16:20 +00:00
|
|
|
|
|
|
|
|
|
|
public static string FullNameTable(TableNameEnum TableName)
|
|
|
|
|
|
{
|
|
|
|
|
|
return TableNameResolver.GetFullTableName($"{TableName}");
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static string FullNameView(TableNameEnum TableName)
|
|
|
|
|
|
{
|
|
|
|
|
|
return TableNameResolver.GetFullViewName($"{TableName}");
|
|
|
|
|
|
}
|
2025-05-06 06:45:49 +00:00
|
|
|
|
}
|
2025-11-11 19:49:52 +00:00
|
|
|
|
|
|
|
|
|
|
|