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", "resourceName": "Platform",
"key": "App.Listform.ListformField.UserId", "key": "App.Listform.ListformField.Author",
"en": "User", "en": "Author",
"tr": "Kullanıcı" "tr": "Yazar"
}, },
{ {
"resourceName": "Platform", "resourceName": "Platform",
@ -15806,6 +15806,12 @@
"en": "Menu Information", "en": "Menu Information",
"tr": "Menü Bilgileri" "tr": "Menü Bilgileri"
}, },
{
"resourceName": "Platform",
"key": "ListForms.Wizard.Required",
"en": "Required",
"tr": "Gerekli"
},
{ {
"resourceName": "Platform", "resourceName": "Platform",
"key": "ListForms.Wizard.ListFormSettings", "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 = 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 = 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 = 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 = 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 = 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() }, 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, ListFormCode = listForm.ListFormCode,
CultureName = LanguageCodes.En, CultureName = LanguageCodes.En,
SourceDbType = DbType.Guid, SourceDbType = DbType.String,
FieldName = "UserId", FieldName = "Author",
CaptionName = "App.Listform.ListformField.UserId", CaptionName = "App.Listform.ListformField.Author",
Width = 200, Width = 200,
ListOrderNo = 8, ListOrderNo = 8,
Visible = true, Visible = true,
@ -7343,12 +7343,6 @@ public class ListFormSeeder_Saas : IDataSeedContributor, ITransientDependency
IsDeleted = false, IsDeleted = false,
AllowSearch = true, AllowSearch = true,
ValidationRuleJson = DefaultValidationRuleRequiredJson, ValidationRuleJson = DefaultValidationRuleRequiredJson,
LookupJson = JsonSerializer.Serialize(new LookupDto {
DataSourceType = UiLookupDataSourceTypeEnum.Query,
DisplayExpr = "Name",
ValueExpr = "Key",
LookupQuery = LookupQueryValues.UserValues
}),
ColumnCustomizationJson = DefaultColumnCustomizationJson, ColumnCustomizationJson = DefaultColumnCustomizationJson,
PermissionJson = DefaultFieldPermissionJson(listForm.Name), PermissionJson = DefaultFieldPermissionJson(listForm.Name),
PivotSettingsJson = DefaultPivotSettingsJson, PivotSettingsJson = DefaultPivotSettingsJson,

View file

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

View file

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

View file

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