bitz-react-admin-ui 2.6.1 → 2.6.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.
Files changed (44) hide show
  1. package/dist/_virtual/dayjs.min.mjs +2 -5
  2. package/dist/components/BitzCalendar/index.mjs +1 -1
  3. package/dist/components/BitzConfigProvider/context.d.ts +7 -1
  4. package/dist/components/BitzDayJs/index.mjs +1 -1
  5. package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +1 -1
  6. package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +1 -1
  7. package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +1 -1
  8. package/dist/components/BitzFuiCalendar/CalendarBody.mjs +1 -1
  9. package/dist/components/BitzFuiCalendar/CalendarHead.mjs +1 -1
  10. package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +1 -1
  11. package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +1 -1
  12. package/dist/components/BitzFuiCalendar/ColumnData.mjs +1 -1
  13. package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +1 -1
  14. package/dist/components/BitzMeetingTime/index.mjs +1 -1
  15. package/dist/components/BitzTable/ActionCol/index.mjs +73 -73
  16. package/dist/components/BitzTable/Store/index.d.ts +30 -0
  17. package/dist/components/BitzTable/Store/index.mjs +246 -217
  18. package/dist/components/BitzTable/Store/utils/index.d.ts +1 -1
  19. package/dist/components/BitzTable/Store/utils/index.mjs +12 -12
  20. package/dist/components/BitzTable/Table/index.d.ts +9 -1
  21. package/dist/components/BitzTable/Table/index.mjs +425 -403
  22. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +103 -95
  23. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.d.ts +2 -1
  24. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +243 -197
  25. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +141 -105
  26. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/ScopeSwitch.d.ts +8 -0
  27. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/ScopeSwitch.mjs +23 -0
  28. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +127 -74
  29. package/dist/components/BitzTable/ToolBar/ColConfigIcon/index.mjs +76 -25
  30. package/dist/components/BitzTable/ToolBar/ColConfigIcon/style.mjs +151 -96
  31. package/dist/components/BitzTable/ToolBar/ExportIcon/ExportModal.mjs +29 -27
  32. package/dist/components/BitzTable/ToolBar/Modal/index.mjs +19 -9
  33. package/dist/components/BitzTable/ToolBar/Modal/style.d.ts +4 -0
  34. package/dist/components/BitzTable/ToolBar/Modal/style.mjs +42 -14
  35. package/dist/components/BitzTable/index.d.ts +2 -0
  36. package/dist/node_modules/.store/dayjs@1.11.11/node_modules/dayjs/dayjs.min.mjs +292 -292
  37. package/dist/node_modules/.store/dayjs@1.11.11/node_modules/dayjs/locale/zh-cn.mjs +13 -13
  38. package/dist/node_modules/.store/lodash@4.17.21/node_modules/lodash/debounce.mjs +34 -37
  39. package/dist/style.css +1 -1
  40. package/dist/utils/time.mjs +1 -1
  41. package/package.json +1 -1
  42. package/dist/_virtual/dayjs.min2.mjs +0 -4
  43. package/dist/node_modules/.store/ahooks@3.8.0/node_modules/ahooks/es/useDebounceFn/index.mjs +0 -29
  44. package/dist/node_modules/.store/ahooks@3.8.0/node_modules/ahooks/es/utils/lodash-polyfill.mjs +0 -7
@@ -1,39 +1,90 @@
1
1
  import { j as t } from "../../../../node_modules/.store/react@18.3.1/node_modules/react/jsx-runtime.mjs";
