maz-ui 4.0.0-beta.8 → 4.0.0-beta.9
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,5 +1,5 @@
|
|
|
1
1
|
import { BaseIssue, BaseSchema, BaseSchemaAsync, InferInput, InferIssue, InferOutput, objectAsync } from 'valibot';
|
|
2
|
-
import { ComponentInternalInstance,
|
|
2
|
+
import { ComponentInternalInstance, InjectionKey, Ref, TemplateRef } from 'vue';
|
|
3
3
|
import { getValidateFunction } from './validation';
|
|
4
4
|
export type Validation = BaseSchema<unknown, unknown, BaseIssue<unknown>> | BaseSchemaAsync<unknown, unknown, BaseIssue<unknown>>;
|
|
5
5
|
export type ValidationIssues = InferIssue<Validation>[];
|
|
@@ -86,7 +86,7 @@ export interface FormFieldOptions<FieldType> {
|
|
|
86
86
|
* Reference to the component or HTML element to associate and trigger validation events
|
|
87
87
|
* Necessary for 'eager', 'progressive' and 'blur' validation modes
|
|
88
88
|
*/
|
|
89
|
-
ref?: Ref
|
|
89
|
+
ref?: Ref | TemplateRef;
|
|
90
90
|
/**
|
|
91
91
|
* Identifier for the form
|
|
92
92
|
* Useful when you have multiple forms on the same component
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "maz-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.0.0-beta.
|
|
4
|
+
"version": "4.0.0-beta.9",
|
|
5
5
|
"description": "A standalone components library for Vue.Js 3 & Nuxt.Js 3",
|
|
6
6
|
"author": "Louis Mazel <me@loicmazuel.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -240,5 +240,5 @@
|
|
|
240
240
|
"*.{js,ts,vue,mjs,mts,cjs,md}": "cross-env NODE_ENV=production eslint --fix",
|
|
241
241
|
"*.{vue,css,scss,postcss,pcss}": "stylelint --fix --allow-empty-input"
|
|
242
242
|
},
|
|
243
|
-
"gitHead": "
|
|
243
|
+
"gitHead": "ec1d8c7e40465514adb2f7f5aac64b04274a90f8"
|
|
244
244
|
}
|