This commit is contained in:
Sedat Öztürk 2026-03-13 22:26:04 +03:00
parent e5bc185c19
commit 2468e46bfb
5 changed files with 21 additions and 21 deletions

View file

@ -13222,9 +13222,9 @@
},
{
"resourceName": "Platform",
"key": "App.Listform.ListformField.UserId",
"en": "User",
"tr": "Kullanıcı"
"key": "App.Listform.ListformField.Author",
"en": "Author",
"tr": "Yazar"
},
{
"resourceName": "Platform",
@ -15806,6 +15806,12 @@
"en": "Menu Information",
"tr": "Menü Bilgileri"
},
{
"resourceName": "Platform",
"key": "ListForms.Wizard.Required",
"en": "Required",
"tr": "Gerekli"
},
{
"resourceName": "Platform",
"key": "ListForms.Wizard.ListFormSettings",

View file

@ -7167,7 +7167,7 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
new EditingFormItemDto { Order = 4, DataField = "CoverImage", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 5, DataField = "ReadTime", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 6, DataField = "CategoryId", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton },
new EditingFormItemDto { Order = 7, DataField = "UserId", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxSelectBox, EditorOptions=EditorOptionValues.ShowClearButton },
new EditingFormItemDto { Order = 7, DataField = "Author", ColSpan = 1, IsRequired = true, EditorType2 = EditorTypes.dxTextBox },
new EditingFormItemDto { Order = 8, DataField = "ViewCount", ColSpan = 1, EditorType2 = EditorTypes.dxNumberBox, EditorOptions=EditorOptionValues.NumberStandartFormat() },
new EditingFormItemDto { Order = 9, DataField = "LikeCount", ColSpan = 1, EditorType2 = EditorTypes.dxNumberBox, EditorOptions=EditorOptionValues.NumberStandartFormat() },
new EditingFormItemDto { Order = 10, DataField = "CommentCount", ColSpan = 1, EditorType2 = EditorTypes.dxNumberBox, EditorOptions=EditorOptionValues.NumberStandartFormat() },
@ -7333,9 +7333,9 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
{
ListFormCode = listForm.ListFormCode,
CultureName = LanguageCodes.En,
SourceDbType = DbType.Guid,
FieldName = "UserId",
CaptionName = "App.Listform.ListformField.UserId",
SourceDbType = DbType.String,
FieldName = "Author",
CaptionName = "App.Listform.ListformField.Author",
Width = 200,
ListOrderNo = 8,
Visible = true,
@ -7343,12 +7343,6 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
IsDeleted = false,
AllowSearch = true,
ValidationRuleJson = DefaultValidationRuleRequiredJson,
LookupJson = JsonSerializer.Serialize(new LookupDto {
DataSourceType = UiLookupDataSourceTypeEnum.Query,
DisplayExpr = "Name",
ValueExpr = "Key",
LookupQuery = LookupQueryValues.UserValues
}),
ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(listForm.Name),
PivotSettingsJson = DefaultPivotSettingsJson,

View file

@ -6,7 +6,7 @@ public class StatDto
public string Value { get; set; } // number/string farkını normalize ettik
public string LabelKey { get; set; }
public bool? UseCounter { get; set; }
public int? CounterEnd { get; set; }
public string? CounterEnd { get; set; }
public string CounterSuffix { get; set; }
public int? CounterDuration { get; set; }
}

View file

@ -371,19 +371,19 @@
"stats": [
{
"icon": "FaUsers",
"value": 300,
"value": "310+",
"labelKey": "Public.about.stats.clients",
"useCounter": true,
"counterEnd": 300,
"counterEnd": "310+",
"counterSuffix": "+",
"counterDuration": 2500
},
{
"icon": "FaAward",
"value": 20,
"value": "20",
"labelKey": "Public.about.stats.experience",
"useCounter": true,
"counterEnd": 20,
"counterEnd": "20",
"counterSuffix": "+",
"counterDuration": 2000
},
@ -395,10 +395,10 @@
},
{
"icon": "FaGlobe",
"value": 3,
"value": "3",
"labelKey": "App.Definitions.Country",
"useCounter": true,
"counterEnd": 3,
"counterEnd": "3",
"counterDuration": 1500
}
],

View file

@ -11,7 +11,7 @@ export interface StatDto {
value: string
labelKey: string
useCounter?: boolean
counterEnd?: number
counterEnd?: string
counterSuffix?: string
counterDuration?: number
}