zova-module-a-form 5.1.6 → 5.1.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.
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zova-module-a-form",
|
|
3
|
-
"version": "5.1.
|
|
4
|
-
"gitHead": "
|
|
3
|
+
"version": "5.1.8",
|
|
4
|
+
"gitHead": "4caf955ae46d889cab5dd7efc981f562b3b54aa2",
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"Zova Module"
|
|
@@ -18,10 +18,7 @@
|
|
|
18
18
|
"type": "module",
|
|
19
19
|
"exports": {
|
|
20
20
|
".": {
|
|
21
|
-
"types":
|
|
22
|
-
"./src/index.ts",
|
|
23
|
-
"./dist/index.d.ts"
|
|
24
|
-
],
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
25
22
|
"default": "./dist/index.js"
|
|
26
23
|
},
|
|
27
24
|
"./*": "./*"
|
package/rest/component/form.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { TypeRenderComponentJsxPropsPublic } from 'zova-jsx';
|
|
2
|
-
|
|
3
|
-
import type { ControllerFormProps } from '../../src/component/form/controller.jsx';
|
|
2
|
+
import type { ControllerFormProps } from 'zova-module-a-form';
|
|
4
3
|
|
|
5
4
|
type TypeControllerFormPublicProps<TFormData extends {} = {}, TSubmitMeta = never> = TypeRenderComponentJsxPropsPublic &
|
|
6
5
|
ControllerFormProps<TFormData, TSubmitMeta>;
|
|
7
|
-
export function
|
|
6
|
+
export function BBZForm<TFormData extends {} = {}, TSubmitMeta = never>(_props: TypeControllerFormPublicProps<TFormData, TSubmitMeta>) {
|
|
8
7
|
return 'a-form:form';
|
|
9
8
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import type { TypeRenderComponentJsxPropsPublic } from 'zova-jsx';
|
|
2
|
-
|
|
3
|
-
import type { ControllerFormFieldProps } from '../../src/component/formField/controller.jsx';
|
|
2
|
+
import type { ControllerFormFieldProps } from 'zova-module-a-form';
|
|
4
3
|
|
|
5
4
|
type TypeControllerFormFieldPublicProps<TParentData extends {} = {}> = TypeRenderComponentJsxPropsPublic & ControllerFormFieldProps<TParentData>;
|
|
6
|
-
export function
|
|
5
|
+
export function BBZFormField<TParentData extends {} = {}>(_props: TypeControllerFormFieldPublicProps<TParentData>) {
|
|
7
6
|
return 'a-form:formField';
|
|
8
7
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { TypeRenderComponentJsxPropsPublic } from 'zova-jsx';
|
|
2
|
-
|
|
3
|
-
import type { ControllerFormFieldWrapperProps } from '../../src/component/formFieldWrapper/controller.jsx';
|
|
2
|
+
import type { ControllerFormFieldWrapperProps } from 'zova-module-a-form';
|
|
4
3
|
|
|
5
4
|
type TypeControllerFormFieldWrapperPublicProps<TParentData extends {} = {}> = TypeRenderComponentJsxPropsPublic &
|
|
6
5
|
ControllerFormFieldWrapperProps<TParentData>;
|
|
7
|
-
export function
|
|
6
|
+
export function BBFFormWrapper<TParentData extends {} = {}>(_props: TypeControllerFormFieldWrapperPublicProps<TParentData>) {
|
|
8
7
|
return 'a-form:formFieldWrapper';
|
|
9
8
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import type { TypeRenderComponentJsxPropsPublic } from 'zova-jsx';
|
|
2
|
-
|
|
3
|
-
import type { ControllerFormSubscribeProps } from '../../src/component/formSubscribe/controller.jsx';
|
|
2
|
+
import type { ControllerFormSubscribeProps } from 'zova-module-a-form';
|
|
4
3
|
|
|
5
4
|
type TypeControllerFormSubscribePublicProps<TFormData extends {} = {}, TSubmitMeta = never> = TypeRenderComponentJsxPropsPublic &
|
|
6
5
|
ControllerFormSubscribeProps<TFormData, TSubmitMeta>;
|
|
7
|
-
export function
|
|
6
|
+
export function BBZFormSubscribe<TFormData extends {} = {}, TSubmitMeta = never>(
|
|
8
7
|
_props: TypeControllerFormSubscribePublicProps<TFormData, TSubmitMeta>,
|
|
9
8
|
) {
|
|
10
9
|
return 'a-form:formSubscribe';
|