@pnkx-lib/ui 1.1.18 → 1.1.19
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/chunks/Steps-Bfcmz8iH.js +4885 -0
- package/dist/index.js +24 -25
- package/dist/types/index.d.ts +0 -32
- package/dist/types/ui.d.ts +0 -32
- package/dist/ui/index.js +19 -20
- package/package.json +1 -1
- package/dist/chunks/Steps-CNDzmXyL.js +0 -5880
package/dist/index.js
CHANGED
@@ -1,39 +1,38 @@
|
|
1
|
-
import { e,
|
2
|
-
import { E as
|
3
|
-
import { C as
|
1
|
+
import { d as e, f as o, B as r, C as t, e as i, c as l, D as p, F as d, L as n, i as F, M as c, j as C, P as S, R as P, b as T, S as g, g as k, h as u, k as x, a as M, T as b, t as m } from "./chunks/Steps-Bfcmz8iH.js";
|
2
|
+
import { E as R, L as f, T as h } from "./chunks/AntdIcon-BohCHsd5.js";
|
3
|
+
import { C as D, D as L, I as E, P as w, R as I, a as j, S as v, T as G } from "./chunks/Switch-Dy3JDxO_.js";
|
4
4
|
export {
|
5
5
|
e as Badge,
|
6
6
|
o as Breadcrumb,
|
7
7
|
r as Button,
|
8
8
|
t as CascaderField,
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
9
|
+
D as CheckboxField,
|
10
|
+
i as Col,
|
11
|
+
l as Container,
|
12
|
+
L as DatePickerField,
|
13
13
|
p as Dropdown,
|
14
|
-
|
14
|
+
R as ErrorMessage,
|
15
15
|
d as Flex,
|
16
|
-
|
17
|
-
|
16
|
+
E as Input,
|
17
|
+
f as Label,
|
18
18
|
n as Layout,
|
19
19
|
F as Menu,
|
20
20
|
c as Modal,
|
21
21
|
C as Pagination,
|
22
|
-
|
22
|
+
w as PnkxField,
|
23
23
|
S as Popover,
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
x as Table,
|
24
|
+
I as RadioGroup,
|
25
|
+
j as RangePickerField,
|
26
|
+
P as Row,
|
27
|
+
T as SearchFiltersForm,
|
28
|
+
v as SelectField,
|
29
|
+
g as Skeleton,
|
30
|
+
k as Space,
|
31
|
+
u as Splitter,
|
32
|
+
x as Steps,
|
34
33
|
M as Tabs,
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
34
|
+
G as TinyMCE,
|
35
|
+
b as Tooltip,
|
36
|
+
h as Typography,
|
37
|
+
m as typeColorMap
|
39
38
|
};
|
package/dist/types/index.d.ts
CHANGED
@@ -57,8 +57,6 @@ import { Steps as Steps_2 } from 'antd';
|
|
57
57
|
import { StepsProps as StepsProps_2 } from 'antd';
|
58
58
|
import { SubMenuProps as SubMenuProps_2 } from 'antd/es/menu';
|
59
59
|
import { SwitchProps } from 'antd';
|
60
|
-
import { TableColumnsType } from 'antd';
|
61
|
-
import { TableProps } from 'antd/lib/table';
|
62
60
|
import { TabsProps as TabsProps_2 } from 'antd';
|
63
61
|
import { TextAreaProps as TextAreaProps_2 } from 'antd/es/input';
|
64
62
|
import { TextProps } from 'antd/es/typography/Text';
|
@@ -179,8 +177,6 @@ export declare interface ColSize extends ColSize_2 {
|
|
179
177
|
|
180
178
|
export declare type ColSpanType = number | string;
|
181
179
|
|
182
|
-
declare type ColumnTypes<T> = Exclude<TableProps<T>["columns"], undefined>;
|
183
|
-
|
184
180
|
declare type ComponentPropsType<TComponent> = TComponent extends React_2.ComponentType<infer P> ? P : never;
|
185
181
|
|
186
182
|
declare type CompoundedMenu = FC<MenuComponentProps> & {
|
@@ -381,10 +377,6 @@ export declare interface RangePickerFieldProps extends Omit<RangePickerProps, "v
|
|
381
377
|
|
382
378
|
export declare const Row: (props: RowPropsUnion) => JSX.Element;
|
383
379
|
|
384
|
-
declare interface RowCommon {
|
385
|
-
[x: string]: any;
|
386
|
-
}
|
387
|
-
|
388
380
|
export declare interface RowProps extends RowProps_2 {
|
389
381
|
}
|
390
382
|
|
@@ -476,30 +468,6 @@ declare type TabItem = {
|
|
476
468
|
disabled?: boolean;
|
477
469
|
};
|
478
470
|
|
479
|
-
export declare const Table: <T extends RowCommon>({ dataSource, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, className, ...rest }: TableCommonProps<T>) => JSX.Element;
|
480
|
-
|
481
|
-
export declare type TableColumnsTypeEditable<T> = (ColumnTypes<T>[number] & {
|
482
|
-
editable?: boolean;
|
483
|
-
})[];
|
484
|
-
|
485
|
-
export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "columns"> {
|
486
|
-
dataSource: T[];
|
487
|
-
columns: TableColumnsType<T> | TableColumnsTypeEditable<T>;
|
488
|
-
loading?: boolean;
|
489
|
-
totalItems: number;
|
490
|
-
filters: any;
|
491
|
-
onChangePage: (page: number) => void;
|
492
|
-
onChangePageSize: (size: number) => void;
|
493
|
-
onSort?: (sortField: string | number | symbol) => void;
|
494
|
-
rowsSelected?: default_2.Key[];
|
495
|
-
onSelect: (newSelectedRowKeys: default_2.Key[]) => void;
|
496
|
-
onRowClick?: (record: T) => void;
|
497
|
-
rowKey?: string;
|
498
|
-
className?: string;
|
499
|
-
editable?: boolean;
|
500
|
-
onSave?: (data: T[]) => void;
|
501
|
-
}
|
502
|
-
|
503
471
|
export declare const Tabs: default_2.FC<TabsProps>;
|
504
472
|
|
505
473
|
export declare type TabsProps = TabsProps_2 & {
|
package/dist/types/ui.d.ts
CHANGED
@@ -44,8 +44,6 @@ import { StepProps as StepProps_2 } from 'antd';
|
|
44
44
|
import { Steps as Steps_2 } from 'antd';
|
45
45
|
import { StepsProps as StepsProps_2 } from 'antd';
|
46
46
|
import { SubMenuProps as SubMenuProps_2 } from 'antd/es/menu';
|
47
|
-
import { TableColumnsType } from 'antd';
|
48
|
-
import { TableProps } from 'antd/lib/table';
|
49
47
|
import { TabsProps as TabsProps_2 } from 'antd';
|
50
48
|
import { TextProps } from 'antd/es/typography/Text';
|
51
49
|
import { TitleProps } from 'antd/es/typography/Title';
|
@@ -150,8 +148,6 @@ export declare interface ColSize extends ColSize_2 {
|
|
150
148
|
|
151
149
|
export declare type ColSpanType = number | string;
|
152
150
|
|
153
|
-
declare type ColumnTypes<T> = Exclude<TableProps<T>["columns"], undefined>;
|
154
|
-
|
155
151
|
declare type CompoundedMenu = FC<MenuComponentProps> & {
|
156
152
|
Item: typeof MenuItem;
|
157
153
|
SubMenu: typeof SubMenu;
|
@@ -265,10 +261,6 @@ export declare type PopoverPropsUnion = BaseProps_2 & PopoverProps;
|
|
265
261
|
|
266
262
|
export declare const Row: (props: RowPropsUnion) => JSX.Element;
|
267
263
|
|
268
|
-
declare interface RowCommon {
|
269
|
-
[x: string]: any;
|
270
|
-
}
|
271
|
-
|
272
264
|
export declare interface RowProps extends RowProps_2 {
|
273
265
|
}
|
274
266
|
|
@@ -338,30 +330,6 @@ declare type TabItem = {
|
|
338
330
|
disabled?: boolean;
|
339
331
|
};
|
340
332
|
|
341
|
-
export declare const Table: <T extends RowCommon>({ dataSource, columns, loading, totalItems, filters, onChangePage, onChangePageSize, onSort, rowsSelected, onSelect, onRowClick, rowKey, className, ...rest }: TableCommonProps<T>) => JSX.Element;
|
342
|
-
|
343
|
-
export declare type TableColumnsTypeEditable<T> = (ColumnTypes<T>[number] & {
|
344
|
-
editable?: boolean;
|
345
|
-
})[];
|
346
|
-
|
347
|
-
export declare interface TableCommonProps<T> extends Omit<TableProps<T>, "columns"> {
|
348
|
-
dataSource: T[];
|
349
|
-
columns: TableColumnsType<T> | TableColumnsTypeEditable<T>;
|
350
|
-
loading?: boolean;
|
351
|
-
totalItems: number;
|
352
|
-
filters: any;
|
353
|
-
onChangePage: (page: number) => void;
|
354
|
-
onChangePageSize: (size: number) => void;
|
355
|
-
onSort?: (sortField: string | number | symbol) => void;
|
356
|
-
rowsSelected?: default_2.Key[];
|
357
|
-
onSelect: (newSelectedRowKeys: default_2.Key[]) => void;
|
358
|
-
onRowClick?: (record: T) => void;
|
359
|
-
rowKey?: string;
|
360
|
-
className?: string;
|
361
|
-
editable?: boolean;
|
362
|
-
onSave?: (data: T[]) => void;
|
363
|
-
}
|
364
|
-
|
365
333
|
export declare const Tabs: default_2.FC<TabsProps>;
|
366
334
|
|
367
335
|
export declare type TabsProps = TabsProps_2 & {
|
package/dist/ui/index.js
CHANGED
@@ -1,30 +1,29 @@
|
|
1
|
-
import {
|
2
|
-
import { E as
|
1
|
+
import { d as o, f as e, B as r, C as t, e as p, c as l, D as i, F as n, L as d, i as S, M as c, j as g, P as C, R as F, b as M, S as T, g as b, h as m, k as u, a as y, T as B, t as L } from "../chunks/Steps-Bfcmz8iH.js";
|
2
|
+
import { E as h, L as x, T as P } from "../chunks/AntdIcon-BohCHsd5.js";
|
3
3
|
export {
|
4
|
-
|
5
|
-
|
4
|
+
o as Badge,
|
5
|
+
e as Breadcrumb,
|
6
6
|
r as Button,
|
7
7
|
t as CascaderField,
|
8
|
-
|
9
|
-
|
8
|
+
p as Col,
|
9
|
+
l as Container,
|
10
10
|
i as Dropdown,
|
11
|
-
|
11
|
+
h as ErrorMessage,
|
12
12
|
n as Flex,
|
13
|
-
|
13
|
+
x as Label,
|
14
14
|
d as Layout,
|
15
15
|
S as Menu,
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
16
|
+
c as Modal,
|
17
|
+
g as Pagination,
|
18
|
+
C as Popover,
|
19
|
+
F as Row,
|
20
|
+
M as SearchFiltersForm,
|
21
|
+
T as Skeleton,
|
22
|
+
b as Space,
|
23
23
|
m as Splitter,
|
24
24
|
u as Steps,
|
25
|
-
y as
|
26
|
-
B as
|
27
|
-
|
28
|
-
|
29
|
-
f as typeColorMap
|
25
|
+
y as Tabs,
|
26
|
+
B as Tooltip,
|
27
|
+
P as Typography,
|
28
|
+
L as typeColorMap
|
30
29
|
};
|