@pnkx-lib/ui 1.3.3 → 1.3.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.
@@ -1362,7 +1362,7 @@ const Rf = ({
|
|
1362
1362
|
/* @__PURE__ */ h.jsx("div", { className: o, children: t && t({
|
1363
1363
|
control: l,
|
1364
1364
|
setValue: f,
|
1365
|
-
handleSubmit: c
|
1365
|
+
handleSubmit: c(r)
|
1366
1366
|
}) }),
|
1367
1367
|
!i && /* @__PURE__ */ h.jsxs("div", { className: "flex justify-end gap-2 mb-3", children: [
|
1368
1368
|
/* @__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-0P1VChK0.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
@@ -22,6 +22,7 @@ import { DropdownProps as DropdownProps_2 } from 'antd';
|
|
22
22
|
import { FC } from 'react';
|
23
23
|
import { FieldValues } from 'react-hook-form';
|
24
24
|
import { FlexProps as FlexProps_2 } from 'antd';
|
25
|
+
import { FormEventHandler } from 'react';
|
25
26
|
import { ForwardRefExoticComponent } from 'react';
|
26
27
|
import { IAllProps } from '@tinymce/tinymce-react';
|
27
28
|
import { InputProps as InputProps_2 } from 'antd';
|
@@ -66,7 +67,6 @@ import { TitleProps } from 'antd/es/typography/Title';
|
|
66
67
|
import { TooltipProps as TooltipProps_2 } from 'antd';
|
67
68
|
import { UploadFile } from 'antd';
|
68
69
|
import { UploadProps } from 'antd';
|
69
|
-
import { UseFormHandleSubmit } from 'react-hook-form';
|
70
70
|
import { UseFormReturn } from 'react-hook-form';
|
71
71
|
import { UseFormSetValue } from 'react-hook-form';
|
72
72
|
import { UseFormStateReturn } from 'react-hook-form';
|
@@ -406,7 +406,7 @@ export declare interface SearchFiltersFormProps<T extends FieldValues> {
|
|
406
406
|
renderFilterFields?: (options: {
|
407
407
|
control: Control<T, any, T>;
|
408
408
|
setValue?: UseFormSetValue<T>;
|
409
|
-
handleSubmit?:
|
409
|
+
handleSubmit?: FormEventHandler<any>;
|
410
410
|
}) => default_2.ReactNode;
|
411
411
|
onReset?: () => void;
|
412
412
|
classNamesContainer?: string;
|
package/dist/types/ui.d.ts
CHANGED
@@ -18,6 +18,7 @@ import { DropdownProps as DropdownProps_2 } from 'antd';
|
|
18
18
|
import { FC } from 'react';
|
19
19
|
import { FieldValues } from 'react-hook-form';
|
20
20
|
import { FlexProps as FlexProps_2 } from 'antd';
|
21
|
+
import { FormEventHandler } from 'react';
|
21
22
|
import { ForwardRefExoticComponent } from 'react';
|
22
23
|
import { JSX } from 'react/jsx-runtime';
|
23
24
|
import { MenuDividerProps } from 'antd/es/menu';
|
@@ -50,7 +51,6 @@ import { TabsProps as TabsProps_2 } from 'antd';
|
|
50
51
|
import { TextProps } from 'antd/es/typography/Text';
|
51
52
|
import { TitleProps } from 'antd/es/typography/Title';
|
52
53
|
import { TooltipProps as TooltipProps_2 } from 'antd';
|
53
|
-
import { UseFormHandleSubmit } from 'react-hook-form';
|
54
54
|
import { UseFormReturn } from 'react-hook-form';
|
55
55
|
import { UseFormSetValue } from 'react-hook-form';
|
56
56
|
|
@@ -290,7 +290,7 @@ export declare interface SearchFiltersFormProps<T extends FieldValues> {
|
|
290
290
|
renderFilterFields?: (options: {
|
291
291
|
control: Control<T, any, T>;
|
292
292
|
setValue?: UseFormSetValue<T>;
|
293
|
-
handleSubmit?:
|
293
|
+
handleSubmit?: FormEventHandler<any>;
|
294
294
|
}) => default_2.ReactNode;
|
295
295
|
onReset?: () => void;
|
296
296
|
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-0P1VChK0.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,
|