dcp-design-react 1.11.1 → 1.11.3
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/lib/_utils/util.d.ts +2 -2
- package/lib/form/style/index.less +3 -1
- package/lib/index.d.ts +4 -0
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/lang/en.d.ts +4 -4
- package/lib/locale/lang/en.js +4 -4
- package/lib/locale/lang/zh-cn.d.ts +4 -4
- package/lib/locale/lang/zh-cn.js +4 -4
- package/lib/pivot-grid/src/config/index.d.ts +2 -5
- package/lib/pivot-grid/src/grid-layout/Context.d.ts +5 -2
- package/lib/pivot-grid/src/grid-layout/CountPanel.d.ts +2 -0
- package/lib/pivot-grid/src/grid-layout/GroupCard.d.ts +2 -1
- package/lib/pivot-grid/src/main/Context.d.ts +6 -2
- package/lib/pivot-grid/src/utils/index.d.ts +30 -1
- package/lib/pivot-grid/style/grid-layout.less +36 -31
- package/lib/pivot-grid/style/top-bar.less +34 -3
- package/lib/pivot-grid/style/variable.less +0 -2
- package/lib/scrollbar/src/scrollbar.d.ts +1 -0
- package/lib/scrollbar/style/index.less +1 -0
- package/lib/style/index.css +113 -34
- package/lib/style/index.less +2 -1
- package/lib/style/index.min.css +1 -1
- package/lib/table/src/body/DraggableTr.d.ts +2 -1
- package/lib/table/src/body/index.d.ts +2 -6
- package/lib/table/src/config/index.d.ts +1 -0
- package/lib/table/src/context/index.d.ts +3 -8
- package/lib/table/src/export/useExport.d.ts +1 -1
- package/lib/table/src/footer/index.d.ts +1 -4
- package/lib/table/src/header/index.d.ts +1 -3
- package/lib/table/src/hooks/useImperativeMethod.d.ts +0 -1
- package/lib/table/src/hooks/useTableCore.d.ts +3 -17
- package/lib/table/src/hooks/useTableEffect.d.ts +0 -2
- package/lib/table/src/hooks/useTableLayout.d.ts +3 -15
- package/lib/table/src/hooks/useTableMemo.d.ts +1 -3
- package/lib/table/src/hooks/useTableRef.d.ts +4 -33
- package/lib/table/src/hooks/useTableState.d.ts +5 -14
- package/lib/table/src/hooks/useTableVirtual.d.ts +17 -0
- package/lib/table/src/table/props.d.ts +0 -1
- package/lib/table/src/table/types.d.ts +3 -2
- package/lib/table/style/body.less +103 -103
- package/lib/table/style/column-filter.less +5 -5
- package/lib/table/style/index.less +31 -31
- package/lib/table/style/pivot-grid.less +19 -19
- package/lib/virtual-list/index.d.ts +3 -0
- package/lib/virtual-list/src/core.d.ts +133 -0
- package/lib/virtual-list/src/list-item.d.ts +9 -0
- package/lib/virtual-list/src/useVirtual.d.ts +5 -0
- package/lib/virtual-list/src/utils.d.ts +12 -0
- package/lib/virtual-list/src/virtual-list.d.ts +20 -0
- package/lib/virtual-list/style/index.less +21 -0
- package/package.json +1 -1
package/lib/_utils/util.d.ts
CHANGED
|
@@ -19,8 +19,8 @@ export declare const camelize: (input: string) => string;
|
|
|
19
19
|
export declare const isEmpty: (val: any) => boolean;
|
|
20
20
|
export declare const isValid: (val: string) => boolean;
|
|
21
21
|
export declare const isSci: (value: number) => boolean;
|
|
22
|
-
export declare const getValueByPath: (obj: AnyObject<any>, path: string) =>
|
|
23
|
-
export declare const setValueByPath: (obj: AnyObject<any>, path: string, value:
|
|
22
|
+
export declare const getValueByPath: (obj: AnyObject<any>, path: string) => any;
|
|
23
|
+
export declare const setValueByPath: (obj: AnyObject<any>, path: string, value: any) => void;
|
|
24
24
|
export declare const omit: <T extends object, K extends keyof T>(obj: T, fields: K[] | readonly K[]) => Omit<T, K>;
|
|
25
25
|
export declare const pick: <T extends object, K extends keyof T>(obj: T, keys: (string | K)[]) => Pick<T, K>;
|
|
26
26
|
export declare const deepClone: <T extends object>(target: T, map?: WeakMap<object, any>) => T;
|
|
@@ -348,6 +348,8 @@
|
|
|
348
348
|
|
|
349
349
|
// fields-filter
|
|
350
350
|
.@{prefix-form}-fields-filter {
|
|
351
|
+
min-width: 160px;
|
|
352
|
+
max-width: 220px;
|
|
351
353
|
.reset {
|
|
352
354
|
padding-bottom: 2px;
|
|
353
355
|
margin-bottom: 4px;
|
|
@@ -362,7 +364,7 @@
|
|
|
362
364
|
ul {
|
|
363
365
|
margin: 0;
|
|
364
366
|
li.item {
|
|
365
|
-
line-height: 1.
|
|
367
|
+
line-height: 1.85;
|
|
366
368
|
.text-overflow-cut();
|
|
367
369
|
.handle {
|
|
368
370
|
padding: 2px;
|
package/lib/index.d.ts
CHANGED
|
@@ -68,6 +68,8 @@ export type { SignatureRef as QmSignatureRef, SignatureProps as QmSignatureProps
|
|
|
68
68
|
export { default as QmSignature } from './signature';
|
|
69
69
|
export type { PivotGridRef as QmPivotGridRef, PivotGridProps as QmPivotGridProps } from './pivot-grid';
|
|
70
70
|
export { default as QmPivotGrid } from './pivot-grid';
|
|
71
|
+
export type { VirtualListRef as QmVirtualListRef, VirtualListProps as QmVirtualListProps } from './virtual-list';
|
|
72
|
+
export { default as QmVirtualList } from './virtual-list';
|
|
71
73
|
export type { ConfigProviderProps as DcpConfigProviderProps } from './config-provider';
|
|
72
74
|
export { default as DcpConfigProvider } from './config-provider';
|
|
73
75
|
export type { ButtonProps as DcpButtonProps } from './button';
|
|
@@ -138,6 +140,8 @@ export type { SignatureRef as DcpSignatureRef, SignatureProps as DcpSignaturePro
|
|
|
138
140
|
export { default as DcpSignature } from './signature';
|
|
139
141
|
export type { PivotGridRef as DcpPivotGridRef, PivotGridProps as DcpPivotGridProps } from './pivot-grid';
|
|
140
142
|
export { default as DcpPivotGrid } from './pivot-grid';
|
|
143
|
+
export type { VirtualListRef as DcpVirtualListRef, VirtualListProps as DcpVirtualListProps } from './virtual-list';
|
|
144
|
+
export { default as DcpVirtualList } from './virtual-list';
|
|
141
145
|
export { default as pinyin } from './pinyin';
|
|
142
146
|
export { default as version } from './version';
|
|
143
147
|
export * from './antd';
|