@sfxcode/formkit-primevue 3.1.2 → 3.1.4

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.
@@ -1,12 +1,12 @@
1
1
  import type { FormKitSchemaDefinition } from '@formkit/core';
2
2
  import type { PropType } from 'vue';
3
- declare var __VLS_16: {}, __VLS_19: {}, __VLS_28: {};
3
+ declare var __VLS_15: {}, __VLS_18: {}, __VLS_26: {};
4
4
  type __VLS_Slots = {} & {
5
- default?: (props: typeof __VLS_16) => any;
5
+ default?: (props: typeof __VLS_15) => any;
6
6
  } & {
7
- messages?: (props: typeof __VLS_19) => any;
7
+ messages?: (props: typeof __VLS_18) => any;
8
8
  } & {
9
- submit?: (props: typeof __VLS_28) => any;
9
+ submit?: (props: typeof __VLS_26) => any;
10
10
  };
11
11
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
12
12
  id: {
@@ -73,7 +73,14 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
73
73
  type: BooleanConstructor;
74
74
  default: boolean;
75
75
  };
76
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
76
+ modelValue: {
77
+ type: PropType<any>;
78
+ };
79
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
80
+ onReset: (...args: any[]) => void;
81
+ dataSaved: (...args: any[]) => void;
82
+ "update:modelValue": (value: any) => void;
83
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
77
84
  id: {
78
85
  type: StringConstructor;
79
86
  default: string;
@@ -138,7 +145,14 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
138
145
  type: BooleanConstructor;
139
146
  default: boolean;
140
147
  };
141
- }>> & Readonly<{}>, {
148
+ modelValue: {
149
+ type: PropType<any>;
150
+ };
151
+ }>> & Readonly<{
152
+ onOnReset?: ((...args: any[]) => any) | undefined;
153
+ onDataSaved?: ((...args: any[]) => any) | undefined;
154
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
155
+ }>, {
142
156
  data: Record<string, any>;
143
157
  id: string;
144
158
  schema: FormKitSchemaDefinition;
@@ -1,12 +1,12 @@
1
1
  import type { FormKitSchemaDefinition } from '@formkit/core';
2
2
  import type { PropType } from 'vue';
3
- declare var __VLS_16: {}, __VLS_19: {}, __VLS_28: {};
3
+ declare var __VLS_15: {}, __VLS_18: {}, __VLS_26: {};
4
4
  type __VLS_Slots = {} & {
5
- default?: (props: typeof __VLS_16) => any;
5
+ default?: (props: typeof __VLS_15) => any;
6
6
  } & {
7
- messages?: (props: typeof __VLS_19) => any;
7
+ messages?: (props: typeof __VLS_18) => any;
8
8
  } & {
9
- submit?: (props: typeof __VLS_28) => any;
9
+ submit?: (props: typeof __VLS_26) => any;
10
10
  };
11
11
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
12
12
  id: {
@@ -73,7 +73,14 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
73
73
  type: BooleanConstructor;
74
74
  default: boolean;
75
75
  };
76
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
76
+ modelValue: {
77
+ type: PropType<any>;
78
+ };
79
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
80
+ onReset: (...args: any[]) => void;
81
+ dataSaved: (...args: any[]) => void;
82
+ "update:modelValue": (value: any) => void;
83
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
77
84
  id: {
78
85
  type: StringConstructor;
79
86
  default: string;
@@ -138,7 +145,14 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
138
145
  type: BooleanConstructor;
139
146
  default: boolean;
140
147
  };
141
- }>> & Readonly<{}>, {
148
+ modelValue: {
149
+ type: PropType<any>;
150
+ };
151
+ }>> & Readonly<{
152
+ onOnReset?: ((...args: any[]) => any) | undefined;
153
+ onDataSaved?: ((...args: any[]) => any) | undefined;
154
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
155
+ }>, {
142
156
  data: Record<string, any>;
143
157
  id: string;
144
158
  schema: FormKitSchemaDefinition;
@@ -1,8 +1,8 @@
1
1
  import type { FormKitSchemaDefinition } from '@formkit/core';
2
2
  import type { PropType } from 'vue';
3
- declare var __VLS_13: {};
3
+ declare var __VLS_12: {};
4
4
  type __VLS_Slots = {} & {
5
- default?: (props: typeof __VLS_13) => any;
5
+ default?: (props: typeof __VLS_12) => any;
6
6
  };
7
7
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
8
  data: {
@@ -25,6 +25,9 @@ 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
+ };
28
31
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
32
  "update:modelValue": (value: any) => any;
30
33
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -48,6 +51,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
48
51
  type: BooleanConstructor;
49
52
  default: boolean;
50
53
  };
