@pnkx-lib/ui 1.3.4 → 1.3.5
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.
@@ -1362,7 +1362,8 @@ const Rf = ({
|
|
1362
1362
|
/* @__PURE__ */ h.jsx("div", { className: o, children: t && t({
|
1363
1363
|
control: l,
|
1364
1364
|
setValue: f,
|
1365
|
-
handleSubmit: c(r)
|
1365
|
+
handleSubmit: c(r),
|
1366
|
+
reset: u
|
1366
1367
|
}) }),
|
1367
1368
|
!i && /* @__PURE__ */ h.jsxs("div", { className: "flex justify-end gap-2 mb-3", children: [
|
1368
1369
|
/* @__PURE__ */ h.jsx(
|
package/dist/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { e, g as o, B as r, C as t, f as i, d as l, D as p, F as d, H as n, L as c, j as F, M as S, k as C, P as T, R as b, c as g, m as P, S as k, h as m, i as u, l as x, T as M, b as y, a as R, t as f } from "./chunks/Heading-
|
1
|
+
import { e, g as o, B as r, C as t, f as i, d as l, D as p, F as d, H as n, L as c, j as F, M as S, k as C, P as T, R as b, c as g, m as P, S as k, h as m, i as u, l as x, T as M, b as y, a as R, t as f } from "./chunks/Heading-DVEiMw7K.js";
|
2
2
|
import { E as B, L as D, T as L } from "./chunks/createSuper-DBIhZ50y.js";
|
3
3
|
import { C as w, D as H, I, P as j, R as v, a as G, S as q, T as z } from "./chunks/Switch-CzMyITg3.js";
|
4
4
|
export {
|
package/dist/types/index.d.ts
CHANGED
@@ -67,6 +67,7 @@ import { TitleProps } from 'antd/es/typography/Title';
|
|
67
67
|
import { TooltipProps as TooltipProps_2 } from 'antd';
|
68
68
|
import { UploadFile } from 'antd';
|
69
69
|
import { UploadProps } from 'antd';
|
70
|
+
import { UseFormReset } from 'react-hook-form';
|
70
71
|
import { UseFormReturn } from 'react-hook-form';
|
71
72
|
import { UseFormSetValue } from 'react-hook-form';
|
72
73
|
import { UseFormStateReturn } from 'react-hook-form';
|
@@ -407,6 +408,7 @@ export declare interface SearchFiltersFormProps<T extends FieldValues> {
|
|
407
408
|
control: Control<T, any, T>;
|
408
409
|
setValue?: UseFormSetValue<T>;
|
409
410
|
handleSubmit?: FormEventHandler<any>;
|
411
|
+
reset?: UseFormReset<T>;
|
410
412
|
}) => default_2.ReactNode;
|
411
413
|
onReset?: () => void;
|
412
414
|
classNamesContainer?: string;
|
package/dist/types/ui.d.ts
CHANGED
@@ -51,6 +51,7 @@ import { TabsProps as TabsProps_2 } from 'antd';
|
|
51
51
|
import { TextProps } from 'antd/es/typography/Text';
|
52
52
|
import { TitleProps } from 'antd/es/typography/Title';
|
53
53
|
import { TooltipProps as TooltipProps_2 } from 'antd';
|
54
|
+
import { UseFormReset } from 'react-hook-form';
|
54
55
|
import { UseFormReturn } from 'react-hook-form';
|
55
56
|
import { UseFormSetValue } from 'react-hook-form';
|
56
57
|
|
@@ -291,6 +292,7 @@ export declare interface SearchFiltersFormProps<T extends FieldValues> {
|
|
291
292
|
control: Control<T, any, T>;
|
292
293
|
setValue?: UseFormSetValue<T>;
|
293
294
|
handleSubmit?: FormEventHandler<any>;
|
295
|
+
reset?: UseFormReset<T>;
|
294
296
|
}) => default_2.ReactNode;
|
295
297
|
onReset?: () => void;
|
296
298
|
classNamesContainer?: string;
|
package/dist/ui/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { e, g as o, B as r, C as t, f as l, d as p, D as i, F as d, H as n, L as S, j as b, M as g, k as T, P as c, R as m, c as C, m as F, S as M, h as u, i as y, l as B, T as L, b as f, a as h, t as x } from "../chunks/Heading-
|
1
|
+
import { e, g as o, B as r, C as t, f as l, d as p, D as i, F as d, H as n, L as S, j as b, M as g, k as T, P as c, R as m, c as C, m as F, S as M, h as u, i as y, l as B, T as L, b as f, a as h, t as x } from "../chunks/Heading-DVEiMw7K.js";
|
2
2
|
import { E as k, L as w, T as D } from "../chunks/createSuper-DBIhZ50y.js";
|
3
3
|
export {
|
4
4
|
e as Badge,
|