@pnkx-lib/ui 1.9.150 → 1.9.153
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/{PageNotFound-NL2Inqtu.js → PageNotFound-B_1h-yos.js} +95 -97
- package/es/chunks/{Switch-CoXlGnh-.js → Switch-BkRv1Mr8.js} +1 -1
- package/es/chunks/{index-B1VMBXXn.js → index-BjVRPMWe.js} +9660 -289
- package/es/fields/index.js +2 -2
- package/es/index.js +3 -3
- package/es/ui/index.js +2 -2
- package/package.json +1 -1
- package/types/App.d.ts +1 -0
- package/types/components/fields/Slider.d.ts +12 -0
- package/types/components/fields/SliderRanger.d.ts +12 -0
- package/types/components/ui/BottomPagination.d.ts +8 -0
- package/types/components/ui/Sidebar.d.ts +1 -0
- package/types/components/ui/Table/HeadingTable/components/GroupHeadingButton.d.ts +1 -1
- package/types/components/ui/Table/index.d.ts +1 -1
package/es/fields/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export { C as Checkbox, D as DatePicker, I as Input, P as PnkxField, R as RangePicker, f as TinyMCE } from '../chunks/index-
|
2
|
-
export { R as RadioGroup, S as Select, a as Switch, U as UploadField } from '../chunks/Switch-
|
1
|
+
export { C as Checkbox, D as DatePicker, I as Input, P as PnkxField, R as RangePicker, f as TinyMCE } from '../chunks/index-BjVRPMWe.js';
|
2
|
+
export { R as RadioGroup, S as Select, a as Switch, U as UploadField } from '../chunks/Switch-BkRv1Mr8.js';
|
package/es/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export { O as ActionRowTable, A as Alert, v as Anchor, w as Appfix, x as AutoComplete, d as Badge, f as Breadcrumb, a3 as BreadcrumbHeading, a2 as BulkActions, B as Button, K as CATEGORY_LIST_ENUM, a4 as Card, C as CascaderField, N as CategoryStatus, e as Col, y as Collapse, z as ColorPicker, a5 as ConfigProvider, G as ConfirmModal, c as Container, j as Divider, l as Drawer, D as Dropdown, E as Empty, J as ErrorBoundary, F as Flex, H as Heading, I as Image, M as Modal, X as PAGE_NUMBER, Y as PAGE_SIZE, a6 as PageNotFound, g as Pagination, m as Popconfirm, P as Popover, Q as QRCode, o as Rate, n as Result, R as Row, Z as SORT_BY, _ as SORT_DESC, U as START_PAGE, V as START_PAGE_SIZE, b as SearchFiltersForm, p as Segmented, h as Sidebar, S as Skeleton, k as Spin, q as Statistic, T as Table, a as Tabs, i as Tag, r as Timeline, s as Tour, u as Tree, $ as TypeActionRowTable, a0 as TypeBulkActions, a1 as TypeStatusTable, W as Watermark, L as badgeStatusCategoryConfig, t as typeColorMap } from './chunks/PageNotFound-
|
2
|
-
export { C as Checkbox, D as DatePicker, E as ErrorMessage, I as Input, L as Label, b as Layout, M as Menu, P as PnkxField, R as RangePicker, S as Space, c as Splitter, d as Steps, e as TINY_API, f as TinyMCE, a as Tooltip, T as Typography } from './chunks/index-
|
3
|
-
export { R as RadioGroup, S as Select, a as Switch, U as UploadField } from './chunks/Switch-
|
1
|
+
export { O as ActionRowTable, A as Alert, v as Anchor, w as Appfix, x as AutoComplete, d as Badge, f as Breadcrumb, a3 as BreadcrumbHeading, a2 as BulkActions, B as Button, K as CATEGORY_LIST_ENUM, a4 as Card, C as CascaderField, N as CategoryStatus, e as Col, y as Collapse, z as ColorPicker, a5 as ConfigProvider, G as ConfirmModal, c as Container, j as Divider, l as Drawer, D as Dropdown, E as Empty, J as ErrorBoundary, F as Flex, H as Heading, I as Image, M as Modal, X as PAGE_NUMBER, Y as PAGE_SIZE, a6 as PageNotFound, g as Pagination, m as Popconfirm, P as Popover, Q as QRCode, o as Rate, n as Result, R as Row, Z as SORT_BY, _ as SORT_DESC, U as START_PAGE, V as START_PAGE_SIZE, b as SearchFiltersForm, p as Segmented, h as Sidebar, S as Skeleton, k as Spin, q as Statistic, T as Table, a as Tabs, i as Tag, r as Timeline, s as Tour, u as Tree, $ as TypeActionRowTable, a0 as TypeBulkActions, a1 as TypeStatusTable, W as Watermark, L as badgeStatusCategoryConfig, t as typeColorMap } from './chunks/PageNotFound-B_1h-yos.js';
|
2
|
+
export { C as Checkbox, D as DatePicker, E as ErrorMessage, I as Input, L as Label, b as Layout, M as Menu, P as PnkxField, R as RangePicker, S as Space, c as Splitter, d as Steps, e as TINY_API, f as TinyMCE, a as Tooltip, T as Typography } from './chunks/index-BjVRPMWe.js';
|
3
|
+
export { R as RadioGroup, S as Select, a as Switch, U as UploadField } from './chunks/Switch-BkRv1Mr8.js';
|
4
4
|
export { a as useMessage, u as useToast } from './chunks/useMessage-CUPcOtIS.js';
|
package/es/ui/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export { O as ActionRowTable, A as Alert, v as Anchor, w as Appfix, x as AutoComplete, d as Badge, f as Breadcrumb, a3 as BreadcrumbHeading, a2 as BulkActions, B as Button, K as CATEGORY_LIST_ENUM, a4 as Card, C as CascaderField, N as CategoryStatus, e as Col, y as Collapse, z as ColorPicker, a5 as ConfigProvider, G as ConfirmModal, c as Container, j as Divider, l as Drawer, D as Dropdown, E as Empty, J as ErrorBoundary, F as Flex, H as Heading, I as Image, M as Modal, X as PAGE_NUMBER, Y as PAGE_SIZE, a6 as PageNotFound, g as Pagination, m as Popconfirm, P as Popover, Q as QRCode, o as Rate, n as Result, R as Row, Z as SORT_BY, _ as SORT_DESC, U as START_PAGE, V as START_PAGE_SIZE, b as SearchFiltersForm, p as Segmented, h as Sidebar, S as Skeleton, k as Spin, q as Statistic, T as Table, a as Tabs, i as Tag, r as Timeline, s as Tour, u as Tree, $ as TypeActionRowTable, a0 as TypeBulkActions, a1 as TypeStatusTable, W as Watermark, L as badgeStatusCategoryConfig, t as typeColorMap } from '../chunks/PageNotFound-
|
2
|
-
export { E as ErrorMessage, L as Label, b as Layout, M as Menu, S as Space, c as Splitter, d as Steps, e as TINY_API, a as Tooltip, T as Typography } from '../chunks/index-
|
1
|
+
export { O as ActionRowTable, A as Alert, v as Anchor, w as Appfix, x as AutoComplete, d as Badge, f as Breadcrumb, a3 as BreadcrumbHeading, a2 as BulkActions, B as Button, K as CATEGORY_LIST_ENUM, a4 as Card, C as CascaderField, N as CategoryStatus, e as Col, y as Collapse, z as ColorPicker, a5 as ConfigProvider, G as ConfirmModal, c as Container, j as Divider, l as Drawer, D as Dropdown, E as Empty, J as ErrorBoundary, F as Flex, H as Heading, I as Image, M as Modal, X as PAGE_NUMBER, Y as PAGE_SIZE, a6 as PageNotFound, g as Pagination, m as Popconfirm, P as Popover, Q as QRCode, o as Rate, n as Result, R as Row, Z as SORT_BY, _ as SORT_DESC, U as START_PAGE, V as START_PAGE_SIZE, b as SearchFiltersForm, p as Segmented, h as Sidebar, S as Skeleton, k as Spin, q as Statistic, T as Table, a as Tabs, i as Tag, r as Timeline, s as Tour, u as Tree, $ as TypeActionRowTable, a0 as TypeBulkActions, a1 as TypeStatusTable, W as Watermark, L as badgeStatusCategoryConfig, t as typeColorMap } from '../chunks/PageNotFound-B_1h-yos.js';
|
2
|
+
export { E as ErrorMessage, L as Label, b as Layout, M as Menu, S as Space, c as Splitter, d as Steps, e as TINY_API, a as Tooltip, T as Typography } from '../chunks/index-BjVRPMWe.js';
|
package/package.json
CHANGED
package/types/App.d.ts
CHANGED
@@ -0,0 +1,12 @@
|
|
1
|
+
import { SliderSingleProps as SliderSingleAntdProps } from 'antd';
|
2
|
+
import { ControllerRenderProps, UseFormStateReturn } from 'react-hook-form';
|
3
|
+
export interface SliderProps extends Omit<SliderSingleAntdProps, "onChange"> {
|
4
|
+
field?: ControllerRenderProps<any, any>;
|
5
|
+
formState?: UseFormStateReturn<any>;
|
6
|
+
label?: string;
|
7
|
+
required?: boolean;
|
8
|
+
afterOnChange?: (data: number) => void;
|
9
|
+
customStyleContainer?: string;
|
10
|
+
customStyleSlider?: string;
|
11
|
+
}
|
12
|
+
export declare const SliderSingle: (props: SliderProps) => import("react/jsx-runtime").JSX.Element;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { ControllerRenderProps, UseFormStateReturn } from 'react-hook-form';
|
2
|
+
import { SliderRangeProps } from 'antd/es/slider';
|
3
|
+
export interface SliderProps extends Omit<SliderRangeProps, "onChange"> {
|
4
|
+
field?: ControllerRenderProps<any, any>;
|
5
|
+
formState?: UseFormStateReturn<any>;
|
6
|
+
label?: string;
|
7
|
+
required?: boolean;
|
8
|
+
afterOnChange?: (data: number[]) => void;
|
9
|
+
customStyleContainer?: string;
|
10
|
+
customStyleSlider?: string;
|
11
|
+
}
|
12
|
+
export declare const SliderRange: (props: SliderProps) => import("react/jsx-runtime").JSX.Element;
|
@@ -5,6 +5,7 @@ export type MenuType = {
|
|
5
5
|
isShow?: boolean;
|
6
6
|
isPrivateRoute?: boolean;
|
7
7
|
icon?: ReactNode;
|
8
|
+
isShowLabel?: boolean;
|
8
9
|
component?: React.LazyExoticComponent<React.MemoExoticComponent<any>> | React.ExoticComponent<any> | ReactNode | React.FC;
|
9
10
|
componentProps?: Record<string, any>;
|
10
11
|
children?: MenuType[];
|
@@ -3,7 +3,7 @@ import { TFilters, TypeStatusTable } from '../../../../../../../../../../../../.
|
|
3
3
|
export interface GroupHeadingButtonItem {
|
4
4
|
label: string;
|
5
5
|
quantity: number;
|
6
|
-
|
6
|
+
status: TypeStatusTable;
|
7
7
|
}
|
8
8
|
export interface GroupHeadingButtonProps {
|
9
9
|
groupHeadingButtonItems?: GroupHeadingButtonItem[];
|
@@ -12,7 +12,7 @@ type ColumnTypes<T> = Exclude<TableProps<T>["columns"], undefined>;
|
|
12
12
|
export type TableColumnsTypeEditable<T> = (ColumnTypes<T>[number] & {})[];
|
13
13
|
export type TableColumnsType<T> = TableColumnsTypeAntd<T> & TableColumnsTypeEditable<T>;
|
14
14
|
export type TFilters = {
|
15
|
-
|
15
|
+
status?: TypeStatusTable;
|
16
16
|
};
|
17
17
|
export interface BulkActionHandlers {
|
18
18
|
handleRestore?: () => void;
|