54
+ modelValue: {
55
+ type: PropType<any>;
56
+ };
51
57
  }>> & Readonly<{
52
58
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
53
59
  }>, {
@@ -1,8 +1,8 @@
1
1
  import type { FormKitSchemaDefinition } from '@formkit/core';
2
2
  import type { PropType } from 'vue';
3
- declare var __VLS_13: {};
3
+ declare var __VLS_12: {};
4
4
  type __VLS_Slots = {} & {
5
- default?: (props: typeof __VLS_13) => any;
5
+ default?: (props: typeof __VLS_12) => any;
6
6
  };
7
7
  declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
8
  data: {
@@ -25,6 +25,9 @@ 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
+ };
28
31
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
32
  "update:modelValue": (value: any) => any;
30
33
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -48,6 +51,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
48
51
  type: BooleanConstructor;
49
52
  default: boolean;
50
53
  };
54
+ modelValue: {
55
+ type: PropType<any>;
56
+ };
51
57
  }>> & Readonly<{
52
58
  "onUpdate:modelValue"?: ((value: any) => any) | undefined;
53
59
  }>, {
@@ -14,7 +14,11 @@ $grid-breakpoints: (
14
14
 
15
15
  @function breakpoint-min($name, $breakpoints: $grid-breakpoints) {
16
16
  $min: map.get($breakpoints, $name);
17
- @return if($min != 0, $min, null);
17
+ @if $min != 0 {
18
+ @return $min;
19
+ } @else {
20
+ @return null;
21
+ }
18
22
  }
19
23
 
20
24
  @mixin media-breakpoint-up($name, $breakpoints: $grid-breakpoints) {
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@sfxcode/formkit-primevue",
3
3
  "type": "module",
4
- "version": "3.1.2",
5
- "packageManager": "pnpm@10.24.0+sha512.01ff8ae71b4419903b65c60fb2dc9d34cf8bb6e06d03bde112ef38f7a34d6904c424ba66bea5cdcf12890230bf39f9580473140ed9c946fef328b6e5238a345a",
4
+ "version": "3.1.4",
5
+ "packageManager": "pnpm@10.25.0+sha512.5e82639027af37cf832061bcc6d639c219634488e0f2baebe785028a793de7b525ffcd3f7ff574f5e9860654e098fe852ba8ac5dd5cefe1767d23a020a92f501",
6
6
  "author": {
7
7
  "name": "Tom",
8
8
  "email": "tom@sfxcode.com"
@@ -94,15 +94,15 @@
94
94
  "@formkit/vue": "^1.6.9",
95
95
  "@intlify/core": "^11.2.2",
96
96
  "primeicons": "^7.0.0",
97
- "primevue": "^4.5.1",
97
+ "primevue": "^4.5.3",
98
98
  "vue-i18n": "^11.2.2"
99
99
  },
100
100
  "devDependencies": {
101
- "@antfu/eslint-config": "^6.3.0",
101
+ "@antfu/eslint-config": "^6.6.1",
102
102
  "@formkit/core": "^1.6.9",
103
103
  "@formkit/drag-and-drop": "^0.5.3",
104
104
  "@primeuix/themes": "^2.0.2",
105
- "@types/node": "^24.10.1",
105
+ "@types/node": "^24.10.3",
106
106
  "@unocss/preset-icons": "66.5.10",
107
107
  "@unocss/preset-uno": "66.5.10",
108
108
  "@vitejs/plugin-vue": "^6.0.2",
@@ -123,14 +123,14 @@
123
123
  "happy-dom": "^20.0.11",
124
124
  "json-editor-vue": "^0.18.1",
125
125
  "mkdist": "^2.4.1",
126
- "sass": "^1.94.2",
126
+ "sass": "^1.96.0",
127
127
  "tslib": "^2.8.1",
128
128
  "typescript": "^5.9.3",
129
129
  "unbuild": "^3.6.1",
130
130
  "unocss": "66.5.10",
131
131
  "unplugin-auto-import": "^20.3.0",
132
132
  "unplugin-vue-components": "^30.0.0",
133
- "vite": "^7.2.6",
133
+ "vite": "^7.2.7",
134
134
  "vite-plugin-dts": "^4.5.4",
135
135
  "vite-plugin-eslint": "^1.8.1",
136
136
  "vite-plugin-pages": "^0.33.2",
@@ -140,6 +140,6 @@
140
140
  "vue": "^3.5.25",
141
141
  "vue-demi": "^0.14.10",
142
142
  "vue-router": "^4.6.3",
143
- "vue-tsc": "^3.1.5"
143
+ "vue-tsc": "^3.1.8"
144
144
  }
145
145
  }