@sfxcode/formkit-primevue 2.6.10 → 2.6.11
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.
|
@@ -13,6 +13,7 @@ export interface FormKitPrimeInputTextProps {
|
|
|
13
13
|
unstyled?: InputTextProps['unstyled']
|
|
14
14
|
placeholder?: InputTextProps['placeholder']
|
|
15
15
|
size?: InputTextProps['size']
|
|
16
|
+
inputType?: string | undefined
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
const props = defineProps({
|
|
@@ -34,9 +35,10 @@ const { hasPrefixIcon, hasSuffixIcon } = useFormKitSection(props.context)
|
|
|
34
35
|
:id="context.id"
|
|
35
36
|
v-model="context._value"
|
|
36
37
|
v-bind="context?.attrs"
|
|
38
|
+
:type="context?.attrs?.inputType ?? 'text'"
|
|
37
39
|
:disabled="!!context?.disabled"
|
|
38
40
|
:readonly="context?.attrs.readonly ?? false"
|
|
39
|
-
:style="context?.attrs
|
|
41
|
+
:style="context?.attrs?.style"
|
|
40
42
|
:class="context?.attrs?.class"
|
|
41
43
|
:invalid="isInvalid"
|
|
42
44
|
:tabindex="context?.attrs.tabindex"
|
|
@@ -57,6 +59,7 @@ const { hasPrefixIcon, hasSuffixIcon } = useFormKitSection(props.context)
|
|
|
57
59
|
:id="context.id"
|
|
58
60
|
v-model="context._value"
|
|
59
61
|
v-bind="context?.attrs"
|
|
62
|
+
:type="context?.inputType ?? 'text'"
|
|
60
63
|
:disabled="!!context?.disabled"
|
|
61
64
|
:readonly="context?.attrs.readonly ?? false"
|
|
62
65
|
:style="context?.attrs.style"
|
|
@@ -33,7 +33,7 @@ const primeAutoCompleteDefinition = exports.primeAutoCompleteDefinition = (0, _v
|
|
|
33
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", "size"]
|
|
36
|
+
props: ["pt", "ptOptions", "unstyled", "placeholder", "iconPrefix", "iconSuffix", "size", "inputType"]
|
|
37
37
|
});
|
|
38
38
|
const primeInputNumberDefinition = exports.primeInputNumberDefinition = (0, _vue.createInput)(_PrimeInputNumber.default, {
|
|
39
39
|
props: ["useGrouping", "min", "max", "minFractionDigits", "maxFractionDigits", "locale", "mode", "currency", "prefix", "suffix", "showButtons", "buttonLayout", "step", "pt", "ptOptions", "unstyled", "placeholder", "size"]
|
|
@@ -26,7 +26,7 @@ export const primeAutoCompleteDefinition = createInput(PrimeAutoComplete, {
|
|
|
26
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", "size"]
|
|
29
|
+
props: ["pt", "ptOptions", "unstyled", "placeholder", "iconPrefix", "iconSuffix", "size", "inputType"]
|
|
30
30
|
});
|
|
31
31
|
export const primeInputNumberDefinition = createInput(PrimeInputNumber, {
|
|
32
32
|
props: ["useGrouping", "min", "max", "minFractionDigits", "maxFractionDigits", "locale", "mode", "currency", "prefix", "suffix", "showButtons", "buttonLayout", "step", "pt", "ptOptions", "unstyled", "placeholder", "size"]
|
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.11",
|
|
5
5
|
"packageManager": "pnpm@9.12.1+sha256.91452fdfa46234ae447d46d5c4fc4e7e0a7058f90495c4b6f77f8beebbb154e3",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Tom",
|
|
@@ -100,10 +100,10 @@
|
|
|
100
100
|
"vue-i18n": "9.14.1"
|
|
101
101
|
},
|
|
102
102
|
"devDependencies": {
|
|
103
|
-
"@antfu/eslint-config": "^3.11.
|
|
103
|
+
"@antfu/eslint-config": "^3.11.2",
|
|
104
104
|
"@formkit/core": "^1.6.9",
|
|
105
105
|
"@primevue/themes": "^4.2.4",
|
|
106
|
-
"@types/node": "^22.10.
|
|
106
|
+
"@types/node": "^22.10.1",
|
|
107
107
|
"@types/uuid": "^10.0.0",
|
|
108
108
|
"@unocss/preset-icons": "^0.64.1",
|
|
109
109
|
"@unocss/preset-uno": "^0.64.1",
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"@vue/compiler-sfc": "^3.5.13",
|
|
114
114
|
"@vue/server-renderer": "^3.5.13",
|
|
115
115
|
"@vue/test-utils": "^2.4.6",
|
|
116
|
-
"@vue/tsconfig": "^0.
|
|
116
|
+
"@vue/tsconfig": "^0.7.0",
|
|
117
117
|
"@vuedx/typecheck": "~0.7.6",
|
|
118
118
|
"@vuedx/typescript-plugin-vue": "~0.7.6",
|
|
119
119
|
"@vueuse/core": "^12.0.0",
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
"consola": "^3.2.3",
|
|
124
124
|
"cookie": "^1.0.2",
|
|
125
125
|
"eslint": "^9.15.0",
|
|
126
|
-
"happy-dom": "^15.11.
|
|
126
|
+
"happy-dom": "^15.11.7",
|
|
127
127
|
"json-editor-vue": "^0.17.3",
|
|
128
128
|
"mkdist": "^1.6.0",
|
|
129
129
|
"quill": "^2.0.2",
|