2
- import { useContext as C, useState as x, useMemo as d } from "react";
3
- import g from "./ColumnConfigModal.mjs";
4
- import j from "../style.mjs";
5
- import h from "../../../BitzButton/index.mjs";
6
- import { BitzTableContext as y } from "../../Store/index.mjs";
7
- import B from "../../../../node_modules/.store/@ant-design_icons@5.3.7/node_modules/@ant-design/icons/es/icons/SettingOutlined.mjs";
8
- const r = "表格设置", k = (e) => {
9
- const { order: l, show: m = !0, icon: i = /* @__PURE__ */ t.jsx(B, {}) } = e, { fullscreen: o } = C(y), { toolbarItemClassName: a } = j(), [u, n] = x(!1), c = d(() => o ? !1 : void 0, [o]);
10
- return m ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
2
+ import { useRef as y, useContext as S, useState as b, useEffect as w, useMemo as k } from "react";
3
+ import { theme as z, Popconfirm as I, Statistic as R } from "antd";
4
+ import B from "./ColumnConfigModal.mjs";
5
+ import N from "../style.mjs";
6
+ import E from "../../../BitzButton/index.mjs";
7
+ import { BitzTableContext as M } from "../../Store/index.mjs";
8
+ import { css as O } from "../../../../node_modules/.store/@emotion_css@11.11.2/node_modules/@emotion/css/dist/emotion-css.esm.mjs";
9
+ import T from "../../../../node_modules/.store/@ant-design_icons@5.3.7/node_modules/@ant-design/icons/es/icons/SettingOutlined.mjs";
10
+ const f = "表格设置", K = (e) => {
11
+ const { order: m, show: u = !0, icon: d = /* @__PURE__ */ t.jsx(T, {}) } = e, { token: p } = z.useToken(), s = y(), {
12
+ fullscreen: r,
13
+ isSaving: n,
14
+ countdown: o,
15
+ cancelAutoSave: x,
16
+ immediateSave: a,
17
+ setCountdown: C
18
+ } = S(M), { toolbarItemClassName: g } = N(), [h, l] = b(!1);
19
+ w(() => (n && o > 0 ? s.current = setInterval(() => {
20
+ C((i) => i - 1);
21
+ }, 1e3) : clearInterval(s.current), o === 0 && n && a(), () => clearInterval(s.current)), [n, o]);
22
+ const j = k(() => r ? !1 : void 0, [r]), v = O`
23
+ .ant-statistic {
24
+ display: inline-block;
25
+ }
26
+ .ant-statistic-content {
27
+ font-size: ${p.fontSize}px;
28
+ }
29
+ .ant-statistic-content-value-int {
30
+ font-weight: 600;
31
+ }
32
+ .ant-popconfirm-buttons {
33
+ width: 100%;
34
+ display: flex;
35
+ text-align: left;
36
+ justify-content: flex-end;
37
+ .ant-btn-primary {
38
+ order: 1;
39
+ margin-left: 0;
40
+ }
41
+ .ant-btn-default {
42
+ order: 2;
43
+ }
44
+ }
45
+ `;
46
+ return u ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
11
47
  /* @__PURE__ */ t.jsx(
12
- g,
48
+ B,
13
49
  {
14
- open: u,
15
- title: r,
16
- onChange: async (...f) => {
17
- var s;
18
- return (s = e.onChange) == null ? void 0 : s.call(e, ...f);
50
+ open: h,
51
+ title: f,
52
+ onChange: async (...i) => {
53
+ var c;
54
+ return (c = e.onChange) == null ? void 0 : c.call(e, ...i);
19
55
  },
20
- getContainer: c,
21
- close: () => n(!1)
56
+ getContainer: j,
57
+ close: () => l(!1)
22
58
  }
23
59
  ),
24
60
  /* @__PURE__ */ t.jsx(
25
- h,
61
+ I,
26
62
  {
27
- type: "text",
28
- className: a,
29
- onClick: () => n(!0),
30
- icon: i,
31
- style: { order: l },
32
- children: r
63
+ placement: "topRight",
64
+ title: "是否保存列宽设置",
65
+ open: n,
66
+ description: /* @__PURE__ */ t.jsxs("span", { children: [
67
+ /* @__PURE__ */ t.jsx(R, { value: o, suffix: "秒" }),
68
+ "后将自动保存"
69
+ ] }),
70
+ onConfirm: a,
71
+ onCancel: x,
72
+ overlayClassName: v,
73
+ children: /* @__PURE__ */ t.jsx(
74
+ E,
75
+ {
76
+ type: "text",
77
+ className: g,
78
+ onClick: () => l(!0),
79
+ icon: d,
80
+ style: { order: m },
81
+ children: f
82
+ }
83
+ )
33
84
  }
34
85
  )
35
86
  ] }) : null;
36
87
  };
37
88
  export {
38
- k as default
89
+ K as default
39
90
  };
@@ -10,126 +10,141 @@ import "../../../../node_modules/.store/rc-util@5.43.0/node_modules/rc-util/es/w
10
10
  import "../../../../node_modules/.store/@ant-design_cssinjs@1.21.0/node_modules/@ant-design/cssinjs/es/theme/createTheme.mjs";
