bitz-react-admin-ui 2.1.3 → 2.1.5
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/_virtual/dayjs.min.mjs +5 -2
- package/dist/_virtual/dayjs.min2.mjs +4 -0
- package/dist/_virtual/index.mjs +2 -2
- package/dist/_virtual/index2.mjs +2 -2
- package/dist/assets/iconfont/IconColumnCancelFixed.d.ts +7 -0
- package/dist/assets/iconfont/IconColumnCancelFixed.mjs +35 -0
- package/dist/assets/iconfont/IconColumnFixedLeft.d.ts +7 -0
- package/dist/assets/iconfont/IconColumnFixedLeft.mjs +35 -0
- package/dist/assets/iconfont/IconColumnFixedRight.d.ts +7 -0
- package/dist/assets/iconfont/IconColumnFixedRight.mjs +35 -0
- package/dist/assets/iconfont/IconDragOrder.d.ts +7 -0
- package/dist/assets/iconfont/IconDragOrder.mjs +35 -0
- package/dist/assets/iconfont/index.d.ts +5 -1
- package/dist/assets/iconfont/index.mjs +105 -89
- package/dist/components/BitzCalendar/index.mjs +1 -1
- package/dist/components/BitzDayJs/index.mjs +1 -1
- package/dist/components/BitzFluentInput/index.d.ts +2 -5
- package/dist/components/BitzFluentInput/index.mjs +4 -58
- package/dist/components/BitzFluentSelect/index.d.ts +4 -5
- package/dist/components/BitzFluentSelect/index.mjs +4 -58
- package/dist/components/BitzFluentTreeSelect/index.mjs +6 -0
- package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +1 -1
- package/dist/components/BitzFuiCalendar/ColumnData.mjs +1 -1
- package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +1 -1
- package/dist/components/BitzMeetingTime/index.mjs +1 -1
- package/dist/components/BitzTable/Select/index.d.ts +4 -0
- package/dist/components/BitzTable/Select/index.mjs +11 -0
- package/dist/components/BitzTable/Select/style.d.ts +4 -0
- package/dist/components/BitzTable/Select/style.mjs +66 -0
- package/dist/components/BitzTable/Store/index.d.ts +43 -9
- package/dist/components/BitzTable/Store/index.mjs +259 -146
- package/dist/components/BitzTable/Store/utils/index.mjs +26 -25
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +73 -61
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndItem.mjs +118 -61
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.d.ts +4 -3
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +48 -47
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.d.ts +5 -1
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +84 -15
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +59 -50
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/style.d.ts +1 -1
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/style.mjs +47 -21
- package/dist/components/BitzTable/ToolBar/ExportIcon/AnyDataTotalLabel.d.ts +5 -0
- package/dist/components/BitzTable/ToolBar/ExportIcon/AnyDataTotalLabel.mjs +89 -0
- package/dist/components/BitzTable/ToolBar/ExportIcon/index.d.ts +1 -2
- package/dist/components/BitzTable/ToolBar/ExportIcon/index.mjs +46 -32
- package/dist/components/BitzTable/ToolBar/index.d.ts +5 -2
- package/dist/components/BitzTableSelect/SelectPopup/index.mjs +148 -123
- package/dist/components/BitzTableSelect/TextBlock/index.mjs +21 -18
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +94 -92
- package/dist/node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs +1 -1
- package/dist/node_modules/.store/dayjs@1.11.10/node_modules/dayjs/dayjs.min.mjs +292 -292
- package/dist/node_modules/.store/dayjs@1.11.10/node_modules/dayjs/locale/zh-cn.mjs +13 -13
- package/dist/node_modules/.store/prop-types@15.8.1/node_modules/prop-types/index.mjs +1 -1
- package/dist/style.css +1 -1
- package/dist/utils/WithFluent.d.ts +9 -0
- package/dist/utils/WithFluent.mjs +58 -0
- package/dist/utils/time.mjs +1 -1
- package/package.json +2 -1
- package/dist/node_modules/.store/@ant-design_icons-svg@4.4.2/node_modules/@ant-design/icons-svg/es/asn/PicRightOutlined.mjs +0 -5
- package/dist/node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/PicRightOutlined.mjs +0 -15
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { create as a } from "../../node_modules/.store/zustand@4.5.2/node_modules/zustand/esm/index.mjs";
|
|
2
|
-
import o from "../../
|
|
2
|
+
import o from "../../_virtual/dayjs.min.mjs";
|
|
3
3
|
var d = /* @__PURE__ */ ((e) => (e.day = "day", e.workWeek = "workWeek", e.week = "week", e.agendum = "agendum", e))(d || {});
|
|
4
4
|
const i = a((e, k) => ({
|
|
5
5
|
colHeight: 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as d } from "../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import { useState as y, useEffect as j, useMemo as D } from "react";
|
|
3
3
|
import M from "../../node_modules/.store/dayjs@1.11.10/node_modules/dayjs/plugin/isToday.mjs";
|
|
4
|
-
import n from "../../
|
|
4
|
+
import n from "../../_virtual/dayjs.min.mjs";
|
|
5
5
|
import { useBitzFuiCalendarStore as S, CalendarTypeEnum as C } from "./BitzFuiCalendarStore.mjs";
|
|
6
6
|
import N from "./CalendarAgendumItem.mjs";
|
|
7
7
|
import x from "./CalendarAgendum.module.less.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as i } from "../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import { useMemo as a } from "react";
|
|
3
3
|
import e from "./CalendarAgendum.module.less.mjs";
|
|
4
|
-
import l from "../../
|
|
4
|
+
import l from "../../_virtual/dayjs.min.mjs";
|
|
5
5
|
import { Button as c } from "antd";
|
|
6
6
|
const d = (_, s) => {
|
|
7
7
|
let t = s.diff(_, "minute"), m;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as a } from "../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
|
|
2
2
|
import { memo as m, useMemo as r } from "react";
|
|
3
|
-
import d from "../../
|
|
3
|
+
import d from "../../_virtual/dayjs.min.mjs";
|
|
4
4
|
import i from "../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
|
|
5
5
|
const n = (t) => {
|
|
6
6
|
const { time: e } = t, s = r(() => e.isSame(d(), "day"), [e]);
|
|
@@ -2,7 +2,7 @@ import { j as e } from "../../node_modules/.store/react@18.2.0/node_modules/reac
|
|
|
2
2
|
import { memo as C, useMemo as i } from "react";
|
|
3
3
|
import { Space as c, Button as o, DatePicker as b, Dropdown as h } from "antd";
|
|
4
4
|
import { useBitzFuiCalendarStore as w, CalendarTypeEnum as a } from "./BitzFuiCalendarStore.mjs";
|
|
5
|
-
import g from "../../
|
|
5
|
+
import g from "../../_virtual/dayjs.min.mjs";
|
|
6
6
|
import T from "../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/AppstoreOutlined.mjs";
|
|
7
7
|
import v from "../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/LeftOutlined.mjs";
|
|
8
8
|
import _ from "../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/RightOutlined.mjs";
|
|
@@ -4,7 +4,7 @@ import E from "./FuiCalendarItem.mjs";
|
|
|
4
4
|
import b from "../../node_modules/.store/dayjs@1.11.10/node_modules/dayjs/plugin/isSameOrAfter.mjs";
|
|
5
5
|
import F from "../../node_modules/.store/dayjs@1.11.10/node_modules/dayjs/plugin/isSameOrBefore.mjs";
|
|
6
6
|
import M from "../../node_modules/.store/dayjs@1.11.10/node_modules/dayjs/plugin/utc.mjs";
|
|
7
|
-
import r from "../../
|
|
7
|
+
import r from "../../_virtual/dayjs.min.mjs";
|
|
8
8
|
import { useBitzFuiCalendarStore as z } from "./BitzFuiCalendarStore.mjs";
|
|
9
9
|
r.extend(M);
|
|
10
10
|
r.extend(F);
|
|
@@ -3,7 +3,7 @@ import { useState as w, useMemo as x, useEffect as E } from "react";
|
|
|
3
3
|
import A from "../../node_modules/.store/dayjs@1.11.10/node_modules/dayjs/plugin/objectSupport.mjs";
|
|
4
4
|
import H from "../../node_modules/.store/dayjs@1.11.10/node_modules/dayjs/plugin/isSameOrAfter.mjs";
|
|
5
5
|
import D from "../../node_modules/.store/dayjs@1.11.10/node_modules/dayjs/plugin/utc.mjs";
|
|
6
|
-
import e from "../../
|
|
6
|
+
import e from "../../_virtual/dayjs.min.mjs";
|
|
7
7
|
import "./index.less.mjs";
|
|
8
8
|
e.extend(A);
|
|
9
9
|
e.extend(H);
|
|
@@ -2,7 +2,7 @@ import { j as e } from "../../node_modules/.store/react@18.2.0/node_modules/reac
|
|
|
2
2
|
import { useMemo as d } from "react";
|
|
3
3
|
import p from "../../node_modules/.store/dayjs@1.11.10/node_modules/dayjs/plugin/objectSupport.mjs";
|
|
4
4
|
import T from "./BitzMeetingTimeItem.mjs";
|
|
5
|
-
import m from "../../
|
|
5
|
+
import m from "../../_virtual/dayjs.min.mjs";
|
|
6
6
|
import "./index.less.mjs";
|
|
7
7
|
m.extend(p);
|
|
8
8
|
const x = (a) => {
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { RefSelectProps, SelectProps } from 'antd';
|
|
3
|
+
declare const Select: import("react").ForwardRefExoticComponent<SelectProps<any, import("antd/es/select").DefaultOptionType> & import("react").RefAttributes<RefSelectProps>>;
|
|
4
|
+
export default Select;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { j as r } from "../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
|
|
2
|
+
import { Select as s } from "antd";
|
|
3
|
+
import { forwardRef as m } from "react";
|
|
4
|
+
import p from "./style.mjs";
|
|
5
|
+
const i = m((e, t) => {
|
|
6
|
+
const { popupClassName: o } = p();
|
|
7
|
+
return /* @__PURE__ */ r.jsx(s, { ...e, ref: t, popupClassName: o });
|
|
8
|
+
});
|
|
9
|
+
export {
|
|
10
|
+
i as default
|
|
11
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { useContext as u, useMemo as $ } from "react";
|
|
2
|
+
import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/extractStyle.mjs";
|
|
3
|
+
import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.mjs";
|
|
4
|
+
import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/StyleContext.mjs";
|
|
5
|
+
import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/theme/createTheme.mjs";
|
|
6
|
+
import "../../../node_modules/.store/rc-util@5.39.1/node_modules/rc-util/es/warning.mjs";
|
|
7
|
+
import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/theme/ThemeCache.mjs";
|
|
8
|
+
import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useCompatibleInsertionEffect.mjs";
|
|
9
|
+
import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useEffectCleanupRegister.mjs";
|
|
10
|
+
import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useHMR.mjs";
|
|
11
|
+
import d from "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.mjs";
|
|
12
|
+
import "../../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.mjs";
|
|
13
|
+
import { BitzTableContext as g } from "../Store/index.mjs";
|
|
14
|
+
import h from "../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
|
|
15
|
+
import x from "../../BitzTheme/index.mjs";
|
|
16
|
+
const H = () => {
|
|
17
|
+
const { tableSize: i } = u(g), S = $(() => i ?? "lg", [i]), { theme: z, hashId: m, token: l } = x.useToken(), s = "EditableSelect", o = "editableSelect", b = (f, e, t) => {
|
|
18
|
+
var a, n, p, r, c;
|
|
19
|
+
return [
|
|
20
|
+
{
|
|
21
|
+
[`.${f}`]: {}
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
[`.xl${e} .ant-select-item`]: {
|
|
25
|
+
fontSize: (a = t.Table.xlTable) == null ? void 0 : a.fontSize
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
[`.lg${e} .ant-select-item`]: {
|
|
30
|
+
fontSize: (n = t.Table.lgTable) == null ? void 0 : n.fontSize
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
[`.md${e} .ant-select-item`]: {
|
|
35
|
+
fontSize: (p = t.Table.mdTable) == null ? void 0 : p.fontSize
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
[`.sm${e} .ant-select-item`]: {
|
|
40
|
+
fontSize: (r = t.Table.smTable) == null ? void 0 : r.fontSize
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
[`.xs${e} .ant-select-item`]: {
|
|
45
|
+
fontSize: (c = t.Table.xsTable) == null ? void 0 : c.fontSize
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
];
|
|
49
|
+
};
|
|
50
|
+
d(
|
|
51
|
+
{
|
|
52
|
+
theme: z,
|
|
53
|
+
token: l,
|
|
54
|
+
hashId: m,
|
|
55
|
+
path: [o]
|
|
56
|
+
},
|
|
57
|
+
() => [b(o, s, l)]
|
|
58
|
+
);
|
|
59
|
+
const T = `${S}${s}`;
|
|
60
|
+
return {
|
|
61
|
+
popupClassName: h(o, T, m)
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
export {
|
|
65
|
+
H as default
|
|
66
|
+
};
|
|
@@ -36,10 +36,25 @@ export interface StylesStateType<TableKey = any> {
|
|
|
36
36
|
defaultValue?: StylesConfigProps;
|
|
37
37
|
value?: StylesConfigProps;
|
|
38
38
|
onChange?: (val: StylesConfigOnChangeValue) => void;
|
|
39
|
-
onlineChange?: (key: TableKey,
|
|
39
|
+
onlineChange?: (key: TableKey, state: StylesConfigOnChangeValue) => void;
|
|
40
40
|
onlineGet?: (key: TableKey) => Promise<StylesConfigProps | null | undefined>;
|
|
41
41
|
}
|
|
42
|
+
export interface ExportConfigProps {
|
|
43
|
+
field: string;
|
|
44
|
+
title: string;
|
|
45
|
+
show: boolean;
|
|
46
|
+
}
|
|
47
|
+
export interface ExportConfigState<TableKey = any> {
|
|
48
|
+
persistenceType?: 'localStorage' | 'sessionStorage' | 'online';
|
|
49
|
+
persistenceKey?: TableKey;
|
|
50
|
+
defaultValue?: ExportConfigProps[];
|
|
51
|
+
value?: ExportConfigProps[];
|
|
52
|
+
onChange?: (val: ExportConfigProps[]) => void;
|
|
53
|
+
onlineChange?: (key: TableKey, state: ExportConfigProps[]) => void;
|
|
54
|
+
onlineGet?: (key: TableKey) => Promise<ExportConfigProps[] | null | undefined>;
|
|
55
|
+
}
|
|
42
56
|
export type UseContainerProps<T = any> = {
|
|
57
|
+
/** 列配置 */
|
|
43
58
|
columnsStateMap?: Record<string, ColumnsConfigProps>;
|
|
44
59
|
onColumnsStateChange?: (map: Record<string, ColumnsConfigProps>) => void;
|
|
45
60
|
columns?: BitzTableColumnsType<T>;
|
|
@@ -55,9 +70,15 @@ export type UseContainerProps<T = any> = {
|
|
|
55
70
|
defaultZebra?: StylesConfigProps['zebra'];
|
|
56
71
|
bordered?: BitzTableBorderedType;
|
|
57
72
|
defaultBordered?: BitzTableBorderedType;
|
|
73
|
+
/** 导出配置 */
|
|
74
|
+
exportConfigState?: ExportConfigState;
|
|
75
|
+
defaultExportConfig?: ExportConfigProps[];
|
|
76
|
+
exportConfig?: ExportConfigProps[];
|
|
77
|
+
onExportConfigChange?: (value: ExportConfigProps[]) => void;
|
|
58
78
|
};
|
|
59
79
|
declare function useContainer(props: UseContainerProps): {
|
|
60
80
|
uuid: string;
|
|
81
|
+
columns: BitzTableColumnsType<any> | undefined;
|
|
61
82
|
persistenceType: "online" | "localStorage" | "sessionStorage" | undefined;
|
|
62
83
|
persistenceKey: any;
|
|
63
84
|
onlineChange: ((key: any, ColumnsState: Record<string, ColumnsConfigProps>) => void) | undefined;
|
|
@@ -65,21 +86,28 @@ declare function useContainer(props: UseContainerProps): {
|
|
|
65
86
|
setSortKeyColumns: (keys: string[]) => void;
|
|
66
87
|
columnsMap: Record<string, ColumnsConfigProps>;
|
|
67
88
|
setColumnsMap: (updater: Record<string, ColumnsConfigProps> | ((origin: Record<string, ColumnsConfigProps>) => Record<string, ColumnsConfigProps>), ignoreDestroy?: boolean | undefined) => void;
|
|
89
|
+
defaultColumnKeyMap: Record<string, ColumnsConfigProps>;
|
|
90
|
+
clearPersistenceStorage: () => void;
|
|
68
91
|
stylesConfig: StylesConfigProps;
|
|
69
92
|
setTableStylesConfig: (updater: StylesConfigProps | ((origin: StylesConfigProps) => StylesConfigProps), ignoreDestroy?: boolean | undefined) => void;
|
|
70
93
|
defaultTableSize: "xl" | "lg" | "md" | "sm" | "xs";
|
|
71
94
|
tableSize: DensitySize;
|
|
72
95
|
stylesStorageType: "online" | "localStorage" | "sessionStorage" | undefined;
|
|
73
96
|
stylesStorageKey: any;
|
|
74
|
-
onlineStylesConfigChange: ((key: any,
|
|
75
|
-
columns: BitzTableColumnsType<any> | undefined;
|
|
76
|
-
clearPersistenceStorage: () => void;
|
|
97
|
+
onlineStylesConfigChange: ((key: any, state: StylesConfigOnChangeValue) => void) | undefined;
|
|
77
98
|
clearStylesConfigCache: () => void;
|
|
78
99
|
defaultTableStylesConfig: StylesConfigProps;
|
|
79
|
-
|
|
100
|
+
exportConfig: ExportConfigProps[];
|
|
101
|
+
setTableExportConfig: (updater: ExportConfigProps[] | ((origin: ExportConfigProps[]) => ExportConfigProps[]), ignoreDestroy?: boolean | undefined) => void;
|
|
102
|
+
defaultTableExportConfig: ExportConfigProps[];
|
|
103
|
+
exportStorageType: "online" | "localStorage" | "sessionStorage" | undefined;
|
|
104
|
+
exportStorageKey: any;
|
|
105
|
+
onlineExportConfigChange: ((key: any, state: ExportConfigProps[]) => void) | undefined;
|
|
106
|
+
clearExportConfigCache: () => void;
|
|
80
107
|
};
|
|
81
108
|
declare const BitzTableContext: import("react").Context<{
|
|
82
109
|
uuid: string;
|
|
110
|
+
columns: BitzTableColumnsType<any> | undefined;
|
|
83
111
|
persistenceType: "online" | "localStorage" | "sessionStorage" | undefined;
|
|
84
112
|
persistenceKey: any;
|
|
85
113
|
onlineChange: ((key: any, ColumnsState: Record<string, ColumnsConfigProps>) => void) | undefined;
|
|
@@ -87,18 +115,24 @@ declare const BitzTableContext: import("react").Context<{
|
|
|
87
115
|
setSortKeyColumns: (keys: string[]) => void;
|
|
88
116
|
columnsMap: Record<string, ColumnsConfigProps>;
|
|
89
117
|
setColumnsMap: (updater: Record<string, ColumnsConfigProps> | ((origin: Record<string, ColumnsConfigProps>) => Record<string, ColumnsConfigProps>), ignoreDestroy?: boolean | undefined) => void;
|
|
118
|
+
defaultColumnKeyMap: Record<string, ColumnsConfigProps>;
|
|
119
|
+
clearPersistenceStorage: () => void;
|
|
90
120
|
stylesConfig: StylesConfigProps;
|
|
91
121
|
setTableStylesConfig: (updater: StylesConfigProps | ((origin: StylesConfigProps) => StylesConfigProps), ignoreDestroy?: boolean | undefined) => void;
|
|
92
122
|
defaultTableSize: "xl" | "lg" | "md" | "sm" | "xs";
|
|
93
123
|
tableSize: DensitySize;
|
|
94
124
|
stylesStorageType: "online" | "localStorage" | "sessionStorage" | undefined;
|
|
95
125
|
stylesStorageKey: any;
|
|
96
|
-
onlineStylesConfigChange: ((key: any,
|
|
97
|
-
columns: BitzTableColumnsType<any> | undefined;
|
|
98
|
-
clearPersistenceStorage: () => void;
|
|
126
|
+
onlineStylesConfigChange: ((key: any, state: StylesConfigOnChangeValue) => void) | undefined;
|
|
99
127
|
clearStylesConfigCache: () => void;
|
|
100
128
|
defaultTableStylesConfig: StylesConfigProps;
|
|
101
|
-
|
|
129
|
+
exportConfig: ExportConfigProps[];
|
|
130
|
+
setTableExportConfig: (updater: ExportConfigProps[] | ((origin: ExportConfigProps[]) => ExportConfigProps[]), ignoreDestroy?: boolean | undefined) => void;
|
|
131
|
+
defaultTableExportConfig: ExportConfigProps[];
|
|
132
|
+
exportStorageType: "online" | "localStorage" | "sessionStorage" | undefined;
|
|
133
|
+
exportStorageKey: any;
|
|
134
|
+
onlineExportConfigChange: ((key: any, state: ExportConfigProps[]) => void) | undefined;
|
|
135
|
+
clearExportConfigCache: () => void;
|
|
102
136
|
}>;
|
|
103
137
|
export type ContainerType = typeof useContainer;
|
|
104
138
|
declare const Container: React.FC<{
|