@sfxcode/formkit-primevue 3.3.0 → 3.3.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.
@@ -21,9 +21,9 @@ function useInputEditor() {
21
21
  }
22
22
  return [key, value];
23
23
  });
24
- tempData = Object.assign({}, ...mapped.map(([key, val]) => ({
25
- [key]: val
26
- })));
24
+ tempData = {
25
+ ...Object.fromEntries(mapped)
26
+ };
27
27
  }
28
28
  const readonlyValue = data.readonly === true ? true : void 0;
29
29
  const disabledValue = data.disabled === true ? true : void 0;
@@ -47,7 +47,7 @@ function useInputEditor() {
47
47
  selectButton: void 0
48
48
  };
49
49
  const useOptions = formkitInput ? primeInputWithOptionNames.map(s => `prime${s}`).includes(formkitInput) : false;
50
- let result = {};
50
+ let result;
51
51
  if (useOptions) {
52
52
  result = {
53
53
  ...data,
@@ -16,7 +16,7 @@ export function useInputEditor() {
16
16
  }
17
17
  return [key, value];
18
18
  });
19
- tempData = Object.assign({}, ...mapped.map(([key, val]) => ({ [key]: val })));
19
+ tempData = { ...Object.fromEntries(mapped) };
20
20
  }
21
21
  const readonlyValue = data.readonly === true ? true : void 0;
22
22
  const disabledValue = data.disabled === true ? true : void 0;
@@ -43,7 +43,7 @@ export function useInputEditor() {
43
43
  selectButton: void 0
44
44
  };
45
45
  const useOptions = formkitInput ? primeInputWithOptionNames.map((s) => `prime${s}`).includes(formkitInput) : false;
46
- let result = {};
46
+ let result;
47
47
  if (useOptions) {
48
48
  result = {
49
49
  ...data,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sfxcode/formkit-primevue",
3
3
  "type": "module",
4
- "version": "3.3.0",
4
+ "version": "3.3.3",
5
5
  "packageManager": "pnpm@10.30.3+sha512.c961d1e0a2d8e354ecaa5166b822516668b7f44cb5bd95122d590dd81922f606f5473b6d23ec4a5be05e7fcd18e8488d47d978bbe981872f1145d06e9a740017",
6
6
  "author": {
7
7
  "name": "Tom",
@@ -75,7 +75,7 @@
75
75
  "dev": "vite serve dev",
76
76
  "dev:build": "vite build dev",
77
77
  "dev:preview": "vite preview dev",
78
- "release": "npm run lint && npm run build && changelogen --minor --release && npm publish --access public && git push --follow-tags",
78
+ "release": "npm run lint && npm run build && changelogen --patch --release && npm publish --access public && git push --follow-tags",
79
79
  "lint": "eslint .",
80
80
  "lint:fix": "eslint . --fix",
81
81
  "prepublishOnly": "pnpm build",
@@ -95,52 +95,52 @@
95
95
  "@formkit/i18n": "^1.7.2",
96
96
  "@formkit/inputs": "^1.7.2",
97
97
  "@formkit/vue": "^1.7.2",
98
- "@intlify/core": "^11.2.8",
98
+ "@intlify/core": "^11.3.0",
99
99
  "primeicons": "^7.0.0",
100
100
  "primevue": "^4.5.4",
101
- "vue-i18n": "^11.2.8"
101
+ "vue-i18n": "^11.3.0"
102
102
  },
103
103
  "devDependencies": {
104
- "@antfu/eslint-config": "^7.6.1",
104
+ "@antfu/eslint-config": "^7.7.2",
105
105
  "@formkit/core": "^1.6.9",
106
106
  "@formkit/drag-and-drop": "^0.5.3",
107
107
  "@primeuix/themes": "^2.0.3",
108
- "@types/node": "^25.3.2",
109
- "@unocss/preset-icons": "66.6.2",
110
- "@unocss/preset-uno": "66.6.2",
111
- "@vitejs/plugin-vue": "^6.0.4",
112
- "@vitest/coverage-v8": "^4.0.18",
113
- "@vitest/ui": "^4.0.18",
114
- "@vue/compiler-sfc": "^3.5.29",
115
- "@vue/server-renderer": "^3.5.29",
108
+ "@types/node": "^25.5.0",
109
+ "@unocss/preset-icons": "66.6.6",
110
+ "@unocss/preset-uno": "66.6.6",
111
+ "@vitejs/plugin-vue": "^6.0.5",
112
+ "@vitest/coverage-v8": "^4.1.0",
113
+ "@vitest/ui": "^4.1.0",
114
+ "@vue/compiler-sfc": "^3.5.30",
115
+ "@vue/server-renderer": "^3.5.30",
116
116
  "@vue/test-utils": "^2.4.6",
117
- "@vue/tsconfig": "^0.8.1",
117
+ "@vue/tsconfig": "^0.9.0",
118
118
  "@vueuse/core": "^14.2.1",
119
119
  "@vueuse/head": "^2.0.0",
120
120
  "changelogen": "^0.6.2",
121
121
  "chart.js": "^4.5.1",
122
122
  "consola": "^3.4.2",
123
123
  "cookie": "^1.1.1",
124
- "esbuild": "^0.27.3",
125
- "eslint": "^10.0.2",
126
- "happy-dom": "^20.7.0",
124
+ "esbuild": "^0.27.4",
125
+ "eslint": "^10.0.3",
126
+ "happy-dom": "^20.8.4",
127
127
  "json-editor-vue": "^0.18.1",
128
128
  "mkdist": "^2.4.1",
129
- "sass": "^1.97.3",
129
+ "sass": "^1.98.0",
130
130
  "tslib": "^2.8.1",
131
131
  "typescript": "^5.9.3",
132
132
  "unbuild": "^3.6.1",
133
- "unocss": "66.6.2",
133
+ "unocss": "66.6.6",
134
134
  "unplugin-auto-import": "^21.0.0",
135
135
  "unplugin-vue-components": "^31.0.0",
136
- "vite": "^7.3.1",
136
+ "vite": "^8.0.0",
137
137
  "vite-plugin-dts": "^4.5.4",
138
138
  "vite-plugin-eslint": "^1.8.1",
139
139
  "vite-plugin-pages": "^0.33.3",
140
140
  "vite-ssg": "^28.3.0",
141
- "vitepress": "2.0.0-alpha.12",
142
- "vitest": "^4.0.18",
143
- "vue": "^3.5.29",
141
+ "vitepress": "2.0.0-alpha.16",
142
+ "vitest": "^4.1.0",
143
+ "vue": "^3.5.30",
144
144
  "vue-demi": "^0.14.10",
145
145
  "vue-router": "^5.0.3",
146
146
  "vue-tsc": "^3.2.5"