@pnkx-lib/ui 1.9.205 → 1.9.206
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/package.json +3 -3
- package/types/Alert.d.ts +7 -0
- package/types/Anchor.d.ts +13 -0
- package/types/Appfix.d.ts +11 -0
- package/types/AutoComplete.d.ts +7 -0
- package/types/{components/ui/Badge.d.ts → Badge.d.ts} +14 -8
- package/types/{components/ui/BottomPagination.d.ts → BottomPagination.d.ts} +12 -8
- package/types/Breadcrumb.d.ts +27 -0
- package/types/BreadcrumbHeading.d.ts +26 -0
- package/types/Button.d.ts +8 -0
- package/types/Card.d.ts +7 -0
- package/types/Cascader.d.ts +22 -0
- package/types/CascaderField.d.ts +20 -0
- package/types/{components/ui/CategoryStatus.d.ts → CategoryStatus.d.ts} +27 -20
- package/types/Checkbox.d.ts +18 -0
- package/types/Col.d.ts +19 -0
- package/types/Collapse.d.ts +7 -0
- package/types/ColorPicker.d.ts +7 -0
- package/types/ConfigProvider.d.ts +8 -0
- package/types/ConfirmModal.d.ts +23 -0
- package/types/Container.d.ts +13 -0
- package/types/DatePicker.d.ts +29 -0
- package/types/{components/fields/DateRangePicker.d.ts → DateRangePicker.d.ts} +19 -13
- package/types/Divider.d.ts +11 -0
- package/types/Drawer.d.ts +12 -0
- package/types/Dropdown.d.ts +21 -0
- package/types/Empty.d.ts +7 -0
- package/types/{components/ui/ErrorBoundary.d.ts → ErrorBoundary.d.ts} +26 -18
- package/types/ErrorMessage.d.ts +12 -0
- package/types/Flex.d.ts +15 -0
- package/types/Footer.d.ts +6 -0
- package/types/Heading.d.ts +27 -0
- package/types/Image.d.ts +6 -0
- package/types/Input.d.ts +42 -0
- package/types/Label.d.ts +10 -0
- package/types/Layout.d.ts +20 -0
- package/types/Menu.d.ts +40 -0
- package/types/Modal.d.ts +11 -0
- package/types/PageNotFound.d.ts +9 -0
- package/types/Pagination.d.ts +22 -0
- package/types/PnkxField.d.ts +17 -0
- package/types/Popconfirm.d.ts +11 -0
- package/types/Popover.d.ts +15 -0
- package/types/QRCode.d.ts +7 -0
- package/types/Radio.d.ts +26 -0
- package/types/Rate.d.ts +5 -0
- package/types/Result.d.ts +11 -0
- package/types/Row.d.ts +12 -0
- package/types/{components/ui/SearchFilterForm.d.ts → SearchFilterForm.d.ts} +29 -18
- package/types/Segmented.d.ts +7 -0
- package/types/Select.d.ts +20 -0
- package/types/Sidebar.d.ts +29 -0
- package/types/Skeleton.d.ts +11 -0
- package/types/{components/fields/SliderRanger.d.ts → SliderRanger.d.ts} +18 -12
- package/types/SliderSingle.d.ts +18 -0
- package/types/Space.d.ts +13 -0
- package/types/Spin.d.ts +11 -0
- package/types/Splitter.d.ts +13 -0
- package/types/Statistic.d.ts +7 -0
- package/types/Steps.d.ts +20 -0
- package/types/Switch.d.ts +18 -0
- package/types/Tabs.d.ts +18 -0
- package/types/{components/ui/Tag.d.ts → Tag.d.ts} +9 -5
- package/types/Textarea.d.ts +17 -0
- package/types/TimePicker.d.ts +16 -0
- package/types/TimeRangePicker.d.ts +16 -0
- package/types/Timeline.d.ts +7 -0
- package/types/{components/fields/TinyMCE.d.ts → TinyMCE.d.ts} +22 -16
- package/types/Tooltip.d.ts +8 -0
- package/types/Tour.d.ts +7 -0
- package/types/Tree.d.ts +7 -0
- package/types/Typography.d.ts +12 -0
- package/types/Upload.d.ts +23 -0
- package/types/UploadImage.d.ts +9 -0
- package/types/{components/ui/Watermark.d.ts → Watermark.d.ts} +6 -2
- package/types/index.d.ts +42 -2
- package/types/{components/hooks/useMessage.d.ts → useMessage.d.ts} +9 -5
- package/types/{components/hooks/useToast.d.ts → useToast.d.ts} +16 -12
- package/types/components/fields/CascaderField.d.ts +0 -14
- package/types/components/fields/Checkbox.d.ts +0 -12
- package/types/components/fields/DatePicker.d.ts +0 -21
- package/types/components/fields/Input.d.ts +0 -33
- package/types/components/fields/PnkxField.d.ts +0 -11
- package/types/components/fields/Radio.d.ts +0 -19
- package/types/components/fields/Select.d.ts +0 -13
- package/types/components/fields/SliderSingle.d.ts +0 -12
- package/types/components/fields/Switch.d.ts +0 -12
- package/types/components/fields/Textarea.d.ts +0 -12
- package/types/components/fields/TimePicker.d.ts +0 -12
- package/types/components/fields/TimeRangePicker.d.ts +0 -12
- package/types/components/fields/Upload.d.ts +0 -15
- package/types/components/fields/index.d.ts +0 -15
- package/types/components/hooks/index.d.ts +0 -2
- package/types/components/hooks/useBreadcrumb.d.ts +0 -6
- package/types/components/hooks/useDebounce.d.ts +0 -1
- package/types/components/icons/ActivateIcon.d.ts +0 -6
- package/types/components/icons/AllowClearIcon.d.ts +0 -2
- package/types/components/icons/ApprovalIcon.d.ts +0 -6
- package/types/components/icons/CancelApprovalIcon.d.ts +0 -6
- package/types/components/icons/CancelSendApprovalIcon.d.ts +0 -6
- package/types/components/icons/DeleteIcon.d.ts +0 -6
- package/types/components/icons/Dollar.d.ts +0 -3
- package/types/components/icons/DragIcon.d.ts +0 -6
- package/types/components/icons/EditIcon.d.ts +0 -6
- package/types/components/icons/ErrorConfirmIcon.d.ts +0 -3
- package/types/components/icons/InActivateIcon.d.ts +0 -6
- package/types/components/icons/InfoConfirmIcon.d.ts +0 -3
- package/types/components/icons/MoreIcon.d.ts +0 -6
- package/types/components/icons/PlusIcon.d.ts +0 -6
- package/types/components/icons/RefuseApprovalIcon.d.ts +0 -6
- package/types/components/icons/RestoreIcon.d.ts +0 -6
- package/types/components/icons/SearchAdvanceIcon.d.ts +0 -6
- package/types/components/icons/SearchIcon.d.ts +0 -2
- package/types/components/icons/SendApprovalIcon.d.ts +0 -6
- package/types/components/icons/SettingIcon.d.ts +0 -1
- package/types/components/icons/SuccessIcon.d.ts +0 -3
- package/types/components/icons/TrashCanIcon.d.ts +0 -2
- package/types/components/icons/WaitingApprovalIcon.d.ts +0 -6
- package/types/components/icons/WarningConfirmIcon.d.ts +0 -3
- package/types/components/icons/index.d.ts +0 -18
- package/types/components/index.d.ts +0 -3
- package/types/components/ui/Alert.d.ts +0 -3
- package/types/components/ui/Anchor.d.ts +0 -9
- package/types/components/ui/Appfix.d.ts +0 -6
- package/types/components/ui/AutoComplete.d.ts +0 -3
- package/types/components/ui/Breadcrumb.d.ts +0 -16
- package/types/components/ui/BreadcrumbHeading.d.ts +0 -8
- package/types/components/ui/BulkActions/BulkAction.d.ts +0 -11
- package/types/components/ui/BulkActions/DropListActions.d.ts +0 -9
- package/types/components/ui/BulkActions/index.d.ts +0 -22
- package/types/components/ui/Button.d.ts +0 -4
- package/types/components/ui/Card.d.ts +0 -3
- package/types/components/ui/Cascader.d.ts +0 -14
- package/types/components/ui/Col.d.ts +0 -11
- package/types/components/ui/Collapse.d.ts +0 -3
- package/types/components/ui/ColorPicker.d.ts +0 -3
- package/types/components/ui/ConfigProvider.d.ts +0 -4
- package/types/components/ui/ConfirmModal.d.ts +0 -12
- package/types/components/ui/Container.d.ts +0 -8
- package/types/components/ui/Divider.d.ts +0 -6
- package/types/components/ui/Drawer.d.ts +0 -7
- package/types/components/ui/Dropdown.d.ts +0 -12
- package/types/components/ui/Empty.d.ts +0 -3
- package/types/components/ui/ErrorMessage.d.ts +0 -7
- package/types/components/ui/Flex.d.ts +0 -9
- package/types/components/ui/Footer.d.ts +0 -2
- package/types/components/ui/Heading.d.ts +0 -10
- package/types/components/ui/Image.d.ts +0 -2
- package/types/components/ui/Label.d.ts +0 -5
- package/types/components/ui/Layout.d.ts +0 -14
- package/types/components/ui/Menu.d.ts +0 -22
- package/types/components/ui/Modal.d.ts +0 -6
- package/types/components/ui/PageNotFound.d.ts +0 -4
- package/types/components/ui/Pagination.d.ts +0 -12
- package/types/components/ui/Popconfirm.d.ts +0 -6
- package/types/components/ui/Popover.d.ts +0 -9
- package/types/components/ui/QRCode.d.ts +0 -3
- package/types/components/ui/Rate.d.ts +0 -2
- package/types/components/ui/Result.d.ts +0 -6
- package/types/components/ui/Row.d.ts +0 -7
- package/types/components/ui/Segmented.d.ts +0 -3
- package/types/components/ui/Sidebar.d.ts +0 -22
- package/types/components/ui/Skeleton.d.ts +0 -6
- package/types/components/ui/Space.d.ts +0 -8
- package/types/components/ui/Spin.d.ts +0 -6
- package/types/components/ui/Splitter.d.ts +0 -8
- package/types/components/ui/Statistic.d.ts +0 -3
- package/types/components/ui/Steps.d.ts +0 -12
- package/types/components/ui/Table/ActionRowTable/index.d.ts +0 -10
- package/types/components/ui/Table/HeadingTable/components/GroupHeadingButton.d.ts +0 -13
- package/types/components/ui/Table/HeadingTable/index.d.ts +0 -16
- package/types/components/ui/Table/SettingTable/IconSettingTable.d.ts +0 -6
- package/types/components/ui/Table/SettingTable/SettingColumnItem.d.ts +0 -7
- package/types/components/ui/Table/SettingTable/SortableItem.d.ts +0 -6
- package/types/components/ui/Table/SettingTable/index.d.ts +0 -11
- package/types/components/ui/Table/index.d.ts +0 -47
- package/types/components/ui/Tabs.d.ts +0 -14
- package/types/components/ui/Timeline.d.ts +0 -3
- package/types/components/ui/Tooltip.d.ts +0 -4
- package/types/components/ui/Tour.d.ts +0 -3
- package/types/components/ui/Tree.d.ts +0 -3
- package/types/components/ui/Typography.d.ts +0 -8
- package/types/components/ui/UploadImage.d.ts +0 -6
- package/types/components/ui/index.d.ts +0 -60
- package/types/constants/common.d.ts +0 -1
- package/types/constants/table.d.ts +0 -31
- package/types/helpers/common.d.ts +0 -1
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { TabsProps as TabsPropsAntd } from 'antd';
|
|
3
|
-
type TabItem = {
|
|
4
|
-
key: string;
|
|
5
|
-
label: React.ReactNode;
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
};
|
|
9
|
-
export type TabsProps = TabsPropsAntd & {
|
|
10
|
-
items: TabItem[];
|
|
11
|
-
lazyRender?: boolean;
|
|
12
|
-
};
|
|
13
|
-
export declare const Tabs: React.FC<TabsProps>;
|
|
14
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { TitleProps } from 'antd/es/typography/Title';
|
|
2
|
-
import { ParagraphProps } from 'antd/es/typography/Paragraph';
|
|
3
|
-
import { TextProps } from 'antd/es/typography/Text';
|
|
4
|
-
export declare const Typography: {
|
|
5
|
-
Title: (props: TitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
Paragraph: (props: ParagraphProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
Text: (props: TextProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
export * from './Button';
|
|
2
|
-
export * from './Cascader';
|
|
3
|
-
export * from './ErrorMessage';
|
|
4
|
-
export * from './Typography';
|
|
5
|
-
export * from './Table';
|
|
6
|
-
export * from './Modal';
|
|
7
|
-
export * from './Tooltip';
|
|
8
|
-
export * from './Tabs';
|
|
9
|
-
export * from './Label';
|
|
10
|
-
export * from './Skeleton';
|
|
11
|
-
export * from './Popover';
|
|
12
|
-
export * from './SearchFilterForm';
|
|
13
|
-
export * from './Container';
|
|
14
|
-
export * from './Badge';
|
|
15
|
-
export * from './Col';
|
|
16
|
-
export * from './Row';
|
|
17
|
-
export * from './Dropdown';
|
|
18
|
-
export * from './Breadcrumb';
|
|
19
|
-
export * from './Flex';
|
|
20
|
-
export * from './Layout';
|
|
21
|
-
export * from './Space';
|
|
22
|
-
export * from './Splitter';
|
|
23
|
-
export * from './Menu';
|
|
24
|
-
export * from './Pagination';
|
|
25
|
-
export * from './Steps';
|
|
26
|
-
export * from './Sidebar';
|
|
27
|
-
export * from './Heading';
|
|
28
|
-
export * from './Tag';
|
|
29
|
-
export * from './Divider';
|
|
30
|
-
export * from './Alert';
|
|
31
|
-
export * from './Spin';
|
|
32
|
-
export * from './Drawer';
|
|
33
|
-
export * from './Popconfirm';
|
|
34
|
-
export * from './QRCode';
|
|
35
|
-
export * from './Result';
|
|
36
|
-
export * from './Rate';
|
|
37
|
-
export * from './Segmented';
|
|
38
|
-
export * from './Statistic';
|
|
39
|
-
export * from './Timeline';
|
|
40
|
-
export * from './Tour';
|
|
41
|
-
export * from './Tree';
|
|
42
|
-
export * from './Watermark';
|
|
43
|
-
export * from './Anchor';
|
|
44
|
-
export * from './Appfix';
|
|
45
|
-
export * from './AutoComplete';
|
|
46
|
-
export * from './Collapse';
|
|
47
|
-
export * from './ColorPicker';
|
|
48
|
-
export * from './Empty';
|
|
49
|
-
export * from './Image';
|
|
50
|
-
export * from './ConfirmModal';
|
|
51
|
-
export * from './ErrorBoundary';
|
|
52
|
-
export * from './CategoryStatus';
|
|
53
|
-
export * from '../ui/Table/ActionRowTable';
|
|
54
|
-
export * from '../../constants/index';
|
|
55
|
-
export * from './BulkActions';
|
|
56
|
-
export * from './BreadcrumbHeading';
|
|
57
|
-
export * from './Card';
|
|
58
|
-
export * from './ConfigProvider';
|
|
59
|
-
export * from './PageNotFound';
|
|
60
|
-
export * from './UploadImage';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const TINY_API = "miai0qn3c79adm555yoxd9kz6j6a323ek760nf7qd81nv1p5";
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export declare const START_PAGE = 1;
|
|
2
|
-
export declare const START_PAGE_SIZE = 10;
|
|
3
|
-
export declare const PAGE_NUMBER = "page";
|
|
4
|
-
export declare const PAGE_SIZE = "size";
|
|
5
|
-
export declare const SORT = "sort";
|
|
6
|
-
export declare enum TypeActionRowTable {
|
|
7
|
-
DELETE = "DELETE",
|
|
8
|
-
EDIT = "EDIT",
|
|
9
|
-
UNDO = "UNDO",
|
|
10
|
-
CANCELUNDO = "CANCELUNDO",
|
|
11
|
-
CHECKIN = "CHECKIN",
|
|
12
|
-
PRINT = "PRINT",
|
|
13
|
-
PAYMENT = "PAYMENT",
|
|
14
|
-
PLAY = "PLAY",
|
|
15
|
-
PAUSE = "PAUSE",
|
|
16
|
-
DOWNLOAD = "DOWNLOAD",
|
|
17
|
-
VIEW = "VIEW"
|
|
18
|
-
}
|
|
19
|
-
export declare enum TypeBulkActions {
|
|
20
|
-
BULKACTION = "bulkaction",
|
|
21
|
-
DROPLIST = "droplist"
|
|
22
|
-
}
|
|
23
|
-
export declare enum TypeStatusTable {
|
|
24
|
-
ALL = "ALL",// Tất cả
|
|
25
|
-
DRAFT = 0,// Tạo mới
|
|
26
|
-
WAITING_APPROVAL = 1,// Chờ duyệt
|
|
27
|
-
ACTIVE = 2,// Hoạt động
|
|
28
|
-
INACTIVE = 3,// Ngưng hoạt động
|
|
29
|
-
REJECTED = 4,// Từ chối duyệt
|
|
30
|
-
DELETED = 5
|
|
31
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function hasFalsyFieldsObject<T extends object>(obj: T): boolean;
|