@pnkx-lib/ui 1.9.109 → 1.9.112

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/types/index.d.ts CHANGED
@@ -43,8 +43,8 @@ import { IAllProps } from '@tinymce/tinymce-react';
43
43
  import { ImageProps } from 'antd';
44
44
  import { InitialFiltersSearch } from '@pnkx-lib/core';
45
45
  import { InputProps as InputProps_2 } from 'antd';
46
- import { JSX as JSX_2 } from 'react/jsx-runtime';
47
- import { JSX as JSX_3 } from 'react';
46
+ import { JSX } from 'react/jsx-runtime';
47
+ import { JSX as JSX_2 } 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,10 +93,10 @@ 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';
97
- import { TypeBulkActions as TypeBulkActions_2 } from '../../../../../../../../../../../src/constants';
98
- import { TypeStatusTable as TypeStatusTable_2 } from '../../../../../../../../../../../src/constants';
99
- import { TypeStatusTable as TypeStatusTable_3 } from '../../../../../../../../../../../../../src/components/ui';
96
+ import { TypeActionRowTable as TypeActionRowTable_2 } from '../../../../../../../../../../../../../src/constants/table';
97
+ import { TypeBulkActions as TypeBulkActions_2 } from '../../../../../../../../../../../../src/constants';
98
+ import { TypeStatusTable as TypeStatusTable_2 } from '../../../../../../../../../../../../src/constants';
99
+ import { TypeStatusTable as TypeStatusTable_3 } from '../../../../../../../../../../../../../../src/components/ui';
100
100
  import { UploadFile } from 'antd';
101
101
  import { UploadProps } from 'antd';
102
102
  import { UseFormReset } from 'react-hook-form';
@@ -105,7 +105,7 @@ import { UseFormSetValue } from 'react-hook-form';
105
105
  import { UseFormStateReturn } from 'react-hook-form';
106
106
  import { WatermarkProps } from 'antd';
107
107
 
108
- export declare const ActionRowTable: ({ type, contentTooltip, handleClick, }: ActionRowTableProps) => JSX_2.Element;
108
+ export declare const ActionRowTable: ({ type, contentTooltip, handleClick, }: ActionRowTableProps) => JSX.Element;
109
109
 
