@pnkx-lib/ui 1.9.33 → 1.9.35
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/chunks/{index--Nu4exC1.js → index-DqaASOI_.js} +3 -3
- package/es/chunks/{table-CkR9wuFb.js → table-B28OPA57.js} +2 -0
- package/es/chunks/{useToggle-DBELKqXr.js → useToggle-C5Y4aFUQ.js} +1 -1
- package/es/hooks/index.js +2 -2
- package/es/index.js +3 -3
- package/es/ui/index.js +2 -2
- package/package.json +1 -1
- package/types/index.d.ts +1 -2
- package/types/ui.d.ts +1 -2
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
4
4
|
import React__default, { version as version$1, isValidElement, useLayoutEffect as useLayoutEffect$1, useEffect, useRef, useMemo as useMemo$1, useCallback, useState, createContext, memo, useReducer, useContext, Component } from 'react';
|
5
5
|
import ReactDOM__default, { unstable_batchedUpdates, createPortal } from 'react-dom';
|
6
6
|
import { useNavigate, useLocation } from 'react-router';
|
7
|
-
import { u as useToast, T as TypeActionRowTable } from './table-
|
7
|
+
import { u as useToast, T as TypeActionRowTable } from './table-B28OPA57.js';
|
8
8
|
|
9
9
|
const Button = (props) => {
|
10
10
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(Button$1, { ...props });
|
@@ -2190,8 +2190,8 @@ const styles$1 = {
|
|
2190
2190
|
}
|
2191
2191
|
};
|
2192
2192
|
|
2193
|
-
const Modal = ({ children,
|
2194
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(Modal$1, {
|
2193
|
+
const Modal = ({ children, ...rest }) => {
|
2194
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Modal$1, { ...rest, children });
|
2195
2195
|
};
|
2196
2196
|
|
2197
2197
|
const SettingColumnItem = ({ lable, name, control }) => {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { useState, useCallback } from 'react';
|
2
|
-
import { e as cloneDeep, P as PAGE_INDEX, S as START_PAGE, d as SORT_DESC, c as SORT_BY } from './table-
|
2
|
+
import { e as cloneDeep, P as PAGE_INDEX, S as START_PAGE, d as SORT_DESC, c as SORT_BY } from './table-B28OPA57.js';
|
3
3
|
import { message } from 'antd';
|
4
4
|
|
5
5
|
const useFiltersHandler = (initialFilters) => {
|
package/es/hooks/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export { u as useToast } from '../chunks/table-
|
2
|
-
export { u as useFiltersHandler, a as useMessage, b as useToggle } from '../chunks/useToggle-
|
1
|
+
export { u as useToast } from '../chunks/table-B28OPA57.js';
|
2
|
+
export { u as useFiltersHandler, a as useMessage, b as useToggle } from '../chunks/useToggle-C5Y4aFUQ.js';
|
package/es/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
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
|
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-DqaASOI_.js';
|
2
2
|
export { C as CheckboxField, D as DatePickerField, E as ErrorMessage, I as Input, L as Label, P as PnkxField, R as RangePickerField, a as TINY_API, b as TinyMCE, T as Typography } from './chunks/Switch-Ck9WdQgt.js';
|
3
3
|
import 'react-router';
|
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, u as useToast } from './chunks/table-
|
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, u as useToast } from './chunks/table-B28OPA57.js';
|
5
5
|
export { R as RadioGroup, S as Select } from './chunks/Radio-5j1KNRlx.js';
|
6
|
-
export { u as useFiltersHandler, a as useMessage, b as useToggle } from './chunks/useToggle-
|
6
|
+
export { u as useFiltersHandler, a as useMessage, b as useToggle } from './chunks/useToggle-C5Y4aFUQ.js';
|
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
|
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-DqaASOI_.js';
|
2
2
|
export { E as ErrorMessage, L as Label, a as TINY_API, T as Typography } from '../chunks/Switch-Ck9WdQgt.js';
|
3
3
|
import 'react-router';
|
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-
|
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
package/types/index.d.ts
CHANGED
@@ -451,11 +451,10 @@ export declare type MenuItemProps = MenuItemProps_2;
|
|
451
451
|
|
452
452
|
export declare type MenuProps = MenuProps_2;
|
453
453
|
|
454
|
-
export declare const Modal: ({ children,
|
454
|
+
export declare const Modal: ({ children, ...rest }: ModalProps) => JSX.Element;
|
455
455
|
|
456
456
|
export declare interface ModalProps extends ModalProps_2 {
|
457
457
|
children?: ReactNode;
|
458
|
-
onSubmit?: () => void;
|
459
458
|
}
|
460
459
|
|
461
460
|
declare type MultipleCascaderProps = CascaderProps<DefaultOptionType, string, true> & {
|
package/types/ui.d.ts
CHANGED
@@ -378,11 +378,10 @@ export declare type MenuItemProps = MenuItemProps_2;
|
|
378
378
|
|
379
379
|
export declare type MenuProps = MenuProps_2;
|
380
380
|
|
381
|
-
export declare const Modal: ({ children,
|
381
|
+
export declare const Modal: ({ children, ...rest }: ModalProps) => JSX.Element;
|
382
382
|
|
383
383
|
export declare interface ModalProps extends ModalProps_2 {
|
384
384
|
children?: ReactNode;
|
385
|
-
onSubmit?: () => void;
|
386
385
|
}
|
387
386
|
|
388
387
|
declare type MultipleCascaderProps = CascaderProps<DefaultOptionType, string, true> & {
|