@sfxcode/formkit-primevue 3.1.1 → 3.1.2
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/FormKitDataEdit.d.vue.ts +6 -18
- package/dist/components/FormKitDataEdit.vue +2 -1
- package/dist/components/FormKitDataEdit.vue.d.ts +6 -18
- package/dist/components/FormKitDataView.d.vue.ts +2 -8
- package/dist/components/FormKitDataView.vue.d.ts +2 -8
- package/package.json +28 -28
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { FormKitSchemaDefinition } from '@formkit/core';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
|
-
declare var
|
|
3
|
+
declare var __VLS_16: {}, __VLS_19: {}, __VLS_28: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
|
-
default?: (props: typeof
|
|
5
|
+
default?: (props: typeof __VLS_16) => any;
|
|
6
6
|
} & {
|
|
7
|
-
messages?: (props: typeof
|
|
7
|
+
messages?: (props: typeof __VLS_19) => any;
|
|
8
8
|
} & {
|
|
9
|
-
submit?: (props: typeof
|
|
9
|
+
submit?: (props: typeof __VLS_28) => any;
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
12
12
|
id: {
|
|
@@ -73,13 +73,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
73
73
|
type: BooleanConstructor;
|
|
74
74
|
default: boolean;
|
|
75
75
|
};
|
|
76
|
-
|
|
77
|
-
type: PropType<any>;
|
|
78
|
-
};
|
|
79
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
80
|
-
dataSaved: (...args: any[]) => void;
|
|
81
|
-
"update:modelValue": (value: any) => void;
|
|
82
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
76
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
83
77
|
id: {
|
|
84
78
|
type: StringConstructor;
|
|
85
79
|
default: string;
|
|
@@ -144,13 +138,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
144
138
|
type: BooleanConstructor;
|
|
145
139
|
default: boolean;
|
|
146
140
|
};
|
|
147
|
-
|
|
148
|
-
type: PropType<any>;
|
|
149
|
-
};
|
|
150
|
-
}>> & Readonly<{
|
|
151
|
-
onDataSaved?: ((...args: any[]) => any) | undefined;
|
|
152
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
153
|
-
}>, {
|
|
141
|
+
}>> & Readonly<{}>, {
|
|
154
142
|
data: Record<string, any>;
|
|
155
143
|
id: string;
|
|
156
144
|
schema: FormKitSchemaDefinition;
|
|
@@ -73,7 +73,7 @@ const props = defineProps({
|
|
|
73
73
|
default: false,
|
|
74
74
|
},
|
|
75
75
|
})
|
|
76
|
-
const emit = defineEmits(['dataSaved'])
|
|
76
|
+
const emit = defineEmits(['dataSaved', 'onReset'])
|
|
77
77
|
|
|
78
78
|
const formData = defineModel<any>()
|
|
79
79
|
|
|
@@ -89,6 +89,7 @@ function handleSave() {
|
|
|
89
89
|
|
|
90
90
|
function handleReset() {
|
|
91
91
|
reset(props.id)
|
|
92
|
+
emit('onReset')
|
|
92
93
|
}
|
|
93
94
|
</script>
|
|
94
95
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { FormKitSchemaDefinition } from '@formkit/core';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
|
-
declare var
|
|
3
|
+
declare var __VLS_16: {}, __VLS_19: {}, __VLS_28: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
|
-
default?: (props: typeof
|
|
5
|
+
default?: (props: typeof __VLS_16) => any;
|
|
6
6
|
} & {
|
|
7
|
-
messages?: (props: typeof
|
|
7
|
+
messages?: (props: typeof __VLS_19) => any;
|
|
8
8
|
} & {
|
|
9
|
-
submit?: (props: typeof
|
|
9
|
+
submit?: (props: typeof __VLS_28) => any;
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
12
12
|
id: {
|
|
@@ -73,13 +73,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
73
73
|
type: BooleanConstructor;
|
|
74
74
|
default: boolean;
|
|
75
75
|
};
|
|
76
|
-
|
|
77
|
-
type: PropType<any>;
|
|
78
|
-
};
|
|
79
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
80
|
-
dataSaved: (...args: any[]) => void;
|
|
81
|
-
"update:modelValue": (value: any) => void;
|
|
82
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
76
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
83
77
|
id: {
|
|
84
78
|
type: StringConstructor;
|
|
85
79
|
default: string;
|
|
@@ -144,13 +138,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
144
138
|
type: BooleanConstructor;
|
|
145
139
|
default: boolean;
|
|
146
140
|
};
|
|
147
|
-
|
|
148
|
-
type: PropType<any>;
|
|
149
|
-
};
|
|
150
|
-
}>> & Readonly<{
|
|
151
|
-
onDataSaved?: ((...args: any[]) => any) | undefined;
|
|
152
|
-
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
153
|
-
}>, {
|
|
141
|
+
}>> & Readonly<{}>, {
|
|
154
142
|
data: Record<string, any>;
|
|
155
143
|
id: string;
|
|
156
144
|
schema: FormKitSchemaDefinition;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { FormKitSchemaDefinition } from '@formkit/core';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
|
-
declare var
|
|
3
|
+
declare var __VLS_13: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
|
-
default?: (props: typeof
|
|
5
|
+
default?: (props: typeof __VLS_13) => any;
|
|
6
6
|
};
|
|
7
7
|
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
8
|
data: {
|
|
@@ -25,9 +25,6 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
25
25
|
type: BooleanConstructor;
|
|
26
26
|
default: boolean;
|
|
27
27
|
};
|
|
28
|
-
modelValue: {
|
|
29
|
-
type: PropType<any>;
|
|
30
|
-
};
|
|
31
28
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
29
|
"update:modelValue": (value: any) => any;
|
|
33
30
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -51,9 +48,6 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
51
48
|
type: BooleanConstructor;
|
|
52
49
|
default: boolean;
|
|
53
50
|
};
|
|
54
|
-
modelValue: {
|
|
55
|
-
type: PropType<any>;
|
|
56
|
-
};
|
|
57
51
|
}>> & Readonly<{
|
|
58
52
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
59
53
|
}>, {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { FormKitSchemaDefinition } from '@formkit/core';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
|
-
declare var
|
|
3
|
+
declare var __VLS_13: {};
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
|
-
default?: (props: typeof
|
|
5
|
+
default?: (props: typeof __VLS_13) => any;
|
|
6
6
|
};
|
|
7
7
|
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
8
|
data: {
|
|
@@ -25,9 +25,6 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
25
25
|
type: BooleanConstructor;
|
|
26
26
|
default: boolean;
|
|
27
27
|
};
|
|
28
|
-
modelValue: {
|
|
29
|
-
type: PropType<any>;
|
|
30
|
-
};
|
|
31
28
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
29
|
"update:modelValue": (value: any) => any;
|
|
33
30
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -51,9 +48,6 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
51
48
|
type: BooleanConstructor;
|
|
52
49
|
default: boolean;
|
|
53
50
|
};
|
|
54
|
-
modelValue: {
|
|
55
|
-
type: PropType<any>;
|
|
56
|
-
};
|
|
57
51
|
}>> & Readonly<{
|
|
58
52
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
59
53
|
}>, {
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sfxcode/formkit-primevue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.1.
|
|
5
|
-
"packageManager": "pnpm@10.
|
|
4
|
+
"version": "3.1.2",
|
|
5
|
+
"packageManager": "pnpm@10.24.0+sha512.01ff8ae71b4419903b65c60fb2dc9d34cf8bb6e06d03bde112ef38f7a34d6904c424ba66bea5cdcf12890230bf39f9580473140ed9c946fef328b6e5238a345a",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Tom",
|
|
8
8
|
"email": "tom@sfxcode.com"
|
|
@@ -92,54 +92,54 @@
|
|
|
92
92
|
"@formkit/i18n": "^1.6.9",
|
|
93
93
|
"@formkit/inputs": "^1.6.9",
|
|
94
94
|
"@formkit/vue": "^1.6.9",
|
|
95
|
-
"@intlify/core": "^11.
|
|
95
|
+
"@intlify/core": "^11.2.2",
|
|
96
96
|
"primeicons": "^7.0.0",
|
|
97
|
-
"primevue": "^4.
|
|
98
|
-
"vue-i18n": "^11.
|
|
97
|
+
"primevue": "^4.5.1",
|
|
98
|
+
"vue-i18n": "^11.2.2"
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
|
-
"@antfu/eslint-config": "^6.
|
|
101
|
+
"@antfu/eslint-config": "^6.3.0",
|
|
102
102
|
"@formkit/core": "^1.6.9",
|
|
103
103
|
"@formkit/drag-and-drop": "^0.5.3",
|
|
104
|
-
"@primeuix/themes": "^
|
|
105
|
-
"@types/node": "^24.
|
|
106
|
-
"@unocss/preset-icons": "66.5.
|
|
107
|
-
"@unocss/preset-uno": "66.5.
|
|
108
|
-
"@vitejs/plugin-vue": "^6.0.
|
|
109
|
-
"@vitest/coverage-v8": "^4.0.
|
|
110
|
-
"@vitest/ui": "^4.0.
|
|
111
|
-
"@vue/compiler-sfc": "^3.5.
|
|
112
|
-
"@vue/server-renderer": "^3.5.
|
|
104
|
+
"@primeuix/themes": "^2.0.2",
|
|
105
|
+
"@types/node": "^24.10.1",
|
|
106
|
+
"@unocss/preset-icons": "66.5.10",
|
|
107
|
+
"@unocss/preset-uno": "66.5.10",
|
|
108
|
+
"@vitejs/plugin-vue": "^6.0.2",
|
|
109
|
+
"@vitest/coverage-v8": "^4.0.15",
|
|
110
|
+
"@vitest/ui": "^4.0.15",
|
|
111
|
+
"@vue/compiler-sfc": "^3.5.25",
|
|
112
|
+
"@vue/server-renderer": "^3.5.25",
|
|
113
113
|
"@vue/test-utils": "^2.4.6",
|
|
114
114
|
"@vue/tsconfig": "^0.8.1",
|
|
115
|
-
"@vueuse/core": "^14.
|
|
115
|
+
"@vueuse/core": "^14.1.0",
|
|
116
116
|
"@vueuse/head": "^2.0.0",
|
|
117
117
|
"changelogen": "^0.6.2",
|
|
118
118
|
"chart.js": "^4.5.1",
|
|
119
119
|
"consola": "^3.4.2",
|
|
120
|
-
"cookie": "^1.
|
|
121
|
-
"esbuild": "^0.
|
|
122
|
-
"eslint": "^9.
|
|
123
|
-
"happy-dom": "^20.0.
|
|
120
|
+
"cookie": "^1.1.1",
|
|
121
|
+
"esbuild": "^0.27.1",
|
|
122
|
+
"eslint": "^9.39.1",
|
|
123
|
+
"happy-dom": "^20.0.11",
|
|
124
124
|
"json-editor-vue": "^0.18.1",
|
|
125
125
|
"mkdist": "^2.4.1",
|
|
126
|
-
"sass": "^1.
|
|
126
|
+
"sass": "^1.94.2",
|
|
127
127
|
"tslib": "^2.8.1",
|
|
128
128
|
"typescript": "^5.9.3",
|
|
129
129
|
"unbuild": "^3.6.1",
|
|
130
|
-
"unocss": "66.5.
|
|
131
|
-
"unplugin-auto-import": "^20.
|
|
130
|
+
"unocss": "66.5.10",
|
|
131
|
+
"unplugin-auto-import": "^20.3.0",
|
|
132
132
|
"unplugin-vue-components": "^30.0.0",
|
|
133
|
-
"vite": "^7.
|
|
133
|
+
"vite": "^7.2.6",
|
|
134
134
|
"vite-plugin-dts": "^4.5.4",
|
|
135
135
|
"vite-plugin-eslint": "^1.8.1",
|
|
136
|
-
"vite-plugin-pages": "^0.33.
|
|
136
|
+
"vite-plugin-pages": "^0.33.2",
|
|
137
137
|
"vite-ssg": "^28.2.2",
|
|
138
138
|
"vitepress": "2.0.0-alpha.12",
|
|
139
|
-
"vitest": "^4.0.
|
|
140
|
-
"vue": "^3.5.
|
|
139
|
+
"vitest": "^4.0.15",
|
|
140
|
+
"vue": "^3.5.25",
|
|
141
141
|
"vue-demi": "^0.14.10",
|
|
142
142
|
"vue-router": "^4.6.3",
|
|
143
|
-
"vue-tsc": "^3.1.
|
|
143
|
+
"vue-tsc": "^3.1.5"
|
|
144
144
|
}
|
|
145
145
|
}
|