110
110
  export declare interface ActionRowTableProps {
111
111
  type: TypeActionRowTable_2;
@@ -125,7 +125,7 @@ export declare const Anchor: typeof Anchor_2 & {
125
125
 
126
126
  export declare type AnchorPropsUnion = BaseProps_13 & AnchorProps;
127
127
 
128
- export declare const Appfix: ({ children, ...rest }: AppfixProps) => JSX_2.Element;
128
+ export declare const Appfix: ({ children, ...rest }: AppfixProps) => JSX.Element;
129
129
 
130
130
  export declare interface AppfixProps extends AffixProps {
131
131
  children: default_2.ReactNode;
@@ -135,7 +135,7 @@ export declare const AutoComplete: React.FC<AutoCompleteProps>;
135
135
 
136
136
  export declare type AutoCompleteProps = AutoCompleteProps_2;
137
137
 
138
- export declare const Badge: ({ type, children, customColor, ...rest }: BadgeProps) => JSX_2.Element;
138
+ export declare const Badge: ({ type, children, customColor, ...rest }: BadgeProps) => JSX.Element;
139
139
 
140
140
  export declare interface BadgeProps extends BadgeProps_2 {
141
141
  type?: "error" | "info" | "success" | "warning";
@@ -205,7 +205,13 @@ declare type BaseProps_9 = {
205
205
  spaceClassName?: string;
206
206
  };
207
207
 
208
- export declare const Breadcrumb: (props: BreadcrumbPropsUnion) => JSX_2.Element;
208
+ export declare const Breadcrumb: (props: BreadcrumbPropsUnion) => JSX.Element;
209
+
210
+ export declare const BreadcrumbHeading: (props: BreadcrumbHeadingProps) => JSX.Element;
211
+
212
+ export declare interface BreadcrumbHeadingProps {
213
+ menu: Array<MenuType>;
214
+ }
209
215
 
210
216
  export declare interface BreadcrumbItemType extends BreadcrumbItemType_2 {
211
217
  children?: Omit<BreadcrumbItemType, "children">[];
@@ -217,13 +223,13 @@ export declare type BreadcrumbPropsUnion = BaseProps_6 & BreadcrumbProps;
217
223
 
218
224
  export declare type BreadcrumbSeparatorType = BreadcrumbSeparatorType_2;
219
225
 
220
- export declare const BulkActions: ({ quantity, handleRestore, handleSendApproval, handleCancelSendApproval, handleRefuseApproval, handleApproval, handleCancelApproval, handleDelete, handleActivate, handleInActivate, status, }: IBulkActionsProps) => JSX_2.Element;
226
+ export declare const BulkActions: ({ quantity, handleRestore, handleSendApproval, handleCancelSendApproval, handleRefuseApproval, handleApproval, handleCancelApproval, handleDelete, handleActivate, handleInActivate, status, }: IBulkActionsProps) => JSX.Element;
221
227
 
222
228
  export declare const Button: default_2.FC<ButtonProps>;
223
229
 
224
230
  export declare type ButtonProps = ButtonProps_2;
225
231
 
226
- export declare const CascaderField: (props: CascaderFieldProps) => JSX_2.Element;
232
+ export declare const CascaderField: (props: CascaderFieldProps) => JSX.Element;
227
233
 
228
234
  export declare type CascaderFieldProps = BaseProps & (SingleCascaderProps | MultipleCascaderProps);
229
235
 
@@ -236,13 +242,13 @@ declare enum CATEGORY_LIST_ENUM {
236
242
  DELETE = 5, // đã xóa
237
243
  }
238
244
 
239
- export declare const CategoryStatus: ({ status }: CategoryStatusProps) => JSX_2.Element;
245
+ export declare const CategoryStatus: ({ status }: CategoryStatusProps) => JSX.Element;
240
246
 
241
247
  export declare interface CategoryStatusProps {
242
248
  status: number;
243
249
  }
244
250
 
245
- export declare const CheckboxField: (props: CheckboxFieldProps) => JSX_2.Element;
251
+ export declare const CheckboxField: (props: CheckboxFieldProps) => JSX.Element;
246
252
 
247
253
  export declare interface CheckboxFieldProps extends Omit<CheckboxProps, "onChange" | "checked"> {
248
254
  field?: ControllerRenderProps<any, any>;
@@ -254,7 +260,7 @@ export declare interface CheckboxFieldProps extends Omit<CheckboxProps, "onChang
254
260
  customStyleCheckbox?: string;
255
261
  }
256
262
 
257
- export declare const Col: (props: ColPropsUnion) => JSX_2.Element;
263
+ export declare const Col: (props: ColPropsUnion) => JSX.Element;
258
264
 
259
265
  export declare interface ColProps extends ColProps_2, Partial<Record<Breakpoint, ColSpanType | ColSize>> {
260
266
  }
@@ -274,7 +280,7 @@ declare type CompoundedMenu = FC<MenuComponentProps> & {
274
280
  ItemGroup: typeof ItemGroup;
275
281
  };
276
282
 
277
- export declare const ConfirmModal: ({ title, content, typeIcon, titleCancelBtn, titleSubmitBtn, handleCancel, handleSubmit, ...restProps }: ConfirmModalProps) => JSX_2.Element;
283
+ export declare const ConfirmModal: ({ title, content, typeIcon, titleCancelBtn, titleSubmitBtn, handleCancel, handleSubmit, ...restProps }: ConfirmModalProps) => JSX.Element;
278
284
 
279
285
  export declare interface ConfirmModalProps extends ModalProps {
280
286
  title: string;
@@ -315,9 +321,9 @@ export declare interface DatePickerDMYProps extends Omit<ReactDatePickerProps, "
315
321
  size?: TSize;
316
322
  }
317
323
 
318
- export declare const DatePickerField: (props: DatePickerDMYProps) => JSX_2.Element;
324
+ export declare const DatePickerField: (props: DatePickerDMYProps) => JSX.Element;
319
325
 
320
- export declare const Divider: ({ children, ...rest }: DividerProps) => JSX_2.Element;
326
+ export declare const Divider: ({ children, ...rest }: DividerProps) => JSX.Element;
321
327
 
322
328
  declare const Divider_2: FC<MenuDividerProps>;
323
329
 
@@ -325,14 +331,14 @@ export declare interface DividerProps extends DividerProps_2 {
325
331
  children?: ReactNode | string;
326
332
  }
327
333
 
328
- export declare const Drawer: ({ onSubmit, children, ...rest }: DrawerProps) => JSX_2.Element;
334
+ export declare const Drawer: ({ onSubmit, children, ...rest }: DrawerProps) => JSX.Element;
329
335
 
330
336
  export declare interface DrawerProps extends DrawerProps_2 {
331
337
  children?: ReactNode;
332
338
  onSubmit?: (values: any) => void;
333
339
  }
334
340
 
335
- export declare const Dropdown: (props: DropdownPropsUnion) => JSX_2.Element;
341
+ export declare const Dropdown: (props: DropdownPropsUnion) => JSX.Element;
336
342
 
337
343
  export declare type DropdownButtonProps = DropdownButtonProps_2;
338
344
 
@@ -366,7 +372,7 @@ export declare interface ErrorBoundaryState {
366
372
  errorInfo: ErrorInfo | null;
367
373
  }
368
374
 
369
- export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) => JSX_2.Element | null>;
375
+ export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) => JSX.Element | null>;
370
376
 
371
377
  export declare interface ErrorMessageProps {
372
378
  errorMessage?: string;
@@ -379,7 +385,7 @@ declare type ExtraProps = {
379
385
  menuClassName?: string;
380
386
  };
381
387
 
382
- export declare const Flex: (props: FlexPropsUnion) => JSX_2.Element;
388
+ export declare const Flex: (props: FlexPropsUnion) => JSX.Element;
383
389
 
384
390
  export declare type FlexProps = FlexProps_2;
385
391
 
@@ -391,7 +397,7 @@ declare interface GroupHeadingButtonItem {
391
397
  isStatus: TypeStatusTable_3;
392
398
  }
393
399
 
394
- export declare const Heading: (props: HeadingProps) => JSX_2.Element;
400
+ export declare const Heading: (props: HeadingProps) => JSX.Element;
395
401
 
396
402
  export declare interface HeadingProps {
397
403
  rightContent?: ReactNode;
@@ -419,7 +425,7 @@ declare interface IBulkActionsProps {
419
425
  declare const Image_2: React.FC<ImageProps>;
420
426
  export { Image_2 as Image }
421
427
 
422
- export declare const Input: (props: InputProps) => JSX_2.Element;
428
+ export declare const Input: (props: InputProps) => JSX.Element;
423
429
 
424
430
  export declare interface InputProps extends InputProps_2 {
425
431
  field?: ControllerRenderProps<any, any>;
@@ -442,7 +448,7 @@ declare const ItemGroup: ForwardRefExoticComponent<Omit<MenuItemGroupProps, "ref
442
448
 
443
449
  export declare type ItemType = Partial<BreadcrumbItemType & BreadcrumbSeparatorType>;
444
450
 
445
- export declare const Label: ({ label, required }: LabelProps) => JSX_2.Element;
451
+ export declare const Label: ({ label, required }: LabelProps) => JSX.Element;
446
452
 
447
453
  export declare interface LabelProps {
448
454
  label: string;
@@ -495,7 +501,7 @@ export declare type MenuType = {
495
501
  }[];
496
502
  };
497
503
 
498
- export declare const Modal: ({ children, ...rest }: ModalProps) => JSX_2.Element;
504
+ export declare const Modal: ({ children, ...rest }: ModalProps) => JSX.Element;
499
505
 
500
506
  export declare interface ModalProps extends ModalProps_2 {
501
507
  children?: ReactNode;
@@ -537,7 +543,7 @@ export declare type PnkxCollapseProps = CollapseProps;
537
543
  export declare const PnkxColorPicker: React.FC<ColorPickerProps>;
538
544
 
539
545
  export declare class PnkxField<TComponent extends React_2.ComponentType<any>> extends React_2.PureComponent<PnkxFieldProps<TComponent>> {
540
- render(): JSX_2.Element;
546
+ render(): JSX.Element;
541
547
  }
542
548
 
543
549
  export declare type PnkxFieldProps<TComponent extends React_2.ComponentType<any>> = {
@@ -550,13 +556,13 @@ export declare interface PnkxSpinProps extends SpinProps {
550
556
  children?: ReactNode;
551
557
  }
552
558
 
553
- export declare const Popconfirm: ({ children, ...rest }: PopconfirmProps) => JSX_2.Element;
559
+ export declare const Popconfirm: ({ children, ...rest }: PopconfirmProps) => JSX.Element;
554
560
 
555
561
  export declare interface PopconfirmProps extends PopconfirmProps_2 {
556
562
  children?: ReactNode;
557
563
  }
558
564
 
559
- export declare const Popover: (props: PopoverPropsUnion) => JSX_2.Element;
565
+ export declare const Popover: (props: PopoverPropsUnion) => JSX.Element;
560
566
 
561
567
  export declare type PopoverProps = PopoverProps_2;
562
568
 
@@ -571,14 +577,14 @@ export declare interface PropsNumberFormat extends Omit<InputProps, "onChange" |
571
577
  type?: TInputNumberType;
572
578
  prefix?: string;
573
579
  suffix?: string;
574
- helperText?: () => JSX_3.Element | null;
580
+ helperText?: () => JSX_2.Element | null;
575
581
  }
576
582
 
577
583
  export declare const QRCode: React.FC<QRCodeProps>;
578
584
 
579
585
  export declare type QRCodeProps = QRCodeProps_2;
580
586
 
581
- export declare const RadioGroup: (props: RadioProps) => JSX_2.Element;
587
+ export declare const RadioGroup: (props: RadioProps) => JSX.Element;
582
588
 
583
589
  export declare interface RadioProps extends Omit<RadioGroupProps, "options" | "onChange"> {
584
590
  field?: ControllerRenderProps<any, any>;
@@ -591,7 +597,7 @@ export declare interface RadioProps extends Omit<RadioGroupProps, "options" | "o
591
597
  position?: TPositionRadio;
592
598
  }
593
599
 
594
- export declare const RangePickerField: (props: RangePickerFieldProps) => JSX_2.Element;
600
+ export declare const RangePickerField: (props: RangePickerFieldProps) => JSX.Element;
595
601
 
596
602
  export declare interface RangePickerFieldProps extends Omit<RangePickerProps, "value" | "onChange"> {
597
603
  field?: ControllerRenderProps<any, any>;
@@ -605,13 +611,13 @@ export declare interface RangePickerFieldProps extends Omit<RangePickerProps, "v
605
611
 
606
612
  export declare const Rate: React.FC<RateProps>;
607
613
 
608
- export declare const Result: ({ children, ...rest }: ResultProps) => JSX_2.Element;
614
+ export declare const Result: ({ children, ...rest }: ResultProps) => JSX.Element;
609
615
 
610
616
  export declare interface ResultProps extends ResultProps_2 {
611
617
  children?: ReactNode | string;
612
618
  }
613
619
 
614
- export declare const Row: (props: RowPropsUnion) => JSX_2.Element;
620
+ export declare const Row: (props: RowPropsUnion) => JSX.Element;
615
621
 
616
622
  declare interface RowCommon {
617
623
  [x: string]: any;
@@ -619,7 +625,7 @@ declare interface RowCommon {
619
625
 
620
626
  export declare type RowPropsUnion = BaseProps_4 & RowProps;
621
627
 
622
- export declare const SearchFiltersForm: <T extends FieldValues = FieldValues>({ initialValues, renderFilterFields, onSubmit, onReset, classNamesContainer, classNameWrapperForm, hideDefaultSubmit, hideResetButton, }: SearchFiltersFormProps<T> & Partial<UseFormReturn<T>>) => JSX_2.Element;
628
+ export declare const SearchFiltersForm: <T extends FieldValues = FieldValues>({ initialValues, renderFilterFields, onSubmit, onReset, classNamesContainer, classNameWrapperForm, hideDefaultSubmit, hideResetButton, }: SearchFiltersFormProps<T> & Partial<UseFormReturn<T>>) => JSX.Element;
623
629
 
624
630
  export declare interface SearchFiltersFormProps<T extends FieldValues> {
625
631
  renderFilterFields?: (options: {
@@ -641,7 +647,7 @@ export declare const Segmented: React.FC<SegmentedProps>;
641
647
 
642
648
  export declare type SegmentedProps = SegmentedProps_2;
643
649
 
644
- export declare const Select: (props: SelectFieldProps) => JSX_2.Element;
650
+ export declare const Select: (props: SelectFieldProps) => JSX.Element;
645
651
 
646
652
  export declare interface SelectFieldProps extends SelectProps {
647
653
  field?: ControllerRenderProps<any, any>;
@@ -654,7 +660,7 @@ export declare interface SelectFieldProps extends SelectProps {
654
660
  classNameSelect?: string;
655
661
  }
656
662
 
657
- export declare const Sidebar: ({ children, menu, userInfo }: SidebarProps) => JSX_2.Element;
663
+ export declare const Sidebar: ({ children, menu, userInfo }: SidebarProps) => JSX.Element;
658
664
 
659
665
  export declare interface SidebarProps {
660
666
  children?: default_2.ReactNode;
@@ -670,7 +676,7 @@ declare type SingleCascaderProps = CascaderProps<DefaultOptionType, string> & {
670
676
  multiple?: false;
671
677
  };
672
678
 
673
- export declare const Skeleton: ({ type, skeletonButtonCount }: SkeletonProps) => JSX_2.Element;
679
+ export declare const Skeleton: ({ type, skeletonButtonCount }: SkeletonProps) => JSX.Element;
674
680
 
675
681
  export declare interface SkeletonProps extends SkeletonProps_2 {
676
682
  type?: "table" | "form";
@@ -685,7 +691,7 @@ export declare const Space: typeof Space_2;
685
691
 
686
692
  export declare type SpacePropsUnion = BaseProps_9 & SpaceProps;
687
693
 
688
- export declare const Spin: ({ children, ...rest }: PnkxSpinProps) => JSX_2.Element;
694
+ export declare const Spin: ({ children, ...rest }: PnkxSpinProps) => JSX.Element;
689
695
 
690
696
  export declare const Splitter: typeof Splitter_2;
691
697
 
@@ -713,7 +719,7 @@ declare const SubMenu: FC<SubMenuProps>;
713
719
 
714
720
  export declare type SubMenuProps = SubMenuProps_2;
715
721
 
716
- export declare const Switch: (props: SwitchProps) => JSX_2.Element;
722
+ export declare const Switch: (props: SwitchProps) => JSX.Element;
717
723
 
718
724
  export declare interface SwitchProps extends Omit<SwitchProps_2, "onChange"> {
719
725
  field?: ControllerRenderProps<any, any>;
@@ -732,7 +738,7 @@ declare type TabItem = {
732
738
  disabled?: boolean;
733
739
  };
734
740
 
735
- export declare const Table: <T extends RowCommon>({ dataSource, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, titleSettingTableModal, showSetting, setColumns, renderHeadingSearch, rightHeadingContent, menu, groupHeadingButtonItems, showIndexColumn, setFilters, noBreadcum, ...rest }: TableCommonProps<T>) => JSX_2.Element;
741
+ export declare const Table: <T extends RowCommon>({ dataSource, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, titleSettingTableModal, showSetting, setColumns, renderHeadingSearch, rightHeadingContent, menu, groupHeadingButtonItems, showIndexColumn, setFilters, noBreadcum, ...rest }: TableCommonProps<T>) => JSX.Element;
736
742
 
737
743
  export declare type TableColumnsType<T> = TableColumnsType_2<T> & TableColumnsTypeEditable<T>;
738
744
 
@@ -800,7 +806,7 @@ declare type TInputNumberType = "number" | "money";
800
806
  export declare const TINY_API = "miai0qn3c79adm555yoxd9kz6j6a323ek760nf7qd81nv1p5";
801
807
 
802
808
  export declare const TinyMCE: {
803
- (props: TinyProps): JSX_2.Element;
809
+ (props: TinyProps): JSX.Element;
804
810
  displayName: string;
805
811
  };
806
812
 
@@ -881,12 +887,12 @@ export declare enum TypeStatusTable {
881
887
  }
882
888
 
883
889
  export declare const Typography: {
884
- Title: (props: TitleProps) => JSX_2.Element;
885
- Paragraph: (props: ParagraphProps) => JSX_2.Element;
886
- Text: (props: TextProps) => JSX_2.Element;
890
+ Title: (props: TitleProps) => JSX.Element;
891
+ Paragraph: (props: ParagraphProps) => JSX.Element;
892
+ Text: (props: TextProps) => JSX.Element;
887
893
  };
888
894
 
889
- export declare const UploadField: (props: UploadFieldProps) => JSX_2.Element;
895
+ export declare const UploadField: (props: UploadFieldProps) => JSX.Element;
890
896
 
891
897
  export declare interface UploadFieldProps extends Omit<UploadProps, "value" | "onChange" | "fileList"> {
892
898
  field?: ControllerRenderProps<any, any>;
@@ -911,6 +917,6 @@ export declare const useToast: (defaultProps?: OptionalArgsToast) => {
911
917
  warning(props?: OptionalArgsToast): void;
912
918
  };
913
919
 
914
- export declare const Watermark: ({ ...rest }: WatermarkProps) => JSX_2.Element;
920
+ export declare const Watermark: ({ ...rest }: WatermarkProps) => JSX.Element;
915
921
 
916
922
  export { }
package/types/ui.d.ts CHANGED
@@ -35,7 +35,7 @@ import { FormEventHandler } from 'react';
35
35
  import { ForwardRefExoticComponent } from 'react';
36
36
  import { ImageProps } from 'antd';
37
37
  import { InitialFiltersSearch } from '@pnkx-lib/core';
38
- import { JSX as JSX_2 } from 'react/jsx-runtime';
38
+ import { JSX } from 'react/jsx-runtime';
39
39
  import { MenuDividerProps } from 'antd/es/menu';
40
40
  import { MenuItemGroupProps } from 'rc-menu/lib/MenuItemGroup';
41
41
  import { MenuItemProps as MenuItemProps_2 } from 'antd/es/menu';
@@ -77,16 +77,16 @@ import { TitleProps } from 'antd/es/typography/Title';
77
77
  import { TooltipProps as TooltipProps_2 } from 'antd';
78
78
  import { TourProps as TourProps_2 } from 'antd';
79
79
  import { TreeProps as TreeProps_2 } from 'antd';
80
- import { TypeActionRowTable as TypeActionRowTable_2 } from '../../../../../../../../../../../../src/constants/table';
81
- import { TypeBulkActions as TypeBulkActions_2 } from '../../../../../../../../../../../src/constants';
82
- import { TypeStatusTable as TypeStatusTable_2 } from '../../../../../../../../../../../src/constants';
83
- import { TypeStatusTable as TypeStatusTable_3 } from '../../../../../../../../../../../../../src/components/ui';
80
+ import { TypeActionRowTable as TypeActionRowTable_2 } from '../../../../../../../../../../../../../src/constants/table';
81
+ import { TypeBulkActions as TypeBulkActions_2 } from '../../../../../../../../../../../../src/constants';
82
+ import { TypeStatusTable as TypeStatusTable_2 } from '../../../../../../../../../../../../src/constants';
83
+ import { TypeStatusTable as TypeStatusTable_3 } from '../../../../../../../../../../../../../../src/components/ui';
84
84
  import { UseFormReset } from 'react-hook-form';
85
85
  import { UseFormReturn } from 'react-hook-form';
86
86
  import { UseFormSetValue } from 'react-hook-form';
87
87
  import { WatermarkProps } from 'antd';
88
88
 
89
- export declare const ActionRowTable: ({ type, contentTooltip, handleClick, }: ActionRowTableProps) => JSX_2.Element;
89
+ export declare const ActionRowTable: ({ type, contentTooltip, handleClick, }: ActionRowTableProps) => JSX.Element;
90
90
 
91
91
  export declare interface ActionRowTableProps {
92
92
  type: TypeActionRowTable_2;
@@ -106,7 +106,7 @@ export declare const Anchor: typeof Anchor_2 & {
106
106
 
107
107
  export declare type AnchorPropsUnion = BaseProps_13 & AnchorProps;
108
108
 
109
- export declare const Appfix: ({ children, ...rest }: AppfixProps) => JSX_2.Element;
109
+ export declare const Appfix: ({ children, ...rest }: AppfixProps) => JSX.Element;
110
110
 
111
111
  export declare interface AppfixProps extends AffixProps {
112
112
  children: default_2.ReactNode;
@@ -116,7 +116,7 @@ export declare const AutoComplete: React.FC<AutoCompleteProps>;
116
116
 
117
117
  export declare type AutoCompleteProps = AutoCompleteProps_2;
118
118
 
119
- export declare const Badge: ({ type, children, customColor, ...rest }: BadgeProps) => JSX_2.Element;
119
+ export declare const Badge: ({ type, children, customColor, ...rest }: BadgeProps) => JSX.Element;
120
120
 
121
121
  export declare interface BadgeProps extends BadgeProps_2 {
122
122
  type?: "error" | "info" | "success" | "warning";
@@ -186,7 +186,13 @@ declare type BaseProps_9 = {
186
186
  spaceClassName?: string;
187
187
  };
188
188
 
189
- export declare const Breadcrumb: (props: BreadcrumbPropsUnion) => JSX_2.Element;
189
+ export declare const Breadcrumb: (props: BreadcrumbPropsUnion) => JSX.Element;
190
+
191
+ export declare const BreadcrumbHeading: (props: BreadcrumbHeadingProps) => JSX.Element;
192
+
193
+ export declare interface BreadcrumbHeadingProps {
194
+ menu: Array<MenuType>;
195
+ }
190
196
 
191
197
  export declare interface BreadcrumbItemType extends BreadcrumbItemType_2 {
192
198
  children?: Omit<BreadcrumbItemType, "children">[];
@@ -198,13 +204,13 @@ export declare type BreadcrumbPropsUnion = BaseProps_6 & BreadcrumbProps;
198
204
 
199
205
  export declare type BreadcrumbSeparatorType = BreadcrumbSeparatorType_2;
200
206
 
201
- export declare const BulkActions: ({ quantity, handleRestore, handleSendApproval, handleCancelSendApproval, handleRefuseApproval, handleApproval, handleCancelApproval, handleDelete, handleActivate, handleInActivate, status, }: IBulkActionsProps) => JSX_2.Element;
207
+ export declare const BulkActions: ({ quantity, handleRestore, handleSendApproval, handleCancelSendApproval, handleRefuseApproval, handleApproval, handleCancelApproval, handleDelete, handleActivate, handleInActivate, status, }: IBulkActionsProps) => JSX.Element;
202
208
 
203
209
  export declare const Button: default_2.FC<ButtonProps>;
204
210
 
205
211
  export declare type ButtonProps = ButtonProps_2;
206
212
 
207
- export declare const CascaderField: (props: CascaderFieldProps) => JSX_2.Element;
213
+ export declare const CascaderField: (props: CascaderFieldProps) => JSX.Element;
208
214
 
209
215
  export declare type CascaderFieldProps = BaseProps & (SingleCascaderProps | MultipleCascaderProps);
210
216
 
@@ -217,13 +223,13 @@ declare enum CATEGORY_LIST_ENUM {
217
223
  DELETE = 5, // đã xóa
218
224
  }
219
225
 
220
- export declare const CategoryStatus: ({ status }: CategoryStatusProps) => JSX_2.Element;
226
+ export declare const CategoryStatus: ({ status }: CategoryStatusProps) => JSX.Element;
221
227
 
222
228
  export declare interface CategoryStatusProps {
223
229
  status: number;
224
230
  }
225
231
 
226
- export declare const Col: (props: ColPropsUnion) => JSX_2.Element;
232
+ export declare const Col: (props: ColPropsUnion) => JSX.Element;
227
233
 
228
234
  export declare interface ColProps extends ColProps_2, Partial<Record<Breakpoint, ColSpanType | ColSize>> {
229
235
  }
@@ -241,7 +247,7 @@ declare type CompoundedMenu = FC<MenuComponentProps> & {
241
247
  ItemGroup: typeof ItemGroup;
242
248
  };
243
249
 
244
- export declare const ConfirmModal: ({ title, content, typeIcon, titleCancelBtn, titleSubmitBtn, handleCancel, handleSubmit, ...restProps }: ConfirmModalProps) => JSX_2.Element;
250
+ export declare const ConfirmModal: ({ title, content, typeIcon, titleCancelBtn, titleSubmitBtn, handleCancel, handleSubmit, ...restProps }: ConfirmModalProps) => JSX.Element;
245
251
 
246
252
  export declare interface ConfirmModalProps extends ModalProps {
247
253
  title: string;
@@ -263,7 +269,7 @@ export declare interface ContainerProps {
263
269
  className?: string;
264
270
  }
265
271
 
266
- export declare const Divider: ({ children, ...rest }: DividerProps) => JSX_2.Element;
272
+ export declare const Divider: ({ children, ...rest }: DividerProps) => JSX.Element;
267
273
 
268
274
  declare const Divider_2: FC<MenuDividerProps>;
269
275
 
@@ -271,14 +277,14 @@ export declare interface DividerProps extends DividerProps_2 {
271
277
  children?: ReactNode | string;
272
278
  }
273
279
 
274
- export declare const Drawer: ({ onSubmit, children, ...rest }: DrawerProps) => JSX_2.Element;
280
+ export declare const Drawer: ({ onSubmit, children, ...rest }: DrawerProps) => JSX.Element;
275
281
 
276
282
  export declare interface DrawerProps extends DrawerProps_2 {
277
283
  children?: ReactNode;
278
284
  onSubmit?: (values: any) => void;
279
285
  }
280
286
 
281
- export declare const Dropdown: (props: DropdownPropsUnion) => JSX_2.Element;
287
+ export declare const Dropdown: (props: DropdownPropsUnion) => JSX.Element;
282
288
 
283
289
  export declare type DropdownButtonProps = DropdownButtonProps_2;
284
290
 
@@ -312,7 +318,7 @@ export declare interface ErrorBoundaryState {
312
318
  errorInfo: ErrorInfo | null;
313
319
  }
314
320
 
315
- export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) => JSX_2.Element | null>;
321
+ export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) => JSX.Element | null>;
316
322
 
317
323
  export declare interface ErrorMessageProps {
318
324
  errorMessage?: string;
@@ -325,7 +331,7 @@ declare type ExtraProps = {
325
331
  menuClassName?: string;
326
332
  };
327
333
 
328
- export declare const Flex: (props: FlexPropsUnion) => JSX_2.Element;
334
+ export declare const Flex: (props: FlexPropsUnion) => JSX.Element;
329
335
 
330
336
  export declare type FlexProps = FlexProps_2;
331
337
 
@@ -337,7 +343,7 @@ declare interface GroupHeadingButtonItem {
337
343
  isStatus: TypeStatusTable_3;
338
344
  }
339
345
 
340
- export declare const Heading: (props: HeadingProps) => JSX_2.Element;
346
+ export declare const Heading: (props: HeadingProps) => JSX.Element;
341
347
 
342
348
  export declare interface HeadingProps {
343
349
  rightContent?: ReactNode;
@@ -371,7 +377,7 @@ declare const ItemGroup: ForwardRefExoticComponent<Omit<MenuItemGroupProps, "ref
371
377
 
372
378
  export declare type ItemType = Partial<BreadcrumbItemType & BreadcrumbSeparatorType>;
373
379
 
374
- export declare const Label: ({ label, required }: LabelProps) => JSX_2.Element;
380
+ export declare const Label: ({ label, required }: LabelProps) => JSX.Element;
375
381
 
376
382
  export declare interface LabelProps {
377
383
  label: string;
@@ -424,7 +430,7 @@ export declare type MenuType = {
424
430
  }[];
425
431
  };
426
432
 
427
- export declare const Modal: ({ children, ...rest }: ModalProps) => JSX_2.Element;
433
+ export declare const Modal: ({ children, ...rest }: ModalProps) => JSX.Element;
428
434
 
429
435
  export declare interface ModalProps extends ModalProps_2 {
430
436
  children?: ReactNode;
@@ -460,13 +466,13 @@ export declare interface PnkxSpinProps extends SpinProps {
460
466
  children?: ReactNode;
461
467
  }
462
468
 
463
- export declare const Popconfirm: ({ children, ...rest }: PopconfirmProps) => JSX_2.Element;
469
+ export declare const Popconfirm: ({ children, ...rest }: PopconfirmProps) => JSX.Element;
464
470
 
465
471
  export declare interface PopconfirmProps extends PopconfirmProps_2 {
466
472
  children?: ReactNode;
467
473
  }
468
474
 
469
- export declare const Popover: (props: PopoverPropsUnion) => JSX_2.Element;
475
+ export declare const Popover: (props: PopoverPropsUnion) => JSX.Element;
470
476
 
471
477
  export declare type PopoverProps = PopoverProps_2;
472
478
 
@@ -478,13 +484,13 @@ export declare type QRCodeProps = QRCodeProps_2;
478
484
 
479
485
  export declare const Rate: React.FC<RateProps>;
480
486
 
481
- export declare const Result: ({ children, ...rest }: ResultProps) => JSX_2.Element;
487
+ export declare const Result: ({ children, ...rest }: ResultProps) => JSX.Element;
482
488
 
483
489
  export declare interface ResultProps extends ResultProps_2 {
484
490
  children?: ReactNode | string;
485
491
  }
486
492
 
487
- export declare const Row: (props: RowPropsUnion) => JSX_2.Element;
493
+ export declare const Row: (props: RowPropsUnion) => JSX.Element;
488
494
 
489
495
  declare interface RowCommon {
490
496
  [x: string]: any;
@@ -492,7 +498,7 @@ declare interface RowCommon {
492
498
 
493
499
  export declare type RowPropsUnion = BaseProps_4 & RowProps;
494
500
 
495
- export declare const SearchFiltersForm: <T extends FieldValues = FieldValues>({ initialValues, renderFilterFields, onSubmit, onReset, classNamesContainer, classNameWrapperForm, hideDefaultSubmit, hideResetButton, }: SearchFiltersFormProps<T> & Partial<UseFormReturn<T>>) => JSX_2.Element;
501
+ export declare const SearchFiltersForm: <T extends FieldValues = FieldValues>({ initialValues, renderFilterFields, onSubmit, onReset, classNamesContainer, classNameWrapperForm, hideDefaultSubmit, hideResetButton, }: SearchFiltersFormProps<T> & Partial<UseFormReturn<T>>) => JSX.Element;
496
502
 
497
503
  export declare interface SearchFiltersFormProps<T extends FieldValues> {
498
504
  renderFilterFields?: (options: {
@@ -514,7 +520,7 @@ export declare const Segmented: React.FC<SegmentedProps>;
514
520
 
515
521
  export declare type SegmentedProps = SegmentedProps_2;
516
522
 
517
- export declare const Sidebar: ({ children, menu, userInfo }: SidebarProps) => JSX_2.Element;
523
+ export declare const Sidebar: ({ children, menu, userInfo }: SidebarProps) => JSX.Element;
518
524
 
519
525
  export declare interface SidebarProps {
520
526
  children?: default_2.ReactNode;
@@ -530,7 +536,7 @@ declare type SingleCascaderProps = CascaderProps<DefaultOptionType, string> & {
530
536
  multiple?: false;
531
537
  };
532
538
 
533
- export declare const Skeleton: ({ type, skeletonButtonCount }: SkeletonProps) => JSX_2.Element;
539
+ export declare const Skeleton: ({ type, skeletonButtonCount }: SkeletonProps) => JSX.Element;
534
540
 
535
541
  export declare interface SkeletonProps extends SkeletonProps_2 {
536
542
  type?: "table" | "form";
@@ -545,7 +551,7 @@ export declare const Space: typeof Space_2;
545
551
 
546
552
  export declare type SpacePropsUnion = BaseProps_9 & SpaceProps;
547
553
 
548
- export declare const Spin: ({ children, ...rest }: PnkxSpinProps) => JSX_2.Element;
554
+ export declare const Spin: ({ children, ...rest }: PnkxSpinProps) => JSX.Element;
549
555
 
550
556
  export declare const Splitter: typeof Splitter_2;
551
557
 
@@ -580,7 +586,7 @@ declare type TabItem = {
580
586
  disabled?: boolean;
581
587
  };
582
588
 
583
- export declare const Table: <T extends RowCommon>({ dataSource, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, titleSettingTableModal, showSetting, setColumns, renderHeadingSearch, rightHeadingContent, menu, groupHeadingButtonItems, showIndexColumn, setFilters, noBreadcum, ...rest }: TableCommonProps<T>) => JSX_2.Element;
589
+ export declare const Table: <T extends RowCommon>({ dataSource, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, titleSettingTableModal, showSetting, setColumns, renderHeadingSearch, rightHeadingContent, menu, groupHeadingButtonItems, showIndexColumn, setFilters, noBreadcum, ...rest }: TableCommonProps<T>) => JSX.Element;
584
590
 
585
591
  export declare type TableColumnsType<T> = TableColumnsType_2<T> & TableColumnsTypeEditable<T>;
586
592
 
@@ -693,11 +699,11 @@ export declare enum TypeStatusTable {
693
699
  }
694
700
 
695
701
  export declare const Typography: {
696
- Title: (props: TitleProps) => JSX_2.Element;
697
- Paragraph: (props: ParagraphProps) => JSX_2.Element;
698
- Text: (props: TextProps) => JSX_2.Element;
702
+ Title: (props: TitleProps) => JSX.Element;
703
+ Paragraph: (props: ParagraphProps) => JSX.Element;
704
+ Text: (props: TextProps) => JSX.Element;
699
705
  };
700
706
 
701
- export declare const Watermark: ({ ...rest }: WatermarkProps) => JSX_2.Element;
707
+ export declare const Watermark: ({ ...rest }: WatermarkProps) => JSX.Element;
702
708
 
703
709
  export { }