@pnkx-lib/ui 1.9.14 → 1.9.15
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/es/chunks/{CategoryStatus-D8gu9DFK.js → CategoryStatus-DMf5RJqc.js} +1 -2
- package/es/index.js +1 -1
- package/es/ui/index.js +1 -1
- package/package.json +1 -1
- package/types/hooks.d.ts +5 -5
- package/types/index.d.ts +41 -35
- package/types/ui.d.ts +28 -22
@@ -17327,6 +17327,5 @@ const CategoryStatus = ({ status }) => {
|
|
17327
17327
|
//! Render
|
17328
17328
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(ItemStatus, { color: bagde.color, statusName: bagde.text }) });
|
17329
17329
|
};
|
17330
|
-
React__default.memo(CategoryStatus);
|
17331
17330
|
|
17332
|
-
export { Alert as A, Button as B, CascaderField as C, Dropdown as D, Anchor as E, Flex as F, Appfix as G, Heading as H, AutoComplete as I, PnkxCollapse as J, PnkxColorPicker as K, Layout as L, Modal as M, Empty as N, Image as O, Popover as P, QRCode as Q, Row as R, Skeleton as S, Table as T, BulkAction as U, ConfirmModal as V, Watermark as W, ErrorBoundary as X, Tooltip as a, Tabs as b, SearchFiltersForm as c, Container as d, Badge as e, Col as f, Breadcrumb as g, Space as h, Splitter as i, Menu as j, Pagination as k, Steps as l, Sidebar as m, Tag as n, Divider as o, Spin as p, Drawer as q, Popconfirm as r, Result as s, typeColorMap as t, Rate as u, Segmented as v, Statistic as w, Timeline as x, Tour as y, Tree as z };
|
17331
|
+
export { Alert as A, Button as B, CascaderField as C, Dropdown as D, Anchor as E, Flex as F, Appfix as G, Heading as H, AutoComplete as I, PnkxCollapse as J, PnkxColorPicker as K, Layout as L, Modal as M, Empty as N, Image as O, Popover as P, QRCode as Q, Row as R, Skeleton as S, Table as T, BulkAction as U, ConfirmModal as V, Watermark as W, ErrorBoundary as X, CategoryStatus as Y, Tooltip as a, Tabs as b, SearchFiltersForm as c, Container as d, Badge as e, Col as f, Breadcrumb as g, Space as h, Splitter as i, Menu as j, Pagination as k, Steps as l, Sidebar as m, Tag as n, Divider as o, Spin as p, Drawer as q, Popconfirm as r, Result as s, typeColorMap as t, Rate as u, Segmented as v, Statistic as w, Timeline as x, Tour as y, Tree as z };
|
package/es/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export { A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, U as BulkAction, B as Button, C as CascaderField, f as Col, V as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, X as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, W as Watermark, t as typeColorMap } from './chunks/CategoryStatus-
|
1
|
+
export { A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, U as BulkAction, B as Button, C as CascaderField, Y as CategoryStatus, f as Col, V as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, X as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, W as Watermark, t as typeColorMap } from './chunks/CategoryStatus-DMf5RJqc.js';
|
2
2
|
export { C as CheckboxField, D as DatePickerField, E as ErrorMessage, I as Input, L as Label, P as PnkxField, R as RangePickerField, a as TinyMCE, T as Typography } from './chunks/Switch-DQm0didM.js';
|
3
3
|
import 'react-router';
|
4
4
|
export { R as RadioGroup, S as Select } from './chunks/Radio-DA0U4ozV.js';
|
package/es/ui/index.js
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
export { A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, U as BulkAction, B as Button, C as CascaderField, f as Col, V as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, X as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, W as Watermark, t as typeColorMap } from '../chunks/CategoryStatus-
|
1
|
+
export { A as Alert, E as Anchor, G as Appfix, I as AutoComplete, e as Badge, g as Breadcrumb, U as BulkAction, B as Button, C as CascaderField, Y as CategoryStatus, f as Col, V as ConfirmModal, d as Container, o as Divider, q as Drawer, D as Dropdown, N as Empty, X as ErrorBoundary, F as Flex, H as Heading, O as Image, L as Layout, j as Menu, M as Modal, k as Pagination, J as PnkxCollapse, K as PnkxColorPicker, r as Popconfirm, P as Popover, Q as QRCode, u as Rate, s as Result, R as Row, c as SearchFiltersForm, v as Segmented, m as Sidebar, S as Skeleton, h as Space, p as Spin, i as Splitter, w as Statistic, l as Steps, T as Table, b as Tabs, n as Tag, x as Timeline, a as Tooltip, y as Tour, z as Tree, W as Watermark, t as typeColorMap } from '../chunks/CategoryStatus-DMf5RJqc.js';
|
2
2
|
export { E as ErrorMessage, L as Label, T as Typography } from '../chunks/Switch-DQm0didM.js';
|
3
3
|
import 'react-router';
|
package/package.json
CHANGED
package/types/hooks.d.ts
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
import { ArgsProps } from 'antd/
|
2
|
-
import { ArgsProps as ArgsProps_2 } from 'antd/
|
1
|
+
import { ArgsProps } from 'antd/es/notification';
|
2
|
+
import { ArgsProps as ArgsProps_2 } from 'antd/lib/message';
|
3
3
|
import { default as default_2 } from 'react';
|
4
4
|
|
5
5
|
export declare type InitialFiltersSearch<T> = T & PaginationFilters;
|
6
6
|
|
7
|
-
export declare type OptionalArgsMessage = Partial<
|
8
|
-
type?:
|
7
|
+
export declare type OptionalArgsMessage = Partial<ArgsProps_2> & {
|
8
|
+
type?: ArgsProps_2["type"];
|
9
9
|
};
|
10
10
|
|
11
|
-
export declare type OptionalArgsToast = Partial<
|
11
|
+
export declare type OptionalArgsToast = Partial<ArgsProps> & {
|
12
12
|
message?: React.ReactNode;
|
13
13
|
};
|
14
14
|
|
package/types/index.d.ts
CHANGED
@@ -2,8 +2,8 @@ import { AffixProps } from 'antd';
|
|
2
2
|
import { AlertProps as AlertProps_2 } from 'antd';
|
3
3
|
import { Anchor as Anchor_2 } from 'antd';
|
4
4
|
import { AnchorProps } from 'antd';
|
5
|
-
import { ArgsProps } from 'antd/
|
6
|
-
import { ArgsProps as ArgsProps_2 } from 'antd/
|
5
|
+
import { ArgsProps } from 'antd/es/notification';
|
6
|
+
import { ArgsProps as ArgsProps_2 } from 'antd/lib/message';
|
7
7
|
import { AutoCompleteProps as AutoCompleteProps_2 } from 'antd';
|
8
8
|
import { BadgeProps as BadgeProps_2 } from 'antd';
|
9
9
|
import { BasicProps } from 'antd/es/layout/layout';
|
@@ -23,8 +23,8 @@ import { Control } from 'react-hook-form';
|
|
23
23
|
import { ControllerFieldState } from 'react-hook-form';
|
24
24
|
import { ControllerRenderProps } from 'react-hook-form';
|
25
25
|
import { Dayjs } from 'dayjs';
|
26
|
-
import { default as default_2 } from '
|
27
|
-
import { default as default_3 } from '
|
26
|
+
import { default as default_2 } from 'react';
|
27
|
+
import { default as default_3 } from 'antd/es/anchor/AnchorLink';
|
28
28
|
import { DefaultOptionType } from 'antd/es/cascader';
|
29
29
|
import { DefaultValues } from 'react-hook-form';
|
30
30
|
import { DividerProps as DividerProps_2 } from 'antd';
|
@@ -105,7 +105,7 @@ export declare const Alert: React.FC<AlertProps>;
|
|
105
105
|
export declare type AlertProps = AlertProps_2;
|
106
106
|
|
107
107
|
export declare const Anchor: typeof Anchor_2 & {
|
108
|
-
Link: typeof
|
108
|
+
Link: typeof default_3;
|
109
109
|
};
|
110
110
|
|
111
111
|
export declare type AnchorPropsUnion = BaseProps_13 & AnchorProps;
|
@@ -113,7 +113,7 @@ export declare type AnchorPropsUnion = BaseProps_13 & AnchorProps;
|
|
113
113
|
export declare const Appfix: ({ children, ...rest }: AppfixProps) => JSX.Element;
|
114
114
|
|
115
115
|
export declare interface AppfixProps extends AffixProps {
|
116
|
-
children:
|
116
|
+
children: default_2.ReactNode;
|
117
117
|
}
|
118
118
|
|
119
119
|
export declare const AutoComplete: React.FC<AutoCompleteProps>;
|
@@ -218,7 +218,7 @@ export declare interface BulkActionProps {
|
|
218
218
|
status?: number;
|
219
219
|
}
|
220
220
|
|
221
|
-
export declare const Button:
|
221
|
+
export declare const Button: default_2.FC<ButtonProps>;
|
222
222
|
|
223
223
|
export declare type ButtonProps = ButtonProps_2;
|
224
224
|
|
@@ -226,6 +226,12 @@ export declare const CascaderField: (props: CascaderFieldProps) => JSX.Element;
|
|
226
226
|
|
227
227
|
export declare type CascaderFieldProps = BaseProps & (SingleCascaderProps | MultipleCascaderProps);
|
228
228
|
|
229
|
+
export declare const CategoryStatus: ({ status }: CategoryStatusProps) => JSX.Element;
|
230
|
+
|
231
|
+
declare interface CategoryStatusProps {
|
232
|
+
status: number;
|
233
|
+
}
|
234
|
+
|
229
235
|
export declare const CheckboxField: (props: CheckboxFieldProps) => JSX.Element;
|
230
236
|
|
231
237
|
export declare interface CheckboxFieldProps extends Omit<CheckboxProps, "onChange" | "checked"> {
|
@@ -272,15 +278,15 @@ export declare interface ConfirmModalProps extends ModalProps {
|
|
272
278
|
|
273
279
|
export declare type ConfirmModalType = "success" | "error" | "warning" | "info";
|
274
280
|
|
275
|
-
export declare const Container:
|
281
|
+
export declare const Container: default_2.FC<ContainerProps>;
|
276
282
|
|
277
283
|
export declare interface ContainerProps {
|
278
|
-
children:
|
284
|
+
children: default_2.ReactNode;
|
279
285
|
size?: TailwindMaxWidth;
|
280
286
|
className?: string;
|
281
287
|
}
|
282
288
|
|
283
|
-
declare type CustomInputTypeAttribute =
|
289
|
+
declare type CustomInputTypeAttribute = default_2.HTMLInputTypeAttribute | "money";
|
284
290
|
|
285
291
|
export declare interface DatePickerDMYProps extends Omit<ReactDatePickerProps, "onChange"> {
|
286
292
|
field?: ControllerRenderProps<any, any>;
|
@@ -294,7 +300,7 @@ export declare interface DatePickerDMYProps extends Omit<ReactDatePickerProps, "
|
|
294
300
|
label?: string;
|
295
301
|
maxDate?: Date;
|
296
302
|
showTimeSelect?: boolean;
|
297
|
-
customOnChange?: (date: any, event:
|
303
|
+
customOnChange?: (date: any, event: default_2.SyntheticEvent<any>) => void;
|
298
304
|
customValue?: Date | null;
|
299
305
|
size?: TSize;
|
300
306
|
}
|
@@ -337,7 +343,7 @@ declare class ErrorBoundaryClass extends Component<ErrorBoundaryProps, ErrorBoun
|
|
337
343
|
static getDerivedStateFromError(error: Error): ErrorBoundaryState;
|
338
344
|
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
339
345
|
handleReload: () => void;
|
340
|
-
render():
|
346
|
+
render(): default_2.ReactNode;
|
341
347
|
}
|
342
348
|
|
343
349
|
export declare interface ErrorBoundaryProps {
|
@@ -350,7 +356,7 @@ export declare interface ErrorBoundaryState {
|
|
350
356
|
errorInfo: ErrorInfo | null;
|
351
357
|
}
|
352
358
|
|
353
|
-
export declare const ErrorMessage:
|
359
|
+
export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) => JSX.Element | null>;
|
354
360
|
|
355
361
|
export declare interface ErrorMessageProps {
|
356
362
|
errorMessage?: string;
|
@@ -393,8 +399,8 @@ export declare interface InputProps extends InputProps_2 {
|
|
393
399
|
customStyleInput?: string;
|
394
400
|
type?: CustomInputTypeAttribute;
|
395
401
|
afterOnChange?: (value: number | string | null) => void;
|
396
|
-
iconStartInput?:
|
397
|
-
iconEndInput?:
|
402
|
+
iconStartInput?: default_2.ReactNode;
|
403
|
+
iconEndInput?: default_2.ReactNode;
|
398
404
|
allowNegative?: boolean;
|
399
405
|
decimalScale?: number;
|
400
406
|
prefix?: string;
|
@@ -414,12 +420,12 @@ export declare interface LabelProps {
|
|
414
420
|
required?: boolean;
|
415
421
|
}
|
416
422
|
|
417
|
-
export declare const Layout:
|
418
|
-
Header:
|
419
|
-
Footer:
|
420
|
-
Content:
|
421
|
-
Sider:
|
422
|
-
_InternalSiderContext:
|
423
|
+
export declare const Layout: default_2.FC<LayoutProps> & {
|
424
|
+
Header: default_2.ForwardRefExoticComponent<BasicProps & default_2.RefAttributes<HTMLElement>>;
|
425
|
+
Footer: default_2.ForwardRefExoticComponent<BasicProps & default_2.RefAttributes<HTMLElement>>;
|
426
|
+
Content: default_2.ForwardRefExoticComponent<BasicProps & default_2.RefAttributes<HTMLElement>>;
|
427
|
+
Sider: default_2.ForwardRefExoticComponent<SiderProps & default_2.RefAttributes<HTMLDivElement>>;
|
428
|
+
_InternalSiderContext: default_2.Context<SiderContextProps>;
|
423
429
|
};
|
424
430
|
|
425
431
|
export declare type LayoutProps = BaseProps_8 & BasicProps;
|
@@ -445,11 +451,11 @@ declare type MultipleCascaderProps = CascaderProps<DefaultOptionType, string, tr
|
|
445
451
|
multiple: true;
|
446
452
|
};
|
447
453
|
|
448
|
-
export declare type OptionalArgsMessage = Partial<
|
449
|
-
type?:
|
454
|
+
export declare type OptionalArgsMessage = Partial<ArgsProps_2> & {
|
455
|
+
type?: ArgsProps_2["type"];
|
450
456
|
};
|
451
457
|
|
452
|
-
export declare type OptionalArgsToast = Partial<
|
458
|
+
export declare type OptionalArgsToast = Partial<ArgsProps> & {
|
453
459
|
message?: React.ReactNode;
|
454
460
|
};
|
455
461
|
|
@@ -567,7 +573,7 @@ export declare interface SearchFiltersFormProps<T extends FieldValues> {
|
|
567
573
|
setValue?: UseFormSetValue<T>;
|
568
574
|
handleSubmit?: FormEventHandler<any>;
|
569
575
|
reset?: UseFormReset<T>;
|
570
|
-
}) =>
|
576
|
+
}) => default_2.ReactNode;
|
571
577
|
onReset?: () => void;
|
572
578
|
classNamesContainer?: string;
|
573
579
|
classNameWrapperForm?: string;
|
@@ -661,8 +667,8 @@ export declare interface SwitchFieldProps extends Omit<SwitchProps, "onChange" |
|
|
661
667
|
|
662
668
|
declare type TabItem = {
|
663
669
|
key: string;
|
664
|
-
label:
|
665
|
-
children:
|
670
|
+
label: default_2.ReactNode;
|
671
|
+
children: default_2.ReactNode;
|
666
672
|
disabled?: boolean;
|
667
673
|
};
|
668
674
|
|
@@ -683,8 +689,8 @@ export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "column
|
|
683
689
|
onChangePage: (page: number) => void;
|
684
690
|
onChangePageSize: (size: number) => void;
|
685
691
|
onSort?: (sortField: string | number | symbol) => void;
|
686
|
-
rowsSelected?:
|
687
|
-
onSelect: (newSelectedRowKeys:
|
692
|
+
rowsSelected?: default_2.Key[];
|
693
|
+
onSelect: (newSelectedRowKeys: default_2.Key[]) => void;
|
688
694
|
onRowClick?: (record: T) => void;
|
689
695
|
rowKey?: string | ((record: T) => string);
|
690
696
|
className?: string;
|
@@ -695,7 +701,7 @@ export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "column
|
|
695
701
|
setColumns?: (newColumns: TableColumnsType<T>) => void;
|
696
702
|
}
|
697
703
|
|
698
|
-
export declare const Tabs:
|
704
|
+
export declare const Tabs: default_2.FC<TabsProps>;
|
699
705
|
|
700
706
|
export declare type TabsProps = TabsProps_2 & {
|
701
707
|
items: TabItem[];
|
@@ -741,7 +747,7 @@ export declare interface TinyProps extends IAllProps {
|
|
741
747
|
text_patterns?: any;
|
742
748
|
}
|
743
749
|
|
744
|
-
export declare const Tooltip:
|
750
|
+
export declare const Tooltip: default_2.FC<TooltipProps>;
|
745
751
|
|
746
752
|
export declare type TooltipProps = TooltipProps_2;
|
747
753
|
|
@@ -785,13 +791,13 @@ export declare interface UploadFieldProps extends Omit<UploadProps, "value" | "o
|
|
785
791
|
|
786
792
|
export declare const useFiltersHandler: <T>(initialFilters: InitialFiltersSearch<T>) => {
|
787
793
|
filters: InitialFiltersSearch<T>;
|
788
|
-
rowsSelected:
|
789
|
-
setRowsSelected:
|
790
|
-
setFilters:
|
794
|
+
rowsSelected: default_2.Key[];
|
795
|
+
setRowsSelected: default_2.Dispatch<default_2.SetStateAction<default_2.Key[]>>;
|
796
|
+
setFilters: default_2.Dispatch<default_2.SetStateAction<InitialFiltersSearch<T>>>;
|
791
797
|
goToPage: (PageIndex: number) => void;
|
792
798
|
changeRowlimit: (value: number) => void;
|
793
799
|
resetToInitialFilters: () => void;
|
794
|
-
handleCheckBox: (newSelectedRowKeys:
|
800
|
+
handleCheckBox: (newSelectedRowKeys: default_2.Key[]) => void;
|
795
801
|
handleChangePage: (nextPage: number) => void;
|
796
802
|
handleRequestSort: (sortField: string | number | symbol) => void;
|
797
803
|
handleSearch: (nextFilters: InitialFiltersSearch<T>) => void;
|
package/types/ui.d.ts
CHANGED
@@ -17,8 +17,8 @@ import { ColProps as ColProps_2 } from 'antd';
|
|
17
17
|
import { ColSize } from 'antd/es/grid';
|
18
18
|
import { Component } from 'react';
|
19
19
|
import { Control } from 'react-hook-form';
|
20
|
-
import { default as default_2 } from '
|
21
|
-
import { default as default_3 } from '
|
20
|
+
import { default as default_2 } from 'react';
|
21
|
+
import { default as default_3 } from 'antd/es/anchor/AnchorLink';
|
22
22
|
import { DefaultOptionType } from 'antd/es/cascader';
|
23
23
|
import { DefaultValues } from 'react-hook-form';
|
24
24
|
import { DividerProps as DividerProps_2 } from 'antd';
|
@@ -86,7 +86,7 @@ export declare const Alert: React.FC<AlertProps>;
|
|
86
86
|
export declare type AlertProps = AlertProps_2;
|
87
87
|
|
88
88
|
export declare const Anchor: typeof Anchor_2 & {
|
89
|
-
Link: typeof
|
89
|
+
Link: typeof default_3;
|
90
90
|
};
|
91
91
|
|
92
92
|
export declare type AnchorPropsUnion = BaseProps_13 & AnchorProps;
|
@@ -94,7 +94,7 @@ export declare type AnchorPropsUnion = BaseProps_13 & AnchorProps;
|
|
94
94
|
export declare const Appfix: ({ children, ...rest }: AppfixProps) => JSX.Element;
|
95
95
|
|
96
96
|
export declare interface AppfixProps extends AffixProps {
|
97
|
-
children:
|
97
|
+
children: default_2.ReactNode;
|
98
98
|
}
|
99
99
|
|
100
100
|
export declare const AutoComplete: React.FC<AutoCompleteProps>;
|
@@ -199,7 +199,7 @@ export declare interface BulkActionProps {
|
|
199
199
|
status?: number;
|
200
200
|
}
|
201
201
|
|
202
|
-
export declare const Button:
|
202
|
+
export declare const Button: default_2.FC<ButtonProps>;
|
203
203
|
|
204
204
|
export declare type ButtonProps = ButtonProps_2;
|
205
205
|
|
@@ -207,6 +207,12 @@ export declare const CascaderField: (props: CascaderFieldProps) => JSX.Element;
|
|
207
207
|
|
208
208
|
export declare type CascaderFieldProps = BaseProps & (SingleCascaderProps | MultipleCascaderProps);
|
209
209
|
|
210
|
+
export declare const CategoryStatus: ({ status }: CategoryStatusProps) => JSX.Element;
|
211
|
+
|
212
|
+
declare interface CategoryStatusProps {
|
213
|
+
status: number;
|
214
|
+
}
|
215
|
+
|
210
216
|
export declare const Col: (props: ColPropsUnion) => JSX.Element;
|
211
217
|
|
212
218
|
export declare interface ColProps extends ColProps_2, Partial<Record<Breakpoint, ColSpanType | ColSize>> {
|
@@ -239,10 +245,10 @@ export declare interface ConfirmModalProps extends ModalProps {
|
|
239
245
|
|
240
246
|
export declare type ConfirmModalType = "success" | "error" | "warning" | "info";
|
241
247
|
|
242
|
-
export declare const Container:
|
248
|
+
export declare const Container: default_2.FC<ContainerProps>;
|
243
249
|
|
244
250
|
export declare interface ContainerProps {
|
245
|
-
children:
|
251
|
+
children: default_2.ReactNode;
|
246
252
|
size?: TailwindMaxWidth;
|
247
253
|
className?: string;
|
248
254
|
}
|
@@ -283,7 +289,7 @@ declare class ErrorBoundaryClass extends Component<ErrorBoundaryProps, ErrorBoun
|
|
283
289
|
static getDerivedStateFromError(error: Error): ErrorBoundaryState;
|
284
290
|
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
285
291
|
handleReload: () => void;
|
286
|
-
render():
|
292
|
+
render(): default_2.ReactNode;
|
287
293
|
}
|
288
294
|
|
289
295
|
export declare interface ErrorBoundaryProps {
|
@@ -296,7 +302,7 @@ export declare interface ErrorBoundaryState {
|
|
296
302
|
errorInfo: ErrorInfo | null;
|
297
303
|
}
|
298
304
|
|
299
|
-
export declare const ErrorMessage:
|
305
|
+
export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) => JSX.Element | null>;
|
300
306
|
|
301
307
|
export declare interface ErrorMessageProps {
|
302
308
|
errorMessage?: string;
|
@@ -341,12 +347,12 @@ export declare interface LabelProps {
|
|
341
347
|
required?: boolean;
|
342
348
|
}
|
343
349
|
|
344
|
-
export declare const Layout:
|
345
|
-
Header:
|
346
|
-
Footer:
|
347
|
-
Content:
|
348
|
-
Sider:
|
349
|
-
_InternalSiderContext:
|
350
|
+
export declare const Layout: default_2.FC<LayoutProps> & {
|
351
|
+
Header: default_2.ForwardRefExoticComponent<BasicProps & default_2.RefAttributes<HTMLElement>>;
|
352
|
+
Footer: default_2.ForwardRefExoticComponent<BasicProps & default_2.RefAttributes<HTMLElement>>;
|
353
|
+
Content: default_2.ForwardRefExoticComponent<BasicProps & default_2.RefAttributes<HTMLElement>>;
|
354
|
+
Sider: default_2.ForwardRefExoticComponent<SiderProps & default_2.RefAttributes<HTMLDivElement>>;
|
355
|
+
_InternalSiderContext: default_2.Context<SiderContextProps>;
|
350
356
|
};
|
351
357
|
|
352
358
|
export declare type LayoutProps = BaseProps_8 & BasicProps;
|
@@ -434,7 +440,7 @@ export declare interface SearchFiltersFormProps<T extends FieldValues> {
|
|
434
440
|
setValue?: UseFormSetValue<T>;
|
435
441
|
handleSubmit?: FormEventHandler<any>;
|
436
442
|
reset?: UseFormReset<T>;
|
437
|
-
}) =>
|
443
|
+
}) => default_2.ReactNode;
|
438
444
|
onReset?: () => void;
|
439
445
|
classNamesContainer?: string;
|
440
446
|
classNameWrapperForm?: string;
|
@@ -506,8 +512,8 @@ export declare type SubMenuProps = SubMenuProps_2;
|
|
506
512
|
|
507
513
|
declare type TabItem = {
|
508
514
|
key: string;
|
509
|
-
label:
|
510
|
-
children:
|
515
|
+
label: default_2.ReactNode;
|
516
|
+
children: default_2.ReactNode;
|
511
517
|
disabled?: boolean;
|
512
518
|
};
|
513
519
|
|
@@ -528,8 +534,8 @@ export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "column
|
|
528
534
|
onChangePage: (page: number) => void;
|
529
535
|
onChangePageSize: (size: number) => void;
|
530
536
|
onSort?: (sortField: string | number | symbol) => void;
|
531
|
-
rowsSelected?:
|
532
|
-
onSelect: (newSelectedRowKeys:
|
537
|
+
rowsSelected?: default_2.Key[];
|
538
|
+
onSelect: (newSelectedRowKeys: default_2.Key[]) => void;
|
533
539
|
onRowClick?: (record: T) => void;
|
534
540
|
rowKey?: string | ((record: T) => string);
|
535
541
|
className?: string;
|
@@ -540,7 +546,7 @@ export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "column
|
|
540
546
|
setColumns?: (newColumns: TableColumnsType<T>) => void;
|
541
547
|
}
|
542
548
|
|
543
|
-
export declare const Tabs:
|
549
|
+
export declare const Tabs: default_2.FC<TabsProps>;
|
544
550
|
|
545
551
|
export declare type TabsProps = TabsProps_2 & {
|
546
552
|
items: TabItem[];
|
@@ -559,7 +565,7 @@ export declare const Timeline: React.FC<TimelineProps>;
|
|
559
565
|
|
560
566
|
export declare type TimelineProps = TimelineProps_2;
|
561
567
|
|
562
|
-
export declare const Tooltip:
|
568
|
+
export declare const Tooltip: default_2.FC<TooltipProps>;
|
563
569
|
|
564
570
|
export declare type TooltipProps = TooltipProps_2;
|
565
571
|
|