@sfxcode/formkit-primevue 2.6.4 → 2.6.5
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/dist/components/PrimeAutoComplete.vue +2 -0
- package/dist/components/PrimeCascadeSelect.vue +2 -1
- package/dist/components/PrimeCheckbox.vue +2 -0
- package/dist/components/PrimeColorPicker.vue +0 -1
- package/dist/components/PrimeDatePicker.vue +2 -1
- package/dist/components/PrimeEditor.vue +0 -1
- package/dist/components/PrimeInputMask.vue +3 -0
- package/dist/components/PrimeInputNumber.vue +2 -1
- package/dist/components/PrimeInputOtp.vue +2 -1
- package/dist/components/PrimeInputText.vue +3 -0
- package/dist/components/PrimeListbox.vue +0 -1
- package/dist/components/PrimeMultiSelect.vue +2 -0
- package/dist/components/PrimePassword.vue +2 -1
- package/dist/components/PrimeRadioButton.vue +2 -0
- package/dist/components/PrimeRating.vue +0 -1
- package/dist/components/PrimeSelect.vue +2 -0
- package/dist/components/PrimeSelectButton.vue +2 -0
- package/dist/components/PrimeSlider.vue +0 -1
- package/dist/components/PrimeTextarea.vue +2 -0
- package/dist/components/PrimeToggleButton.vue +2 -0
- package/dist/components/PrimeTreeSelect.vue +2 -1
- package/dist/definitions/input.js +16 -16
- package/dist/definitions/input.mjs +16 -16
- package/dist/index.d.ts +98 -0
- package/package.json +9 -8
|
@@ -14,6 +14,7 @@ export interface FormKitPrimeAutoCompleteProps {
|
|
|
14
14
|
typeahead?: AutoCompleteProps['typeahead']
|
|
15
15
|
optionLabel?: AutoCompleteProps['optionLabel']
|
|
16
16
|
options?: any[] | undefined
|
|
17
|
+
size?: AutoCompleteProps['size']
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
const props = defineProps({
|
|
@@ -52,6 +53,7 @@ function search(event: AutoCompleteCompleteEvent) {
|
|
|
52
53
|
:tabindex="context?.attrs.tabindex"
|
|
53
54
|
:aria-label="context?.attrs.ariaLabel"
|
|
54
55
|
:aria-labelledby="context?.attrs.ariaLabelledby"
|
|
56
|
+
:size="context?.size ?? undefined"
|
|
55
57
|
:suggestions="suggestions"
|
|
56
58
|
:option-label="context?.optionLabel"
|
|
57
59
|
:dropdown="context?.dropdown ?? false"
|
|
@@ -15,7 +15,7 @@ export interface FormKitPrimeCascadeSelectProps {
|
|
|
15
15
|
pt?: CascadeSelectProps['pt']
|
|
16
16
|
ptOptions?: CascadeSelectProps['ptOptions']
|
|
17
17
|
unstyled?: CascadeSelectProps['unstyled']
|
|
18
|
-
|
|
18
|
+
size?: CascadeSelectProps['size']
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
const props = defineProps({
|
|
@@ -41,6 +41,7 @@ const { validSlotNames, unstyled, isInvalid, handleInput, handleBlur } = useForm
|
|
|
41
41
|
:tabindex="context?.attrs.tabindex"
|
|
42
42
|
:aria-label="context?.attrs.ariaLabel"
|
|
43
43
|
:aria-labelledby="context?.attrs.ariaLabelledby"
|
|
44
|
+
:size="context?.size ?? undefined"
|
|
44
45
|
:options="context?.options"
|
|
45
46
|
:option-label="context?.optionLabel"
|
|
46
47
|
:option-value="context.optionValue"
|
|
@@ -14,6 +14,7 @@ export interface FormKitPrimeCheckboxProps {
|
|
|
14
14
|
unstyled?: CheckboxProps['unstyled']
|
|
15
15
|
indeterminate?: CheckboxProps['indeterminate']
|
|
16
16
|
variant?: CheckboxProps['variant']
|
|
17
|
+
size?: CheckboxProps['size']
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
const props = defineProps({
|
|
@@ -47,6 +48,7 @@ const generatedId = generateId()
|
|
|
47
48
|
:tabindex="context?.attrs.tabindex"
|
|
48
49
|
:aria-label="context?.attrs.ariaLabel"
|
|
49
50
|
:aria-labelledby="context?.attrs.ariaLabelledby"
|
|
51
|
+
:size="context?.size ?? undefined"
|
|
50
52
|
:indeterminate="context.indeterminate ?? undefined"
|
|
51
53
|
:binary="context.binary ?? true"
|
|
52
54
|
:variant="context.variant ?? 'outlined'"
|
|
@@ -49,7 +49,7 @@ export interface FormKitPrimeDatePickerProps {
|
|
|
49
49
|
pt?: DatePickerProps['pt']
|
|
50
50
|
ptOptions?: DatePickerProps['ptOptions']
|
|
51
51
|
unstyled?: DatePickerProps['unstyled']
|
|
52
|
-
|
|
52
|
+
size?: DatePickerProps['size']
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
const props = defineProps({
|
|
@@ -93,6 +93,7 @@ function handleSelect(e: any) {
|
|
|
93
93
|
:tabindex="context?.attrs.tabindex"
|
|
94
94
|
:aria-label="context?.attrs.ariaLabel"
|
|
95
95
|
:aria-labelledby="context?.attrs.ariaLabelledby"
|
|
96
|
+
:size="context?.size ?? undefined"
|
|
96
97
|
:date-format="context?.dateFormat"
|
|
97
98
|
:placeholder="context?.placeholder"
|
|
98
99
|
:selection-mode="context?.selectionMode ?? 'single'"
|
|
@@ -17,6 +17,7 @@ export interface FormKitPrimeInputMaskProps {
|
|
|
17
17
|
unstyled?: InputMaskProps['unstyled']
|
|
18
18
|
invalid?: InputMaskProps['invalid']
|
|
19
19
|
variant?: InputMaskProps['variant']
|
|
20
|
+
size?: InputMaskProps['size']
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
const props = defineProps({
|
|
@@ -45,6 +46,7 @@ const { hasPrefixIcon, hasSuffixIcon } = useFormKitSection(props.context)
|
|
|
45
46
|
:tabindex="context?.attrs.tabindex"
|
|
46
47
|
:aria-label="context?.attrs.ariaLabel"
|
|
47
48
|
:aria-labelledby="context?.attrs.ariaLabelledby"
|
|
49
|
+
:size="context?.size ?? undefined"
|
|
48
50
|
:mask="context.mask ?? undefined"
|
|
49
51
|
:slot-char="context.slotChar ?? '_'"
|
|
50
52
|
:auto-clear="context.autoClear ?? true"
|
|
@@ -70,6 +72,7 @@ const { hasPrefixIcon, hasSuffixIcon } = useFormKitSection(props.context)
|
|
|
70
72
|
:tabindex="context?.attrs.tabindex"
|
|
71
73
|
:aria-label="context?.attrs.ariaLabel"
|
|
72
74
|
:aria-labelledby="context?.attrs.ariaLabelledby"
|
|
75
|
+
:size="context?.size ?? undefined"
|
|
73
76
|
:mask="context.mask ?? undefined"
|
|
74
77
|
:slot-char="context.slotChar ?? '_'"
|
|
75
78
|
:auto-clear="context.autoClear ?? true"
|
|
@@ -24,7 +24,7 @@ export interface FormKitPrimeInputNumberProps {
|
|
|
24
24
|
ptOptions?: InputNumberProps['ptOptions']
|
|
25
25
|
unstyled?: InputNumberProps['unstyled']
|
|
26
26
|
placeholder?: InputNumberProps['placeholder']
|
|
27
|
-
|
|
27
|
+
size?: InputNumberProps['size']
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
const props = defineProps({
|
|
@@ -80,6 +80,7 @@ watch(
|
|
|
80
80
|
:tabindex="context?.attrs.tabindex"
|
|
81
81
|
:aria-label="context?.attrs.ariaLabel"
|
|
82
82
|
:aria-labelledby="context?.attrs.ariaLabelledby"
|
|
83
|
+
:size="context?.size ?? undefined"
|
|
83
84
|
:placeholder="context.placeholder"
|
|
84
85
|
:use-grouping="context.useGrouping ?? true"
|
|
85
86
|
:min="context.min ?? undefined"
|
|
@@ -13,7 +13,7 @@ export interface FormKitPrimeInputOtpProps {
|
|
|
13
13
|
variant?: InputOtpProps['variant']
|
|
14
14
|
mask?: InputOtpProps['mask']
|
|
15
15
|
integerOnly?: InputOtpProps['integerOnly']
|
|
16
|
-
|
|
16
|
+
size?: InputOtpProps['size']
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
const props = defineProps({
|
|
@@ -40,6 +40,7 @@ const { validSlotNames, unstyled, isInvalid, handleBlur, handleInput } = useForm
|
|
|
40
40
|
:tabindex="context?.attrs.tabindex"
|
|
41
41
|
:aria-label="context?.attrs.ariaLabel"
|
|
42
42
|
:aria-labelledby="context?.attrs.ariaLabelledby"
|
|
43
|
+
:size="context?.size ?? undefined"
|
|
43
44
|
:length="context.length"
|
|
44
45
|
:variant="context.variant"
|
|
45
46
|
:mask="context.mask"
|
|
@@ -12,6 +12,7 @@ export interface FormKitPrimeInputTextProps {
|
|
|
12
12
|
ptOptions?: InputTextProps['ptOptions']
|
|
13
13
|
unstyled?: InputTextProps['unstyled']
|
|
14
14
|
placeholder?: InputTextProps['placeholder']
|
|
15
|
+
size?: InputTextProps['size']
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
const props = defineProps({
|
|
@@ -41,6 +42,7 @@ const { hasPrefixIcon, hasSuffixIcon } = useFormKitSection(props.context)
|
|
|
41
42
|
:tabindex="context?.attrs.tabindex"
|
|
42
43
|
:aria-label="context?.attrs.ariaLabel"
|
|
43
44
|
:aria-labelledby="context?.attrs.ariaLabelledby"
|
|
45
|
+
:size="context?.size ?? undefined"
|
|
44
46
|
:placeholder="context.placeholder"
|
|
45
47
|
:pt="context.pt"
|
|
46
48
|
:pt-options="context.ptOptions"
|
|
@@ -63,6 +65,7 @@ const { hasPrefixIcon, hasSuffixIcon } = useFormKitSection(props.context)
|
|
|
63
65
|
:tabindex="context?.attrs.tabindex"
|
|
64
66
|
:aria-label="context?.attrs.ariaLabel"
|
|
65
67
|
:aria-labelledby="context?.attrs.ariaLabelledby"
|
|
68
|
+
:size="context?.size ?? undefined"
|
|
66
69
|
:placeholder="context.placeholder"
|
|
67
70
|
:pt="context.pt"
|
|
68
71
|
:pt-options="context.ptOptions"
|
|
@@ -40,6 +40,7 @@ export interface FormKitPrimeMultiSelectProps {
|
|
|
40
40
|
placeholder?: MultiSelectProps['placeholder']
|
|
41
41
|
ptOptions?: MultiSelectProps['ptOptions']
|
|
42
42
|
unstyled?: MultiSelectProps['unstyled']
|
|
43
|
+
size?: MultiSelectProps['size']
|
|
43
44
|
|
|
44
45
|
}
|
|
45
46
|
|
|
@@ -67,6 +68,7 @@ const { validSlotNames, unstyled, isInvalid, handleBlur, handleChange } = useFor
|
|
|
67
68
|
:tabindex="context?.attrs.tabindex"
|
|
68
69
|
:aria-label="context?.attrs.ariaLabel"
|
|
69
70
|
:aria-labelledby="context?.attrs.ariaLabelledby"
|
|
71
|
+
:size="context?.size ?? undefined"
|
|
70
72
|
:placeholder="context.placeholder"
|
|
71
73
|
:options="context.options"
|
|
72
74
|
:option-label="context.optionLabel"
|
|
@@ -20,7 +20,7 @@ export interface FormKitPrimePasswordProps {
|
|
|
20
20
|
placeholder?: PasswordProps['placeholder']
|
|
21
21
|
feedback?: PasswordProps['feedback']
|
|
22
22
|
toggleMask?: PasswordProps['toggleMask']
|
|
23
|
-
|
|
23
|
+
size?: PasswordProps['size']
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
const props = defineProps({
|
|
@@ -47,6 +47,7 @@ const { validSlotNames, unstyled, isInvalid, handleInput, handleBlur } = useForm
|
|
|
47
47
|
:tabindex="context?.attrs.tabindex"
|
|
48
48
|
:aria-label="context?.attrs.ariaLabel"
|
|
49
49
|
:aria-labelledby="context?.attrs.ariaLabelledby"
|
|
50
|
+
:size="context?.size ?? undefined"
|
|
50
51
|
:placeholder="context.placeholder"
|
|
51
52
|
:medium-regex="context.mediumRegex ?? '^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})'"
|
|
52
53
|
:strong-regex="context.strongRegex ?? '^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})'"
|
|
@@ -9,6 +9,7 @@ export interface FormKitPrimeRadioButtonProps {
|
|
|
9
9
|
pt?: RadioButtonProps['pt']
|
|
10
10
|
ptOptions?: RadioButtonProps['ptOptions']
|
|
11
11
|
unstyled?: RadioButtonProps['unstyled']
|
|
12
|
+
size?: RadioButtonProps['size']
|
|
12
13
|
options?: { label: string, value: any }[]
|
|
13
14
|
optionsClass?: string
|
|
14
15
|
optionClass?: string
|
|
@@ -38,6 +39,7 @@ const { unstyled, isInvalid, handleChange, handleBlur } = useFormKitInput(props.
|
|
|
38
39
|
:input-style="context?.attrs.style"
|
|
39
40
|
:input-class="context?.attrs?.class"
|
|
40
41
|
:invalid="isInvalid"
|
|
42
|
+
:size="context?.size ?? undefined"
|
|
41
43
|
:pt="context.pt"
|
|
42
44
|
:pt-options="context.ptOptions"
|
|
43
45
|
:unstyled="unstyled"
|
|
@@ -37,6 +37,7 @@ export interface FormKitPrimeSelectProps {
|
|
|
37
37
|
pt?: SelectProps['pt']
|
|
38
38
|
ptOptions?: SelectProps['ptOptions']
|
|
39
39
|
unstyled?: SelectProps['unstyled']
|
|
40
|
+
size?: SelectProps['size']
|
|
40
41
|
|
|
41
42
|
}
|
|
42
43
|
|
|
@@ -67,6 +68,7 @@ const { validSlotNames, unstyled, isInvalid, handleInput, handleBlur } = useForm
|
|
|
67
68
|
:tabindex="context?.attrs.tabindex"
|
|
68
69
|
:aria-label="context?.attrs.ariaLabel"
|
|
69
70
|
:aria-labelledby="context?.attrs.ariaLabelledby"
|
|
71
|
+
:size="context?.size ?? undefined"
|
|
70
72
|
:options="context.options"
|
|
71
73
|
:option-label="context.optionLabel"
|
|
72
74
|
:option-value="context.optionValue"
|
|
@@ -15,6 +15,7 @@ export interface FormKitPrimeSelectButtonProps {
|
|
|
15
15
|
multiple?: SelectButtonProps['multiple']
|
|
16
16
|
dataKey?: SelectButtonProps['dataKey']
|
|
17
17
|
options?: SelectButtonProps['options']
|
|
18
|
+
size?: SelectButtonProps['size']
|
|
18
19
|
|
|
19
20
|
}
|
|
20
21
|
|
|
@@ -42,6 +43,7 @@ const { validSlotNames, unstyled, isInvalid, handleChange, handleBlur } = useFor
|
|
|
42
43
|
:tabindex="context?.attrs.tabindex"
|
|
43
44
|
:aria-label="context?.attrs.ariaLabel"
|
|
44
45
|
:aria-labelledby="context?.attrs.ariaLabelledby"
|
|
46
|
+
:size="context?.size ?? undefined"
|
|
45
47
|
:options="context.options"
|
|
46
48
|
:option-label="context.optionLabel"
|
|
47
49
|
:option-value="context.optionValue"
|
|
@@ -12,6 +12,7 @@ export interface FormKitPrimeTextareaProps {
|
|
|
12
12
|
autoResize?: TextareaProps['autoResize']
|
|
13
13
|
rows?: TextareaProps['rows']
|
|
14
14
|
placeholder?: TextareaProps['placeholder']
|
|
15
|
+
size?: TextareaProps['size']
|
|
15
16
|
|
|
16
17
|
}
|
|
17
18
|
|
|
@@ -39,6 +40,7 @@ const { unstyled, isInvalid, handleInput, handleBlur } = useFormKitInput(props.c
|
|
|
39
40
|
:tabindex="context?.attrs.tabindex"
|
|
40
41
|
:aria-label="context?.attrs.ariaLabel"
|
|
41
42
|
:aria-labelledby="context?.attrs.ariaLabelledby"
|
|
43
|
+
:size="context?.size ?? undefined"
|
|
42
44
|
:placeholder="context.placeholder"
|
|
43
45
|
:rows="context.rows ?? 3"
|
|
44
46
|
:auto-resize="context.autoResize ?? false"
|
|
@@ -14,6 +14,7 @@ export interface FormKitPrimeToggleButtonProps {
|
|
|
14
14
|
onIcon?: ToggleButtonProps['onIcon']
|
|
15
15
|
offIcon?: ToggleButtonProps['offIcon']
|
|
16
16
|
iconPos?: ToggleButtonProps['iconPos']
|
|
17
|
+
size?: ToggleButtonProps['size']
|
|
17
18
|
|
|
18
19
|
}
|
|
19
20
|
|
|
@@ -41,6 +42,7 @@ const { validSlotNames, unstyled, isInvalid, handleChange, handleBlur } = useFor
|
|
|
41
42
|
:tabindex="context?.attrs.tabindex"
|
|
42
43
|
:aria-label="context?.attrs.ariaLabel"
|
|
43
44
|
:aria-labelledby="context?.attrs.ariaLabelledby"
|
|
45
|
+
:size="context?.size ?? undefined"
|
|
44
46
|
:on-label="context.onLabel ?? 'Yes'"
|
|
45
47
|
:off-label="context.offLabel ?? 'No'"
|
|
46
48
|
:on-icon="context.onIcon"
|
|
@@ -19,7 +19,7 @@ export interface FormKitPrimeTreeSelectProps {
|
|
|
19
19
|
scrollHeight?: TreeSelectProps['scrollHeight']
|
|
20
20
|
panelClass?: TreeSelectProps['panelClass']
|
|
21
21
|
variant?: TreeSelectProps['variant']
|
|
22
|
-
|
|
22
|
+
size?: TreeSelectProps['size']
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
const props = defineProps({
|
|
@@ -46,6 +46,7 @@ const { validSlotNames, unstyled, isInvalid, handleInput, handleBlur } = useForm
|
|
|
46
46
|
:tabindex="context?.attrs.tabindex"
|
|
47
47
|
:aria-label="context?.attrs.ariaLabel"
|
|
48
48
|
:aria-labelledby="context?.attrs.ariaLabelledby"
|
|
49
|
+
:size="context?.size ?? undefined"
|
|
49
50
|
:options="context?.options"
|
|
50
51
|
:placeholder="context.placeholder"
|
|
51
52
|
:selection-mode="context.selectionMode"
|
|
@@ -30,46 +30,46 @@ var _PrimeToggleSwitch = _interopRequireDefault(require("../components/PrimeTogg
|
|
|
30
30
|
var _PrimeTreeSelect = _interopRequireDefault(require("../components/PrimeTreeSelect.vue"));
|
|
31
31
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
32
32
|
const primeAutoCompleteDefinition = exports.primeAutoCompleteDefinition = (0, _vue.createInput)(_PrimeAutoComplete.default, {
|
|
33
|
-
props: ["pt", "ptOptions", "unstyled", "Select", "multiple", "typeahead", "optionLabel", "options"]
|
|
33
|
+
props: ["pt", "ptOptions", "unstyled", "Select", "multiple", "typeahead", "optionLabel", "options", "size"]
|
|
34
34
|
});
|
|
35
35
|
const primeInputTextDefinition = exports.primeInputTextDefinition = (0, _vue.createInput)(_PrimeInputText.default, {
|
|
36
|
-
props: ["pt", "ptOptions", "unstyled", "placeholder", "iconPrefix", "iconSuffix"]
|
|
36
|
+
props: ["pt", "ptOptions", "unstyled", "placeholder", "iconPrefix", "iconSuffix", "size"]
|
|
37
37
|
});
|
|
38
38
|
const primeInputNumberDefinition = exports.primeInputNumberDefinition = (0, _vue.createInput)(_PrimeInputNumber.default, {
|
|
39
|
-
props: ["useGrouping", "min", "max", "minFractionDigits", "maxFractionDigits", "locale", "mode", "currency", "prefix", "suffix", "showButtons", "buttonLayout", "step", "pt", "ptOptions", "unstyled", "placeholder"]
|
|
39
|
+
props: ["useGrouping", "min", "max", "minFractionDigits", "maxFractionDigits", "locale", "mode", "currency", "prefix", "suffix", "showButtons", "buttonLayout", "step", "pt", "ptOptions", "unstyled", "placeholder", "size"]
|
|
40
40
|
});
|
|
41
41
|
const primeInputMaskDefinition = exports.primeInputMaskDefinition = (0, _vue.createInput)(_PrimeInputMask.default, {
|
|
42
|
-
props: ["mask", "slotChar", "autoClear", "unmask", "pt", "ptOptions", "unstyled", "invalid", "variant", "iconPrefix", "iconSuffix"]
|
|
42
|
+
props: ["mask", "slotChar", "autoClear", "unmask", "pt", "ptOptions", "unstyled", "invalid", "variant", "iconPrefix", "iconSuffix", "size"]
|
|
43
43
|
});
|
|
44
44
|
const primePasswordDefinition = exports.primePasswordDefinition = (0, _vue.createInput)(_PrimePassword.default, {
|
|
45
|
-
props: ["mediumRegex", "strongRegex", "promptLabel", "weakLabel", "mediumLabel", "strongLabel", "hideIcon", "showIcon", "pt", "ptOptions", "unstyled", "placeholder", "feedback", "toggleMask"]
|
|
45
|
+
props: ["mediumRegex", "strongRegex", "promptLabel", "weakLabel", "mediumLabel", "strongLabel", "hideIcon", "showIcon", "pt", "ptOptions", "unstyled", "placeholder", "feedback", "toggleMask", "size"]
|
|
46
46
|
});
|
|
47
47
|
const primeTextareaDefinition = exports.primeTextareaDefinition = (0, _vue.createInput)(_PrimeTextarea.default, {
|
|
48
|
-
props: ["pt", "ptOptions", "unstyled", "autoResize", "rows", "placeholder"]
|
|
48
|
+
props: ["pt", "ptOptions", "unstyled", "autoResize", "rows", "placeholder", "size"]
|
|
49
49
|
});
|
|
50
50
|
const primeCheckboxDefinition = exports.primeCheckboxDefinition = (0, _vue.createInput)(_PrimeCheckbox.default, {
|
|
51
|
-
props: ["binary", "trueValue", "falseValue", "pt", "ptOptions", "unstyled", "indeterminate", "variant", "prefix", "suffix"]
|
|
51
|
+
props: ["binary", "trueValue", "falseValue", "pt", "ptOptions", "unstyled", "indeterminate", "variant", "prefix", "suffix", "size"]
|
|
52
52
|
});
|
|
53
53
|
const primeToggleSwitchDefinition = exports.primeToggleSwitchDefinition = (0, _vue.createInput)(_PrimeToggleSwitch.default, {
|
|
54
54
|
props: ["trueValue", "falseValue", "pt", "ptOptions", "unstyled", "prefix", "suffix"]
|
|
55
55
|
});
|
|
56
56
|
const primeInputOtpDefinition = exports.primeInputOtpDefinition = (0, _vue.createInput)(_PrimeInputOtp.default, {
|
|
57
|
-
props: ["length", "variant", "mask", "integerOnly", "pt", "ptOptions", "unstyled"]
|
|
57
|
+
props: ["length", "variant", "mask", "integerOnly", "pt", "ptOptions", "unstyled", "size"]
|
|
58
58
|
});
|
|
59
59
|
const primeEditorDefinition = exports.primeEditorDefinition = (0, _vue.createInput)(_PrimeEditor.default, {
|
|
60
60
|
props: ["placeholder", "formats", "modules", "pt", "ptOptions", "unstyled"]
|
|
61
61
|
});
|
|
62
62
|
const primeSelectDefinition = exports.primeSelectDefinition = (0, _vue.createInput)(_PrimeSelect.default, {
|
|
63
|
-
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"]
|
|
63
|
+
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"]
|
|
64
64
|
});
|
|
65
65
|
const primeMultiSelectDefinition = exports.primeMultiSelectDefinition = (0, _vue.createInput)(_PrimeMultiSelect.default, {
|
|
66
|
-
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"]
|
|
66
|
+
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"]
|
|
67
67
|
});
|
|
68
68
|
const primeListboxDefinition = exports.primeListboxDefinition = (0, _vue.createInput)(_PrimeListbox.default, {
|
|
69
69
|
props: ["pt", "ptOptions", "unstyled", "options", "optionLabel", "optionValue", "multiple", "filter", "filterIcon", "filterPlaceholder", "filterLocale", "filterMatchMode", "autoOptionFocus", "selectOnFocus"]
|
|
70
70
|
});
|
|
71
71
|
const primeDatePickerDefinition = exports.primeDatePickerDefinition = (0, _vue.createInput)(_PrimeDatePicker.default, {
|
|
72
|
-
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"]
|
|
72
|
+
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"]
|
|
73
73
|
});
|
|
74
74
|
const primeSliderDefinition = exports.primeSliderDefinition = (0, _vue.createInput)(_PrimeSlider.default, {
|
|
75
75
|
props: ["pt", "ptOptions", "unstyled", "min", "max", "step", "range", "orientation"]
|
|
@@ -78,7 +78,7 @@ const primeRatingDefinition = exports.primeRatingDefinition = (0, _vue.createInp
|
|
|
78
78
|
props: ["unstyled", "stars", "cancel", "onIcon", "offIcon", "cancelIcon", "ptOptions", "pt"]
|
|
79
79
|
});
|
|
80
80
|
const primeRadioButtonDefinition = exports.primeRadioButtonDefinition = (0, _vue.createInput)(_PrimeRadioButton.default, {
|
|
81
|
-
props: ["pt", "ptOptions", "unstyled", "options", "optionsClass", "optionClass"]
|
|
81
|
+
props: ["pt", "ptOptions", "unstyled", "options", "optionsClass", "optionClass", "size"]
|
|
82
82
|
});
|
|
83
83
|
const primeKnobDefinition = exports.primeKnobDefinition = (0, _vue.createInput)(_PrimeKnob.default, {
|
|
84
84
|
props: ["pt", "ptOptions", "unstyled", "min", "max", "step", "size", "strokeWidth", "showValue", "valueColor", "rangeColor", "textColor", "valueTemplate"]
|
|
@@ -87,16 +87,16 @@ const primeColorPickerDefinition = exports.primeColorPickerDefinition = (0, _vue
|
|
|
87
87
|
props: ["defaultColor", "inline", "format", "pt", "ptOptions", "unstyled"]
|
|
88
88
|
});
|
|
89
89
|
const primeToggleButtonDefinition = exports.primeToggleButtonDefinition = (0, _vue.createInput)(_PrimeToggleButton.default, {
|
|
90
|
-
props: ["pt", "ptOptions", "unstyled", "onLabel", "offLabel", "onIcon", "offIcon", "iconPos"]
|
|
90
|
+
props: ["pt", "ptOptions", "unstyled", "onLabel", "offLabel", "onIcon", "offIcon", "iconPos", "size"]
|
|
91
91
|
});
|
|
92
92
|
const primeSelectButtonDefinition = exports.primeSelectButtonDefinition = (0, _vue.createInput)(_PrimeSelectButton.default, {
|
|
93
|
-
props: ["pt", "ptOptions", "unstyled", "optionLabel", "optionValue", "optionDisabled", "multiple", "unselectable", "dataKey", "options"]
|
|
93
|
+
props: ["pt", "ptOptions", "unstyled", "optionLabel", "optionValue", "optionDisabled", "multiple", "unselectable", "dataKey", "options", "size"]
|
|
94
94
|
});
|
|
95
95
|
const primeCascadeSelectDefinition = exports.primeCascadeSelectDefinition = (0, _vue.createInput)(_PrimeCascadeSelect.default, {
|
|
96
|
-
props: ["options", "optionLabel", "optionValue", "optionGroupLabel", "optionGroupChildren", "placeholder", "pt", "ptOptions", "unstyled"]
|
|
96
|
+
props: ["options", "optionLabel", "optionValue", "optionGroupLabel", "optionGroupChildren", "placeholder", "pt", "ptOptions", "unstyled", "size"]
|
|
97
97
|
});
|
|
98
98
|
const primeTreeSelectDefinition = exports.primeTreeSelectDefinition = (0, _vue.createInput)(_PrimeTreeSelect.default, {
|
|
99
|
-
props: ["options", "placeholder", "selectionMode", "pt", "ptOptions", "unstyled", "emptyMessage", "display", "metaKeySelection", "appendTo", "scrollHeight", "panelClass", "variant"]
|
|
99
|
+
props: ["options", "placeholder", "selectionMode", "pt", "ptOptions", "unstyled", "emptyMessage", "display", "metaKeySelection", "appendTo", "scrollHeight", "panelClass", "variant", "size"]
|
|
100
100
|
});
|
|
101
101
|
const primeInputs = exports.primeInputs = {
|
|
102
102
|
primeAutoComplete: primeAutoCompleteDefinition,
|
|
@@ -23,46 +23,46 @@ import PrimeToggleButton from "../components/PrimeToggleButton.vue";
|
|
|
23
23
|
import PrimeToggleSwitch from "../components/PrimeToggleSwitch.vue";
|
|
24
24
|
import PrimeTreeSelect from "../components/PrimeTreeSelect.vue";
|
|
25
25
|
export const primeAutoCompleteDefinition = createInput(PrimeAutoComplete, {
|
|
26
|
-
props: ["pt", "ptOptions", "unstyled", "Select", "multiple", "typeahead", "optionLabel", "options"]
|
|
26
|
+
props: ["pt", "ptOptions", "unstyled", "Select", "multiple", "typeahead", "optionLabel", "options", "size"]
|
|
27
27
|
});
|
|
28
28
|
export const primeInputTextDefinition = createInput(PrimeInputText, {
|
|
29
|
-
props: ["pt", "ptOptions", "unstyled", "placeholder", "iconPrefix", "iconSuffix"]
|
|
29
|
+
props: ["pt", "ptOptions", "unstyled", "placeholder", "iconPrefix", "iconSuffix", "size"]
|
|
30
30
|
});
|
|
31
31
|
export const primeInputNumberDefinition = createInput(PrimeInputNumber, {
|
|
32
|
-
props: ["useGrouping", "min", "max", "minFractionDigits", "maxFractionDigits", "locale", "mode", "currency", "prefix", "suffix", "showButtons", "buttonLayout", "step", "pt", "ptOptions", "unstyled", "placeholder"]
|
|
32
|
+
props: ["useGrouping", "min", "max", "minFractionDigits", "maxFractionDigits", "locale", "mode", "currency", "prefix", "suffix", "showButtons", "buttonLayout", "step", "pt", "ptOptions", "unstyled", "placeholder", "size"]
|
|
33
33
|
});
|
|
34
34
|
export const primeInputMaskDefinition = createInput(PrimeInputMask, {
|
|
35
|
-
props: ["mask", "slotChar", "autoClear", "unmask", "pt", "ptOptions", "unstyled", "invalid", "variant", "iconPrefix", "iconSuffix"]
|
|
35
|
+
props: ["mask", "slotChar", "autoClear", "unmask", "pt", "ptOptions", "unstyled", "invalid", "variant", "iconPrefix", "iconSuffix", "size"]
|
|
36
36
|
});
|
|
37
37
|
export const primePasswordDefinition = createInput(PrimePassword, {
|
|
38
|
-
props: ["mediumRegex", "strongRegex", "promptLabel", "weakLabel", "mediumLabel", "strongLabel", "hideIcon", "showIcon", "pt", "ptOptions", "unstyled", "placeholder", "feedback", "toggleMask"]
|
|
38
|
+
props: ["mediumRegex", "strongRegex", "promptLabel", "weakLabel", "mediumLabel", "strongLabel", "hideIcon", "showIcon", "pt", "ptOptions", "unstyled", "placeholder", "feedback", "toggleMask", "size"]
|
|
39
39
|
});
|
|
40
40
|
export const primeTextareaDefinition = createInput(PrimeTextarea, {
|
|
41
|
-
props: ["pt", "ptOptions", "unstyled", "autoResize", "rows", "placeholder"]
|
|
41
|
+
props: ["pt", "ptOptions", "unstyled", "autoResize", "rows", "placeholder", "size"]
|
|
42
42
|
});
|
|
43
43
|
export const primeCheckboxDefinition = createInput(PrimeCheckbox, {
|
|
44
|
-
props: ["binary", "trueValue", "falseValue", "pt", "ptOptions", "unstyled", "indeterminate", "variant", "prefix", "suffix"]
|
|
44
|
+
props: ["binary", "trueValue", "falseValue", "pt", "ptOptions", "unstyled", "indeterminate", "variant", "prefix", "suffix", "size"]
|
|
45
45
|
});
|
|
46
46
|
export const primeToggleSwitchDefinition = createInput(PrimeToggleSwitch, {
|
|
47
47
|
props: ["trueValue", "falseValue", "pt", "ptOptions", "unstyled", "prefix", "suffix"]
|
|
48
48
|
});
|
|
49
49
|
export const primeInputOtpDefinition = createInput(PrimeInputOtp, {
|
|
50
|
-
props: ["length", "variant", "mask", "integerOnly", "pt", "ptOptions", "unstyled"]
|
|
50
|
+
props: ["length", "variant", "mask", "integerOnly", "pt", "ptOptions", "unstyled", "size"]
|
|
51
51
|
});
|
|
52
52
|
export const primeEditorDefinition = createInput(PrimeEditor, {
|
|
53
53
|
props: ["placeholder", "formats", "modules", "pt", "ptOptions", "unstyled"]
|
|
54
54
|
});
|
|
55
55
|
export const primeSelectDefinition = createInput(PrimeSelect, {
|
|
56
|
-
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"]
|
|
56
|
+
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"]
|
|
57
57
|
});
|
|
58
58
|
export const primeMultiSelectDefinition = createInput(PrimeMultiSelect, {
|
|
59
|
-
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"]
|
|
59
|
+
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"]
|
|
60
60
|
});
|
|
61
61
|
export const primeListboxDefinition = createInput(PrimeListbox, {
|
|
62
62
|
props: ["pt", "ptOptions", "unstyled", "options", "optionLabel", "optionValue", "multiple", "filter", "filterIcon", "filterPlaceholder", "filterLocale", "filterMatchMode", "autoOptionFocus", "selectOnFocus"]
|
|
63
63
|
});
|
|
64
64
|
export const primeDatePickerDefinition = createInput(PrimeDatePicker, {
|
|
65
|
-
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"]
|
|
65
|
+
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"]
|
|
66
66
|
});
|
|
67
67
|
export const primeSliderDefinition = createInput(PrimeSlider, {
|
|
68
68
|
props: ["pt", "ptOptions", "unstyled", "min", "max", "step", "range", "orientation"]
|
|
@@ -71,7 +71,7 @@ export const primeRatingDefinition = createInput(PrimeRating, {
|
|
|
71
71
|
props: ["unstyled", "stars", "cancel", "onIcon", "offIcon", "cancelIcon", "ptOptions", "pt"]
|
|
72
72
|
});
|
|
73
73
|
export const primeRadioButtonDefinition = createInput(PrimeRadioButton, {
|
|
74
|
-
props: ["pt", "ptOptions", "unstyled", "options", "optionsClass", "optionClass"]
|
|
74
|
+
props: ["pt", "ptOptions", "unstyled", "options", "optionsClass", "optionClass", "size"]
|
|
75
75
|
});
|
|
76
76
|
export const primeKnobDefinition = createInput(PrimeKnob, {
|
|
77
77
|
props: ["pt", "ptOptions", "unstyled", "min", "max", "step", "size", "strokeWidth", "showValue", "valueColor", "rangeColor", "textColor", "valueTemplate"]
|
|
@@ -80,16 +80,16 @@ export const primeColorPickerDefinition = createInput(PrimeColorPicker, {
|
|
|
80
80
|
props: ["defaultColor", "inline", "format", "pt", "ptOptions", "unstyled"]
|
|
81
81
|
});
|
|
82
82
|
export const primeToggleButtonDefinition = createInput(PrimeToggleButton, {
|
|
83
|
-
props: ["pt", "ptOptions", "unstyled", "onLabel", "offLabel", "onIcon", "offIcon", "iconPos"]
|
|
83
|
+
props: ["pt", "ptOptions", "unstyled", "onLabel", "offLabel", "onIcon", "offIcon", "iconPos", "size"]
|
|
84
84
|
});
|
|
85
85
|
export const primeSelectButtonDefinition = createInput(PrimeSelectButton, {
|
|
86
|
-
props: ["pt", "ptOptions", "unstyled", "optionLabel", "optionValue", "optionDisabled", "multiple", "unselectable", "dataKey", "options"]
|
|
86
|
+
props: ["pt", "ptOptions", "unstyled", "optionLabel", "optionValue", "optionDisabled", "multiple", "unselectable", "dataKey", "options", "size"]
|
|
87
87
|
});
|
|
88
88
|
export const primeCascadeSelectDefinition = createInput(PrimeCascadeSelect, {
|
|
89
|
-
props: ["options", "optionLabel", "optionValue", "optionGroupLabel", "optionGroupChildren", "placeholder", "pt", "ptOptions", "unstyled"]
|
|
89
|
+
props: ["options", "optionLabel", "optionValue", "optionGroupLabel", "optionGroupChildren", "placeholder", "pt", "ptOptions", "unstyled", "size"]
|
|
90
90
|
});
|
|
91
91
|
export const primeTreeSelectDefinition = createInput(PrimeTreeSelect, {
|
|
92
|
-
props: ["options", "placeholder", "selectionMode", "pt", "ptOptions", "unstyled", "emptyMessage", "display", "metaKeySelection", "appendTo", "scrollHeight", "panelClass", "variant"]
|
|
92
|
+
props: ["options", "placeholder", "selectionMode", "pt", "ptOptions", "unstyled", "emptyMessage", "display", "metaKeySelection", "appendTo", "scrollHeight", "panelClass", "variant", "size"]
|
|
93
93
|
});
|
|
94
94
|
export const primeInputs = {
|
|
95
95
|
primeAutoComplete: primeAutoCompleteDefinition,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,102 @@
|
|
|
1
|
+
import type { FormKitInputs } from '@formkit/inputs';
|
|
1
2
|
import { FormKitDataDebug, FormKitDataEdit, FormKitDataView } from './components';
|
|
2
3
|
import { useFormKitRepeater, useFormKitSchema, useInputEditor, useInputEditorSchema, usePrimeInputs } from './composables';
|
|
3
4
|
import { primeInputs, primeOutputs } from './definitions';
|
|
4
5
|
export { FormKitDataDebug, FormKitDataEdit, FormKitDataView, primeInputs, primeOutputs, useFormKitRepeater, useFormKitSchema, useInputEditor, useInputEditorSchema, usePrimeInputs, };
|
|
6
|
+
declare module '@formkit/inputs' {
|
|
7
|
+
interface FormKitInputProps<Props extends FormKitInputs<Props>> {
|
|
8
|
+
primeAutoComplete: {
|
|
9
|
+
type: 'primeAutoComplete';
|
|
10
|
+
};
|
|
11
|
+
primeInputText: {
|
|
12
|
+
type: 'primeInputText';
|
|
13
|
+
};
|
|
14
|
+
primeInputNumber: {
|
|
15
|
+
type: 'primeInputNumber';
|
|
16
|
+
};
|
|
17
|
+
primeInputMask: {
|
|
18
|
+
type: 'primeInputMask';
|
|
19
|
+
};
|
|
20
|
+
primePassword: {
|
|
21
|
+
type: 'primePassword';
|
|
22
|
+
};
|
|
23
|
+
primeCheckbox: {
|
|
24
|
+
type: 'primeCheckbox';
|
|
25
|
+
};
|
|
26
|
+
primeToggleSwitch: {
|
|
27
|
+
type: 'primeToggleSwitch';
|
|
28
|
+
};
|
|
29
|
+
primeTextarea: {
|
|
30
|
+
type: 'primeTextarea';
|
|
31
|
+
};
|
|
32
|
+
primeEditor: {
|
|
33
|
+
type: 'primeEditor';
|
|
34
|
+
};
|
|
35
|
+
primeSelect: {
|
|
36
|
+
type: 'primeSelect';
|
|
37
|
+
};
|
|
38
|
+
primeMultiSelect: {
|
|
39
|
+
type: 'primeMultiSelect';
|
|
40
|
+
};
|
|
41
|
+
primeDatePicker: {
|
|
42
|
+
type: 'primeDatePicker';
|
|
43
|
+
};
|
|
44
|
+
primeSlider: {
|
|
45
|
+
type: 'primeSlider';
|
|
46
|
+
};
|
|
47
|
+
primeKnob: {
|
|
48
|
+
type: 'primeKnob';
|
|
49
|
+
};
|
|
50
|
+
primeRating: {
|
|
51
|
+
type: 'primeRating';
|
|
52
|
+
};
|
|
53
|
+
primeRadioButton: {
|
|
54
|
+
type: 'primeRadioButton';
|
|
55
|
+
};
|
|
56
|
+
primeColorPicker: {
|
|
57
|
+
type: 'primeColorPicker';
|
|
58
|
+
};
|
|
59
|
+
primeToggleButton: {
|
|
60
|
+
type: 'primeToggleButton';
|
|
61
|
+
};
|
|
62
|
+
primeListbox: {
|
|
63
|
+
type: 'primeListbox';
|
|
64
|
+
};
|
|
65
|
+
primeSelectButton: {
|
|
66
|
+
type: 'primeSelectButton';
|
|
67
|
+
};
|
|
68
|
+
primeCascadeSelect: {
|
|
69
|
+
type: 'primeCascadeSelect';
|
|
70
|
+
};
|
|
71
|
+
primeTreeSelect: {
|
|
72
|
+
type: 'primeTreeSelect';
|
|
73
|
+
};
|
|
74
|
+
primeInputOtp: {
|
|
75
|
+
type: 'primeInputOtp';
|
|
76
|
+
};
|
|
77
|
+
primeOutputText: {
|
|
78
|
+
type: 'primeOutputText';
|
|
79
|
+
};
|
|
80
|
+
primeOutputLink: {
|
|
81
|
+
type: 'primeOutputLink';
|
|
82
|
+
};
|
|
83
|
+
primeOutputReference: {
|
|
84
|
+
type: 'primeOutputReference';
|
|
85
|
+
};
|
|
86
|
+
primeOutputNumber: {
|
|
87
|
+
type: 'primeOutputNumber';
|
|
88
|
+
};
|
|
89
|
+
primeOutputDate: {
|
|
90
|
+
type: 'primeOutputDate';
|
|
91
|
+
};
|
|
92
|
+
primeOutputBoolean: {
|
|
93
|
+
type: 'primeOutputBoolean';
|
|
94
|
+
};
|
|
95
|
+
primeOutputDuration: {
|
|
96
|
+
type: 'primeOutputDuration';
|
|
97
|
+
};
|
|
98
|
+
primeOutputList: {
|
|
99
|
+
type: 'primeOutputList';
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sfxcode/formkit-primevue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.6.
|
|
4
|
+
"version": "2.6.5",
|
|
5
5
|
"packageManager": "pnpm@9.12.1+sha256.91452fdfa46234ae447d46d5c4fc4e7e0a7058f90495c4b6f77f8beebbb154e3",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Tom",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"dev:build": "vite build dev",
|
|
74
74
|
"dev:preview": "vite preview dev",
|
|
75
75
|
"release": "npm run lint && npm run build && changelogen --patch --release && npm publish --access public && git push --follow-tags",
|
|
76
|
-
"lint": "eslint
|
|
76
|
+
"lint": "eslint .",
|
|
77
77
|
"lint:fix": "eslint . --fix",
|
|
78
78
|
"prepublishOnly": "pnpm build",
|
|
79
79
|
"docs:dev": "vitepress dev docs",
|
|
@@ -90,6 +90,7 @@
|
|
|
90
90
|
"@formkit/addons": "^1.6.7",
|
|
91
91
|
"@formkit/drag-and-drop": "^0.2.5",
|
|
92
92
|
"@formkit/i18n": "^1.6.7",
|
|
93
|
+
"@formkit/inputs": "^1.6.7",
|
|
93
94
|
"@formkit/vue": "^1.6.7",
|
|
94
95
|
"@intlify/core": "9.14.1",
|
|
95
96
|
"primeicons": "^7.0.0",
|
|
@@ -102,10 +103,10 @@
|
|
|
102
103
|
"@antfu/eslint-config": "^3.8.0",
|
|
103
104
|
"@formkit/core": "^1.6.7",
|
|
104
105
|
"@primevue/themes": "^4.2.1",
|
|
105
|
-
"@types/node": "^22.
|
|
106
|
+
"@types/node": "^22.9.0",
|
|
106
107
|
"@types/uuid": "^10.0.0",
|
|
107
|
-
"@unocss/preset-icons": "^0.
|
|
108
|
-
"@unocss/preset-uno": "^0.
|
|
108
|
+
"@unocss/preset-icons": "^0.64.0",
|
|
109
|
+
"@unocss/preset-uno": "^0.64.0",
|
|
109
110
|
"@vitejs/plugin-vue": "^5.1.4",
|
|
110
111
|
"@vitest/coverage-v8": "^2.1.4",
|
|
111
112
|
"@vitest/ui": "^2.1.4",
|
|
@@ -122,7 +123,7 @@
|
|
|
122
123
|
"consola": "^3.2.3",
|
|
123
124
|
"cookie": "^1.0.1",
|
|
124
125
|
"eslint": "^9.14.0",
|
|
125
|
-
"happy-dom": "^15.
|
|
126
|
+
"happy-dom": "^15.11.0",
|
|
126
127
|
"json-editor-vue": "^0.17.3",
|
|
127
128
|
"mkdist": "^1.6.0",
|
|
128
129
|
"quill": "^2.0.2",
|
|
@@ -130,7 +131,7 @@
|
|
|
130
131
|
"tslib": "^2.8.1",
|
|
131
132
|
"typescript": "^5.6.3",
|
|
132
133
|
"unbuild": "2.0.0",
|
|
133
|
-
"unocss": "^0.
|
|
134
|
+
"unocss": "^0.64.0",
|
|
134
135
|
"unplugin-auto-import": "^0.18.3",
|
|
135
136
|
"unplugin-vue-components": "^0.27.4",
|
|
136
137
|
"vite": "^5.4.10",
|
|
@@ -138,7 +139,7 @@
|
|
|
138
139
|
"vite-plugin-eslint": "^1.8.1",
|
|
139
140
|
"vite-plugin-pages": "^0.32.3",
|
|
140
141
|
"vite-ssg": "^0.24.1",
|
|
141
|
-
"vitepress": "^1.
|
|
142
|
+
"vitepress": "^1.5.0",
|
|
142
143
|
"vitest": "^2.1.4",
|
|
143
144
|
"vue": "^3.5.12",
|
|
144
145
|
"vue-demi": "^0.14.10",
|