@pnkx-lib/ui 1.6.6 → 1.6.7
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/{ConfirmModal-Bt_bPSWr.js → ConfirmModal-BB38ZWjg.js} +2 -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 +34 -34
- package/types/ui.d.ts +21 -21
@@ -11810,7 +11810,7 @@ const Sidebar = ({ children, menu }) => {
|
|
11810
11810
|
onMouseEnter: () => setCollapse(true),
|
11811
11811
|
onMouseLeave: () => setCollapse(false),
|
11812
11812
|
className: twMerge(
|
11813
|
-
"flex flex-col gap-y-5 border-r border-gray-
|
11813
|
+
"flex flex-col gap-y-5 border-r border-gray-200 bg-[#1C2D5A] transition-all duration-300",
|
11814
11814
|
collapse ? "w-60" : "w-16"
|
11815
11815
|
),
|
11816
11816
|
children: [
|
@@ -11818,7 +11818,7 @@ const Sidebar = ({ children, menu }) => {
|
|
11818
11818
|
"div",
|
11819
11819
|
{
|
11820
11820
|
className: twMerge(
|
11821
|
-
"flex h-16 shrink-0 items-center justify-center bg-[#
|
11821
|
+
"flex h-16 shrink-0 items-center justify-center bg-[#FFFFFF]"
|
11822
11822
|
),
|
11823
11823
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
11824
11824
|
"img",
|
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, 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/ConfirmModal-
|
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, 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/ConfirmModal-BB38ZWjg.js';
|
2
2
|
export { 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-eMq9KkOy.js';
|
3
3
|
export { C as CheckboxField, R as RadioGroup, S as Select } from './chunks/Checkbox-CJ_M7IzZ.js';
|
4
4
|
export { u as useToast } from './chunks/cloneDeep-BLYi2V0G.js';
|
package/es/ui/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
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, 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/ConfirmModal-
|
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, 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/ConfirmModal-BB38ZWjg.js';
|
2
2
|
export { E as ErrorMessage, L as Label, T as Typography } from '../chunks/Switch-eMq9KkOy.js';
|
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/lib/message';
|
2
|
+
import { ArgsProps as ArgsProps_2 } from 'antd/es/notification';
|
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> & {
|
8
|
+
type?: ArgsProps["type"];
|
9
9
|
};
|
10
10
|
|
11
|
-
export declare type OptionalArgsToast = Partial<
|
11
|
+
export declare type OptionalArgsToast = Partial<ArgsProps_2> & {
|
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 as AnchorProps_2 } from 'antd';
|
5
|
-
import { ArgsProps } from 'antd/
|
6
|
-
import { ArgsProps as ArgsProps_2 } from 'antd/
|
5
|
+
import { ArgsProps } from 'antd/lib/message';
|
6
|
+
import { ArgsProps as ArgsProps_2 } from 'antd/es/notification';
|
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';
|
@@ -22,8 +22,8 @@ import { Control } from 'react-hook-form';
|
|
22
22
|
import { ControllerFieldState } from 'react-hook-form';
|
23
23
|
import { ControllerRenderProps } from 'react-hook-form';
|
24
24
|
import { Dayjs } from 'dayjs';
|
25
|
-
import { default as default_2 } from '
|
26
|
-
import { default as default_3 } from '
|
25
|
+
import { default as default_2 } from 'antd/es/anchor/AnchorLink';
|
26
|
+
import { default as default_3 } from 'react';
|
27
27
|
import { DefaultOptionType } from 'antd/es/cascader';
|
28
28
|
import { DefaultValues } from 'react-hook-form';
|
29
29
|
import { DividerProps as DividerProps_2 } from 'antd';
|
@@ -103,7 +103,7 @@ export declare const Alert: React.FC<AlertProps>;
|
|
103
103
|
export declare type AlertProps = AlertProps_2;
|
104
104
|
|
105
105
|
export declare const Anchor: typeof Anchor_2 & {
|
106
|
-
Link: typeof
|
106
|
+
Link: typeof default_2;
|
107
107
|
};
|
108
108
|
|
109
109
|
export declare interface AnchorProps extends AnchorProps_2 {
|
@@ -114,7 +114,7 @@ export declare type AnchorPropsUnion = BaseProps_13 & AnchorProps;
|
|
114
114
|
export declare const Appfix: ({ children, ...rest }: AppfixProps) => JSX.Element;
|
115
115
|
|
116
116
|
export declare interface AppfixProps extends AffixProps {
|
117
|
-
children:
|
117
|
+
children: default_3.ReactNode;
|
118
118
|
}
|
119
119
|
|
120
120
|
export declare const AutoComplete: React.FC<AutoCompleteProps>;
|
@@ -218,7 +218,7 @@ export declare interface BulkActionProps {
|
|
218
218
|
handleLock?: () => void;
|
219
219
|
}
|
220
220
|
|
221
|
-
export declare const Button:
|
221
|
+
export declare const Button: default_3.FC<ButtonProps>;
|
222
222
|
|
223
223
|
export declare type ButtonProps = ButtonProps_2;
|
224
224
|
|
@@ -273,15 +273,15 @@ export declare interface ConfirmModalProps extends ModalProps {
|
|
273
273
|
handleSubmit?: () => void;
|
274
274
|
}
|
275
275
|
|
276
|
-
export declare const Container:
|
276
|
+
export declare const Container: default_3.FC<ContainerProps>;
|
277
277
|
|
278
278
|
export declare interface ContainerProps {
|
279
|
-
children:
|
279
|
+
children: default_3.ReactNode;
|
280
280
|
size?: TailwindMaxWidth;
|
281
281
|
className?: string;
|
282
282
|
}
|
283
283
|
|
284
|
-
declare type CustomInputTypeAttribute =
|
284
|
+
declare type CustomInputTypeAttribute = default_3.HTMLInputTypeAttribute | "money";
|
285
285
|
|
286
286
|
export declare interface DatePickerDMYProps extends Omit<ReactDatePickerProps, "onChange"> {
|
287
287
|
field?: ControllerRenderProps<any, any>;
|
@@ -295,7 +295,7 @@ export declare interface DatePickerDMYProps extends Omit<ReactDatePickerProps, "
|
|
295
295
|
label?: string;
|
296
296
|
maxDate?: Date;
|
297
297
|
showTimeSelect?: boolean;
|
298
|
-
customOnChange?: (date: any, event:
|
298
|
+
customOnChange?: (date: any, event: default_3.SyntheticEvent<any>) => void;
|
299
299
|
customValue?: Date | null;
|
300
300
|
size?: TSize;
|
301
301
|
}
|
@@ -331,7 +331,7 @@ export declare const Empty: React.FC<EmptyProps>;
|
|
331
331
|
|
332
332
|
export declare type EmptyProps = EmptyProps_2;
|
333
333
|
|
334
|
-
export declare const ErrorMessage:
|
334
|
+
export declare const ErrorMessage: default_3.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) => JSX.Element | null>;
|
335
335
|
|
336
336
|
export declare interface ErrorMessageProps {
|
337
337
|
errorMessage?: string;
|
@@ -374,8 +374,8 @@ export declare interface InputProps extends InputProps_2 {
|
|
374
374
|
customStyleInput?: string;
|
375
375
|
type?: CustomInputTypeAttribute;
|
376
376
|
afterOnChange?: (value: number | string | null) => void;
|
377
|
-
iconStartInput?:
|
378
|
-
iconEndInput?:
|
377
|
+
iconStartInput?: default_3.ReactNode;
|
378
|
+
iconEndInput?: default_3.ReactNode;
|
379
379
|
allowNegative?: boolean;
|
380
380
|
decimalScale?: number;
|
381
381
|
prefix?: string;
|
@@ -395,12 +395,12 @@ export declare interface LabelProps {
|
|
395
395
|
required?: boolean;
|
396
396
|
}
|
397
397
|
|
398
|
-
export declare const Layout:
|
399
|
-
Header:
|
400
|
-
Footer:
|
401
|
-
Content:
|
402
|
-
Sider:
|
403
|
-
_InternalSiderContext:
|
398
|
+
export declare const Layout: default_3.FC<LayoutProps> & {
|
399
|
+
Header: default_3.ForwardRefExoticComponent<BasicProps & default_3.RefAttributes<HTMLElement>>;
|
400
|
+
Footer: default_3.ForwardRefExoticComponent<BasicProps & default_3.RefAttributes<HTMLElement>>;
|
401
|
+
Content: default_3.ForwardRefExoticComponent<BasicProps & default_3.RefAttributes<HTMLElement>>;
|
402
|
+
Sider: default_3.ForwardRefExoticComponent<SiderProps & default_3.RefAttributes<HTMLDivElement>>;
|
403
|
+
_InternalSiderContext: default_3.Context<SiderContextProps>;
|
404
404
|
};
|
405
405
|
|
406
406
|
export declare type LayoutProps = BaseProps_8 & BasicProps;
|
@@ -428,11 +428,11 @@ declare type MultipleCascaderProps = CascaderProps<DefaultOptionType, string, tr
|
|
428
428
|
multiple: true;
|
429
429
|
};
|
430
430
|
|
431
|
-
export declare type OptionalArgsMessage = Partial<
|
432
|
-
type?:
|
431
|
+
export declare type OptionalArgsMessage = Partial<ArgsProps> & {
|
432
|
+
type?: ArgsProps["type"];
|
433
433
|
};
|
434
434
|
|
435
|
-
export declare type OptionalArgsToast = Partial<
|
435
|
+
export declare type OptionalArgsToast = Partial<ArgsProps_2> & {
|
436
436
|
message?: React.ReactNode;
|
437
437
|
};
|
438
438
|
|
@@ -554,7 +554,7 @@ export declare interface SearchFiltersFormProps<T extends FieldValues> {
|
|
554
554
|
setValue?: UseFormSetValue<T>;
|
555
555
|
handleSubmit?: FormEventHandler<any>;
|
556
556
|
reset?: UseFormReset<T>;
|
557
|
-
}) =>
|
557
|
+
}) => default_3.ReactNode;
|
558
558
|
onReset?: () => void;
|
559
559
|
classNamesContainer?: string;
|
560
560
|
classNameWrapperForm?: string;
|
@@ -656,8 +656,8 @@ export declare interface SwitchFieldProps extends Omit<SwitchProps, "onChange" |
|
|
656
656
|
|
657
657
|
declare type TabItem = {
|
658
658
|
key: string;
|
659
|
-
label:
|
660
|
-
children:
|
659
|
+
label: default_3.ReactNode;
|
660
|
+
children: default_3.ReactNode;
|
661
661
|
disabled?: boolean;
|
662
662
|
};
|
663
663
|
|
@@ -678,8 +678,8 @@ export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "column
|
|
678
678
|
onChangePage: (page: number) => void;
|
679
679
|
onChangePageSize: (size: number) => void;
|
680
680
|
onSort?: (sortField: string | number | symbol) => void;
|
681
|
-
rowsSelected?:
|
682
|
-
onSelect: (newSelectedRowKeys:
|
681
|
+
rowsSelected?: default_3.Key[];
|
682
|
+
onSelect: (newSelectedRowKeys: default_3.Key[]) => void;
|
683
683
|
onRowClick?: (record: T) => void;
|
684
684
|
rowKey?: string | ((record: T) => string);
|
685
685
|
className?: string;
|
@@ -687,7 +687,7 @@ export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "column
|
|
687
687
|
onSave?: (data: T) => void;
|
688
688
|
}
|
689
689
|
|
690
|
-
export declare const Tabs:
|
690
|
+
export declare const Tabs: default_3.FC<TabsProps>;
|
691
691
|
|
692
692
|
export declare type TabsProps = TabsProps_2 & {
|
693
693
|
items: TabItem[];
|
@@ -733,7 +733,7 @@ export declare interface TinyProps extends IAllProps {
|
|
733
733
|
text_patterns?: any;
|
734
734
|
}
|
735
735
|
|
736
|
-
export declare const Tooltip:
|
736
|
+
export declare const Tooltip: default_3.FC<TooltipProps>;
|
737
737
|
|
738
738
|
export declare type TooltipProps = TooltipProps_2;
|
739
739
|
|
@@ -777,13 +777,13 @@ export declare interface UploadFieldProps extends Omit<UploadProps, "value" | "o
|
|
777
777
|
|
778
778
|
export declare const useFiltersHandler: <T>(initialFilters: InitialFiltersSearch<T>) => {
|
779
779
|
filters: InitialFiltersSearch<T>;
|
780
|
-
rowsSelected:
|
781
|
-
setRowsSelected:
|
782
|
-
setFilters:
|
780
|
+
rowsSelected: default_3.Key[];
|
781
|
+
setRowsSelected: default_3.Dispatch<default_3.SetStateAction<default_3.Key[]>>;
|
782
|
+
setFilters: default_3.Dispatch<default_3.SetStateAction<InitialFiltersSearch<T>>>;
|
783
783
|
goToPage: (PageIndex: number) => void;
|
784
784
|
changeRowlimit: (value: number) => void;
|
785
785
|
resetToInitialFilters: () => void;
|
786
|
-
handleCheckBox: (newSelectedRowKeys:
|
786
|
+
handleCheckBox: (newSelectedRowKeys: default_3.Key[]) => void;
|
787
787
|
handleChangePage: (nextPage: number) => void;
|
788
788
|
handleRequestSort: (sortField: string | number | symbol) => void;
|
789
789
|
handleSearch: (nextFilters: InitialFiltersSearch<T>) => void;
|
package/types/ui.d.ts
CHANGED
@@ -16,8 +16,8 @@ import { ColorPickerProps } from 'antd';
|
|
16
16
|
import { ColProps as ColProps_2 } from 'antd';
|
17
17
|
import { ColSize as ColSize_2 } from 'antd/es/grid';
|
18
18
|
import { Control } from 'react-hook-form';
|
19
|
-
import { default as default_2 } from '
|
20
|
-
import { default as default_3 } from '
|
19
|
+
import { default as default_2 } from 'antd/es/anchor/AnchorLink';
|
20
|
+
import { default as default_3 } from 'react';
|
21
21
|
import { DefaultOptionType } from 'antd/es/cascader';
|
22
22
|
import { DefaultValues } from 'react-hook-form';
|
23
23
|
import { DividerProps as DividerProps_2 } from 'antd';
|
@@ -84,7 +84,7 @@ export declare const Alert: React.FC<AlertProps>;
|
|
84
84
|
export declare type AlertProps = AlertProps_2;
|
85
85
|
|
86
86
|
export declare const Anchor: typeof Anchor_2 & {
|
87
|
-
Link: typeof
|
87
|
+
Link: typeof default_2;
|
88
88
|
};
|
89
89
|
|
90
90
|
export declare interface AnchorProps extends AnchorProps_2 {
|
@@ -95,7 +95,7 @@ export declare type AnchorPropsUnion = BaseProps_13 & AnchorProps;
|
|
95
95
|
export declare const Appfix: ({ children, ...rest }: AppfixProps) => JSX.Element;
|
96
96
|
|
97
97
|
export declare interface AppfixProps extends AffixProps {
|
98
|
-
children:
|
98
|
+
children: default_3.ReactNode;
|
99
99
|
}
|
100
100
|
|
101
101
|
export declare const AutoComplete: React.FC<AutoCompleteProps>;
|
@@ -199,7 +199,7 @@ export declare interface BulkActionProps {
|
|
199
199
|
handleLock?: () => void;
|
200
200
|
}
|
201
201
|
|
202
|
-
export declare const Button:
|
202
|
+
export declare const Button: default_3.FC<ButtonProps>;
|
203
203
|
|
204
204
|
export declare type ButtonProps = ButtonProps_2;
|
205
205
|
|
@@ -240,10 +240,10 @@ export declare interface ConfirmModalProps extends ModalProps {
|
|
240
240
|
handleSubmit?: () => void;
|
241
241
|
}
|
242
242
|
|
243
|
-
export declare const Container:
|
243
|
+
export declare const Container: default_3.FC<ContainerProps>;
|
244
244
|
|
245
245
|
export declare interface ContainerProps {
|
246
|
-
children:
|
246
|
+
children: default_3.ReactNode;
|
247
247
|
size?: TailwindMaxWidth;
|
248
248
|
className?: string;
|
249
249
|
}
|
@@ -277,7 +277,7 @@ export declare const Empty: React.FC<EmptyProps>;
|
|
277
277
|
|
278
278
|
export declare type EmptyProps = EmptyProps_2;
|
279
279
|
|
280
|
-
export declare const ErrorMessage:
|
280
|
+
export declare const ErrorMessage: default_3.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) => JSX.Element | null>;
|
281
281
|
|
282
282
|
export declare interface ErrorMessageProps {
|
283
283
|
errorMessage?: string;
|
@@ -322,12 +322,12 @@ export declare interface LabelProps {
|
|
322
322
|
required?: boolean;
|
323
323
|
}
|
324
324
|
|
325
|
-
export declare const Layout:
|
326
|
-
Header:
|
327
|
-
Footer:
|
328
|
-
Content:
|
329
|
-
Sider:
|
330
|
-
_InternalSiderContext:
|
325
|
+
export declare const Layout: default_3.FC<LayoutProps> & {
|
326
|
+
Header: default_3.ForwardRefExoticComponent<BasicProps & default_3.RefAttributes<HTMLElement>>;
|
327
|
+
Footer: default_3.ForwardRefExoticComponent<BasicProps & default_3.RefAttributes<HTMLElement>>;
|
328
|
+
Content: default_3.ForwardRefExoticComponent<BasicProps & default_3.RefAttributes<HTMLElement>>;
|
329
|
+
Sider: default_3.ForwardRefExoticComponent<SiderProps & default_3.RefAttributes<HTMLDivElement>>;
|
330
|
+
_InternalSiderContext: default_3.Context<SiderContextProps>;
|
331
331
|
};
|
332
332
|
|
333
333
|
export declare type LayoutProps = BaseProps_8 & BasicProps;
|
@@ -421,7 +421,7 @@ export declare interface SearchFiltersFormProps<T extends FieldValues> {
|
|
421
421
|
setValue?: UseFormSetValue<T>;
|
422
422
|
handleSubmit?: FormEventHandler<any>;
|
423
423
|
reset?: UseFormReset<T>;
|
424
|
-
}) =>
|
424
|
+
}) => default_3.ReactNode;
|
425
425
|
onReset?: () => void;
|
426
426
|
classNamesContainer?: string;
|
427
427
|
classNameWrapperForm?: string;
|
@@ -501,8 +501,8 @@ export declare interface SubMenuProps extends SubMenuProps_2 {
|
|
501
501
|
|
502
502
|
declare type TabItem = {
|
503
503
|
key: string;
|
504
|
-
label:
|
505
|
-
children:
|
504
|
+
label: default_3.ReactNode;
|
505
|
+
children: default_3.ReactNode;
|
506
506
|
disabled?: boolean;
|
507
507
|
};
|
508
508
|
|
@@ -523,8 +523,8 @@ export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "column
|
|
523
523
|
onChangePage: (page: number) => void;
|
524
524
|
onChangePageSize: (size: number) => void;
|
525
525
|
onSort?: (sortField: string | number | symbol) => void;
|
526
|
-
rowsSelected?:
|
527
|
-
onSelect: (newSelectedRowKeys:
|
526
|
+
rowsSelected?: default_3.Key[];
|
527
|
+
onSelect: (newSelectedRowKeys: default_3.Key[]) => void;
|
528
528
|
onRowClick?: (record: T) => void;
|
529
529
|
rowKey?: string | ((record: T) => string);
|
530
530
|
className?: string;
|
@@ -532,7 +532,7 @@ export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "column
|
|
532
532
|
onSave?: (data: T) => void;
|
533
533
|
}
|
534
534
|
|
535
|
-
export declare const Tabs:
|
535
|
+
export declare const Tabs: default_3.FC<TabsProps>;
|
536
536
|
|
537
537
|
export declare type TabsProps = TabsProps_2 & {
|
538
538
|
items: TabItem[];
|
@@ -551,7 +551,7 @@ export declare const Timeline: React.FC<TimelineProps>;
|
|
551
551
|
|
552
552
|
export declare type TimelineProps = TimelineProps_2;
|
553
553
|
|
554
|
-
export declare const Tooltip:
|
554
|
+
export declare const Tooltip: default_3.FC<TooltipProps>;
|
555
555
|
|
556
556
|
export declare type TooltipProps = TooltipProps_2;
|
557
557
|
|