11
11
  import "../../../../node_modules/.store/@ant-design_cssinjs@1.21.0/node_modules/@ant-design/cssinjs/es/theme/ThemeCache.mjs";
12
12
  import "../../../../node_modules/.store/@ant-design_cssinjs@1.21.0/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.mjs";
13
- import { css as i } from "../../../../node_modules/.store/@emotion_css@11.11.2/node_modules/@emotion/css/dist/emotion-css.esm.mjs";
14
- const h = (o) => i`
15
- .sortContent {
16
- width: 100%;
17
- display: grid;
18
- grid-template-columns: repeat(3, 1fr);
19
- column-gap: 16px;
20
-
21
- .sortCard {
13
+ import { css as t } from "../../../../node_modules/.store/@emotion_css@11.11.2/node_modules/@emotion/css/dist/emotion-css.esm.mjs";
14
+ const h = (o) => t`
15
+ .columnsSortWrapper {
16
+ .sortContent {
22
17
  width: 100%;
23
- background-color: var(--sortCard-bgColor);
24
- border-radius: ${r(o.borderRadius)};
25
- padding-inline: 6px;
26
- padding-block-end: 10px;
27
- box-sizing: border-box;
28
-
29
- .title {
30
- color: var(--sortCard-titleColor);
31
- margin: 0;
32
- padding-inline: 8px;
33
- padding-block-start: 10px;
34
- background-color: var(--sortCard-bgColor);
35
- }
18
+ display: grid;
19
+ grid-template-columns: repeat(3, 1fr);
20
+ column-gap: 16px;
21
+ padding-top: 16px;
36
22
 
37
- .sortList {
38
- flex: 1;
23
+ .sortCard {
39
24
  width: 100%;
40
- /* overflow: hidden auto; */
41
- cursor: grab;
42
-
43
- &:has(.sortItemDragging) {
44
- cursor: grabbing;
25
+ background-color: var(--sortCard-bgColor);
26
+ border-radius: ${r(o.borderRadius)};
27
+ padding-inline: 6px;
28
+ padding-block-end: 10px;
29
+ box-sizing: border-box;
30
+ overflow: hidden auto;
31
+
32
+ .title {
33
+ color: var(--sortCard-titleColor);
34
+ margin: 0;
35
+ padding-inline: 8px;
36
+ padding-block-start: 10px;
37
+ background-color: var(--sortCard-bgColor);
38
+ position: sticky;
39
+ top: 0;
40
+ z-index: 3;
45
41
  }
46
42
 
47
- .sortItem {
48
- display: grid;
49
- align-items: center;
50
- /* 16px是.dragIcon的padding-inline乘以2 */
51
- --dragIcon-width: calc(16px + ${r(o.fontSize + 4)});
52
- /* 16px是.operation的padding-inline-end加上margin-left */
53
- --operation-width: calc(${r(o.fontSize + 4)} * 2 + 16px);
54
- grid-template-columns: var(--dragIcon-width) calc(
55
- 100% - var(--dragIcon-width)
56
- );
57
- border-radius: ${r(o.borderRadius)};
58
-
59
- &.showSortItemOperat {
60
- grid-template-columns:
61
- var(--dragIcon-width) calc(
62
- 100% - var(--dragIcon-width) - var(--operation-width)
63
- )
64
- var(--operation-width);
65
- }
43
+ .sortList {
44
+ flex: 1;
45
+ width: 100%;
46
+ /* overflow: hidden auto; */
47
+ cursor: grab;
66
48
 
67
- &:hover {
68
- background-color: ${o.colorBgContainer};
49
+ &:has(.sortItemDragging) {
50
+ cursor: grabbing;
69
51
  }
70
52
 
71
- .dragIcon {
72
- height: 100%;
73
- padding-inline: 8px;
53
+ .sortItem {
54
+ display: grid;
55
+ align-items: center;
56
+ /* 16px是.dragIcon的padding-inline乘以2 */
57
+ --dragIcon-width: calc(16px + ${r(o.fontSize + 4)});
58
+ /* 16px是.operation的padding-inline-end加上margin-left */
59
+ --operation-width: calc(${r(o.fontSize + 4)} * 2 + 16px);
60
+ grid-template-columns: var(--dragIcon-width) calc(
61
+ 100% - var(--dragIcon-width)
62
+ );
63
+ border-radius: ${r(o.borderRadius)};
64
+
65
+ &.showSortItemOperat {
66
+ grid-template-columns:
67
+ var(--dragIcon-width) calc(
68
+ 100% - var(--dragIcon-width) - var(--operation-width)
69
+ )
70
+ var(--operation-width);
71
+ }
74
72
 
75
- &,
76
- & span {
77
- cursor: inherit;
73
+ &:hover {
74
+ background-color: ${o.colorBgContainer};
78
75
  }
79
- }
80
76
 
81
- .ant-checkbox-wrapper {
82
- /* width: calc(100% - 66px); */
83
- flex: 1;
84
- padding-block: 6px;
85
- padding-inline-end: 8px;
77
+ .dragIcon {
78
+ height: 100%;
79
+ padding-inline: 8px;
86
80
 
87
- & > span:last-child {
88
- flex: 1;
89
- padding-right: 0;
90
- display: -webkit-box;
91
- -webkit-line-clamp: 1;
92
- -webkit-box-orient: vertical;
93
- overflow: hidden;
94
- text-overflow: ellipsis;
95
- user-select: none;
81
+ &,
82
+ & span {
83
+ cursor: inherit;
84
+ }
96
85
  }
97
86
 
98
- &.disabledCheckbox {
99
- cursor: not-allowed !important;
87
+ .ant-checkbox-wrapper {
88
+ /* width: calc(100% - 66px); */
89
+ flex: 1;
90
+ padding-block: 6px;
91
+ padding-inline-end: 8px;
92
+
93
+ & > span:last-child {
94
+ flex: 1;
95
+ padding-right: 0;
96
+ display: -webkit-box;
97
+ -webkit-line-clamp: 1;
98
+ -webkit-box-orient: vertical;
99
+ overflow: hidden;
100
+ text-overflow: ellipsis;
101
+ user-select: none;
102
+ }
100
103
 
101
- .ant-checkbox,
102
- .ant-checkbox-input {
104
+ &.disabledCheckbox {
103
105
  cursor: not-allowed !important;
104
- }
105
106
 
106
- &:hover,
107
- &:focus,
108
- .ant-checkbox:hover,
109
- .ant-checkbox:focus {
110
- .ant-checkbox-inner {
111
- background-color: ${o.colorPrimary};
112
- border-color: ${o.colorPrimary};
107
+ .ant-checkbox,
108
+ .ant-checkbox-input {
109
+ cursor: not-allowed !important;
110
+ }
111
+
112
+ &:hover,
113
+ &:focus,
114
+ .ant-checkbox:hover,
115
+ .ant-checkbox:focus {
116
+ .ant-checkbox-inner {
117
+ background-color: ${o.colorPrimary};
118
+ border-color: ${o.colorPrimary};
119
+ }
113
120
  }
114
121
  }
115
122
  }
116
- }
117
123
 
118
- .operation {
119
- padding-inline-end: 8px;
124
+ .operation {
125
+ padding-inline-end: 8px;
120
126
 
121
- .rightOperation {
122
- margin-left: 8px;
127
+ .rightOperation {
128
+ margin-left: 8px;
129
+ }
123
130
  }
124
131
  }
125
132
  }
126
133
  }
127
134
  }
135
+
136
+ .checkAllAndReset {
137
+ padding-block: 8px;
138
+ position: sticky;
139
+ background-color: ${o.colorBgContainer};
140
+ bottom: -24px;
141
+ }
128
142
  }
129
- `, u = (o) => i`
143
+ `, u = (o) => t`
130
144
  .stylesConfigFormContent {
131
145
  display: flex;
132
146
  flex-direction: column;
147
+ padding-top: 16px;
133
148
 
134
149
  .ant-form-item {
135
150
  width: 100%;
@@ -158,12 +173,33 @@ const h = (o) => i`
158
173
  grid-template-columns: repeat(5, 2fr);
159
174
  }
160
175
 
161
- .scope {
162
- flex: 1;
163
- margin-block: 20px 0;
176
+ .scopeAndReset {
177
+ padding-block: 8px;
178
+ margin-top: 12px;
179
+ position: sticky;
180
+ bottom: -24px;
181
+ background-color: ${o.colorBgContainer};
182
+
183
+ .scope {
184
+ .ant-form-item {
185
+ margin-bottom: 0;
186
+ }
187
+
188
+ .ant-form-item-control-input {
189
+ align-items: flex-end;
190
+ }
164
191
 
165
- .ant-form-item-control-input {
166
- align-items: flex-end;
192
+ .stylesScopeLabel {
193
+ font-weight: 600;
194
+ }
195
+ }
196
+
197
+ .reset .ant-btn {
198
+ transform: translateY(1px);
199
+
200
+ &:hover {
201
+ color: ${o.colorPrimary} !important;
202
+ }
167
203
  }
168
204
  }
169
205
 
@@ -213,8 +249,19 @@ const h = (o) => i`
213
249
  background-color: ${o.colorBgContainerDisabled};
214
250
  }
215
251
  }
252
+
253
+ .pageSize,
254
+ .orderBy {
255
+ .ant-form-item-label {
256
+ align-self: center;
257
+ }
258
+
259
+ .ant-form-item-control-input-content {
260
+ text-align: right;
261
+ }
262
+ }
216
263
  }
217
- `, w = (o) => i`
264
+ `, f = (o) => t`
218
265
  .exportConfigFormContent {
219
266
  display: flex;
220
267
  flex-direction: column;
@@ -230,6 +277,14 @@ const h = (o) => i`
230
277
  }
231
278
  }
232
279
 
280
+ .exportFields {
281
+ .ant-form-item-no-colon {
282
+ }
283
+
284
+ .checkAllAndReset {
285
+ }
286
+ }
287
+
233
288
  .ant-tree-draggable-icon {
234
289
  transition: none;
235
290
  align-self: center;
@@ -279,5 +334,5 @@ const h = (o) => i`
279
334
  export {
280
335
  u as appearanceConfigStyles,
281
336
  h as columnsSortStyles,
282
- w as exportConfigStyles
337
+ f as exportConfigStyles
283
338
  };
@@ -6,66 +6,68 @@ import c from "../../../BitzButton/index.mjs";
6
6
  import O from "../../../BitzTheme/index.mjs";
7
7
  import R from "../Modal/index.mjs";
8
8
  import T from "../ColConfigIcon/ExportConfig/index.mjs";
9
- import v from "../../../../node_modules/.store/@ant-design_icons@5.3.7/node_modules/@ant-design/icons/es/icons/CheckCircleOutlined.mjs";
10
- const q = ({
9
+ import z from "../../../../node_modules/.store/@ant-design_icons@5.3.7/node_modules/@ant-design/icons/es/icons/CheckCircleOutlined.mjs";
10
+ const G = ({
11
11
  open: f,
12
12
  title: m,
13
13
  onExport: n,
14
- close: r,
14
+ close: t,
15
15
  getContainer: d
16
16
  }) => {
17
- const { token: s } = O.useToken(), [u, t] = y(!1), { defaultTableExportConfig: x } = k(E), o = b(null), p = async () => {
17
+ const { token: s } = O.useToken(), [p, r] = y(!1), { defaultTableExportConfig: u } = k(E), o = b(null), x = async () => {
18
18
  var i, a;
19
- if (u)
19
+ if (p)
20
20
  return;
21
- if (t(!0), !((i = o.current) == null ? void 0 : i.hasOne())) {
22
- j.error("导出设置至少需要一个字段"), t(!1);
21
+ if (r(!0), !((i = o.current) == null ? void 0 : i.hasOne())) {
22
+ j.error("导出设置至少需要一个字段"), r(!1);
23
23
  return;
24
24
  }
25
- const g = ((a = o.current) == null ? void 0 : a.getExportConfig()) ?? x;
26
- n && (t(!1), n(g), r());
25
+ const g = ((a = o.current) == null ? void 0 : a.getExportConfig()) ?? u;
26
+ n && (r(!1), n(g), t());
27
27
  };
28
28
  B(() => s.mode === "dark", [s.mode]);
29
29
  const h = () => {
30
- t(!1);
30
+ r(!1);
31
31
  };
32
32
  return /* @__PURE__ */ e.jsx(
33
33
  R,
34
34
  {
35
35
  open: f,
36
36
  title: m,
37
- close: r,
37
+ close: t,
38
38
  closeAfter: h,
39
39
  getContainer: d,
40
- styles: {
41
- content: {
42
- maxHeight: "calc(100vh - 200px)",
43
- height: "auto"
44
- }
45
- },
46
40
  footer: /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
47
41
  /* @__PURE__ */ e.jsx(
48
42
  c,
49
43
  {
50
44
  type: "primary",
51
- icon: /* @__PURE__ */ e.jsx(v, {}),
52
- onClick: p,
45
+ icon: /* @__PURE__ */ e.jsx(z, {}),
46
+ onClick: x,
53
47
  children: "导出"
54
48
  }
55
49
  ),
56
- /* @__PURE__ */ e.jsx(c, { onClick: r, children: "取消" })
50
+ /* @__PURE__ */ e.jsx(c, { onClick: t, children: "取消" })
57
51
  ] }),
58
- children: /* @__PURE__ */ e.jsx(C, { className: "container", bordered: !1, children: /* @__PURE__ */ e.jsx(l, { vertical: !0, align: "center", gap: 24, style: { height: "100%" }, children: /* @__PURE__ */ e.jsx(l, { className: "containerBody", children: /* @__PURE__ */ e.jsx(
59
- T,
52
+ children: /* @__PURE__ */ e.jsx(
53
+ C,
60
54
  {
61
- refInstance: o,
62
- display: !0,
63
- showSelectRadio: !0
55
+ className: "container",
56
+ bordered: !1,
57
+ styles: { body: { paddingBlock: 24 } },
58
+ children: /* @__PURE__ */ e.jsx(l, { vertical: !0, align: "center", gap: 24, style: { height: "100%" }, children: /* @__PURE__ */ e.jsx(l, { className: "containerBody", children: /* @__PURE__ */ e.jsx(
59
+ T,
60
+ {
61
+ refInstance: o,
62
+ display: !0,
63
+ showSelectRadio: !0
64
+ }
65
+ ) }) })
64
66
  }
65
- ) }) }) })
67
+ )
66
68
  }
67
69
  );
68
70
  };
69
71
  export {
70
- q as default
72
+ G as default
71
73
  };
@@ -1,28 +1,38 @@
1
1
  import { j as t } from "../../../../node_modules/.store/react@18.3.1/node_modules/react/jsx-runtime.mjs";
2
2
  import { Modal as C, Typography as c } from "antd";
3
3
  import { useMemo as p } from "react";
4
- import u from "../../../BitzTheme/index.mjs";
5
- import y from "../../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
6
- import { styles as g } from "./style.mjs";
7
- function F({
4
+ import g from "../../../BitzTheme/index.mjs";
5
+ import u from "../../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
6
+ import { styles as y, modalTitleHeight as x } from "./style.mjs";
7
+ function H({
8
8
  open: e,
9
9
  title: s,
10
10
  close: a,
11
11
  closeAfter: l,
12
12
  getContainer: i,
13
13
  footer: m,
14
- extra: x,
14
+ extra: h,
15
15
  styles: n,
16
16
  children: d
17
17
  }) {
18
- const { token: o } = u.useToken(), r = p(() => o.mode === "dark", [o.mode]), f = () => {
18
+ const { token: o } = g.useToken(), r = p(() => o.mode === "dark", [o.mode]), f = () => {
19
19
  l();
20
20
  };
21
21
  return /* @__PURE__ */ t.jsx(
22
22
  C,
23
23
  {
24
- className: y(g(o), "tableConfigModal"),
25
- title: /* @__PURE__ */ t.jsx(c.Title, { style: { fontSize: 16, margin: 0 }, children: s }),
24
+ className: u(y(o), "tableConfigModal"),
25
+ title: /* @__PURE__ */ t.jsx(
26
+ c.Title,
27
+ {
28
+ style: {
29
+ fontSize: 16,
30
+ lineHeight: `${x}px`,
31
+ margin: 0
32
+ },
33
+ children: s
34
+ }
35
+ ),
26
36
  getContainer: i,
27
37
  open: e,
28
38
  onCancel: a,
@@ -42,5 +52,5 @@ function F({
42
52
  );
43
53
  }
44
54
  export {
45
- F as default
55
+ H as default
46
56
  };
@@ -1,2 +1,6 @@
1
1
  import { BitzGlobalToken } from '@/components/BitzTheme';
2
+ export declare const modalTitleHeight = 19;
3
+ export declare const modalHeaderHeight: number;
4
+ export declare const modalFooterHeight: number;
5
+ export declare const blockGap = 200;
2
6
  export declare const styles: (token: BitzGlobalToken) => string;