bitz-react-admin-ui 2.2.1 → 2.2.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/dist/_virtual/index.mjs +2 -2
- package/dist/_virtual/index2.mjs +2 -2
- 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 +153 -137
- 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/prop-types@15.8.1/node_modules/prop-types/index.mjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/_virtual/index.mjs
CHANGED
package/dist/_virtual/index2.mjs
CHANGED
|
@@ -104,13 +104,7 @@ function q(s) {
|
|
|
104
104
|
const u = l(c, m).filter(
|
|
105
105
|
(o) => o.type != "detail"
|
|
106
106
|
);
|
|
107
|
-
return /* @__PURE__ */ t.jsx(
|
|
108
|
-
R,
|
|
109
|
-
{
|
|
110
|
-
actionGroup: u,
|
|
111
|
-
refInstance: a
|
|
112
|
-
}
|
|
113
|
-
);
|
|
107
|
+
return /* @__PURE__ */ t.jsx(R, { actionGroup: u, refInstance: a });
|
|
114
108
|
},
|
|
115
109
|
...r
|
|
116
110
|
}), [i, a, l]);
|
|
@@ -1,28 +1,23 @@
|
|
|
1
1
|
import { j as t } from "../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
|
|
2
|
-
import { Space as
|
|
3
|
-
import
|
|
4
|
-
import { useContext as i, useMemo as p, useEffect as
|
|
5
|
-
import { BitzTableContext as
|
|
2
|
+
import { Space as c } from "antd";
|
|
3
|
+
import n from "../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
|
|
4
|
+
import { useContext as i, useMemo as p, useEffect as f } from "react";
|
|
5
|
+
import { BitzTableContext as C } from "../Store/index.mjs";
|
|
6
6
|
import u from "./style.mjs";
|
|
7
|
-
const
|
|
8
|
-
show: e,
|
|
9
|
-
num: x,
|
|
10
|
-
onClear: N,
|
|
11
|
-
children: s
|
|
12
|
-
}) => {
|
|
7
|
+
const v = ({ show: e, children: s }) => {
|
|
13
8
|
const {
|
|
14
9
|
blockClassName: a,
|
|
15
10
|
showCls: o,
|
|
16
|
-
btnClassName:
|
|
11
|
+
btnClassName: x,
|
|
17
12
|
batchOperationClassName: r,
|
|
18
|
-
alertContentClassName:
|
|
19
|
-
} = u(), { setSelected: m } = i(
|
|
13
|
+
alertContentClassName: N
|
|
14
|
+
} = u(), { setSelected: m } = i(C), l = p(() => n(a, {
|
|
20
15
|
[`${o}`]: e
|
|
21
16
|
}), [e]);
|
|
22
|
-
return
|
|
17
|
+
return f(() => {
|
|
23
18
|
m(e ?? !1);
|
|
24
|
-
}, [e]), /* @__PURE__ */ t.jsx("div", { className: l, children: /* @__PURE__ */ t.jsx(
|
|
19
|
+
}, [e]), /* @__PURE__ */ t.jsx("div", { className: l, children: /* @__PURE__ */ t.jsx(c.Compact, { className: r, children: s || /* @__PURE__ */ t.jsx("div", {}) }) });
|
|
25
20
|
};
|
|
26
21
|
export {
|
|
27
|
-
|
|
22
|
+
v as default
|
|
28
23
|
};
|
|
@@ -295,9 +295,7 @@ function Be(e) {
|
|
|
295
295
|
(a = n == null ? void 0 : n(o)) == null || a.then((c) => {
|
|
296
296
|
var f;
|
|
297
297
|
const l = S(c ?? {}, (f = e == null ? void 0 : e.columnsState) == null ? void 0 : f.value);
|
|
298
|
-
h(
|
|
299
|
-
Object.keys(l).length ? l : x
|
|
300
|
-
);
|
|
298
|
+
h(Object.keys(l).length ? l : x);
|
|
301
299
|
});
|
|
302
300
|
} catch (c) {
|
|
303
301
|
console.warn(c);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface RowProps extends React.HTMLAttributes<HTMLTableRowElement> {
|
|
3
3
|
'data-row-key': string;
|
|
4
|
-
loading: 'true' | 'false';
|
|
4
|
+
'loading': 'true' | 'false';
|
|
5
5
|
}
|
|
6
6
|
declare const SortableRow: ({ children, loading, ...props }: RowProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default SortableRow;
|