@sfxcode/formkit-primevue 1.8.6 → 1.9.1
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 +16 -5
- package/dist/components/PrimeAutoComplete.vue +38 -12
- package/dist/components/PrimeCalendar.vue +110 -17
- package/dist/components/PrimeCascadeSelect.vue +41 -10
- package/dist/components/PrimeCheckbox.vue +40 -14
- package/dist/components/PrimeChips.vue +36 -12
- package/dist/components/PrimeColorPicker.vue +32 -12
- 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/composables/useFormKitSchema.d.ts +1 -1
- package/dist/composables/useFormKitSchema.js +6 -4
- package/dist/composables/useFormKitSchema.mjs +4 -4
- 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 +14 -13
|
@@ -1,32 +1,60 @@
|
|
|
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 { ToggleButtonProps } from 'primevue/togglebutton'
|
|
5
|
+
|
|
6
|
+
export interface FormKitPrimeToggleButtonProps {
|
|
7
|
+
pt?: ToggleButtonProps['pt']
|
|
8
|
+
ptOptions?: ToggleButtonProps['ptOptions']
|
|
9
|
+
unstyled?: ToggleButtonProps['unstyled']
|
|
10
|
+
onLabel?: ToggleButtonProps['onLabel']
|
|
11
|
+
offLabel?: ToggleButtonProps['offLabel']
|
|
12
|
+
onIcon?: ToggleButtonProps['onIcon']
|
|
13
|
+
offIcon?: ToggleButtonProps['offIcon']
|
|
14
|
+
iconPos?: ToggleButtonProps['iconPos']
|
|
15
|
+
}
|
|
3
16
|
|
|
4
17
|
const props = defineProps({
|
|
5
|
-
context:
|
|
18
|
+
context: {
|
|
19
|
+
type: Object as PropType<FormKitFrameworkContext & FormKitPrimeToggleButtonProps>,
|
|
20
|
+
required: true,
|
|
21
|
+
},
|
|
6
22
|
})
|
|
7
23
|
|
|
8
|
-
|
|
9
|
-
|
|
24
|
+
function handleChange(_: any) {
|
|
25
|
+
props.context?.node.input(props.context?._value)
|
|
26
|
+
}
|
|
10
27
|
|
|
11
|
-
function
|
|
12
|
-
context?.
|
|
28
|
+
function handleBlur(e: Event) {
|
|
29
|
+
props.context?.handlers.blur(e)
|
|
13
30
|
}
|
|
14
|
-
|
|
31
|
+
|
|
32
|
+
const styleClass = computed(() => (props.context?.state.validationVisible && !props.context?.state.valid) ? `${props.context?.attrs?.class} p-invalid` : props.context?.attrs?.class)
|
|
15
33
|
</script>
|
|
16
34
|
|
|
17
35
|
<template>
|
|
18
36
|
<div class="p-formkit">
|
|
19
37
|
<ToggleButton
|
|
20
38
|
v-model="context._value"
|
|
21
|
-
v-bind="attrs"
|
|
39
|
+
v-bind="context?.attrs"
|
|
22
40
|
:input-id="context.id"
|
|
23
|
-
:disabled="
|
|
24
|
-
:readonly="attrs._readonly ?? false"
|
|
25
|
-
:input-style="attrs.style"
|
|
41
|
+
:disabled="!!context?.disabled"
|
|
42
|
+
:readonly="context?.attrs._readonly ?? false"
|
|
43
|
+
:input-style="context?.attrs.style"
|
|
26
44
|
:input-class="styleClass"
|
|
45
|
+
:tabindex="context?.attrs.tabindex"
|
|
46
|
+
:aria-label="context?.attrs.ariaLabel"
|
|
47
|
+
:aria-labelledby="context?.attrs.ariaLabelledby"
|
|
48
|
+
:on-label="context.onLabel ?? 'Yes'"
|
|
49
|
+
:off-label="context.offLabel ?? 'No'"
|
|
27
50
|
:on-icon="context.onIcon ?? 'pi pi-check'"
|
|
28
51
|
:off-icon="context.offIcon ?? 'pi pi-times'"
|
|
52
|
+
:icon-pos="context.iconPos ?? 'left'"
|
|
53
|
+
:pt="context.pt"
|
|
54
|
+
:pt-options="context.ptOptions"
|
|
55
|
+
:unstyled="context.unstyled ?? false"
|
|
29
56
|
@change="handleChange"
|
|
57
|
+
@blur="handleBlur"
|
|
30
58
|
/>
|
|
31
59
|
</div>
|
|
32
60
|
</template>
|
|
@@ -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
|
-
|
|
9
|
-
|
|
29
|
+
function handleInput(_: any) {
|
|
30
|
+
props.context?.node.input(props.context?._value)
|
|
31
|
+
}
|
|
10
32
|
|
|
11
|
-
function
|
|
12
|
-
context?.
|
|
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
|
-
|
|
9
|
-
|
|
22
|
+
function handleChange(_: any) {
|
|
23
|
+
props.context?.node.input(props.context?._value)
|
|
24
|
+
}
|
|
10
25
|
|
|
11
|
-
function
|
|
12
|
-
context?.
|
|
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>
|
|
@@ -48,13 +48,13 @@ function useFormKitSchema() {
|
|
|
48
48
|
children
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
|
-
function addListGroupFunctions(data) {
|
|
51
|
+
function addListGroupFunctions(data, addNodeDefaultObject = {}) {
|
|
52
52
|
const swapElements = (array, index1, index2) => {
|
|
53
53
|
array[index1] = array.splice(index2, 1, array[index1])[0];
|
|
54
54
|
return array;
|
|
55
55
|
};
|
|
56
56
|
data.addNode = node => () => {
|
|
57
|
-
const newArray = [...node.value,
|
|
57
|
+
const newArray = [...node.value, addNodeDefaultObject];
|
|
58
58
|
node.input(newArray, false);
|
|
59
59
|
};
|
|
60
60
|
data.removeNode = (node, index) => () => {
|
|
@@ -68,9 +68,11 @@ function useFormKitSchema() {
|
|
|
68
68
|
const array = [...node.value];
|
|
69
69
|
if (index < array.length - 1) node.input(swapElements(array, index, index + 1), false);
|
|
70
70
|
};
|
|
71
|
-
data.
|
|
71
|
+
data.copyNode = (node, index) => () => {
|
|
72
72
|
const obj = node.value[index];
|
|
73
|
-
const newArray = [...node.value,
|
|
73
|
+
const newArray = [...node.value, {
|
|
74
|
+
...obj
|
|
75
|
+
}];
|
|
74
76
|
node.input(newArray, false);
|
|
75
77
|
};
|
|
76
78
|
}
|
|
@@ -42,13 +42,13 @@ export function useFormKitSchema() {
|
|
|
42
42
|
children
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
|
-
function addListGroupFunctions(data) {
|
|
45
|
+
function addListGroupFunctions(data, addNodeDefaultObject = {}) {
|
|
46
46
|
const swapElements = (array, index1, index2) => {
|
|
47
47
|
array[index1] = array.splice(index2, 1, array[index1])[0];
|
|
48
48
|
return array;
|
|
49
49
|
};
|
|
50
50
|
data.addNode = (node) => () => {
|
|
51
|
-
const newArray = [...node.value,
|
|
51
|
+
const newArray = [...node.value, addNodeDefaultObject];
|
|
52
52
|
node.input(newArray, false);
|
|
53
53
|
};
|
|
54
54
|
data.removeNode = (node, index) => () => {
|
|
@@ -64,9 +64,9 @@ export function useFormKitSchema() {
|
|
|
64
64
|
if (index < array.length - 1)
|
|
65
65
|
node.input(swapElements(array, index, index + 1), false);
|
|
66
66
|
};
|
|
67
|
-
data.
|
|
67
|
+
data.copyNode = (node, index) => () => {
|
|
68
68
|
const obj = node.value[index];
|
|
69
|
-
const newArray = [...node.value, obj];
|
|
69
|
+
const newArray = [...node.value, { ...obj }];
|
|
70
70
|
node.input(newArray, false);
|
|
71
71
|
};
|
|
72
72
|
}
|
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,
|