remove a bunch of slider prevalues.

This commit is contained in:
Mads Rasmussen
2018-11-26 11:38:15 +01:00
parent f4728e5b83
commit 6257416c4a
4 changed files with 0 additions and 74 deletions

View File

@@ -8,9 +8,6 @@
[ConfigurationField("enableRange", "Enable range", "boolean")]
public bool EnableRange { get; set; }
[ConfigurationField("orientation", "Orientation", "views/propertyeditors/slider/orientation.prevalues.html")]
public string Orientation { get; set; }
[ConfigurationField("initVal1", "Initial value", "number")]
public int InitialValue { get; set; }
@@ -25,38 +22,5 @@
[ConfigurationField("step", "Step increments", "number")]
public int StepIncrements { get; set; }
[ConfigurationField("precision", "Precision", "number", Description = "The number of digits shown after the decimal. Defaults to the number of digits after the decimal of step value.")]
public int Precision { get; set; }
[ConfigurationField("handle", "Handle", "views/propertyeditors/slider/handle.prevalues.html", Description = "Handle shape. Default is 'round\'")]
public string Handle { get; set; }
[ConfigurationField("tooltip", "Tooltip", "views/propertyeditors/slider/tooltip.prevalues.html", Description = "Whether to show the tooltip on drag, hide the tooltip, or always show the tooltip. Accepts: 'show', 'hide', or 'always'")]
public string Tooltip { get; set; }
[ConfigurationField("tooltipSplit", "Tooltip split", "boolean", Description = "If false show one tootip if true show two tooltips one for each handler")]
public bool TooltipSplit { get; set; } // fixme bool?
[ConfigurationField("tooltipFormat", "Tooltip format", "textstring", Description = "The value wanted to be displayed in the tooltip. Use {0} and {1} for current values - {1} is only for range slider and if not using tooltip split.")]
public string TooltipFormat { get; set; }
[ConfigurationField("tooltipPosition", "Tooltip position", "textstring", Description = "Position of tooltip, relative to slider. Accepts 'top'/'bottom' for horizontal sliders and 'left'/'right' for vertically orientated sliders. Default positions are 'top' for horizontal and 'right' for vertical slider.")]
public string TooltipPosition { get; set; }
[ConfigurationField("reversed", "Reversed", "boolean", Description = "Whether or not the slider should be reversed")]
public bool Reversed { get; set; } // fixme bool?
[ConfigurationField("ticks", "Ticks", "textstring", Description = "Comma-separated values. Used to define the values of ticks. Tick marks are indicators to denote special values in the range. This option overwrites min and max options.")]
public string Ticks { get; set; }
[ConfigurationField("ticksPositions", "Ticks positions", "textstring", Description = "Comma-separated values. Defines the positions of the tick values in percentages. The first value should always be 0, the last value should always be 100 percent.")]
public string TicksPositions { get; set; }
[ConfigurationField("ticksLabels", "Ticks labels", "textstring", Description = "Comma-separated values. Defines the labels below the tick marks. Accepts HTML input.")]
public string TicksLabels { get; set; }
[ConfigurationField("ticksSnapBounds", "Ticks snap bounds", "number", Description = "Used to define the snap bounds of a tick. Snaps to the tick if value is within these bounds.")]
public int TicksSnapBounds { get; set; }
}
}

View File

@@ -1,13 +0,0 @@
<div>
<ng-form name="sliderHandleForm">
<select ng-model="model.value" name="handle">
<option value="round">Round</option>
<option value="square">Square</option>
<option value="triangle">Triangle</option>
</select>
<span ng-messages="sliderHandleForm.handle.$error" show-validation-on-submit >
<span class="help-inline" ng-message="required"><localize key="general_required">Required</localize></span>
</span>
</ng-form>
</div>

View File

@@ -1,12 +0,0 @@
<div>
<ng-form name="sliderOrientationForm">
<select ng-model="model.value" required name="orientation">
<option value="horizontal">Horizontal</option>
<option value="vertical">Vertical</option>
</select>
<span ng-messages="sliderOrientationForm.orientation.$error" show-validation-on-submit >
<span class="help-inline" ng-message="required"><localize key="general_required">Required</localize></span>
</span>
</ng-form>
</div>

View File

@@ -1,13 +0,0 @@
<div>
<ng-form name="sliderTooltipForm">
<select ng-model="model.value" required name="tooltip">
<option value="show">Show</option>
<option value="hide">Hide</option>
<option value="always">Always</option>
</select>
<span ng-messages="sliderTooltipForm.tooltip.$error" show-validation-on-submit >
<span class="help-inline" ng-message="required"><localize key="general_required">Required</localize></span>
</span>
</ng-form>
</div>