2018-04-12 21:29:36 +10:00
|
|
|
using Newtonsoft.Json.Linq;
|
|
|
|
|
using Umbraco.Core.PropertyEditors;
|
2018-02-09 18:22:59 +01:00
|
|
|
|
|
|
|
|
namespace Umbraco.Web.PropertyEditors
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Represents the configuration for the multinode picker value editor.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class MultiNodePickerConfiguration
|
|
|
|
|
{
|
|
|
|
|
[ConfigurationField("startNode", "Node type", "treesource")]
|
2018-04-12 21:29:36 +10:00
|
|
|
public MultiNodePickerConfigurationTreeSource TreeSource { get; set; }
|
2018-02-09 18:22:59 +01:00
|
|
|
|
|
|
|
|
[ConfigurationField("filter", "Allow items of type", "textstring", Description = "Separate with comma")]
|
|
|
|
|
public string Filter { get; set; }
|
|
|
|
|
|
|
|
|
|
[ConfigurationField("minNumber", "Minimum number of items", "number")]
|
|
|
|
|
public int MinNumber { get; set; }
|
|
|
|
|
|
|
|
|
|
[ConfigurationField("maxNumber", "Maximum number of items", "number")]
|
|
|
|
|
public int MaxNumber { get; set; }
|
|
|
|
|
|
2018-04-12 21:29:36 +10:00
|
|
|
[ConfigurationField("showOpenButton", "Show open button (this feature is in preview!)", "boolean", Description = "Opens the node in a dialog")]
|
2018-02-09 18:22:59 +01:00
|
|
|
public bool ShowOpen { get; set; }
|
|
|
|
|
}
|
2018-04-12 21:29:36 +10:00
|
|
|
}
|