@sfxcode/formkit-primevue 1.11.0 → 1.11.3

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 CHANGED
@@ -22,6 +22,10 @@ app.use(plugin, defaultConfig({
22
22
  }))
23
23
  ```
24
24
 
25
+ ## Limitations
26
+
27
+ Prefixing of the PrimeVue component names is not supported.
28
+
25
29
  ### Schema Helper Functions
26
30
 
27
31
  [useFormKitSchema](https://github.com/sfxcode/formkit-primevue/blob/main/src/composables/useFormKitSchema.ts) provide functions to simplify the usage of elements, components, lists, ...
@@ -53,6 +57,7 @@ Some samples for common tasks are available
53
57
 
54
58
  - [Repeater](https://formkit-primevue.netlify.app/samples/repeater) (with the help of the useFormKitSchema composable)
55
59
  - [Grid](https://formkit-primevue.netlify.app/samples/grid)
60
+ - [Input Editor](https://formkit-primevue.netlify.app/samples/inputEditor) (let you test the configurations in your schema file)
56
61
 
57
62
  ## Showcases
58
63
 
@@ -0,0 +1,19 @@
1
+ declare module '@formkit/inputs' {
2
+ interface FormKitInputProps<Props extends FormKitInputs<Props>> {
3
+ // This key and the `type` should match:
4
+ primeAutoComplete: {
5
+ // Define your input `type`:
6
+ type: 'primeAutoComplete'
7
+ // Define an optional prop. Use camelCase for all prop names:
8
+ myOptionalProp?: string | number
9
+ // Define a required prop
10
+ superImportantProp: number
11
+ // Define the value type, this should always be a optional!
12
+ value?: string | number
13
+ // Use the Prop generic to infer information from another field, notice
14
+ // we a utility "PropType" to infer the type of the `value` from the Props
15
+ // generic:
16
+ someOtherProp?: PropType<Props, 'value'>
17
+ }
18
+ }
19
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sfxcode/formkit-primevue",
3
3
  "type": "module",
4
- "version": "1.11.0",
4
+ "version": "1.11.3",
5
5
  "author": {
6
6
  "name": "Tom",
7
7
  "email": "tom@sfxcode.com"
@@ -81,19 +81,19 @@
81
81
  "vue": "^3.4.0"
82
82
  },
83
83
  "dependencies": {
84
- "@formkit/addons": "^1.6.2",
85
- "@formkit/i18n": "^1.6.2",
86
- "@formkit/vue": "^1.6.2",
84
+ "@formkit/addons": "^1.6.5",
85
+ "@formkit/i18n": "^1.6.5",
86
+ "@formkit/vue": "^1.6.5",
87
87
  "primeicons": "^7.0.0",
88
88
  "primevue": "^3.52.0"
89
89
  },
90
90
  "devDependencies": {
91
- "@antfu/eslint-config": "2.17.0",
92
- "@formkit/core": "^1.6.2",
93
- "@types/node": "^20.12.11",
94
- "@unocss/preset-icons": "0.60.0",
95
- "@unocss/preset-uno": "0.60.0",
96
- "@vitejs/plugin-vue": "^5.0.4",
91
+ "@antfu/eslint-config": "2.19.2",
92
+ "@formkit/core": "^1.6.5",
93
+ "@types/node": "^20.13.0",
94
+ "@unocss/preset-icons": "0.60.4",
95
+ "@unocss/preset-uno": "0.60.4",
96
+ "@vitejs/plugin-vue": "^5.0.5",
97
97
  "@vitest/coverage-v8": "^1.6.0",
98
98
  "@vitest/ui": "^1.6.0",
99
99
  "@vue/compiler-sfc": "^3.4.27",
@@ -102,34 +102,34 @@
102
102
  "@vue/tsconfig": "^0.5.1",
103
103
  "@vuedx/typecheck": "~0.7.6",
104
104
  "@vuedx/typescript-plugin-vue": "~0.7.6",
105
- "@vueuse/core": "^10.9.0",
105
+ "@vueuse/core": "^10.10.0",
106
106
  "@vueuse/head": "^2.0.0",
107
107
  "changelogen": "^0.5.5",
108
- "chart.js": "^4.4.2",
108
+ "chart.js": "^4.4.3",
109
109
  "consola": "^3.2.3",
110
- "eslint": "^9.2.0",
111
- "happy-dom": "^14.10.1",
110
+ "eslint": "^9.4.0",
111
+ "happy-dom": "^14.12.0",
112
112
  "json-editor-vue": "^0.15.1",
113
113
  "mkdist": "^1.5.1",
114
- "quill": "^2.0.1",
115
- "sass": "^1.77.0",
114
+ "quill": "^2.0.2",
115
+ "sass": "^1.77.4",
116
116
  "tslib": "^2.6.2",
117
117
  "typescript": "^5.4.5",
118
118
  "unbuild": "2.0.0",
119
- "unocss": "0.60.0",
120
- "unplugin-auto-import": "^0.17.5",
119
+ "unocss": "0.60.4",
120
+ "unplugin-auto-import": "^0.17.6",
121
121
  "unplugin-vue-components": "^0.27.0",
122
- "vanilla-jsoneditor": "^0.23.3",
123
- "vite": "^5.2.11",
122
+ "vanilla-jsoneditor": "^0.23.5",
123
+ "vite": "^5.2.12",
124
124
  "vite-plugin-dts": "^3.9.1",
125
125
  "vite-plugin-eslint": "^1.8.1",
126
- "vite-plugin-pages": "^0.32.1",
126
+ "vite-plugin-pages": "^0.32.2",
127
127
  "vite-ssg": "^0.23.7",
128
- "vitepress": "1.1.4",
128
+ "vitepress": "1.2.2",
129
129
  "vitest": "^1.6.0",
130
130
  "vue": "^3.4.27",
131
- "vue-demi": "^0.14.7",
131
+ "vue-demi": "^0.14.8",
132
132
  "vue-router": "^4.3.2",
133
- "vue-tsc": "^2.0.16"
133
+ "vue-tsc": "^2.0.19"
134
134
  }
135
135
  }