@pnkx-lib/ui 1.9.41 → 1.9.42

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/ui/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { Z as ActionRowTable, 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/index-CqzBrT3-.js';
2
- export { E as ErrorMessage, L as Label, a as TINY_API, T as Typography } from '../chunks/Switch-5fY0eC69.js';
1
+ export { Z as ActionRowTable, 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/index-DLRC7p6n.js';
2
+ export { E as ErrorMessage, L as Label, a as TINY_API, T as Typography } from '../chunks/Switch-jt4L5Z_9.js';
3
3
  import 'react-router';
4
4
  export { P as PAGE_INDEX, b as PAGE_SIZE, c as SORT_BY, d as SORT_DESC, S as START_PAGE, a as START_PAGE_SIZE, T as TypeActionRowTable } from '../chunks/table-B28OPA57.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pnkx-lib/ui",
3
3
  "private": false,
4
- "version": "1.9.41",
4
+ "version": "1.9.42",
5
5
  "type": "module",
6
6
  "main": "./es/index.js",
7
7
  "module": "./es/index.js",
package/types/fields.d.ts CHANGED
@@ -6,8 +6,8 @@ import { Dayjs } from 'dayjs';
6
6
  import { default as default_2 } from 'react';
7
7
  import { IAllProps } from '@tinymce/tinymce-react';
8
8
  import { InputProps as InputProps_2 } from 'antd';
9
- import { JSX } from 'react/jsx-runtime';
10
- import { JSX as JSX_2 } from 'react';
9
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
10
+ import { JSX as JSX_3 } from 'react';
11
11
  import { RadioGroupProps } from 'antd';
12
12
  import { RangePickerProps } from 'antd/es/date-picker';
13
13
  import * as React_2 from 'react';
@@ -20,7 +20,7 @@ import { UploadProps } from 'antd';
20
20
  import { UseFormSetValue } from 'react-hook-form';
21
21
  import { UseFormStateReturn } from 'react-hook-form';
22
22
 
23
- export declare const CheckboxField: (props: CheckboxFieldProps) => JSX.Element;
23
+ export declare const CheckboxField: (props: CheckboxFieldProps) => JSX_2.Element;
24
24
 
25
25
  export declare interface CheckboxFieldProps extends Omit<CheckboxProps, "onChange" | "checked"> {
26
26
  field?: ControllerRenderProps<any, any>;
@@ -53,9 +53,9 @@ export declare interface DatePickerDMYProps extends Omit<ReactDatePickerProps, "
53
53
  size?: TSize;
54
54
  }
55
55
 
56
- export declare const DatePickerField: (props: DatePickerDMYProps) => JSX.Element;
56
+ export declare const DatePickerField: (props: DatePickerDMYProps) => JSX_2.Element;
57
57
 
58
- export declare const Input: (props: InputProps) => JSX.Element;
58
+ export declare const Input: (props: InputProps) => JSX_2.Element;
59
59
 
60
60
  export declare interface InputProps extends InputProps_2 {
61
61
  field?: ControllerRenderProps<any, any>;
@@ -73,7 +73,7 @@ export declare interface InputProps extends InputProps_2 {
73
73
  }
74
74
 
75
75
  export declare class PnkxField<TComponent extends React_2.ComponentType<any>> extends React_2.PureComponent<PnkxFieldProps<TComponent>> {
76
- render(): JSX.Element;
76
+ render(): JSX_2.Element;
77
77
  }
78
78
 
79
79
  export declare type PnkxFieldProps<TComponent extends React_2.ComponentType<any>> = {
@@ -91,10 +91,10 @@ export declare interface PropsNumberFormat extends Omit<InputProps, "onChange" |
91
91
  type?: TInputNumberType;
92
92
  prefix?: string;
93
93
  suffix?: string;
94
- helperText?: () => JSX_2.Element | null;
94
+ helperText?: () => JSX_3.Element | null;
95
95
  }
96
96
 
97
- export declare const RadioGroup: (props: RadioProps) => JSX.Element;
97
+ export declare const RadioGroup: (props: RadioProps) => JSX_2.Element;
98
98
 
99
99
  export declare interface RadioProps extends Omit<RadioGroupProps, "options" | "onChange"> {
100
100
  field?: ControllerRenderProps<any, any>;
@@ -107,7 +107,7 @@ export declare interface RadioProps extends Omit<RadioGroupProps, "options" | "o
107
107
  position?: TPositionRadio;
108
108
  }
109
109
 
110
- export declare const RangePickerField: (props: RangePickerFieldProps) => JSX.Element;
110
+ export declare const RangePickerField: (props: RangePickerFieldProps) => JSX_2.Element;
111
111
 
112
112
  export declare interface RangePickerFieldProps extends Omit<RangePickerProps, "value" | "onChange"> {
113
113
  field?: ControllerRenderProps<any, any>;
@@ -119,7 +119,7 @@ export declare interface RangePickerFieldProps extends Omit<RangePickerProps, "v
119
119
  customStyleDatePicker?: string;
120
120
  }
121
121
 
122
- export declare const Select: (props: SelectFieldProps) => JSX.Element;
122
+ export declare const Select: (props: SelectFieldProps) => JSX_2.Element;
123
123
 
124
124
  export declare interface SelectFieldProps extends SelectProps {
125
125
  field?: ControllerRenderProps<any, any>;
@@ -153,7 +153,7 @@ export declare interface TextAreaProps extends TextAreaProps_2 {
153
153
  declare type TInputNumberType = "number" | "money";
154
154
 
155
155
  export declare const TinyMCE: {
156
- (props: TinyProps): JSX.Element;
156
+ (props: TinyProps): JSX_2.Element;
157
157
  displayName: string;
158
158
  };
159
159
 
package/types/index.d.ts CHANGED
@@ -41,10 +41,10 @@ import { FormEventHandler } from 'react';
41
41
  import { ForwardRefExoticComponent } from 'react';
42
42
  import { IAllProps } from '@tinymce/tinymce-react';
43
43
  import { ImageProps } from 'antd';
44
- import { InitialFiltersSearch as InitialFiltersSearch_2 } from '../../../../../../../../../../../src/components/hooks';
44
+ import { InitialFiltersSearch as InitialFiltersSearch_2 } from '../../../../../../../../../../src/components/hooks';
45
45
  import { InputProps as InputProps_2 } from 'antd';
46
- import { JSX } from 'react/jsx-runtime';
47
- import { JSX as JSX_2 } from 'react';
46
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
47
+ import { JSX as JSX_3 } from 'react';
48
48
  import { MenuDividerProps } from 'antd/es/menu';
49
49
  import { MenuItemGroupProps } from 'rc-menu/lib/MenuItemGroup';
50
50
  import { MenuItemProps as MenuItemProps_2 } from 'antd/es/menu';
@@ -93,7 +93,7 @@ import { TitleProps } from 'antd/es/typography/Title';
93
93
  import { TooltipProps as TooltipProps_2 } from 'antd';
94
94
  import { TourProps as TourProps_2 } from 'antd';
95
95
  import { TreeProps as TreeProps_2 } from 'antd';
96
- import { TypeActionRowTable as TypeActionRowTable_2 } from '../../../../../../../../../../../../src/constants/table';
96
+ import { TypeActionRowTable as TypeActionRowTable_2 } from '../../../../../../../../../../../src/constants/table';
97
97
  import { UploadFile } from 'antd';
98
98
  import { UploadProps } from 'antd';
99
99
  import { UseFormReset } from 'react-hook-form';
@@ -102,7 +102,7 @@ import { UseFormSetValue } from 'react-hook-form';
102
102
  import { UseFormStateReturn } from 'react-hook-form';
103
103
  import { WatermarkProps } from 'antd';
104
104
 
105
- export declare const ActionRowTable: ({ type, contentTooltip, handleClick, }: ActionRowTableProps) => JSX.Element;
105
+ export declare const ActionRowTable: ({ type, contentTooltip, handleClick, }: ActionRowTableProps) => JSX_2.Element;
106
106
 
107
107
  export declare interface ActionRowTableProps {
108
108
  type: TypeActionRowTable_2;
@@ -122,7 +122,7 @@ export declare const Anchor: typeof Anchor_2 & {
122
122
 
123
123
  export declare type AnchorPropsUnion = BaseProps_13 & AnchorProps;
124
124
 
125
- export declare const Appfix: ({ children, ...rest }: AppfixProps) => JSX.Element;
125
+ export declare const Appfix: ({ children, ...rest }: AppfixProps) => JSX_2.Element;
126
126
 
127
127
  export declare interface AppfixProps extends AffixProps {
128
128
  children: default_2.ReactNode;
@@ -132,7 +132,7 @@ export declare const AutoComplete: React.FC<AutoCompleteProps>;
132
132
 
133
133
  export declare type AutoCompleteProps = AutoCompleteProps_2;
134
134
 
135
- export declare const Badge: ({ type, children, customColor, ...rest }: BadgeProps) => JSX.Element;
135
+ export declare const Badge: ({ type, children, customColor, ...rest }: BadgeProps) => JSX_2.Element;
136
136
 
137
137
  export declare interface BadgeProps extends BadgeProps_2 {
138
138
  type?: "error" | "info" | "success" | "warning";
@@ -202,7 +202,7 @@ declare type BaseProps_9 = {
202
202
  spaceClassName?: string;
203
203
  };
204
204
 
205
- export declare const Breadcrumb: (props: BreadcrumbPropsUnion) => JSX.Element;
205
+ export declare const Breadcrumb: (props: BreadcrumbPropsUnion) => JSX_2.Element;
206
206
 
207
207
  export declare interface BreadcrumbItemType extends BreadcrumbItemType_2 {
208
208
  children?: Omit<BreadcrumbItemType, "children">[];
@@ -214,7 +214,7 @@ export declare type BreadcrumbPropsUnion = BaseProps_6 & BreadcrumbProps;
214
214
 
215
215
  export declare type BreadcrumbSeparatorType = BreadcrumbSeparatorType_2;
216
216
 
217
- export declare const BulkAction: ({ quantity, handleRestore, handleSendApproval, handleCancelSendApproval, handleRefuseApproval, handleApproval, handleCancelApproval, handleDelete, handleActivate, handleInActivate, status, }: BulkActionProps) => JSX.Element;
217
+ export declare const BulkAction: ({ quantity, handleRestore, handleSendApproval, handleCancelSendApproval, handleRefuseApproval, handleApproval, handleCancelApproval, handleDelete, handleActivate, handleInActivate, status, }: BulkActionProps) => JSX_2.Element;
218
218
 
219
219
  export declare interface BulkActionProps {
220
220
  quantity: number;
@@ -234,17 +234,17 @@ export declare const Button: default_2.FC<ButtonProps>;
234
234
 
235
235
  export declare type ButtonProps = ButtonProps_2;
236
236
 
237
- export declare const CascaderField: (props: CascaderFieldProps) => JSX.Element;
237
+ export declare const CascaderField: (props: CascaderFieldProps) => JSX_2.Element;
238
238
 
239
239
  export declare type CascaderFieldProps = BaseProps & (SingleCascaderProps | MultipleCascaderProps);
240
240
 
241
- export declare const CategoryStatus: ({ status }: CategoryStatusProps) => JSX.Element;
241
+ export declare const CategoryStatus: ({ status }: CategoryStatusProps) => JSX_2.Element;
242
242
 
243
243
  export declare interface CategoryStatusProps {
244
244
  status: number;
245
245
  }
246
246
 
247
- export declare const CheckboxField: (props: CheckboxFieldProps) => JSX.Element;
247
+ export declare const CheckboxField: (props: CheckboxFieldProps) => JSX_2.Element;
248
248
 
249
249
  export declare interface CheckboxFieldProps extends Omit<CheckboxProps, "onChange" | "checked"> {
250
250
  field?: ControllerRenderProps<any, any>;
@@ -256,7 +256,7 @@ export declare interface CheckboxFieldProps extends Omit<CheckboxProps, "onChang
256
256
  customStyleCheckbox?: string;
257
257
  }
258
258
 
259
- export declare const Col: (props: ColPropsUnion) => JSX.Element;
259
+ export declare const Col: (props: ColPropsUnion) => JSX_2.Element;
260
260
 
261
261
  export declare interface ColProps extends ColProps_2, Partial<Record<Breakpoint, ColSpanType | ColSize>> {
262
262
  }
@@ -276,7 +276,7 @@ declare type CompoundedMenu = FC<MenuComponentProps> & {
276
276
  ItemGroup: typeof ItemGroup;
277
277
  };
278
278
 
279
- export declare const ConfirmModal: ({ title, content, typeIcon, titleCancelBtn, titleSubmitBtn, handleCancel, handleSubmit, ...restProps }: ConfirmModalProps) => JSX.Element;
279
+ export declare const ConfirmModal: ({ title, content, typeIcon, titleCancelBtn, titleSubmitBtn, handleCancel, handleSubmit, ...restProps }: ConfirmModalProps) => JSX_2.Element;
280
280
 
281
281
  export declare interface ConfirmModalProps extends ModalProps {
282
282
  title: string;
@@ -317,9 +317,9 @@ export declare interface DatePickerDMYProps extends Omit<ReactDatePickerProps, "
317
317
  size?: TSize;
318
318
  }
319
319
 
320
- export declare const DatePickerField: (props: DatePickerDMYProps) => JSX.Element;
320
+ export declare const DatePickerField: (props: DatePickerDMYProps) => JSX_2.Element;
321
321
 
322
- export declare const Divider: ({ children, ...rest }: DividerProps) => JSX.Element;
322
+ export declare const Divider: ({ children, ...rest }: DividerProps) => JSX_2.Element;
323
323
 
324
324
  declare const Divider_2: FC<MenuDividerProps>;
325
325
 
@@ -327,14 +327,14 @@ export declare interface DividerProps extends DividerProps_2 {
327
327
  children?: ReactNode | string;
328
328
  }
329
329
 
330
- export declare const Drawer: ({ onSubmit, children, ...rest }: DrawerProps) => JSX.Element;
330
+ export declare const Drawer: ({ onSubmit, children, ...rest }: DrawerProps) => JSX_2.Element;
331
331
 
332
332
  export declare interface DrawerProps extends DrawerProps_2 {
333
333
  children?: ReactNode;
334
334
  onSubmit?: (values: any) => void;
335
335
  }
336
336
 
337
- export declare const Dropdown: (props: DropdownPropsUnion) => JSX.Element;
337
+ export declare const Dropdown: (props: DropdownPropsUnion) => JSX_2.Element;
338
338
 
339
339
  export declare type DropdownButtonProps = DropdownButtonProps_2;
340
340
 
@@ -368,7 +368,7 @@ export declare interface ErrorBoundaryState {
368
368
  errorInfo: ErrorInfo | null;
369
369
  }
370
370
 
371
- export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) => JSX.Element | null>;
371
+ export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) => JSX_2.Element | null>;
372
372
 
373
373
  export declare interface ErrorMessageProps {
374
374
  errorMessage?: string;
@@ -381,19 +381,13 @@ declare type ExtraProps = {
381
381
  menuClassName?: string;
382
382
  };
383
383
 
384
- export declare const Flex: (props: FlexPropsUnion) => JSX.Element;
384
+ export declare const Flex: (props: FlexPropsUnion) => JSX_2.Element;
385
385
 
386
386
  export declare type FlexProps = FlexProps_2;
387
387
 
388
388
  export declare type FlexPropsUnion = BaseProps_7 & FlexProps;
389
389
 
390
- declare interface GroupHeadingButtonItem {
391
- label: string;
392
- value: number;
393
- keyActive: number;
394
- }
395
-
396
- export declare const Heading: (props: HeadingProps) => JSX.Element;
390
+ export declare const Heading: (props: HeadingProps) => JSX_2.Element;
397
391
 
398
392
  export declare interface HeadingProps {
399
393
  rightContent?: ReactNode;
@@ -408,7 +402,7 @@ export { Image_2 as Image }
408
402
 
409
403
  export declare type InitialFiltersSearch<T> = T & PaginationFilters;
410
404
 
411
- export declare const Input: (props: InputProps) => JSX.Element;
405
+ export declare const Input: (props: InputProps) => JSX_2.Element;
412
406
 
413
407
  export declare interface InputProps extends InputProps_2 {
414
408
  field?: ControllerRenderProps<any, any>;
@@ -438,7 +432,7 @@ declare type IValueSearch = {
438
432
  PageSize: number;
439
433
  };
440
434
 
441
- export declare const Label: ({ label, required }: LabelProps) => JSX.Element;
435
+ export declare const Label: ({ label, required }: LabelProps) => JSX_2.Element;
442
436
 
443
437
  export declare interface LabelProps {
444
438
  label: string;
@@ -465,7 +459,7 @@ export declare type MenuItemProps = MenuItemProps_2;
465
459
 
466
460
  export declare type MenuProps = MenuProps_2;
467
461
 
468
- export declare const Modal: ({ children, ...rest }: ModalProps) => JSX.Element;
462
+ export declare const Modal: ({ children, ...rest }: ModalProps) => JSX_2.Element;
469
463
 
470
464
  export declare interface ModalProps extends ModalProps_2 {
471
465
  children?: ReactNode;
@@ -512,7 +506,7 @@ export declare type PnkxCollapseProps = CollapseProps;
512
506
  export declare const PnkxColorPicker: React.FC<ColorPickerProps>;
513
507
 
514
508
  export declare class PnkxField<TComponent extends React_2.ComponentType<any>> extends React_2.PureComponent<PnkxFieldProps<TComponent>> {
515
- render(): JSX.Element;
509
+ render(): JSX_2.Element;
516
510
  }
517
511
 
518
512
  export declare type PnkxFieldProps<TComponent extends React_2.ComponentType<any>> = {
@@ -525,13 +519,13 @@ export declare interface PnkxSpinProps extends SpinProps {
525
519
  children?: ReactNode;
526
520
  }
527
521
 
528
- export declare const Popconfirm: ({ children, ...rest }: PopconfirmProps) => JSX.Element;
522
+ export declare const Popconfirm: ({ children, ...rest }: PopconfirmProps) => JSX_2.Element;
529
523
 
530
524
  export declare interface PopconfirmProps extends PopconfirmProps_2 {
531
525
  children?: ReactNode;
532
526
  }
533
527
 
534
- export declare const Popover: (props: PopoverPropsUnion) => JSX.Element;
528
+ export declare const Popover: (props: PopoverPropsUnion) => JSX_2.Element;
535
529
 
536
530
  export declare type PopoverProps = PopoverProps_2;
537
531
 
@@ -546,14 +540,14 @@ export declare interface PropsNumberFormat extends Omit<InputProps, "onChange" |
546
540
  type?: TInputNumberType;
547
541
  prefix?: string;
548
542
  suffix?: string;
549
- helperText?: () => JSX_2.Element | null;
543
+ helperText?: () => JSX_3.Element | null;
550
544
  }
551
545
 
552
546
  export declare const QRCode: React.FC<QRCodeProps>;
553
547
 
554
548
  export declare type QRCodeProps = QRCodeProps_2;
555
549
 
556
- export declare const RadioGroup: (props: RadioProps) => JSX.Element;
550
+ export declare const RadioGroup: (props: RadioProps) => JSX_2.Element;
557
551
 
558
552
  export declare interface RadioProps extends Omit<RadioGroupProps, "options" | "onChange"> {
559
553
  field?: ControllerRenderProps<any, any>;
@@ -566,7 +560,7 @@ export declare interface RadioProps extends Omit<RadioGroupProps, "options" | "o
566
560
  position?: TPositionRadio;
567
561
  }
568
562
 
569
- export declare const RangePickerField: (props: RangePickerFieldProps) => JSX.Element;
563
+ export declare const RangePickerField: (props: RangePickerFieldProps) => JSX_2.Element;
570
564
 
571
565
  export declare interface RangePickerFieldProps extends Omit<RangePickerProps, "value" | "onChange"> {
572
566
  field?: ControllerRenderProps<any, any>;
@@ -580,13 +574,13 @@ export declare interface RangePickerFieldProps extends Omit<RangePickerProps, "v
580
574
 
581
575
  export declare const Rate: React.FC<RateProps>;
582
576
 
583
- export declare const Result: ({ children, ...rest }: ResultProps) => JSX.Element;
577
+ export declare const Result: ({ children, ...rest }: ResultProps) => JSX_2.Element;
584
578
 
585
579
  export declare interface ResultProps extends ResultProps_2 {
586
580
  children?: ReactNode | string;
587
581
  }
588
582
 
589
- export declare const Row: (props: RowPropsUnion) => JSX.Element;
583
+ export declare const Row: (props: RowPropsUnion) => JSX_2.Element;
590
584
 
591
585
  declare interface RowCommon {
592
586
  [x: string]: any;
@@ -594,7 +588,7 @@ declare interface RowCommon {
594
588
 
595
589
  export declare type RowPropsUnion = BaseProps_4 & RowProps;
596
590
 
597
- export declare const SearchFiltersForm: <T extends FieldValues = FieldValues>({ initialValues, renderFilterFields, onSubmit, onReset, classNamesContainer, classNameWrapperForm, hideDefaultSubmit, hideResetButton, }: SearchFiltersFormProps<T> & Partial<UseFormReturn<T>>) => JSX.Element;
591
+ export declare const SearchFiltersForm: <T extends FieldValues = FieldValues>({ initialValues, renderFilterFields, onSubmit, onReset, classNamesContainer, classNameWrapperForm, hideDefaultSubmit, hideResetButton, }: SearchFiltersFormProps<T> & Partial<UseFormReturn<T>>) => JSX_2.Element;
598
592
 
599
593
  export declare interface SearchFiltersFormProps<T extends FieldValues> {
600
594
  renderFilterFields?: (options: {
@@ -616,7 +610,7 @@ export declare const Segmented: React.FC<SegmentedProps>;
616
610
 
617
611
  export declare type SegmentedProps = SegmentedProps_2;
618
612
 
619
- export declare const Select: (props: SelectFieldProps) => JSX.Element;
613
+ export declare const Select: (props: SelectFieldProps) => JSX_2.Element;
620
614
 
621
615
  export declare interface SelectFieldProps extends SelectProps {
622
616
  field?: ControllerRenderProps<any, any>;
@@ -628,7 +622,7 @@ export declare interface SelectFieldProps extends SelectProps {
628
622
  customStyleContainer?: string;
629
623
  }
630
624
 
631
- export declare const Sidebar: ({ children, menu }: SidebarProps) => JSX.Element;
625
+ export declare const Sidebar: ({ children, menu }: SidebarProps) => JSX_2.Element;
632
626
 
633
627
  export declare interface SidebarProps {
634
628
  children?: React.ReactNode;
@@ -649,7 +643,7 @@ declare type SingleCascaderProps = CascaderProps<DefaultOptionType, string> & {
649
643
  multiple?: false;
650
644
  };
651
645
 
652
- export declare const Skeleton: ({ type, skeletonButtonCount }: SkeletonProps) => JSX.Element;
646
+ export declare const Skeleton: ({ type, skeletonButtonCount }: SkeletonProps) => JSX_2.Element;
653
647
 
654
648
  export declare interface SkeletonProps extends SkeletonProps_2 {
655
649
  type?: "table" | "form";
@@ -664,7 +658,7 @@ export declare const Space: typeof Space_2;
664
658
 
665
659
  export declare type SpacePropsUnion = BaseProps_9 & SpaceProps;
666
660
 
667
- export declare const Spin: ({ children, ...rest }: PnkxSpinProps) => JSX.Element;
661
+ export declare const Spin: ({ children, ...rest }: PnkxSpinProps) => JSX_2.Element;
668
662
 
669
663
  export declare const Splitter: typeof Splitter_2;
670
664
 
@@ -709,7 +703,7 @@ declare type TabItem = {
709
703
  disabled?: boolean;
710
704
  };
711
705
 
712
- export declare const Table: <T extends RowCommon>({ dataSource, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, className, editable, onSave, titleSettingTableModal, showSetting, setColumns, resetToInitialFilters, handleSearch, groupHeadingButtonItems, tagSearchItems, setTagSearchItems, setKeyActive, keyActive, status, ...rest }: TableCommonProps<T>) => JSX.Element;
706
+ export declare const Table: <T extends RowCommon>({ dataSource, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, className, editable, onSave, titleSettingTableModal, showSetting, setColumns, resetToInitialFilters, handleSearch, tagSearchItems, setTagSearchItems, renderHeadingSearch, rightHeadingContent, status, ...rest }: TableCommonProps<T>) => JSX_2.Element;
713
707
 
714
708
  export declare type TableColumnsType<T> = TableColumnsType_2<T> & TableColumnsTypeEditable<T>;
715
709
 
@@ -738,11 +732,10 @@ export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "column
738
732
  setColumns?: (newColumns: TableColumnsType<T>) => void;
739
733
  resetToInitialFilters: () => void;
740
734
  handleSearch: (nextFilters: InitialFiltersSearch_2<IValueSearch>) => void;
741
- groupHeadingButtonItems: GroupHeadingButtonItem[];
742
735
  tagSearchItems?: string[];
743
736
  setTagSearchItems?: (value: string[]) => void;
744
- setKeyActive: (value: string | number) => void;
745
- keyActive: string | number;
737
+ renderHeadingSearch: (filters: InitialFiltersSearch_2<IValueSearch>, handleSearch: (nextFilters: InitialFiltersSearch_2<IValueSearch>) => void, resetToInitialFilters: () => void) => JSX.Element;
738
+ rightHeadingContent: ReactNode;
746
739
  status?: number;
747
740
  }
748
741
 
@@ -779,7 +772,7 @@ declare type TInputNumberType = "number" | "money";
779
772
  export declare const TINY_API = "miai0qn3c79adm555yoxd9kz6j6a323ek760nf7qd81nv1p5";
780
773
 
781
774
  export declare const TinyMCE: {
782
- (props: TinyProps): JSX.Element;
775
+ (props: TinyProps): JSX_2.Element;
783
776
  displayName: string;
784
777
  };
785
778
 
@@ -832,9 +825,9 @@ export declare enum TypeActionRowTable {
832
825
  export declare const typeColorMap: Record<NonNullable<BadgeProps["type"]>, string>;
833
826
 
834
827
  export declare const Typography: {
835
- Title: (props: TitleProps) => JSX.Element;
836
- Paragraph: (props: ParagraphProps) => JSX.Element;
837
- Text: (props: TextProps) => JSX.Element;
828
+ Title: (props: TitleProps) => JSX_2.Element;
829
+ Paragraph: (props: ParagraphProps) => JSX_2.Element;
830
+ Text: (props: TextProps) => JSX_2.Element;
838
831
  };
839
832
 
840
833
  export declare interface UploadFieldProps extends Omit<UploadProps, "value" | "onChange" | "fileList"> {
@@ -880,6 +873,6 @@ export declare const useToggle: () => {
880
873
  shouldRender: boolean;
881
874
  };
882
875
 
883
- export declare const Watermark: ({ ...rest }: WatermarkProps) => JSX.Element;
876
+ export declare const Watermark: ({ ...rest }: WatermarkProps) => JSX_2.Element;
884
877
 
885
878
  export { }