@pnkx-lib/ui 1.9.106 → 1.9.107
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/dist/style.css +1 -1
- package/es/chunks/{AntdIcon-z4k2QiG_.js → AntdIcon-CwSrIOy0.js} +44 -30
- package/es/chunks/{Switch-DCc6-8ks.js → Switch-CCKfNjFl.js} +1 -1
- package/es/chunks/{index-B65Odp7H.js → index-D_GFpuxD.js} +66 -39
- package/es/fields/index.js +2 -2
- package/es/index.js +3 -3
- package/es/ui/index.js +2 -2
- package/package.json +2 -2
- package/types/fields.d.ts +13 -13
- package/types/index.d.ts +63 -51
- package/types/ui.d.ts +51 -39
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 } from 'react/jsx-runtime';
|
47
|
-
import { JSX as
|
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,8 +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 '
|
97
|
-
import { TypeBulkActions as TypeBulkActions_2 } from '
|
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';
|
98
100
|
import { UploadFile } from 'antd';
|
99
101
|
import { UploadProps } from 'antd';
|
100
102
|
import { UseFormReset } from 'react-hook-form';
|
@@ -103,7 +105,7 @@ import { UseFormSetValue } from 'react-hook-form';
|
|
103
105
|
import { UseFormStateReturn } from 'react-hook-form';
|
104
106
|
import { WatermarkProps } from 'antd';
|
105
107
|
|
106
|
-
export declare const ActionRowTable: ({ type, contentTooltip, handleClick, }: ActionRowTableProps) =>
|
108
|
+
export declare const ActionRowTable: ({ type, contentTooltip, handleClick, }: ActionRowTableProps) => JSX_2.Element;
|
107
109
|
|
108
110
|
export declare interface ActionRowTableProps {
|
109
111
|
type: TypeActionRowTable_2;
|
@@ -123,7 +125,7 @@ export declare const Anchor: typeof Anchor_2 & {
|
|
123
125
|
|
124
126
|
export declare type AnchorPropsUnion = BaseProps_13 & AnchorProps;
|
125
127
|
|
126
|
-
export declare const Appfix: ({ children, ...rest }: AppfixProps) =>
|
128
|
+
export declare const Appfix: ({ children, ...rest }: AppfixProps) => JSX_2.Element;
|
127
129
|
|
128
130
|
export declare interface AppfixProps extends AffixProps {
|
129
131
|
children: default_2.ReactNode;
|
@@ -133,7 +135,7 @@ export declare const AutoComplete: React.FC<AutoCompleteProps>;
|
|
133
135
|
|
134
136
|
export declare type AutoCompleteProps = AutoCompleteProps_2;
|
135
137
|
|
136
|
-
export declare const Badge: ({ type, children, customColor, ...rest }: BadgeProps) =>
|
138
|
+
export declare const Badge: ({ type, children, customColor, ...rest }: BadgeProps) => JSX_2.Element;
|
137
139
|
|
138
140
|
export declare interface BadgeProps extends BadgeProps_2 {
|
139
141
|
type?: "error" | "info" | "success" | "warning";
|
@@ -203,7 +205,7 @@ declare type BaseProps_9 = {
|
|
203
205
|
spaceClassName?: string;
|
204
206
|
};
|
205
207
|
|
206
|
-
export declare const Breadcrumb: (props: BreadcrumbPropsUnion) =>
|
208
|
+
export declare const Breadcrumb: (props: BreadcrumbPropsUnion) => JSX_2.Element;
|
207
209
|
|
208
210
|
export declare interface BreadcrumbItemType extends BreadcrumbItemType_2 {
|
209
211
|
children?: Omit<BreadcrumbItemType, "children">[];
|
@@ -215,13 +217,13 @@ export declare type BreadcrumbPropsUnion = BaseProps_6 & BreadcrumbProps;
|
|
215
217
|
|
216
218
|
export declare type BreadcrumbSeparatorType = BreadcrumbSeparatorType_2;
|
217
219
|
|
218
|
-
export declare const BulkActions: ({ quantity, handleRestore, handleSendApproval, handleCancelSendApproval, handleRefuseApproval, handleApproval, handleCancelApproval, handleDelete, handleActivate, handleInActivate, status, }: IBulkActionsProps) =>
|
220
|
+
export declare const BulkActions: ({ quantity, handleRestore, handleSendApproval, handleCancelSendApproval, handleRefuseApproval, handleApproval, handleCancelApproval, handleDelete, handleActivate, handleInActivate, status, }: IBulkActionsProps) => JSX_2.Element;
|
219
221
|
|
220
222
|
export declare const Button: default_2.FC<ButtonProps>;
|
221
223
|
|
222
224
|
export declare type ButtonProps = ButtonProps_2;
|
223
225
|
|
224
|
-
export declare const CascaderField: (props: CascaderFieldProps) =>
|
226
|
+
export declare const CascaderField: (props: CascaderFieldProps) => JSX_2.Element;
|
225
227
|
|
226
228
|
export declare type CascaderFieldProps = BaseProps & (SingleCascaderProps | MultipleCascaderProps);
|
227
229
|
|
@@ -234,13 +236,13 @@ declare enum CATEGORY_LIST_ENUM {
|
|
234
236
|
DELETE = 5, // đã xóa
|
235
237
|
}
|
236
238
|
|
237
|
-
export declare const CategoryStatus: ({ status }: CategoryStatusProps) =>
|
239
|
+
export declare const CategoryStatus: ({ status }: CategoryStatusProps) => JSX_2.Element;
|
238
240
|
|
239
241
|
export declare interface CategoryStatusProps {
|
240
242
|
status: number;
|
241
243
|
}
|
242
244
|
|
243
|
-
export declare const CheckboxField: (props: CheckboxFieldProps) =>
|
245
|
+
export declare const CheckboxField: (props: CheckboxFieldProps) => JSX_2.Element;
|
244
246
|
|
245
247
|
export declare interface CheckboxFieldProps extends Omit<CheckboxProps, "onChange" | "checked"> {
|
246
248
|
field?: ControllerRenderProps<any, any>;
|
@@ -252,7 +254,7 @@ export declare interface CheckboxFieldProps extends Omit<CheckboxProps, "onChang
|
|
252
254
|
customStyleCheckbox?: string;
|
253
255
|
}
|
254
256
|
|
255
|
-
export declare const Col: (props: ColPropsUnion) =>
|
257
|
+
export declare const Col: (props: ColPropsUnion) => JSX_2.Element;
|
256
258
|
|
257
259
|
export declare interface ColProps extends ColProps_2, Partial<Record<Breakpoint, ColSpanType | ColSize>> {
|
258
260
|
}
|
@@ -272,7 +274,7 @@ declare type CompoundedMenu = FC<MenuComponentProps> & {
|
|
272
274
|
ItemGroup: typeof ItemGroup;
|
273
275
|
};
|
274
276
|
|
275
|
-
export declare const ConfirmModal: ({ title, content, typeIcon, titleCancelBtn, titleSubmitBtn, handleCancel, handleSubmit, ...restProps }: ConfirmModalProps) =>
|
277
|
+
export declare const ConfirmModal: ({ title, content, typeIcon, titleCancelBtn, titleSubmitBtn, handleCancel, handleSubmit, ...restProps }: ConfirmModalProps) => JSX_2.Element;
|
276
278
|
|
277
279
|
export declare interface ConfirmModalProps extends ModalProps {
|
278
280
|
title: string;
|
@@ -313,9 +315,9 @@ export declare interface DatePickerDMYProps extends Omit<ReactDatePickerProps, "
|
|
313
315
|
size?: TSize;
|
314
316
|
}
|
315
317
|
|
316
|
-
export declare const DatePickerField: (props: DatePickerDMYProps) =>
|
318
|
+
export declare const DatePickerField: (props: DatePickerDMYProps) => JSX_2.Element;
|
317
319
|
|
318
|
-
export declare const Divider: ({ children, ...rest }: DividerProps) =>
|
320
|
+
export declare const Divider: ({ children, ...rest }: DividerProps) => JSX_2.Element;
|
319
321
|
|
320
322
|
declare const Divider_2: FC<MenuDividerProps>;
|
321
323
|
|
@@ -323,14 +325,14 @@ export declare interface DividerProps extends DividerProps_2 {
|
|
323
325
|
children?: ReactNode | string;
|
324
326
|
}
|
325
327
|
|
326
|
-
export declare const Drawer: ({ onSubmit, children, ...rest }: DrawerProps) =>
|
328
|
+
export declare const Drawer: ({ onSubmit, children, ...rest }: DrawerProps) => JSX_2.Element;
|
327
329
|
|
328
330
|
export declare interface DrawerProps extends DrawerProps_2 {
|
329
331
|
children?: ReactNode;
|
330
332
|
onSubmit?: (values: any) => void;
|
331
333
|
}
|
332
334
|
|
333
|
-
export declare const Dropdown: (props: DropdownPropsUnion) =>
|
335
|
+
export declare const Dropdown: (props: DropdownPropsUnion) => JSX_2.Element;
|
334
336
|
|
335
337
|
export declare type DropdownButtonProps = DropdownButtonProps_2;
|
336
338
|
|
@@ -364,7 +366,7 @@ export declare interface ErrorBoundaryState {
|
|
364
366
|
errorInfo: ErrorInfo | null;
|
365
367
|
}
|
366
368
|
|
367
|
-
export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) =>
|
369
|
+
export declare const ErrorMessage: default_2.MemoExoticComponent<({ errorMessage, isTouched, isSubmitted }: ErrorMessageProps) => JSX_2.Element | null>;
|
368
370
|
|
369
371
|
export declare interface ErrorMessageProps {
|
370
372
|
errorMessage?: string;
|
@@ -377,7 +379,7 @@ declare type ExtraProps = {
|
|
377
379
|
menuClassName?: string;
|
378
380
|
};
|
379
381
|
|
380
|
-
export declare const Flex: (props: FlexPropsUnion) =>
|
382
|
+
export declare const Flex: (props: FlexPropsUnion) => JSX_2.Element;
|
381
383
|
|
382
384
|
export declare type FlexProps = FlexProps_2;
|
383
385
|
|
@@ -386,10 +388,10 @@ export declare type FlexPropsUnion = BaseProps_7 & FlexProps;
|
|
386
388
|
declare interface GroupHeadingButtonItem {
|
387
389
|
label: string;
|
388
390
|
quantity: number;
|
389
|
-
isStatus:
|
391
|
+
isStatus: TypeStatusTable_3;
|
390
392
|
}
|
391
393
|
|
392
|
-
export declare const Heading: (props: HeadingProps) =>
|
394
|
+
export declare const Heading: (props: HeadingProps) => JSX_2.Element;
|
393
395
|
|
394
396
|
export declare interface HeadingProps {
|
395
397
|
rightContent?: ReactNode;
|
@@ -410,14 +412,14 @@ declare interface IBulkActionsProps {
|
|
410
412
|
handleDelete?: () => void;
|
411
413
|
handleActivate?: () => void;
|
412
414
|
handleInActivate?: () => void;
|
413
|
-
status?:
|
414
|
-
type
|
415
|
+
status?: TypeStatusTable_2;
|
416
|
+
type: TypeBulkActions_2;
|
415
417
|
}
|
416
418
|
|
417
419
|
declare const Image_2: React.FC<ImageProps>;
|
418
420
|
export { Image_2 as Image }
|
419
421
|
|
420
|
-
export declare const Input: (props: InputProps) =>
|
422
|
+
export declare const Input: (props: InputProps) => JSX_2.Element;
|
421
423
|
|
422
424
|
export declare interface InputProps extends InputProps_2 {
|
423
425
|
field?: ControllerRenderProps<any, any>;
|
@@ -440,7 +442,7 @@ declare const ItemGroup: ForwardRefExoticComponent<Omit<MenuItemGroupProps, "ref
|
|
440
442
|
|
441
443
|
export declare type ItemType = Partial<BreadcrumbItemType & BreadcrumbSeparatorType>;
|
442
444
|
|
443
|
-
export declare const Label: ({ label, required }: LabelProps) =>
|
445
|
+
export declare const Label: ({ label, required }: LabelProps) => JSX_2.Element;
|
444
446
|
|
445
447
|
export declare interface LabelProps {
|
446
448
|
label: string;
|
@@ -493,7 +495,7 @@ export declare type MenuType = {
|
|
493
495
|
}[];
|
494
496
|
};
|
495
497
|
|
496
|
-
export declare const Modal: ({ children, ...rest }: ModalProps) =>
|
498
|
+
export declare const Modal: ({ children, ...rest }: ModalProps) => JSX_2.Element;
|
497
499
|
|
498
500
|
export declare interface ModalProps extends ModalProps_2 {
|
499
501
|
children?: ReactNode;
|
@@ -512,9 +514,9 @@ export declare type OptionalArgsToast = Partial<ArgsProps> & {
|
|
512
514
|
type?: "success" | "error" | "info" | "warning";
|
513
515
|
};
|
514
516
|
|
515
|
-
export declare const PAGE_NUMBER = "
|
517
|
+
export declare const PAGE_NUMBER = "page";
|
516
518
|
|
517
|
-
export declare const PAGE_SIZE = "
|
519
|
+
export declare const PAGE_SIZE = "size";
|
518
520
|
|
519
521
|
export declare const Pagination: typeof Pagination_2;
|
520
522
|
|
@@ -535,7 +537,7 @@ export declare type PnkxCollapseProps = CollapseProps;
|
|
535
537
|
export declare const PnkxColorPicker: React.FC<ColorPickerProps>;
|
536
538
|
|
537
539
|
export declare class PnkxField<TComponent extends React_2.ComponentType<any>> extends React_2.PureComponent<PnkxFieldProps<TComponent>> {
|
538
|
-
render():
|
540
|
+
render(): JSX_2.Element;
|
539
541
|
}
|
540
542
|
|
541
543
|
export declare type PnkxFieldProps<TComponent extends React_2.ComponentType<any>> = {
|
@@ -548,13 +550,13 @@ export declare interface PnkxSpinProps extends SpinProps {
|
|
548
550
|
children?: ReactNode;
|
549
551
|
}
|
550
552
|
|
551
|
-
export declare const Popconfirm: ({ children, ...rest }: PopconfirmProps) =>
|
553
|
+
export declare const Popconfirm: ({ children, ...rest }: PopconfirmProps) => JSX_2.Element;
|
552
554
|
|
553
555
|
export declare interface PopconfirmProps extends PopconfirmProps_2 {
|
554
556
|
children?: ReactNode;
|
555
557
|
}
|
556
558
|
|
557
|
-
export declare const Popover: (props: PopoverPropsUnion) =>
|
559
|
+
export declare const Popover: (props: PopoverPropsUnion) => JSX_2.Element;
|
558
560
|
|
559
561
|
export declare type PopoverProps = PopoverProps_2;
|
560
562
|
|
@@ -569,14 +571,14 @@ export declare interface PropsNumberFormat extends Omit<InputProps, "onChange" |
|
|
569
571
|
type?: TInputNumberType;
|
570
572
|
prefix?: string;
|
571
573
|
suffix?: string;
|
572
|
-
helperText?: () =>
|
574
|
+
helperText?: () => JSX_3.Element | null;
|
573
575
|
}
|
574
576
|
|
575
577
|
export declare const QRCode: React.FC<QRCodeProps>;
|
576
578
|
|
577
579
|
export declare type QRCodeProps = QRCodeProps_2;
|
578
580
|
|
579
|
-
export declare const RadioGroup: (props: RadioProps) =>
|
581
|
+
export declare const RadioGroup: (props: RadioProps) => JSX_2.Element;
|
580
582
|
|
581
583
|
export declare interface RadioProps extends Omit<RadioGroupProps, "options" | "onChange"> {
|
582
584
|
field?: ControllerRenderProps<any, any>;
|
@@ -589,7 +591,7 @@ export declare interface RadioProps extends Omit<RadioGroupProps, "options" | "o
|
|
589
591
|
position?: TPositionRadio;
|
590
592
|
}
|
591
593
|
|
592
|
-
export declare const RangePickerField: (props: RangePickerFieldProps) =>
|
594
|
+
export declare const RangePickerField: (props: RangePickerFieldProps) => JSX_2.Element;
|
593
595
|
|
594
596
|
export declare interface RangePickerFieldProps extends Omit<RangePickerProps, "value" | "onChange"> {
|
595
597
|
field?: ControllerRenderProps<any, any>;
|
@@ -603,13 +605,13 @@ export declare interface RangePickerFieldProps extends Omit<RangePickerProps, "v
|
|
603
605
|
|
604
606
|
export declare const Rate: React.FC<RateProps>;
|
605
607
|
|
606
|
-
export declare const Result: ({ children, ...rest }: ResultProps) =>
|
608
|
+
export declare const Result: ({ children, ...rest }: ResultProps) => JSX_2.Element;
|
607
609
|
|
608
610
|
export declare interface ResultProps extends ResultProps_2 {
|
609
611
|
children?: ReactNode | string;
|
610
612
|
}
|
611
613
|
|
612
|
-
export declare const Row: (props: RowPropsUnion) =>
|
614
|
+
export declare const Row: (props: RowPropsUnion) => JSX_2.Element;
|
613
615
|
|
614
616
|
declare interface RowCommon {
|
615
617
|
[x: string]: any;
|
@@ -617,7 +619,7 @@ declare interface RowCommon {
|
|
617
619
|
|
618
620
|
export declare type RowPropsUnion = BaseProps_4 & RowProps;
|
619
621
|
|
620
|
-
export declare const SearchFiltersForm: <T extends FieldValues = FieldValues>({ initialValues, renderFilterFields, onSubmit, onReset, classNamesContainer, classNameWrapperForm, hideDefaultSubmit, hideResetButton, }: SearchFiltersFormProps<T> & Partial<UseFormReturn<T>>) =>
|
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;
|
621
623
|
|
622
624
|
export declare interface SearchFiltersFormProps<T extends FieldValues> {
|
623
625
|
renderFilterFields?: (options: {
|
@@ -639,7 +641,7 @@ export declare const Segmented: React.FC<SegmentedProps>;
|
|
639
641
|
|
640
642
|
export declare type SegmentedProps = SegmentedProps_2;
|
641
643
|
|
642
|
-
export declare const Select: (props: SelectFieldProps) =>
|
644
|
+
export declare const Select: (props: SelectFieldProps) => JSX_2.Element;
|
643
645
|
|
644
646
|
export declare interface SelectFieldProps extends SelectProps {
|
645
647
|
field?: ControllerRenderProps<any, any>;
|
@@ -652,7 +654,7 @@ export declare interface SelectFieldProps extends SelectProps {
|
|
652
654
|
classNameSelect?: string;
|
653
655
|
}
|
654
656
|
|
655
|
-
export declare const Sidebar: ({ children, menu, userInfo }: SidebarProps) =>
|
657
|
+
export declare const Sidebar: ({ children, menu, userInfo }: SidebarProps) => JSX_2.Element;
|
656
658
|
|
657
659
|
export declare interface SidebarProps {
|
658
660
|
children?: default_2.ReactNode;
|
@@ -668,7 +670,7 @@ declare type SingleCascaderProps = CascaderProps<DefaultOptionType, string> & {
|
|
668
670
|
multiple?: false;
|
669
671
|
};
|
670
672
|
|
671
|
-
export declare const Skeleton: ({ type, skeletonButtonCount }: SkeletonProps) =>
|
673
|
+
export declare const Skeleton: ({ type, skeletonButtonCount }: SkeletonProps) => JSX_2.Element;
|
672
674
|
|
673
675
|
export declare interface SkeletonProps extends SkeletonProps_2 {
|
674
676
|
type?: "table" | "form";
|
@@ -683,7 +685,7 @@ export declare const Space: typeof Space_2;
|
|
683
685
|
|
684
686
|
export declare type SpacePropsUnion = BaseProps_9 & SpaceProps;
|
685
687
|
|
686
|
-
export declare const Spin: ({ children, ...rest }: PnkxSpinProps) =>
|
688
|
+
export declare const Spin: ({ children, ...rest }: PnkxSpinProps) => JSX_2.Element;
|
687
689
|
|
688
690
|
export declare const Splitter: typeof Splitter_2;
|
689
691
|
|
@@ -711,7 +713,7 @@ declare const SubMenu: FC<SubMenuProps>;
|
|
711
713
|
|
712
714
|
export declare type SubMenuProps = SubMenuProps_2;
|
713
715
|
|
714
|
-
export declare const Switch: (props: SwitchProps) =>
|
716
|
+
export declare const Switch: (props: SwitchProps) => JSX_2.Element;
|
715
717
|
|
716
718
|
export declare interface SwitchProps extends Omit<SwitchProps_2, "onChange"> {
|
717
719
|
field?: ControllerRenderProps<any, any>;
|
@@ -730,7 +732,7 @@ declare type TabItem = {
|
|
730
732
|
disabled?: boolean;
|
731
733
|
};
|
732
734
|
|
733
|
-
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, ...rest }: TableCommonProps<T>) =>
|
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, ...rest }: TableCommonProps<T>) => JSX_2.Element;
|
734
736
|
|
735
737
|
export declare type TableColumnsType<T> = TableColumnsType_2<T> & TableColumnsTypeEditable<T>;
|
736
738
|
|
@@ -785,7 +787,7 @@ export declare interface TextAreaProps extends TextAreaProps_2 {
|
|
785
787
|
}
|
786
788
|
|
787
789
|
export declare type TFilters = {
|
788
|
-
isStatus?:
|
790
|
+
isStatus?: TypeStatusTable_2;
|
789
791
|
};
|
790
792
|
|
791
793
|
export declare const Timeline: React.FC<TimelineProps>;
|
@@ -797,7 +799,7 @@ declare type TInputNumberType = "number" | "money";
|
|
797
799
|
export declare const TINY_API = "miai0qn3c79adm555yoxd9kz6j6a323ek760nf7qd81nv1p5";
|
798
800
|
|
799
801
|
export declare const TinyMCE: {
|
800
|
-
(props: TinyProps):
|
802
|
+
(props: TinyProps): JSX_2.Element;
|
801
803
|
displayName: string;
|
802
804
|
};
|
803
805
|
|
@@ -867,13 +869,23 @@ export declare enum TypeBulkActions {
|
|
867
869
|
|
868
870
|
export declare const typeColorMap: Record<NonNullable<BadgeProps["type"]>, string>;
|
869
871
|
|
872
|
+
export declare enum TypeStatusTable {
|
873
|
+
ALL = "ALL",// Tất cả
|
874
|
+
DRAFT = 0,// Tạo mới
|
875
|
+
WAITING_APPROVAL = 1,// Chờ duyệt
|
876
|
+
ACTIVE = 2,// Hoạt động
|
877
|
+
INACTIVE = 3,// Ngưng hoạt động
|
878
|
+
REJECTED = 4,// Từ chối duyệt
|
879
|
+
DELETED = 5
|
880
|
+
}
|
881
|
+
|
870
882
|
export declare const Typography: {
|
871
|
-
Title: (props: TitleProps) =>
|
872
|
-
Paragraph: (props: ParagraphProps) =>
|
873
|
-
Text: (props: TextProps) =>
|
883
|
+
Title: (props: TitleProps) => JSX_2.Element;
|
884
|
+
Paragraph: (props: ParagraphProps) => JSX_2.Element;
|
885
|
+
Text: (props: TextProps) => JSX_2.Element;
|
874
886
|
};
|
875
887
|
|
876
|
-
export declare const UploadField: (props: UploadFieldProps) =>
|
888
|
+
export declare const UploadField: (props: UploadFieldProps) => JSX_2.Element;
|
877
889
|
|
878
890
|
export declare interface UploadFieldProps extends Omit<UploadProps, "value" | "onChange" | "fileList"> {
|
879
891
|
field?: ControllerRenderProps<any, any>;
|
@@ -898,6 +910,6 @@ export declare const useToast: (defaultProps?: OptionalArgsToast) => {
|
|
898
910
|
warning(props?: OptionalArgsToast): void;
|
899
911
|
};
|
900
912
|
|
901
|
-
export declare const Watermark: ({ ...rest }: WatermarkProps) =>
|
913
|
+
export declare const Watermark: ({ ...rest }: WatermarkProps) => JSX_2.Element;
|
902
914
|
|
903
915
|
export { }
|