bitz-react-admin-ui 2.2.1 → 2.2.2
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/components/BitzCalendar/index.mjs +1 -1
- package/dist/components/BitzDayJs/index.mjs +1 -1
- 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/ActionCol/index.mjs +1 -7
- package/dist/components/BitzTable/SelectionBar/SelectionBar.mjs +11 -16
- package/dist/components/BitzTable/Store/index.mjs +1 -3
- package/dist/components/BitzTable/Table/SortTableContext.d.ts +2 -2
- package/dist/components/BitzTable/Table/SortableRow.d.ts +1 -1
- package/dist/components/BitzTable/Table/index.mjs +44 -28
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +17 -2
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndItem.mjs +11 -2
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndList.d.ts +1 -1
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndList.mjs +21 -28
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +6 -1
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndList.d.ts +2 -2
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndList.mjs +19 -24
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.d.ts +1 -1
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +41 -31
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +118 -126
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/style.mjs +6 -2
- package/dist/components/BitzTable/ToolBar/ExportIcon/ExportModal.mjs +9 -1
- package/dist/components/BitzTable/ToolBar/ExportIcon/index.mjs +27 -1
- package/dist/components/BitzTable/ToolBar/Modal/index.mjs +14 -4
- package/dist/components/BitzTable/ToolBar/Modal/style.mjs +0 -1
- package/dist/components/BitzTable/ToolBar/RefreshIcon/index.mjs +1 -6
- package/dist/components/BitzTable/ToolBar/Wrapper/index.mjs +39 -33
- package/dist/components/BitzTable/ToolBar/style.mjs +6 -1
- 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/time.mjs +1 -1
- package/package.json +1 -1
|
@@ -28,7 +28,9 @@ function R({
|
|
|
28
28
|
}), [r]), T = h(() => typeof g == "number" && (t != null && t.height) ? g - (t == null ? void 0 : t.height) - 20 : "auto", [g, t == null ? void 0 : t.height]), l = F(A).exportConfig, x = F(A).selected, [i, w] = f([]), [a, u] = f([]), [m, b] = f("current"), [k, E] = f("page"), [j, S] = f(1);
|
|
29
29
|
H(() => {
|
|
30
30
|
var e, s;
|
|
31
|
-
u(l.fields), w(l.fields.map((p) => p.field)), b(
|
|
31
|
+
u(l.fields), w(l.fields.map((p) => p.field)), b(
|
|
32
|
+
d && x ? "selectedRows" : l.config.key
|
|
33
|
+
), E(((e = l.config.info) == null ? void 0 : e.type) ?? "page"), S(((s = l.config.info) == null ? void 0 : s.value) ?? 1);
|
|
32
34
|
}, [l, d, x]);
|
|
33
35
|
const o = h(() => a.filter((e) => e.show).map((e) => e.field), [a]), B = h(() => i.length === o.length, [i, o]), V = h(() => o.length > 0 && o.length < i.length, [o, i]), z = ({ target: e }) => {
|
|
34
36
|
u(a.map((s) => ({ ...s, show: e.checked })));
|
|
@@ -83,38 +85,46 @@ function R({
|
|
|
83
85
|
}
|
|
84
86
|
)
|
|
85
87
|
] }) }),
|
|
86
|
-
/* @__PURE__ */ n.jsx(C.Item, { label: "导出设置", className: "exportTotal", children: /* @__PURE__ */ n.jsx(
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
{
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
addonAfter: /* @__PURE__ */ n.jsx(
|
|
100
|
-
G,
|
|
88
|
+
/* @__PURE__ */ n.jsx(C.Item, { label: "导出设置", className: "exportTotal", children: /* @__PURE__ */ n.jsx(
|
|
89
|
+
c.Group,
|
|
90
|
+
{
|
|
91
|
+
ref: v,
|
|
92
|
+
value: m,
|
|
93
|
+
onChange: ({ target: e }) => b(e.value),
|
|
94
|
+
children: /* @__PURE__ */ n.jsxs(y, { vertical: !0, gap: 8, align: "flex-start", children: [
|
|
95
|
+
d && x && /* @__PURE__ */ n.jsx(c, { value: "selectedRows", children: /* @__PURE__ */ n.jsx("span", { style: { whiteSpace: "nowrap" }, children: "导出选中数据" }) }),
|
|
96
|
+
/* @__PURE__ */ n.jsx(c, { value: "current", children: /* @__PURE__ */ n.jsx("span", { style: { whiteSpace: "nowrap" }, children: "仅导出当前页" }) }),
|
|
97
|
+
/* @__PURE__ */ n.jsx(c, { value: "any", children: /* @__PURE__ */ n.jsxs(y, { align: "center", gap: 8, children: [
|
|
98
|
+
/* @__PURE__ */ n.jsx("span", { style: { whiteSpace: "nowrap" }, children: "导出" }),
|
|
99
|
+
/* @__PURE__ */ n.jsx(
|
|
100
|
+
P,
|
|
101
101
|
{
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
102
|
+
controls: !1,
|
|
103
|
+
min: 1,
|
|
104
|
+
value: j,
|
|
105
|
+
onChange: (e) => S(e),
|
|
106
|
+
style: { width: 120 },
|
|
107
|
+
addonAfter: /* @__PURE__ */ n.jsx(
|
|
108
|
+
G,
|
|
109
|
+
{
|
|
110
|
+
value: k,
|
|
111
|
+
onChange: E,
|
|
112
|
+
options: [
|
|
113
|
+
{ label: "页", value: "page" },
|
|
114
|
+
{ label: "条", value: "pieces" }
|
|
115
|
+
],
|
|
116
|
+
onClick: (e) => e.preventDefault(),
|
|
117
|
+
getPopupContainer: (e) => L(e, "containerBody")
|
|
118
|
+
}
|
|
119
|
+
)
|
|
110
120
|
}
|
|
111
|
-
)
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
121
|
+
),
|
|
122
|
+
/* @__PURE__ */ n.jsx("span", { style: { whiteSpace: "nowrap" }, children: "数据" })
|
|
123
|
+
] }) }),
|
|
124
|
+
/* @__PURE__ */ n.jsx(c, { value: "all", children: /* @__PURE__ */ n.jsx("span", { style: { whiteSpace: "nowrap" }, children: "导出全部数据" }) })
|
|
125
|
+
] })
|
|
126
|
+
}
|
|
127
|
+
) })
|
|
118
128
|
]
|
|
119
129
|
}
|
|
120
130
|
);
|
|
@@ -43,139 +43,131 @@ import l from "./RadioCard.mjs";
|
|
|
43
43
|
const Z = ({ defaultSize: s, items: a }) => a.map((e) => e.key === s ? {
|
|
44
44
|
...e,
|
|
45
45
|
label: `${e.label}(默认)`
|
|
46
|
-
} : e), q = J(
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
className: n
|
|
61
|
-
};
|
|
46
|
+
} : e), q = J(({ display: s }, a) => {
|
|
47
|
+
var x, b, f;
|
|
48
|
+
const { token: e } = $.useToken(), j = K(() => ({
|
|
49
|
+
width: "100%",
|
|
50
|
+
...{ display: s ? "flex" : "none" }
|
|
51
|
+
}), [s]), z = {
|
|
52
|
+
size: 26,
|
|
53
|
+
color: e.colorPrimary
|
|
54
|
+
}, [c] = t.useForm(), g = (x = u(W).Table) == null ? void 0 : x.stylesScope, { defaultTableSize: P, stylesConfig: I } = u(E), r = (b = u(Y).config) == null ? void 0 : b.stylesConfig, p = (i, m) => {
|
|
55
|
+
var y, h;
|
|
56
|
+
let n = m;
|
|
57
|
+
return (y = r == null ? void 0 : r[i]) != null && y.disabled && (n = D(m, "disabledControl")), {
|
|
58
|
+
disabled: (h = r == null ? void 0 : r[i]) == null ? void 0 : h.disabled,
|
|
59
|
+
className: n
|
|
62
60
|
};
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}, []);
|
|
69
|
-
const v = Z({
|
|
70
|
-
defaultSize: P,
|
|
71
|
-
items: [
|
|
72
|
-
{
|
|
73
|
-
key: "xs",
|
|
74
|
-
label: "特紧凑",
|
|
75
|
-
icon: w
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
key: "sm",
|
|
79
|
-
label: "紧凑",
|
|
80
|
-
icon: S
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
key: "md",
|
|
84
|
-
label: "中等",
|
|
85
|
-
icon: k
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
key: "lg",
|
|
89
|
-
label: "宽松",
|
|
90
|
-
icon: H
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
key: "xl",
|
|
94
|
-
label: "特宽松",
|
|
95
|
-
icon: C
|
|
96
|
-
}
|
|
97
|
-
]
|
|
61
|
+
};
|
|
62
|
+
L(() => {
|
|
63
|
+
c.setFieldsValue({
|
|
64
|
+
...I,
|
|
65
|
+
stylesScope: g === "global"
|
|
98
66
|
});
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
67
|
+
}, []);
|
|
68
|
+
const v = Z({
|
|
69
|
+
defaultSize: P,
|
|
70
|
+
items: [
|
|
71
|
+
{
|
|
72
|
+
key: "xs",
|
|
73
|
+
label: "特紧凑",
|
|
74
|
+
icon: w
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
key: "sm",
|
|
78
|
+
label: "紧凑",
|
|
79
|
+
icon: S
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
key: "md",
|
|
83
|
+
label: "中等",
|
|
84
|
+
icon: k
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
key: "lg",
|
|
88
|
+
label: "宽松",
|
|
89
|
+
icon: H
|
|
90
|
+
},
|
|
103
91
|
{
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
92
|
+
key: "xl",
|
|
93
|
+
label: "特宽松",
|
|
94
|
+
icon: C
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
});
|
|
98
|
+
return M(a, () => ({
|
|
99
|
+
getFormInstance: () => c
|
|
100
|
+
})), /* @__PURE__ */ o.jsxs(
|
|
101
|
+
t,
|
|
102
|
+
{
|
|
103
|
+
form: c,
|
|
104
|
+
style: j,
|
|
105
|
+
labelCol: { span: 3 },
|
|
106
|
+
labelAlign: "left",
|
|
107
|
+
colon: !1,
|
|
108
|
+
className: "stylesConfigFormContent",
|
|
109
|
+
children: [
|
|
110
|
+
/* @__PURE__ */ o.jsx(t.Item, { label: "行高", name: "size", children: /* @__PURE__ */ o.jsx(d.Group, { ...p("size", "sizeRadioGroup"), children: v.map(({ key: i, label: m, icon: n }) => /* @__PURE__ */ o.jsx(l, { label: m, value: i, children: /* @__PURE__ */ o.jsx(n, { ...z }) }, i)) }) }),
|
|
111
|
+
/* @__PURE__ */ o.jsx(t.Item, { label: "分割线", name: "bordered", children: /* @__PURE__ */ o.jsxs(d.Group, { ...p("bordered", "splitBorderRadioGroup"), children: [
|
|
112
|
+
/* @__PURE__ */ o.jsx(l, { label: "无分割线", value: "hide", children: /* @__PURE__ */ o.jsx(T, { size: 26, color: e.colorPrimaryHover }) }),
|
|
113
|
+
/* @__PURE__ */ o.jsx(l, { label: "行分割线", value: "row", children: /* @__PURE__ */ o.jsx(
|
|
114
|
+
B,
|
|
114
115
|
{
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
size: 26,
|
|
122
|
-
color: [
|
|
123
|
-
e.colorPrimaryHover,
|
|
124
|
-
e.colorPrimary,
|
|
125
|
-
e.colorPrimary,
|
|
126
|
-
e.colorPrimaryHover
|
|
127
|
-
]
|
|
128
|
-
}
|
|
129
|
-
) }),
|
|
130
|
-
/* @__PURE__ */ o.jsx(l, { label: "列分割线", value: "column", children: /* @__PURE__ */ o.jsx(
|
|
131
|
-
G,
|
|
132
|
-
{
|
|
133
|
-
size: 26,
|
|
134
|
-
color: [
|
|
135
|
-
e.colorPrimaryHover,
|
|
136
|
-
e.colorPrimary,
|
|
137
|
-
e.colorPrimary,
|
|
138
|
-
e.colorPrimaryHover
|
|
139
|
-
]
|
|
140
|
-
}
|
|
141
|
-
) }),
|
|
142
|
-
/* @__PURE__ */ o.jsx(l, { label: "行列分割线", value: "row-column", children: /* @__PURE__ */ o.jsx(
|
|
143
|
-
R,
|
|
144
|
-
{
|
|
145
|
-
size: 26,
|
|
146
|
-
color: [
|
|
147
|
-
e.colorPrimaryHover,
|
|
148
|
-
e.colorPrimary,
|
|
149
|
-
e.colorPrimary,
|
|
150
|
-
e.colorPrimaryHover
|
|
151
|
-
]
|
|
152
|
-
}
|
|
153
|
-
) })
|
|
116
|
+
size: 26,
|
|
117
|
+
color: [
|
|
118
|
+
e.colorPrimaryHover,
|
|
119
|
+
e.colorPrimary,
|
|
120
|
+
e.colorPrimary,
|
|
121
|
+
e.colorPrimaryHover
|
|
154
122
|
]
|
|
155
123
|
}
|
|
156
124
|
) }),
|
|
157
|
-
/* @__PURE__ */ o.jsx(
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
125
|
+
/* @__PURE__ */ o.jsx(l, { label: "列分割线", value: "column", children: /* @__PURE__ */ o.jsx(
|
|
126
|
+
G,
|
|
127
|
+
{
|
|
128
|
+
size: 26,
|
|
129
|
+
color: [
|
|
130
|
+
e.colorPrimaryHover,
|
|
131
|
+
e.colorPrimary,
|
|
132
|
+
e.colorPrimary,
|
|
133
|
+
e.colorPrimaryHover
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
) }),
|
|
137
|
+
/* @__PURE__ */ o.jsx(l, { label: "行列分割线", value: "row-column", children: /* @__PURE__ */ o.jsx(
|
|
138
|
+
R,
|
|
139
|
+
{
|
|
140
|
+
size: 26,
|
|
141
|
+
color: [
|
|
142
|
+
e.colorPrimaryHover,
|
|
143
|
+
e.colorPrimary,
|
|
144
|
+
e.colorPrimary,
|
|
145
|
+
e.colorPrimaryHover
|
|
146
|
+
]
|
|
147
|
+
}
|
|
148
|
+
) })
|
|
149
|
+
] }) }),
|
|
150
|
+
/* @__PURE__ */ o.jsx(t.Item, { label: "斑马纹", name: "zebra", children: /* @__PURE__ */ o.jsxs(d.Group, { ...p("zebra", "zebraRadioGroup"), children: [
|
|
151
|
+
/* @__PURE__ */ o.jsx(l, { label: "有斑马纹", value: !0, children: /* @__PURE__ */ o.jsx(
|
|
152
|
+
F,
|
|
153
|
+
{
|
|
154
|
+
size: 26,
|
|
155
|
+
color: [e.colorPrimaryHover, e.colorPrimary]
|
|
156
|
+
}
|
|
157
|
+
) }),
|
|
158
|
+
/* @__PURE__ */ o.jsx(l, { label: "无斑马纹", value: !1, children: /* @__PURE__ */ o.jsx(
|
|
159
|
+
N,
|
|
160
|
+
{
|
|
161
|
+
size: 26,
|
|
162
|
+
color: e.colorPrimaryHover
|
|
163
|
+
}
|
|
164
|
+
) })
|
|
165
|
+
] }) }),
|
|
166
|
+
/* @__PURE__ */ o.jsx(t.Item, { name: "stylesScope", valuePropName: "checked", className: "scope", children: /* @__PURE__ */ o.jsx(A, { disabled: (f = r == null ? void 0 : r.stylesScope) == null ? void 0 : f.disabled, children: "应用到全局表格" }) })
|
|
167
|
+
]
|
|
168
|
+
}
|
|
169
|
+
);
|
|
170
|
+
}), $o = V(q);
|
|
179
171
|
export {
|
|
180
172
|
$o as default
|
|
181
173
|
};
|
|
@@ -56,11 +56,15 @@ const m = (o) => i`
|
|
|
56
56
|
--dragIcon-width: calc(16px + ${r(o.fontSize + 4)});
|
|
57
57
|
/* 16px是.operation的padding-inline-end加上margin-left */
|
|
58
58
|
--operation-width: calc(${r(o.fontSize + 4)} * 2 + 16px);
|
|
59
|
-
grid-template-columns: var(--dragIcon-width) calc(
|
|
59
|
+
grid-template-columns: var(--dragIcon-width) calc(
|
|
60
|
+
100% - var(--dragIcon-width)
|
|
61
|
+
);
|
|
60
62
|
border-radius: ${r(o.borderRadius)};
|
|
61
63
|
|
|
62
64
|
&.showSortItemOperat {
|
|
63
|
-
grid-template-columns: var(--dragIcon-width) calc(
|
|
65
|
+
grid-template-columns: var(--dragIcon-width) calc(
|
|
66
|
+
100% - var(--dragIcon-width) - var(--operation-width)
|
|
67
|
+
) var(--operation-width);
|
|
64
68
|
}
|
|
65
69
|
|
|
66
70
|
&:hover {
|
|
@@ -52,7 +52,15 @@ const q = ({
|
|
|
52
52
|
),
|
|
53
53
|
/* @__PURE__ */ e.jsx(c, { onClick: o, children: "取消" })
|
|
54
54
|
] }),
|
|
55
|
-
children: (a) => /* @__PURE__ */ e.jsx(
|
|
55
|
+
children: (a) => /* @__PURE__ */ e.jsx(
|
|
56
|
+
z,
|
|
57
|
+
{
|
|
58
|
+
parentHeight: a,
|
|
59
|
+
refInstance: n,
|
|
60
|
+
display: !0,
|
|
61
|
+
showSelectRadio: !0
|
|
62
|
+
}
|
|
63
|
+
)
|
|
56
64
|
}
|
|
57
65
|
);
|
|
58
66
|
};
|
|
@@ -46,7 +46,33 @@ const D = ({
|
|
|
46
46
|
children: "导出"
|
|
47
47
|
}
|
|
48
48
|
)
|
|
49
|
-
] }) :
|
|
49
|
+
] }) : (
|
|
50
|
+
// <Dropdown
|
|
51
|
+
// open={open}
|
|
52
|
+
// onOpenChange={setOpen}
|
|
53
|
+
// overlayClassName={overlayStyles}
|
|
54
|
+
// trigger={['click']}
|
|
55
|
+
// disabled={loading}
|
|
56
|
+
// destroyPopupOnHide
|
|
57
|
+
// getPopupContainer={(node) =>
|
|
58
|
+
// node.parentElement!.parentElement!.parentElement!
|
|
59
|
+
// }
|
|
60
|
+
// menu={{
|
|
61
|
+
// items,
|
|
62
|
+
// onClick: ({ key }) => onClick?.(key as any, exportConfig),
|
|
63
|
+
// }}
|
|
64
|
+
// >
|
|
65
|
+
// <BitzButton
|
|
66
|
+
// type="text"
|
|
67
|
+
// className={toolbarItemClassName}
|
|
68
|
+
// icon={icon}
|
|
69
|
+
// style={{ order }}
|
|
70
|
+
// >
|
|
71
|
+
// 下载
|
|
72
|
+
// </BitzButton>
|
|
73
|
+
// </Dropdown>
|
|
74
|
+
null
|
|
75
|
+
);
|
|
50
76
|
}, F = b(D);
|
|
51
77
|
export {
|
|
52
78
|
F as default
|
|
@@ -38,10 +38,20 @@ function $({
|
|
|
38
38
|
},
|
|
39
39
|
width: 700,
|
|
40
40
|
footer: y,
|
|
41
|
-
children: /* @__PURE__ */ e.jsx(N, { className: "container", bordered: !1, children: /* @__PURE__ */ e.jsxs(
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
children: /* @__PURE__ */ e.jsx(N, { className: "container", bordered: !1, children: /* @__PURE__ */ e.jsxs(
|
|
42
|
+
f,
|
|
43
|
+
{
|
|
44
|
+
ref: r,
|
|
45
|
+
vertical: !0,
|
|
46
|
+
align: "center",
|
|
47
|
+
gap: 24,
|
|
48
|
+
style: { height: "100%" },
|
|
49
|
+
children: [
|
|
50
|
+
o && /* @__PURE__ */ e.jsx("div", { className: "extraContent", ref: i, children: o }),
|
|
51
|
+
t ? /* @__PURE__ */ e.jsx(f, { className: "containerBody", style: { height: c }, children: p(c) }, l) : /* @__PURE__ */ e.jsx(e.Fragment, {})
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
) })
|
|
45
55
|
}
|
|
46
56
|
);
|
|
47
57
|
}
|
|
@@ -6,12 +6,7 @@ import d from "../../../BitzButton/index.mjs";
|
|
|
6
6
|
import { BitzTableContext as u } from "../../Store/index.mjs";
|
|
7
7
|
import x from "../../../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/ReloadOutlined.mjs";
|
|
8
8
|
const h = (t) => {
|
|
9
|
-
const {
|
|
10
|
-
onClick: e,
|
|
11
|
-
order: r,
|
|
12
|
-
show: s = !0,
|
|
13
|
-
icon: n = /* @__PURE__ */ o.jsx(x, {})
|
|
14
|
-
} = t, { loading: l, selected: m } = c(u), { toolbarItemClassName: i } = f();
|
|
9
|
+
const { onClick: e, order: r, show: s = !0, icon: n = /* @__PURE__ */ o.jsx(x, {}) } = t, { loading: l, selected: m } = c(u), { toolbarItemClassName: i } = f();
|
|
15
10
|
return s ? /* @__PURE__ */ o.jsx(p, { title: "刷新", open: !1, children: /* @__PURE__ */ o.jsx(
|
|
16
11
|
d,
|
|
17
12
|
{
|
|
@@ -31,39 +31,45 @@ const T = ["export", "refresh", "fullscreen", "config"], A = ({
|
|
|
31
31
|
e[n].order = w + 1, e[n].show = f.includes(n);
|
|
32
32
|
}), e;
|
|
33
33
|
}, [f]);
|
|
34
|
-
return /* @__PURE__ */ s.jsx(B.Provider, { value: c ?? {}, children: /* @__PURE__ */ s.jsxs(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
{
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
34
|
+
return /* @__PURE__ */ s.jsx(B.Provider, { value: c ?? {}, children: /* @__PURE__ */ s.jsxs(
|
|
35
|
+
x.Compact,
|
|
36
|
+
{
|
|
37
|
+
style: { height: "100%", ...a && { zIndex: 10 } },
|
|
38
|
+
children: [
|
|
39
|
+
/* @__PURE__ */ s.jsx(
|
|
40
|
+
j,
|
|
41
|
+
{
|
|
42
|
+
order: o.export.order,
|
|
43
|
+
show: o.export.show,
|
|
44
|
+
onClick: h
|
|
45
|
+
}
|
|
46
|
+
),
|
|
47
|
+
/* @__PURE__ */ s.jsx(
|
|
48
|
+
u,
|
|
49
|
+
{
|
|
50
|
+
order: o.refresh.order,
|
|
51
|
+
show: o.refresh.show,
|
|
52
|
+
onClick: p
|
|
53
|
+
}
|
|
54
|
+
),
|
|
55
|
+
/* @__PURE__ */ s.jsx(
|
|
56
|
+
C,
|
|
57
|
+
{
|
|
58
|
+
order: o.fullscreen.order,
|
|
59
|
+
show: o.fullscreen.show
|
|
60
|
+
}
|
|
61
|
+
),
|
|
62
|
+
/* @__PURE__ */ s.jsx(
|
|
63
|
+
g,
|
|
64
|
+
{
|
|
65
|
+
order: o.config.order,
|
|
66
|
+
show: o.config.show,
|
|
67
|
+
onChange: d
|
|
68
|
+
}
|
|
69
|
+
)
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
) });
|
|
67
73
|
};
|
|
68
74
|
export {
|
|
69
75
|
A as default
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs as u } from "../../../../../_virtual/_commonjsHelpers.mjs";
|
|
2
|
-
import { __module as i } from "../../../../../_virtual/
|
|
2
|
+
import { __module as i } from "../../../../../_virtual/index.mjs";
|
|
3
3
|
/*!
|
|
4
4
|
Copyright (c) 2018 Jed Watson.
|
|
5
5
|
Licensed under the MIT License (MIT), see
|