using JNPF.DependencyInjection;
using Newtonsoft.Json;
namespace JNPF.VisualDev.Engine;
///
/// 组件模型.
///
[SuppressSniffer]
public class FieldsModel
{
///
/// 配置.
///
public ConfigModel __config__ { get; set; }
///
/// 插槽.
///
public SlotModel __slot__ { get; set; }
///
/// 占位提示.
///
public string placeholder { get; set; }
///
/// 样式.
///
public object style { get; set; }
///
/// 是否可清除.
///
public bool clearable { get; set; }
///
/// 前图标.
///
[JsonProperty(propertyName: "prefix-icon")]
public string prefixicon { get; set; }
///
/// 后图标.
///
[JsonProperty(propertyName: "suffix-icon")]
public string suffixicon { get; set; }
///
/// 最大长度.
///
public string maxlength { get; set; }
///
/// 是否显示输入字数统计.
///
[JsonProperty(propertyName: "show-word-limit")]
public bool showWordlimit { get; set; }
///
/// 是否只读.
///
public bool @readonly { get; set; }
///
/// 是否禁用.
///
public bool disabled { get; set; }
///
/// 设置默认值为空字符串.
///
public string __vModel__ { get; set; } = string.Empty;
///
/// 类型.
///
public string type { get; set; }
///
/// 自适应内容高度.
///
public object autosize { get; set; }
///
/// 计数器步长.
///
public int? step { get; set; }
///
/// 是否只能输入 step 的倍数.
///
[JsonProperty(propertyName: "step-strictly")]
public bool stepstrictly { get; set; }
///
/// 控制按钮位置.
///
[JsonProperty(propertyName: "controls-position")]
public string controlsposition { get; set; }
///
/// 文本样式.
///
public object textStyle { get; set; }
///
/// 字体样式.
///
public string fontStyle { get; set; }
///
/// 是否显示中文大写.
///
public bool showChinese { get; set; }
///
/// 是否显示密码.
///
[JsonProperty(propertyName: "show-password")]
public bool showPassword { get; set; }
///
/// 规格.
///
public string size { get; set; }
///
/// 是否可搜索.
///
public bool filterable { get; set; }
///
/// 是否多选.
///
public bool multiple { get; set; }
///
/// 是否多选查询.
///
public bool searchMultiple { get; set; }
///
/// 配置选项.
///
public PropsModel props { get; set; }
///
/// 输入框中是否显示选中值的完整路径.
///
[JsonProperty(propertyName: "show-all-levels")]
public bool showalllevels { get; set; }
///
/// 选项分隔符.
///
public string separator { get; set; }
///
/// 是否为时间范围选择,仅对有效.
///
public bool isrange { get; set; }
///
/// 选择范围时的分隔符.
///
[JsonProperty(propertyName: "range-separator")]
public string rangeseparator { get; set; }
///
/// 范围选择时开始日期/时间的占位内容.
///
[JsonProperty(propertyName: "start-placeholder")]
public string startplaceholder { get; set; }
///
/// 范围选择时开始日期/时间的占位内容.
///
[JsonProperty(propertyName: "end-placeholder")]
public string endplaceholder { get; set; }
///
/// 显示绑定值的格式.
///
public string format { get; set; }
///
/// 实际绑定值的格式.
///
[JsonProperty(propertyName: "value-format")]
public string valueformat { get; set; }
///
/// 当前时间日期选择器特有的选项.
///
[JsonProperty(propertyName: "picker-options")]
public object pickeroptions { get; set; }
///
/// 最大值.
///
public int? max { get; set; }
///
/// 是否允许半选.
///
[JsonProperty(propertyName: "allow-half")]
public bool allowhalf { get; set; }
///
/// 是否显示文本.
///
[JsonProperty(propertyName: "show-text")]
public bool showtext { get; set; }
///
/// 是否显示分数.
///
[JsonProperty(propertyName: "show-score")]
public bool showScore { get; set; }
///
/// 是否支持透明度选择.
///
[JsonProperty(propertyName: "show-alpha")]
public bool showalpha { get; set; }
///
/// 颜色的格式.
///
[JsonProperty(propertyName: "color-format")]
public string colorformat { get; set; }
///
/// 颜色.
///
public string color { get; set; }
///
/// switch 打开时的文字描述.
///
[JsonProperty(propertyName: "active-text")]
public string activetext { get; set; }
///
/// switch 关闭时的文字描述.
///
[JsonProperty(propertyName: "inactive-text")]
public string inactivetext { get; set; }
///
/// switch 打开时的背景色.
///
[JsonProperty(propertyName: "active-color")]
public string activecolor { get; set; }
///
/// switch 关闭时的背景色.
///
[JsonProperty(propertyName: "inactive-color")]
public string inactivecolor { get; set; }
///
/// switch 打开时的值.
///
[JsonProperty(propertyName: "active-value")]
public int? activevalue { get; set; }
///
/// switch 关闭时的值.
///
[JsonProperty(propertyName: "inactive-value")]
public int? inactivevalue { get; set; }
///
/// 最小值.
///
public int? min { get; set; }
///
/// 是否显示间断点.
///
[JsonProperty(propertyName: "show-stops")]
public bool showstops { get; set; }
///
/// 是否为范围选择
/// 滑块.
///
public bool range { get; set; }
///
/// 可接受上传类型.
///
public string accept { get; set; }
///
/// 是否显示上传提示.
///
public bool showTip { get; set; }
///
/// 文件大小.
///
public int? fileSize { get; set; }
///
/// 文件大小单位.
///
public string sizeUnit { get; set; }
///
/// 最大上传个数.
///
public int? limit { get; set; }
///
/// 文案的位置.
///
[JsonProperty(propertyName: "content-position")]
public string contentposition { get; set; }
///
/// 上传按钮文本.
///
public string buttonText { get; set; }
///
/// 等级.
///
public int level { get; set; }
///
/// 配置项.
///
public List