@sfxcode/formkit-primevue 2.6.6 → 2.6.8

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +12 -0
  2. package/package.json +13 -13
package/dist/index.d.ts CHANGED
@@ -1,4 +1,10 @@
1
1
  import type { FormKitInputs } from '@formkit/inputs';
2
+ import type { CascadeSelectProps } from 'primevue/cascadeselect';
3
+ import type { ListboxProps } from 'primevue/listbox';
4
+ import type { MultiSelectProps } from 'primevue/multiselect';
5
+ import type { SelectProps } from 'primevue/select';
6
+ import type { SelectButtonProps } from 'primevue/selectbutton';
7
+ import type { TreeSelectProps } from 'primevue/treeselect';
2
8
  import { FormKitDataDebug, FormKitDataEdit, FormKitDataView } from './components';
3
9
  import { useFormKitRepeater, useFormKitSchema, useInputEditor, useInputEditorSchema, usePrimeInputs } from './composables';
4
10
  import { primeInputs, primeOutputs } from './definitions';
@@ -34,9 +40,11 @@ declare module '@formkit/inputs' {
34
40
  };
35
41
  primeSelect: {
36
42
  type: 'primeSelect';
43
+ options?: SelectProps['options'];
37
44
  };
38
45
  primeMultiSelect: {
39
46
  type: 'primeMultiSelect';
47
+ options?: MultiSelectProps['options'];
40
48
  };
41
49
  primeDatePicker: {
42
50
  type: 'primeDatePicker';
@@ -61,15 +69,19 @@ declare module '@formkit/inputs' {
61
69
  };
62
70
  primeListbox: {
63
71
  type: 'primeListbox';
72
+ options?: ListboxProps['options'];
64
73
  };
65
74
  primeSelectButton: {
66
75
  type: 'primeSelectButton';
76
+ options?: SelectButtonProps['options'];
67
77
  };
68
78
  primeCascadeSelect: {
69
79
  type: 'primeCascadeSelect';
80
+ options?: CascadeSelectProps['options'];
70
81
  };
71
82
  primeTreeSelect: {
72
83
  type: 'primeTreeSelect';
84
+ options?: TreeSelectProps['options'];
73
85
  };
74
86
  primeInputOtp: {
75
87
  type: 'primeInputOtp';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sfxcode/formkit-primevue",
3
3
  "type": "module",
4
- "version": "2.6.6",
4
+ "version": "2.6.8",
5
5
  "packageManager": "pnpm@9.12.1+sha256.91452fdfa46234ae447d46d5c4fc4e7e0a7058f90495c4b6f77f8beebbb154e3",
6
6
  "author": {
7
7
  "name": "Tom",
@@ -87,11 +87,11 @@
87
87
  "vue": "^3.4.0"
88
88
  },
89
89
  "dependencies": {
90
- "@formkit/addons": "^1.6.8",
90
+ "@formkit/addons": "^1.6.9",
91
91
  "@formkit/drag-and-drop": "^0.2.5",
92
- "@formkit/i18n": "^1.6.8",
93
- "@formkit/inputs": "^1.6.8",
94
- "@formkit/vue": "^1.6.8",
92
+ "@formkit/i18n": "^1.6.9",
93
+ "@formkit/inputs": "^1.6.9",
94
+ "@formkit/vue": "^1.6.9",
95
95
  "@intlify/core": "9.14.1",
96
96
  "primeicons": "^7.0.0",
97
97
  "primevue": "^4.2.2",
@@ -100,8 +100,8 @@
100
100
  "vue-i18n": "9.14.1"
101
101
  },
102
102
  "devDependencies": {
103
- "@antfu/eslint-config": "^3.9.1",
104
- "@formkit/core": "^1.6.8",
103
+ "@antfu/eslint-config": "^3.9.2",
104
+ "@formkit/core": "^1.6.9",
105
105
  "@primevue/themes": "^4.2.2",
106
106
  "@types/node": "^22.9.0",
107
107
  "@types/uuid": "^10.0.0",
@@ -110,10 +110,10 @@
110
110
  "@vitejs/plugin-vue": "^5.2.0",
111
111
  "@vitest/coverage-v8": "^2.1.5",
112
112
  "@vitest/ui": "^2.1.5",
113
- "@vue/compiler-sfc": "^3.5.12",
114
- "@vue/server-renderer": "^3.5.12",
113
+ "@vue/compiler-sfc": "^3.5.13",
114
+ "@vue/server-renderer": "^3.5.13",
115
115
  "@vue/test-utils": "^2.4.6",
116
- "@vue/tsconfig": "^0.5.1",
116
+ "@vue/tsconfig": "^0.6.0",
117
117
  "@vuedx/typecheck": "~0.7.6",
118
118
  "@vuedx/typescript-plugin-vue": "~0.7.6",
119
119
  "@vueuse/core": "^11.2.0",
@@ -122,7 +122,7 @@
122
122
  "chart.js": "^4.4.6",
123
123
  "consola": "^3.2.3",
124
124
  "cookie": "^1.0.1",
125
- "eslint": "^9.14.0",
125
+ "eslint": "^9.15.0",
126
126
  "happy-dom": "^15.11.6",
127
127
  "json-editor-vue": "^0.17.3",
128
128
  "mkdist": "^1.6.0",
@@ -132,7 +132,7 @@
132
132
  "typescript": "^5.6.3",
133
133
  "unbuild": "2.0.0",
134
134
  "unocss": "^0.64.1",
135
- "unplugin-auto-import": "^0.18.4",
135
+ "unplugin-auto-import": "^0.18.5",
136
136
  "unplugin-vue-components": "^0.27.4",
137
137
  "vite": "^5.4.11",
138
138
  "vite-plugin-dts": "^4.3.0",
@@ -141,7 +141,7 @@
141
141
  "vite-ssg": "^0.24.1",
142
142
  "vitepress": "^1.5.0",
143
143
  "vitest": "^2.1.5",
144
- "vue": "^3.5.12",
144
+ "vue": "^3.5.13",
145
145
  "vue-demi": "^0.14.10",
146
146
  "vue-router": "^4.4.5",
147
147
  "vue-tsc": "^2.1.10"