indicator-ui 1.0.3 → 1.0.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.
package/dist/index.js CHANGED
@@ -15740,7 +15740,8 @@ function fU(...n) {
15740
15740
  v();
15741
15741
  }, se = () => {
15742
15742
  p().clear(), b();
15743
- }, ae = (q = "", W) => {
15743
+ };
15744
+ function ae(q = "", W) {
15744
15745
  const K = { ...W || {}, ...r?.[q] || {} };
15745
15746
  return Fx(q, K, { form: l(), formValidateFun: m() }), M8({
15746
15747
  form: u,
@@ -15749,7 +15750,8 @@ function fU(...n) {
15749
15750
  path: q,
15750
15751
  highlightField: I
15751
15752
  });
15752
- }, z = () => ({
15753
+ }
15754
+ const z = () => ({
15753
15755
  noValidate: !0,
15754
15756
  onReset: (q) => {
15755
15757
  q.preventDefault(), j(), se();
@@ -208,7 +208,10 @@ export declare function useForm<Form, T extends Nullable<Undefinable<Form>> = Nu
208
208
  clearForm: () => void;
209
209
  clearErrors: () => void;
210
210
  clearField: (_path: FormPath<T> | FormPath<T>[]) => void;
211
- register: <P extends FormPath<T> = "">(path?: P, config?: FormSchemeType<T>[P]) => FieldPropsType<FormValue<T, P>>;
211
+ register: {
212
+ (): FieldPropsType<FormValue<T, "">>;
213
+ <P extends FormPath<T>>(path: P, config?: FormSchemeType<T>[P]): FieldPropsType<FormValue<T, P>>;
214
+ };
212
215
  registerForm: () => Pick<React.ComponentProps<"form">, "onSubmit" | "onReset" | "noValidate">;
213
216
  getValidForm: () => Promise<Form | null>;
214
217
  };
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "react-components",
12
12
  "ui-kit"
13
13
  ],
14
- "version": "1.0.3",
14
+ "version": "1.0.4",
15
15
  "exports": {
16
16
  ".": {
17
17
  "types": "./dist/types/index.d.ts",