mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-15 17:31:42 +08:00
aa3114f643
* feat(module:table): add built-in filter for not composable enum types, support null value for List filter type * feat(module:table): throw an exception for composable enum types when use built-in filter * Revert "feat(module:table): throw an exception for composable enum types when use built-in filter" This reverts commit 0e04ed91f58e23b93a441ac2aa00a794ae1a9b46. * feat(module:table): add support for null value localization * docs(module: table): update for enum build-in filter * feat(module:table): add built-in filter for composable enum types * docs(module: table): update for enum built-in filter * feat(module: table): add enum built-in filter * feat: add static constructor to EnumHelper Co-authored-by: 令远 孔 <lingyuan.kong@outlook.com>
73 lines
2.0 KiB
C#
73 lines
2.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace AntDesign
|
|
{
|
|
public class TableLocale
|
|
{
|
|
public string FilterTitle { get; set; } = "Filter menu";
|
|
|
|
public string FilterConfirm { get; set; } = "OK";
|
|
|
|
public string FilterReset { get; set; } = "Reset";
|
|
|
|
public string FilterEmptyText { get; set; }
|
|
|
|
public string SelectAll { get; set; } = "Select current page";
|
|
|
|
public string SelectInvert { get; set; } = "Invert current page";
|
|
|
|
public string SelectionAll { get; set; } = "Select all data";
|
|
|
|
public string SortTitle { get; set; } = "Sort";
|
|
|
|
public string Expand { get; set; } = "Expand row";
|
|
|
|
public string Collapse { get; set; } = "Collapse row";
|
|
|
|
public string TriggerDesc { get; set; } = "Click sort by descend";
|
|
|
|
public string TriggerAsc { get; set; } = "Click sort by ascend";
|
|
|
|
public string CancelSort { get; set; } = "Click to cancel sort";
|
|
|
|
public FilterOptions FilterOptions { get; set; }
|
|
}
|
|
|
|
public class FilterOptions
|
|
{
|
|
public string True { get; set; } = "True";
|
|
|
|
public string False { get; set; } = "False";
|
|
|
|
public string And { get; set; } = "And";
|
|
|
|
public string Or { get; set; } = "Or";
|
|
|
|
public new string Equals { get; set; } = "Equal";
|
|
|
|
public string NotEquals { get; set; } = "Not Equal";
|
|
|
|
public string Contains { get; set; } = "Contains";
|
|
|
|
public string NotContains { get; set; } = "Not Contains";
|
|
|
|
public string StartsWith { get; set; } = "Start With";
|
|
|
|
public string EndsWith { get; set; } = "End With";
|
|
|
|
public string GreaterThan { get; set; } = "Greater Than";
|
|
|
|
public string LessThan { get; set; } = "Less Than";
|
|
|
|
public string GreaterThanOrEquals { get; set; } = "Greater Than Or Equals";
|
|
|
|
public string LessThanOrEquals { get; set; } = "Less Than Or Equals";
|
|
|
|
public string IsNull { get; set; } = "Is Null";
|
|
|
|
public string IsNotNull { get; set; } = "Is Not Null";
|
|
}
|
|
}
|