@@ -26,88 +26,110 @@ import PrimeTreeSelect from '../components/PrimeTreeSelect.vue'
2626
2727export const primeAutoCompleteDefinition : FormKitTypeDefinition = createInput ( PrimeAutoComplete , {
2828 props : [ 'pt' , 'ptOptions' , 'unstyled' , 'Select' , 'multiple' , 'typeahead' , 'optionLabel' , 'options' , 'size' , 'minLength' , 'placeholder' , 'fluid' , 'separators' ] ,
29+ family : 'PrimeInput' ,
2930} )
3031export const primeInputTextDefinition : FormKitTypeDefinition = createInput ( PrimeInputText , {
3132 props : [ 'pt' , 'ptOptions' , 'unstyled' , 'placeholder' , 'iconPrefix' , 'iconSuffix' , 'size' , 'inputType' ] ,
33+ family : 'PrimeInput' ,
3234} )
3335
3436export const primeInputNumberDefinition : FormKitTypeDefinition = createInput ( PrimeInputNumber , {
3537 props : [ 'useGrouping' , 'min' , 'max' , 'minFractionDigits' , 'maxFractionDigits' , 'locale' , 'mode' , 'currency' , 'prefix' , 'suffix' , 'showButtons' , 'buttonLayout' , 'step' , 'pt' , 'ptOptions' , 'unstyled' , 'placeholder' , 'size' ] ,
38+ family : 'PrimeInput' ,
3639} )
3740
3841export const primeInputMaskDefinition : FormKitTypeDefinition = createInput ( PrimeInputMask , {
3942 props : [ 'mask' , 'slotChar' , 'autoClear' , 'unmask' , 'pt' , 'ptOptions' , 'unstyled' , 'invalid' , 'variant' , 'iconPrefix' , 'iconSuffix' , 'size' ] ,
43+ family : 'PrimeInput' ,
4044} )
4145
4246export const primePasswordDefinition : FormKitTypeDefinition = createInput ( PrimePassword , {
4347 props : [ 'mediumRegex' , 'strongRegex' , 'promptLabel' , 'weakLabel' , 'mediumLabel' , 'strongLabel' , 'hideIcon' , 'showIcon' , 'pt' , 'ptOptions' , 'unstyled' , 'placeholder' , 'feedback' , 'toggleMask' , 'size' ] ,
48+ family : 'PrimeInput' ,
4449} )
4550
4651export const primeTextareaDefinition : FormKitTypeDefinition = createInput ( PrimeTextarea , {
4752 props : [ 'pt' , 'ptOptions' , 'unstyled' , 'autoResize' , 'rows' , 'placeholder' , 'size' ] ,
53+ family : 'PrimeInput' ,
4854} )
4955
5056export const primeCheckboxDefinition : FormKitTypeDefinition = createInput ( PrimeCheckbox , {
5157 props : [ 'binary' , 'trueValue' , 'falseValue' , 'pt' , 'ptOptions' , 'unstyled' , 'indeterminate' , 'variant' , 'prefix' , 'suffix' , 'size' ] ,
58+ family : 'PrimeInput' ,
5259} )
5360
5461export const primeToggleSwitchDefinition : FormKitTypeDefinition = createInput ( PrimeToggleSwitch , {
5562 props : [ 'trueValue' , 'falseValue' , 'pt' , 'ptOptions' , 'unstyled' , 'prefix' , 'suffix' ] ,
63+ family : 'PrimeInput' ,
5664} )
5765
5866export const primeInputOtpDefinition : FormKitTypeDefinition = createInput ( PrimeInputOtp , {
5967 props : [ 'length' , 'variant' , 'mask' , 'integerOnly' , 'pt' , 'ptOptions' , 'unstyled' , 'size' ] ,
68+ family : 'PrimeInput' ,
6069} )
6170
6271export const primeSelectDefinition : FormKitTypeDefinition = createInput ( PrimeSelect , {
6372 props : [ 'options' , 'optionLabel' , 'optionValue' , 'optionDisabled' , 'optionGroupLabel' , 'optionGroupChildren' , 'scrollHeight' , 'filter' , 'filterPlaceholder' , 'filterLocale' , 'filterMatchMode' , 'filterFields' , 'filterInputProps' , 'editable' , 'placeholder' , 'dataKey' , 'showClear' , 'panelStyle' , 'panelClass' , 'panelProps' , 'appendTo' , 'resetFilterOnHide' , 'virtualScrollerOptions' , 'autoOptionFocus' , 'selectOnFocus' , 'filterMessage' , 'selectionMessage' , 'emptySelectionMessage' , 'emptyFilterMessage' , 'emptyMessage' , 'pt' , 'ptOptions' , 'unstyled' , 'size' ] ,
73+ family : 'PrimeInput' ,
6474} )
6575
6676export const primeMultiSelectDefinition : FormKitTypeDefinition = createInput ( PrimeMultiSelect , {
6777 props : [ 'options' , 'optionLabel' , 'optionValue' , 'optionDisabled' , 'optionGroupLabel' , 'optionGroupChildren' , 'scrollHeight' , 'inputProps' , 'closeButtonProps' , 'dataKey' , 'filter' , 'filterPlaceholder' , 'filterLocale' , 'filterMatchMode' , 'filterFields' , 'appendTo' , 'display' , 'maxSelectedLabels' , 'selectedItemsLabel' , 'selectionLimit' , 'showToggleAll' , 'loading' , 'selectAll' , 'resetFilterOnHide' , 'virtualScrollerOptions' , 'autoOptionFocus' , 'autoFilterFocus' , 'filterMessage' , 'selectionMessage' , 'emptySelectionMessage' , 'emptyFilterMessage' , 'emptyMessage' , 'pt' , 'placeholder' , 'ptOptions' , 'unstyled' , 'size' ] ,
78+ family : 'PrimeInput' ,
6879} )
6980
7081export const primeListboxDefinition : FormKitTypeDefinition = createInput ( PrimeListbox , {
7182 props : [ 'pt' , 'ptOptions' , 'unstyled' , 'options' , 'optionLabel' , 'optionValue' , 'multiple' , 'filter' , 'filterIcon' , 'filterPlaceholder' , 'filterLocale' , 'filterMatchMode' , 'autoOptionFocus' , 'selectOnFocus' ] ,
83+ family : 'PrimeInput' ,
7284} )
7385
7486export const primeDatePickerDefinition : FormKitTypeDefinition = createInput ( PrimeDatePicker , {
7587 props : [ 'dateFormat' , 'placeholder' , 'selectionMode' , 'inline' , 'icon' , 'showOtherMonths' , 'selectOtherMonths' , 'showIcon' , 'previousIcon' , 'nextIcon' , 'incrementIcon' , 'decrementIcon' , 'numberOfMonths' , 'responsiveOptions' , 'view' , 'touchUI' , 'minDate' , 'maxDate' , 'disabledDates' , 'disabledDays' , 'maxDateCount' , 'showOnFocus' , 'autoZIndex' , 'baseZIndex' , 'showButtonBar' , 'showTime' , 'timeOnly' , 'shortYearCutoff' , 'hourFormat' , 'stepHour' , 'stepMinute' , 'stepSecond' , 'showSeconds' , 'hideOnDateTimeSelect' , 'hideOnRangeSelection' , 'timeSeparator' , 'showWeek' , 'manualInput' , 'appendTo' , 'panelStyle' , 'panelClass' , 'pt' , 'ptOptions' , 'unstyled' , 'size' ] ,
88+ family : 'PrimeInput' ,
7689} )
7790
7891export const primeSliderDefinition : FormKitTypeDefinition = createInput ( PrimeSlider , {
7992 props : [ 'pt' , 'ptOptions' , 'unstyled' , 'min' , 'max' , 'step' , 'range' , 'orientation' ] ,
93+ family : 'PrimeInput' ,
8094} )
8195
8296export const primeRatingDefinition : FormKitTypeDefinition = createInput ( PrimeRating , {
8397 props : [ 'unstyled' , 'stars' , 'cancel' , 'onIcon' , 'offIcon' , 'cancelIcon' , 'ptOptions' , 'pt' ] ,
98+ family : 'PrimeInput' ,
8499} )
85100export const primeRadioButtonDefinition : FormKitTypeDefinition = createInput ( PrimeRadioButton , {
86101 props : [ 'pt' , 'ptOptions' , 'unstyled' , 'options' , 'optionsClass' , 'optionClass' , 'size' ] ,
102+ family : 'PrimeInput' ,
87103} )
88104
89105export const primeKnobDefinition : FormKitTypeDefinition = createInput ( PrimeKnob , {
90106 props : [ 'pt' , 'ptOptions' , 'unstyled' , 'min' , 'max' , 'step' , 'size' , 'strokeWidth' , 'showValue' , 'valueColor' , 'rangeColor' , 'textColor' , 'valueTemplate' ] ,
107+ family : 'PrimeInput' ,
91108} )
92109
93110export const primeColorPickerDefinition : FormKitTypeDefinition = createInput ( PrimeColorPicker , {
94111 props : [ 'defaultColor' , 'inline' , 'format' , 'pt' , 'ptOptions' , 'unstyled' ] ,
112+ family : 'PrimeInput' ,
95113} )
96114
97115export const primeToggleButtonDefinition : FormKitTypeDefinition = createInput ( PrimeToggleButton , {
98116 props : [ 'pt' , 'ptOptions' , 'unstyled' , 'onLabel' , 'offLabel' , 'onIcon' , 'offIcon' , 'iconPos' , 'size' ] ,
117+ family : 'PrimeInput' ,
99118} )
100119
101120export const primeSelectButtonDefinition : FormKitTypeDefinition = createInput ( PrimeSelectButton , {
102121 props : [ 'pt' , 'ptOptions' , 'unstyled' , 'optionLabel' , 'optionValue' , 'optionDisabled' , 'multiple' , 'unselectable' , 'dataKey' , 'options' , 'size' ] ,
122+ family : 'PrimeInput' ,
103123} )
104124
105125export const primeCascadeSelectDefinition : FormKitTypeDefinition = createInput ( PrimeCascadeSelect , {
106126 props : [ 'options' , 'optionLabel' , 'optionValue' , 'optionGroupLabel' , 'optionGroupChildren' , 'placeholder' , 'pt' , 'ptOptions' , 'unstyled' , 'size' ] ,
127+ family : 'PrimeInput' ,
107128} )
108129
109130export const primeTreeSelectDefinition : FormKitTypeDefinition = createInput ( PrimeTreeSelect , {
110131 props : [ 'options' , 'placeholder' , 'selectionMode' , 'pt' , 'ptOptions' , 'unstyled' , 'emptyMessage' , 'display' , 'metaKeySelection' , 'appendTo' , 'scrollHeight' , 'panelClass' , 'variant' , 'size' ] ,
132+ family : 'PrimeInput' ,
111133} )
112134
113135export const primeInputs = {
0 commit comments