@sfxcode/formkit-primevue 1.8.6 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -3
- package/dist/components/PrimeAutoComplete.vue +37 -11
- package/dist/components/PrimeCalendar.vue +109 -16
- package/dist/components/PrimeCascadeSelect.vue +41 -10
- package/dist/components/PrimeCheckbox.vue +40 -14
- package/dist/components/PrimeChips.vue +35 -11
- package/dist/components/PrimeColorPicker.vue +31 -11
- package/dist/components/PrimeDropdown.vue +90 -16
- package/dist/components/PrimeEditor.vue +32 -14
- package/dist/components/PrimeInputMask.vue +69 -18
- package/dist/components/PrimeInputNumber.vue +55 -13
- package/dist/components/PrimeInputSwitch.vue +40 -14
- package/dist/components/PrimeInputText.vue +45 -20
- package/dist/components/PrimeKnob.vue +47 -13
- package/dist/components/PrimeListbox.vue +52 -12
- package/dist/components/PrimeMultiSelect.vue +96 -11
- package/dist/components/PrimePassword.vue +48 -13
- package/dist/components/PrimeRadioButton.vue +33 -15
- package/dist/components/PrimeRating.vue +40 -14
- package/dist/components/PrimeSelectButton.vue +44 -11
- package/dist/components/PrimeSlider.vue +42 -12
- package/dist/components/PrimeTextarea.vue +32 -13
- package/dist/components/PrimeToggleButton.vue +39 -11
- package/dist/components/PrimeTreeSelect.vue +50 -11
- package/dist/components/PrimeTriStateCheckbox.vue +36 -13
- package/dist/index.d.ts +55 -56
- package/dist/index.js +24 -24
- package/dist/index.mjs +343 -24
- package/dist/sass/formkit-primevue.scss +4 -0
- package/dist/style.css +1 -1
- package/package.json +12 -11
|
@@ -1,31 +1,70 @@
|
|
|
1
1
|
<script setup lang='ts'>
|
|
2
|
-
import { computed } from 'vue'
|
|
2
|
+
import { type PropType, computed } from 'vue'
|
|
3
|
+
import type { FormKitFrameworkContext } from '@formkit/core'
|
|
4
|
+
import type { TreeSelectProps } from 'primevue/treeselect'
|
|
5
|
+
|
|
6
|
+
export interface FormKitPrimeTreeSelectProps {
|
|
7
|
+
options?: TreeSelectProps['options']
|
|
8
|
+
placeholder?: TreeSelectProps['placeholder']
|
|
9
|
+
selectionMode?: TreeSelectProps['selectionMode']
|
|
10
|
+
pt?: TreeSelectProps['pt']
|
|
11
|
+
ptOptions?: TreeSelectProps['ptOptions']
|
|
12
|
+
unstyled?: TreeSelectProps['unstyled']
|
|
13
|
+
emptyMessage?: TreeSelectProps['emptyMessage']
|
|
14
|
+
display?: TreeSelectProps['display']
|
|
15
|
+
metaKeySelection?: TreeSelectProps['metaKeySelection']
|
|
16
|
+
appendTo?: TreeSelectProps['appendTo']
|
|
17
|
+
scrollHeight?: TreeSelectProps['scrollHeight']
|
|
18
|
+
panelClass?: TreeSelectProps['panelClass']
|
|
19
|
+
variant?: TreeSelectProps['variant']
|
|
20
|
+
}
|
|
3
21
|
|
|
4
22
|
const props = defineProps({
|
|
5
|
-
context:
|
|
23
|
+
context: {
|
|
24
|
+
type: Object as PropType<FormKitFrameworkContext & FormKitPrimeTreeSelectProps>,
|
|
25
|
+
required: true,
|
|
26
|
+
},
|
|
6
27
|
})
|
|
7
28
|
|
|
8
|
-
const context = props.context
|
|
9
|
-
const attrs = computed(() => context?.attrs)
|
|
10
|
-
|
|
11
29
|
function handleInput(e: any) {
|
|
12
|
-
context?.node.input(props.context?._value)
|
|
30
|
+
props.context?.node.input(props.context?._value)
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function handleBlur(e: Event) {
|
|
34
|
+
props.context?.handlers.blur(e)
|
|
13
35
|
}
|
|
14
36
|
|
|
15
|
-
const styleClass = computed(() => (context?.state.validationVisible && !context?.state.valid) ? `${
|
|
37
|
+
const styleClass = computed(() => (props.context?.state.validationVisible && !props.context?.state.valid) ? `${props.context?.attrs?.class} p-invalid` : props.context?.attrs?.class)
|
|
16
38
|
</script>
|
|
17
39
|
|
|
18
40
|
<template>
|
|
19
41
|
<div class="p-formkit">
|
|
20
42
|
<TreeSelect
|
|
21
43
|
v-model="context._value"
|
|
22
|
-
v-bind="attrs"
|
|
44
|
+
v-bind="context?.attrs"
|
|
23
45
|
:input-id="context.id"
|
|
24
|
-
:disabled="
|
|
25
|
-
:readonly="attrs._readonly ?? false"
|
|
26
|
-
:input-style="attrs.style"
|
|
46
|
+
:disabled="!!context?.disabled"
|
|
47
|
+
:readonly="context?.attrs._readonly ?? false"
|
|
48
|
+
:input-style="context?.attrs.style"
|
|
27
49
|
:input-class="styleClass"
|
|
50
|
+
:tabindex="context?.attrs.tabindex"
|
|
51
|
+
:aria-label="context?.attrs.ariaLabel"
|
|
52
|
+
:aria-labelledby="context?.attrs.ariaLabelledby"
|
|
53
|
+
:options="context?.options"
|
|
54
|
+
:placeholder="context.placeholder"
|
|
55
|
+
:selection-mode="context.selectionMode"
|
|
56
|
+
:pt="context.pt"
|
|
57
|
+
:empty-message="context.emptyMessage"
|
|
58
|
+
:display="context.display"
|
|
59
|
+
:meta-key-selection="context.metaKeySelection"
|
|
60
|
+
:append-to="context.appendTo"
|
|
61
|
+
:scroll-height="context.scrollHeight"
|
|
62
|
+
:panel-class="context.panelClass"
|
|
63
|
+
:variant="context.variant"
|
|
64
|
+
:pt-options="context.ptOptions"
|
|
65
|
+
:unstyled="context.unstyled ?? false"
|
|
28
66
|
@change="handleInput"
|
|
67
|
+
@blur="handleBlur"
|
|
29
68
|
/>
|
|
30
69
|
</div>
|
|
31
70
|
</template>
|
|
@@ -1,33 +1,56 @@
|
|
|
1
1
|
<script setup lang='ts'>
|
|
2
|
-
import { computed } from 'vue'
|
|
2
|
+
import { type PropType, computed } from 'vue'
|
|
3
|
+
import type { FormKitFrameworkContext } from '@formkit/core'
|
|
4
|
+
import type { TriStateCheckboxProps } from 'primevue/tristatecheckbox'
|
|
5
|
+
|
|
6
|
+
export interface FormKitPrimeTriStateCheckboxProps {
|
|
7
|
+
pt?: TriStateCheckboxProps['pt']
|
|
8
|
+
ptOptions?: TriStateCheckboxProps['ptOptions']
|
|
9
|
+
unstyled?: TriStateCheckboxProps['unstyled']
|
|
10
|
+
variant?: TriStateCheckboxProps['variant']
|
|
11
|
+
labelLeft?: string
|
|
12
|
+
labelRight?: string
|
|
13
|
+
}
|
|
3
14
|
|
|
4
15
|
const props = defineProps({
|
|
5
|
-
context:
|
|
16
|
+
context: {
|
|
17
|
+
type: Object as PropType<FormKitFrameworkContext & FormKitPrimeTriStateCheckboxProps>,
|
|
18
|
+
required: true,
|
|
19
|
+
},
|
|
6
20
|
})
|
|
7
21
|
|
|
8
|
-
const context = props.context
|
|
9
|
-
const attrs = computed(() => context?.attrs)
|
|
10
|
-
|
|
11
22
|
function handleChange(e: any) {
|
|
12
|
-
context?.node.input(props.context?._value)
|
|
23
|
+
props.context?.node.input(props.context?._value)
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
function handleBlur(e: Event) {
|
|
27
|
+
props.context?.handlers.blur(e)
|
|
13
28
|
}
|
|
14
29
|
|
|
15
|
-
const styleClass = computed(() => (context?.state.validationVisible && !context?.state.valid) ? `${
|
|
30
|
+
const styleClass = computed(() => (props.context?.state.validationVisible && !props.context?.state.valid) ? `${props.context?.attrs?.class} p-invalid` : props.context?.attrs?.class)
|
|
16
31
|
</script>
|
|
17
32
|
|
|
18
33
|
<template>
|
|
19
34
|
<div class="p-formkit">
|
|
20
|
-
<span v-if="context.attrs.labelLeft" class="formkit-prime-left">{{ context.
|
|
35
|
+
<span v-if="context.attrs.labelLeft" class="formkit-prime-left">{{ context.labelLeft }}</span>
|
|
21
36
|
<TriStateCheckbox
|
|
22
37
|
v-model="context._value"
|
|
23
|
-
v-bind="attrs"
|
|
38
|
+
v-bind="context?.attrs"
|
|
24
39
|
:input-id="context.id"
|
|
25
|
-
:disabled="
|
|
26
|
-
:readonly="attrs._readonly ?? false"
|
|
27
|
-
:input-style="attrs.style"
|
|
40
|
+
:disabled="!!context?.disabled"
|
|
41
|
+
:readonly="context?.attrs._readonly ?? false"
|
|
42
|
+
:input-style="context?.attrs.style"
|
|
28
43
|
:input-class="styleClass"
|
|
44
|
+
:tabindex="context?.attrs.tabindex"
|
|
45
|
+
:aria-label="context?.attrs.ariaLabel"
|
|
46
|
+
:aria-labelledby="context?.attrs.ariaLabelledby"
|
|
47
|
+
:pt="context.pt"
|
|
48
|
+
:pt-options="context.ptOptions"
|
|
49
|
+
:unstyled="context.unstyled ?? false"
|
|
50
|
+
:variant="context.variant"
|
|
29
51
|
@change="handleChange"
|
|
52
|
+
@blur="handleBlur"
|
|
30
53
|
/>
|
|
31
|
-
<span v-if="context.attrs.labelRight" class="formkit-prime-right">{{ context.
|
|
54
|
+
<span v-if="context.attrs.labelRight" class="formkit-prime-right">{{ context.labelRight }}</span>
|
|
32
55
|
</div>
|
|
33
56
|
</template>
|
package/dist/index.d.ts
CHANGED
|
@@ -1,56 +1,55 @@
|
|
|
1
|
-
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
export { useFormKitSchema, };
|
|
1
|
+
declare module '@formkit/inputs' {
|
|
2
|
+
import type { FormKitInputs } from '@formkit/inputs'
|
|
3
|
+
|
|
4
|
+
import type { FormKitPrimeCalendarProps } from './components/PrimeCalendar.vue'
|
|
5
|
+
import type { FormKitPrimeCascadeSelectProps } from './components/PrimeCascadeSelect.vue'
|
|
6
|
+
import type { FormKitPrimeCheckboxProps } from './components/PrimeCheckbox.vue'
|
|
7
|
+
import type { FormKitPrimeChipsProps } from './components/PrimeChips.vue'
|
|
8
|
+
import type { FormKitPrimeColorPickerProps } from './components/PrimeColorPicker.vue'
|
|
9
|
+
import type { FormKitPrimeDropdownProps } from './components/PrimeDropdown.vue'
|
|
10
|
+
import type { FormKitPrimeEditorProps } from './components/PrimeEditor.vue'
|
|
11
|
+
import type { FormKitPrimeInputMaskProps } from './components/PrimeInputMask.vue'
|
|
12
|
+
import type { FormKitPrimeInputNumberProps } from './components/PrimeInputNumber.vue'
|
|
13
|
+
import type { FormKitPrimeInputSwitchProps } from './components/PrimeInputSwitch.vue'
|
|
14
|
+
import type { FormKitPrimeInputTextProps } from './components/PrimeInputText.vue'
|
|
15
|
+
import type { FormKitPrimeKnobProps } from './components/PrimeKnob.vue'
|
|
16
|
+
import type { FormKitPrimeListboxProps } from './components/PrimeListbox.vue'
|
|
17
|
+
import type { FormKitPrimeMultiSelectProps } from './components/PrimeMultiSelect.vue'
|
|
18
|
+
import type { FormKitPrimePasswordProps } from './components/PrimePassword.vue'
|
|
19
|
+
import type { FormKitPrimeRadioButtonProps } from './components/PrimeRadioButton.vue'
|
|
20
|
+
import type { FormKitPrimeRatingProps } from './components/PrimeRating.vue'
|
|
21
|
+
import type { FormKitPrimeSelectButtonProps } from './components/PrimeSelectButton.vue'
|
|
22
|
+
import type { FormKitPrimeSliderProps } from './components/PrimeSlider.vue'
|
|
23
|
+
import type { FormKitPrimeTextareaProps } from './components/PrimeTextarea.vue'
|
|
24
|
+
import type { FormKitPrimeToggleButtonProps } from './components/PrimeToggleButton.vue'
|
|
25
|
+
import type { FormKitPrimeTreeSelectProps } from './components/PrimeTreeSelect.vue'
|
|
26
|
+
import type { FormKitPrimeTriStateCheckboxProps } from './components/PrimeTriStateCheckbox.vue'
|
|
27
|
+
import type { FormKitPrimeAutoCompleteProps } from './components/PrimeAutoComplete.vue'
|
|
28
|
+
|
|
29
|
+
interface FormKitInputProps<Props extends FormKitInputs<Props>> {
|
|
30
|
+
primeAutoComplete: FormKitPrimeAutoCompleteProps
|
|
31
|
+
primeCalendar: FormKitPrimeCalendarProps
|
|
32
|
+
primeCascadeSelect: FormKitPrimeCascadeSelectProps
|
|
33
|
+
primeCheckbox: FormKitPrimeCheckboxProps
|
|
34
|
+
primeChips: FormKitPrimeChipsProps
|
|
35
|
+
primeColorPicker: FormKitPrimeColorPickerProps
|
|
36
|
+
primeDropdown: FormKitPrimeDropdownProps
|
|
37
|
+
primeEditor: FormKitPrimeEditorProps
|
|
38
|
+
primeInputMask: FormKitPrimeInputMaskProps
|
|
39
|
+
primeInputNumber: FormKitPrimeInputNumberProps
|
|
40
|
+
primeInputSwitch: FormKitPrimeInputSwitchProps
|
|
41
|
+
primeInputText: FormKitPrimeInputTextProps
|
|
42
|
+
primeKnob: FormKitPrimeKnobProps
|
|
43
|
+
primeListbox: FormKitPrimeListboxProps
|
|
44
|
+
primeMultiSelect: FormKitPrimeMultiSelectProps
|
|
45
|
+
primePassword: FormKitPrimePasswordProps
|
|
46
|
+
primeRadioButton: FormKitPrimeRadioButtonProps
|
|
47
|
+
primeRating: FormKitPrimeRatingProps
|
|
48
|
+
primeSelectButton: FormKitPrimeSelectButtonProps
|
|
49
|
+
primeSlider: FormKitPrimeSliderProps
|
|
50
|
+
primeTextarea: FormKitPrimeTextareaProps
|
|
51
|
+
primeToggleButton: FormKitPrimeToggleButtonProps
|
|
52
|
+
primeTreeSelect: FormKitPrimeTreeSelectProps
|
|
53
|
+
primeTriStateCheckbox: FormKitPrimeTriStateCheckboxProps
|
|
54
|
+
}
|
|
55
|
+
}
|
package/dist/index.js
CHANGED
|
@@ -47,76 +47,76 @@ const install = {
|
|
|
47
47
|
};
|
|
48
48
|
module.exports = install;
|
|
49
49
|
const primeAutoCompleteDefinition = exports.primeAutoCompleteDefinition = (0, _vue.createInput)(_PrimeAutoComplete.default, {
|
|
50
|
-
props: []
|
|
50
|
+
props: ["pt", "ptOptions", "unstyled", "dropdown", "multiple"]
|
|
51
51
|
});
|
|
52
52
|
const primeInputTextDefinition = exports.primeInputTextDefinition = (0, _vue.createInput)(_PrimeInputText.default, {
|
|
53
|
-
props: ["
|
|
53
|
+
props: ["iconRight", "iconLeft", "pt", "ptOptions", "unstyled", "placeholder"]
|
|
54
54
|
});
|
|
55
55
|
const primeInputNumberDefinition = exports.primeInputNumberDefinition = (0, _vue.createInput)(_PrimeInputNumber.default, {
|
|
56
|
-
props: ["
|
|
56
|
+
props: ["useGrouping", "min", "max", "minFractionDigits", "maxFractionDigits", "locale", "mode", "currency", "prefix", "suffix", "showButtons", "buttonLayout", "step", "pt", "ptOptions", "unstyled", "placeholder"]
|
|
57
57
|
});
|
|
58
58
|
const primeInputMaskDefinition = exports.primeInputMaskDefinition = (0, _vue.createInput)(_PrimeInputMask.default, {
|
|
59
|
-
props: []
|
|
59
|
+
props: ["mask", "slotChar", "autoClear", "unmask", "pt", "ptOptions", "unstyled", "invalid", "variant", "iconLeft", "iconRight"]
|
|
60
60
|
});
|
|
61
61
|
const primePasswordDefinition = exports.primePasswordDefinition = (0, _vue.createInput)(_PrimePassword.default, {
|
|
62
|
-
props: ["feedback", "toggleMask"]
|
|
62
|
+
props: ["mediumRegex", "strongRegex", "promptLabel", "weakLabel", "mediumLabel", "strongLabel", "hideIcon", "showIcon", "pt", "ptOptions", "unstyled", "placeholder", "feedback", "toggleMask"]
|
|
63
63
|
});
|
|
64
64
|
const primeTextareaDefinition = exports.primeTextareaDefinition = (0, _vue.createInput)(_PrimeTextarea.default, {
|
|
65
|
-
props: ["rows"]
|
|
65
|
+
props: ["pt", "ptOptions", "unstyled", "autoResize", "rows", "placeholder"]
|
|
66
66
|
});
|
|
67
67
|
const primeCheckboxDefinition = exports.primeCheckboxDefinition = (0, _vue.createInput)(_PrimeCheckbox.default, {
|
|
68
|
-
props: []
|
|
68
|
+
props: ["binary", "trueValue", "falseValue", "pt", "ptOptions", "unstyled", "labelLeft", "labelRight"]
|
|
69
69
|
});
|
|
70
70
|
const primeInputSwitchDefinition = exports.primeInputSwitchDefinition = (0, _vue.createInput)(_PrimeInputSwitch.default, {
|
|
71
|
-
props: []
|
|
71
|
+
props: ["trueValue", "falseValue", "pt", "ptOptions", "unstyled", "labelLeft", "labelRight"]
|
|
72
72
|
});
|
|
73
73
|
const primeEditorDefinition = exports.primeEditorDefinition = (0, _vue.createInput)(_PrimeEditor.default, {
|
|
74
|
-
props: []
|
|
74
|
+
props: ["placeholder", "formats", "modules", "pt", "ptOptions", "unstyled"]
|
|
75
75
|
});
|
|
76
76
|
const primeDropdownDefinition = exports.primeDropdownDefinition = (0, _vue.createInput)(_PrimeDropdown.default, {
|
|
77
|
-
props: []
|
|
77
|
+
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"]
|
|
78
78
|
});
|
|
79
79
|
const primeMultiSelectDefinition = exports.primeMultiSelectDefinition = (0, _vue.createInput)(_PrimeMultiSelect.default, {
|
|
80
|
-
props: []
|
|
80
|
+
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"]
|
|
81
81
|
});
|
|
82
82
|
const primeListboxDefinition = exports.primeListboxDefinition = (0, _vue.createInput)(_PrimeListbox.default, {
|
|
83
|
-
props: []
|
|
83
|
+
props: ["pt", "ptOptions", "unstyled", "options", "optionLabel", "optionValue", "multiple", "filter", "filterIcon", "filterPlaceholder", "filterLocale", "filterMatchMode", "autoOptionFocus", "selectOnFocus"]
|
|
84
84
|
});
|
|
85
85
|
const primeCalendarDefinition = exports.primeCalendarDefinition = (0, _vue.createInput)(_PrimeCalendar.default, {
|
|
86
|
-
props: []
|
|
86
|
+
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"]
|
|
87
87
|
});
|
|
88
88
|
const primeSliderDefinition = exports.primeSliderDefinition = (0, _vue.createInput)(_PrimeSlider.default, {
|
|
89
|
-
props: []
|
|
89
|
+
props: ["pt", "ptOptions", "unstyled", "min", "max", "step", "range", "orientation"]
|
|
90
90
|
});
|
|
91
91
|
const primeRatingDefinition = exports.primeRatingDefinition = (0, _vue.createInput)(_PrimeRating.default, {
|
|
92
|
-
props: []
|
|
92
|
+
props: ["unstyled", "stars", "cancel", "onIcon", "offIcon", "cancelIcon", "ptOptions", "pt"]
|
|
93
93
|
});
|
|
94
94
|
const primeRadioButtonDefinition = exports.primeRadioButtonDefinition = (0, _vue.createInput)(_PrimeRadioButton.default, {
|
|
95
|
-
props: []
|
|
95
|
+
props: ["pt", "ptOptions", "unstyled", "options", "options_class"]
|
|
96
96
|
});
|
|
97
97
|
const primeChipsDefinition = exports.primeChipsDefinition = (0, _vue.createInput)(_PrimeChips.default, {
|
|
98
|
-
props: []
|
|
98
|
+
props: ["allowDuplicate", "addOnBlur", "max", "placeholder", "seperator", "pt", "ptOptions", "unstyled"]
|
|
99
99
|
});
|
|
100
100
|
const primeKnobDefinition = exports.primeKnobDefinition = (0, _vue.createInput)(_PrimeKnob.default, {
|
|
101
|
-
props: []
|
|
101
|
+
props: ["pt", "ptOptions", "unstyled", "min", "max", "step", "size", "strokeWidth", "showValue", "valueColor", "rangeColor", "textColor", "valueTemplate"]
|
|
102
102
|
});
|
|
103
103
|
const primeColorPickerDefinition = exports.primeColorPickerDefinition = (0, _vue.createInput)(_PrimeColorPicker.default, {
|
|
104
|
-
props: []
|
|
104
|
+
props: ["defaultColor", "inline", "format", "pt", "ptOptions", "unstyled"]
|
|
105
105
|
});
|
|
106
106
|
const primeToggleButtonDefinition = exports.primeToggleButtonDefinition = (0, _vue.createInput)(_PrimeToggleButton.default, {
|
|
107
|
-
props: []
|
|
107
|
+
props: ["pt", "ptOptions", "unstyled", "onLabel", "offLabel", "onIcon", "offIcon", "iconPos"]
|
|
108
108
|
});
|
|
109
109
|
const primeSelectButtonDefinition = exports.primeSelectButtonDefinition = (0, _vue.createInput)(_PrimeSelectButton.default, {
|
|
110
|
-
props: []
|
|
110
|
+
props: ["pt", "ptOptions", "unstyled", "optionLabel", "optionValue", "optionDisabled", "multiple", "unselectable", "dataKey", "options"]
|
|
111
111
|
});
|
|
112
112
|
const primeTriStateCheckboxDefinition = exports.primeTriStateCheckboxDefinition = (0, _vue.createInput)(_PrimeTriStateCheckbox.default, {
|
|
113
|
-
props: []
|
|
113
|
+
props: ["pt", "ptOptions", "unstyled", "variant", "labelRight", "labelLeft"]
|
|
114
114
|
});
|
|
115
115
|
const primeCascadeSelectDefinition = exports.primeCascadeSelectDefinition = (0, _vue.createInput)(_PrimeCascadeSelect.default, {
|
|
116
|
-
props: []
|
|
116
|
+
props: ["options", "optionLabel", "optionValue", "optionGroupLabel", "optionGroupChildren", "placeholder", "pt", "ptOptions", "unstyled"]
|
|
117
117
|
});
|
|
118
118
|
const primeTreeSelectDefinition = exports.primeTreeSelectDefinition = (0, _vue.createInput)(_PrimeTreeSelect.default, {
|
|
119
|
-
props: []
|
|
119
|
+
props: ["options", "placeholder", "selectionMode", "pt", "ptOptions", "unstyled", "emptyMessage", "display", "metaKeySelection", "appendTo", "scrollHeight", "panelClass", "variant"]
|
|
120
120
|
});
|
|
121
121
|
const primeInputs = exports.primeInputs = {
|
|
122
122
|
primeAutoComplete: primeAutoCompleteDefinition,
|