bitz-react-admin-ui 2.2.6 → 2.2.8

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 (210) hide show
  1. package/dist/_virtual/Draggable.mjs +4 -0
  2. package/dist/_virtual/DraggableCore.mjs +4 -0
  3. package/dist/_virtual/Resizable.mjs +4 -0
  4. package/dist/_virtual/ResizableBox.mjs +4 -0
  5. package/dist/_virtual/_commonjsHelpers.mjs +26 -4
  6. package/dist/_virtual/cjs.mjs +4 -0
  7. package/dist/_virtual/clsx.m.mjs +6 -0
  8. package/dist/_virtual/domFns.mjs +4 -0
  9. package/dist/_virtual/getPrefix.mjs +4 -0
  10. package/dist/_virtual/index6.mjs +4 -0
  11. package/dist/_virtual/log.mjs +4 -0
  12. package/dist/_virtual/positionFns.mjs +4 -0
  13. package/dist/_virtual/propTypes.mjs +4 -0
  14. package/dist/_virtual/shims.mjs +4 -0
  15. package/dist/_virtual/utils.mjs +4 -0
  16. package/dist/assets/iconfont/IconChenggong.mjs +4 -10
  17. package/dist/assets/iconfont/IconClose.mjs +1 -7
  18. package/dist/assets/iconfont/IconColumnCancelFixed.mjs +4 -25
  19. package/dist/assets/iconfont/IconColumnFixedLeft.mjs +8 -29
  20. package/dist/assets/iconfont/IconColumnFixedRight.mjs +7 -28
  21. package/dist/assets/iconfont/IconCuowu.mjs +2 -8
  22. package/dist/assets/iconfont/IconDragOrder.mjs +7 -28
  23. package/dist/assets/iconfont/IconDuigoux.mjs +2 -8
  24. package/dist/assets/iconfont/IconFabu.mjs +3 -18
  25. package/dist/assets/iconfont/IconFanhui.mjs +5 -11
  26. package/dist/assets/iconfont/IconGaojisousuo.mjs +4 -10
  27. package/dist/assets/iconfont/IconHangfengexian.mjs +4 -27
  28. package/dist/assets/iconfont/IconHangliefengexian.mjs +4 -27
  29. package/dist/assets/iconfont/IconIcFluentHomeRegular.mjs +5 -11
  30. package/dist/assets/iconfont/IconIcon21.mjs +2 -8
  31. package/dist/assets/iconfont/IconJincoude.mjs +3 -9
  32. package/dist/assets/iconfont/IconJinggao.mjs +2 -8
  33. package/dist/assets/iconfont/IconKuansongde.mjs +5 -11
  34. package/dist/assets/iconfont/IconLiefengexian.mjs +5 -28
  35. package/dist/assets/iconfont/IconMore.mjs +4 -26
  36. package/dist/assets/iconfont/IconShanchu.mjs +5 -11
  37. package/dist/assets/iconfont/IconShanchu1.mjs +3 -18
  38. package/dist/assets/iconfont/IconSousuo.mjs +4 -10
  39. package/dist/assets/iconfont/IconTejincou.mjs +1 -7
  40. package/dist/assets/iconfont/IconTekuansong.mjs +5 -11
  41. package/dist/assets/iconfont/IconTishi1.mjs +6 -12
  42. package/dist/assets/iconfont/IconTuodong.mjs +6 -12
  43. package/dist/assets/iconfont/IconWubanmawentianchong.mjs +5 -22
  44. package/dist/assets/iconfont/IconWufengexian.mjs +4 -11
  45. package/dist/assets/iconfont/IconXinxitishi.mjs +3 -9
  46. package/dist/assets/iconfont/IconYoubanmawentianchong.mjs +7 -23
  47. package/dist/assets/iconfont/IconZhongdengde.mjs +4 -10
  48. package/dist/assets/iconfont/IconZhongzhi.mjs +5 -11
  49. package/dist/assets/iconfont/index.mjs +33 -33
  50. package/dist/components/BitzAddTag/index.mjs +8 -41
  51. package/dist/components/BitzAddressBook/index.mjs +35 -122
  52. package/dist/components/BitzAppPage/index.mjs +4 -18
  53. package/dist/components/BitzAppRefresh/index.mjs +15 -27
  54. package/dist/components/BitzBetterScroll/index.mjs +5 -5
  55. package/dist/components/BitzButton/index.mjs +9 -23
  56. package/dist/components/BitzCalendar/index.mjs +19 -52
  57. package/dist/components/BitzCascader/BitzCascaderMobile.mjs +30 -68
  58. package/dist/components/BitzCascader/index.mjs +2 -6
  59. package/dist/components/BitzCollapse/index.mjs +4 -4
  60. package/dist/components/BitzConfigProvider/context.mjs +1 -3
  61. package/dist/components/BitzConfigProvider/index.mjs +8 -12
  62. package/dist/components/BitzConfirmModal/index.mjs +1 -24
  63. package/dist/components/BitzConvert/DropdownToButton/index.mjs +11 -14
  64. package/dist/components/BitzConvert/index.mjs +1 -1
  65. package/dist/components/BitzDescriptions/index.mjs +1 -11
  66. package/dist/components/BitzDrawer/index.mjs +2 -17
  67. package/dist/components/BitzEmpty/index.mjs +2 -6
  68. package/dist/components/BitzException/index.mjs +1 -6
  69. package/dist/components/BitzFloatLayout/index.mjs +1 -10
  70. package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +16 -13
  71. package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +20 -26
  72. package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +3 -21
  73. package/dist/components/BitzFuiCalendar/CalendarBody.mjs +4 -27
  74. package/dist/components/BitzFuiCalendar/CalendarHead.mjs +2 -5
  75. package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +3 -12
  76. package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +19 -51
  77. package/dist/components/BitzFuiCalendar/ColumnData.mjs +14 -30
  78. package/dist/components/BitzFuiCalendar/FuiCalendarItem.mjs +5 -47
  79. package/dist/components/BitzFuiCalendar/index.mjs +1 -7
  80. package/dist/components/BitzFullScreen/index.mjs +6 -9
  81. package/dist/components/BitzHighlight/Child.mjs +9 -23
  82. package/dist/components/BitzHighlight/Highlight.mjs +5 -26
  83. package/dist/components/BitzHighlight/chunks.mjs +17 -20
  84. package/dist/components/BitzHighlight/style.mjs +1 -4
  85. package/dist/components/BitzImage/index.mjs +1 -1
  86. package/dist/components/BitzImage/previewImage.mjs +5 -12
  87. package/dist/components/BitzLanguageTabs/index.mjs +3 -14
  88. package/dist/components/BitzLazyLoad/index.mjs +1 -7
  89. package/dist/components/BitzList/List.mjs +3 -17
  90. package/dist/components/BitzList/LoadMore.mjs +20 -29
  91. package/dist/components/BitzLoadMore/index.mjs +14 -34
  92. package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +11 -24
  93. package/dist/components/BitzMeetingTime/index.mjs +6 -10
  94. package/dist/components/BitzMobileLoading/index.mjs +1 -1
  95. package/dist/components/BitzModal/index.mjs +11 -24
  96. package/dist/components/BitzNoData/index.mjs +1 -4
  97. package/dist/components/BitzNoMore/index.mjs +1 -1
  98. package/dist/components/BitzOrganizationSelection/index.mjs +14 -43
  99. package/dist/components/BitzPageContainer/index.mjs +46 -107
  100. package/dist/components/BitzPageHeader/index.mjs +21 -89
  101. package/dist/components/BitzPagination/index.mjs +22 -71
  102. package/dist/components/BitzPopover/index.mjs +4 -4
  103. package/dist/components/BitzPullRefresh/PullRefresh.mjs +18 -47
  104. package/dist/components/BitzQRCode/index.mjs +1 -6
  105. package/dist/components/BitzQueryFilter/QueryFilterContent.mjs +17 -35
  106. package/dist/components/BitzQueryFilter/QueryFilterDrawer.mjs +13 -20
  107. package/dist/components/BitzQueryFilter/QueryFilterMobile.mjs +1 -4
  108. package/dist/components/BitzQueryFilter/index.mjs +20 -69
  109. package/dist/components/BitzRefresh/index.mjs +1 -5
  110. package/dist/components/BitzRemark/index.mjs +4 -4
  111. package/dist/components/BitzScheduleCenter/index.mjs +30 -24
  112. package/dist/components/BitzSearch/index.mjs +1 -1
  113. package/dist/components/BitzSelect/component/BitzSelectMobile.mjs +48 -123
  114. package/dist/components/BitzSelect/index.mjs +1 -1
  115. package/dist/components/BitzSkeleton/index.mjs +1 -31
  116. package/dist/components/BitzSwitch/index.mjs +2 -7
  117. package/dist/components/BitzTabbar/BitzTabbar.mjs +8 -25
  118. package/dist/components/BitzTabbar/BitzTabbarItem.mjs +1 -4
  119. package/dist/components/BitzTable/ActionBar/ActionBar.d.ts +21 -9
  120. package/dist/components/BitzTable/ActionBar/ActionBar.mjs +38 -66
  121. package/dist/components/BitzTable/ActionBar/Button.mjs +1 -1
  122. package/dist/components/BitzTable/ActionBar/style.mjs +9 -12
  123. package/dist/components/BitzTable/ActionCol/index.d.ts +1 -1
  124. package/dist/components/BitzTable/ActionCol/index.mjs +32 -98
  125. package/dist/components/BitzTable/ActionCol/style.mjs +12 -15
  126. package/dist/components/BitzTable/Dropdown/index.mjs +1 -8
  127. package/dist/components/BitzTable/Dropdown/style.mjs +6 -9
  128. package/dist/components/BitzTable/SelectionBar/Button.mjs +6 -19
  129. package/dist/components/BitzTable/SelectionBar/SelectionBar.mjs +2 -8
  130. package/dist/components/BitzTable/SelectionBar/style.mjs +8 -18
  131. package/dist/components/BitzTable/Store/index.d.ts +5 -1
  132. package/dist/components/BitzTable/Store/index.mjs +189 -199
  133. package/dist/components/BitzTable/Store/utils/index.d.ts +1 -1
  134. package/dist/components/BitzTable/Store/utils/index.mjs +30 -30
  135. package/dist/components/BitzTable/SubTable/index.mjs +76 -119
  136. package/dist/components/BitzTable/Table/ResizableTitle.d.ts +8 -0
  137. package/dist/components/BitzTable/Table/ResizableTitle.mjs +14 -0
  138. package/dist/components/BitzTable/Table/SortTableContext.mjs +7 -20
  139. package/dist/components/BitzTable/Table/SortableRow.mjs +20 -44
  140. package/dist/components/BitzTable/Table/index.d.ts +1 -1
  141. package/dist/components/BitzTable/Table/index.mjs +257 -446
  142. package/dist/components/BitzTable/Table/style.mjs +1 -11
  143. package/dist/components/BitzTable/Table/utils.d.ts +2 -2
  144. package/dist/components/BitzTable/Table/utils.mjs +30 -31
  145. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +28 -92
  146. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndItem.mjs +22 -97
  147. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndList.mjs +29 -68
  148. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +147 -255
  149. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndItem.mjs +12 -38
  150. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndList.mjs +16 -42
  151. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +20 -96
  152. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/RadioCard.mjs +2 -9
  153. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +46 -100
  154. package/dist/components/BitzTable/ToolBar/ColConfigIcon/index.mjs +8 -30
  155. package/dist/components/BitzTable/ToolBar/ExportIcon/ExportModal.mjs +14 -44
  156. package/dist/components/BitzTable/ToolBar/ExportIcon/index.mjs +12 -44
  157. package/dist/components/BitzTable/ToolBar/FullscreenIcon/index.mjs +4 -17
  158. package/dist/components/BitzTable/ToolBar/Modal/index.mjs +12 -49
  159. package/dist/components/BitzTable/ToolBar/Modal/style.mjs +4 -0
  160. package/dist/components/BitzTable/ToolBar/RefreshIcon/index.mjs +9 -20
  161. package/dist/components/BitzTable/ToolBar/Wrapper/index.mjs +2 -48
  162. package/dist/components/BitzTable/ToolBar/style.mjs +1 -6
  163. package/dist/components/BitzTable/index.d.ts +3 -2
  164. package/dist/components/BitzTable/index.mjs +17 -15
  165. package/dist/components/BitzTableOperations/index.mjs +3 -13
  166. package/dist/components/BitzTableSelect/Picker/index.mjs +10 -43
  167. package/dist/components/BitzTableSelect/Select/index.mjs +21 -87
  168. package/dist/components/BitzTableSelect/SelectPopup/getData.mjs +20 -30
  169. package/dist/components/BitzTableSelect/SelectPopup/index.mjs +61 -239
  170. package/dist/components/BitzTableSelect/TableCell/index.mjs +8 -49
  171. package/dist/components/BitzTableSelect/TextBlock/index.mjs +5 -23
  172. package/dist/components/BitzTableSelect/index.mjs +13 -61
  173. package/dist/components/BitzTag/index.mjs +1 -1
  174. package/dist/components/BitzTheme/index.mjs +6 -6
  175. package/dist/components/BitzTimeline/index.mjs +1 -11
  176. package/dist/components/BitzTimer/Form.mjs +11 -32
  177. package/dist/components/BitzTimer/Timer.mjs +38 -76
  178. package/dist/components/BitzTimer/index.mjs +43 -66
  179. package/dist/components/BitzToast/Toast/index.mjs +10 -28
  180. package/dist/components/BitzToast/index.mjs +1 -1
  181. package/dist/components/BitzTree/index.mjs +1 -4
  182. package/dist/components/BitzUeEditor/index.mjs +5 -5
  183. package/dist/components/BitzUpload/index.mjs +43 -81
  184. package/dist/components/BitzWebAppDrawer/index.mjs +4 -35
  185. package/dist/components/BitzWebAppModal/index.mjs +3 -6
  186. package/dist/hooks/use-event-listener.mjs +2 -11
  187. package/dist/hooks/use-lock-fn.mjs +10 -13
  188. package/dist/hooks/use-scroll-parent.mjs +14 -16
  189. package/dist/hooks/useEvent.mjs +4 -7
  190. package/dist/hooks/useMergedState.mjs +11 -11
  191. package/dist/node_modules/.store/clsx@1.2.1/node_modules/clsx/dist/clsx.m.mjs +22 -0
  192. package/dist/node_modules/.store/prop-types@15.8.1/node_modules/prop-types/index.mjs +8 -7
  193. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/Draggable.mjs +343 -0
  194. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/DraggableCore.mjs +324 -0
  195. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/cjs.mjs +14 -0
  196. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/domFns.mjs +174 -0
  197. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/getPrefix.mjs +35 -0
  198. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/log.mjs +7 -0
  199. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/positionFns.mjs +107 -0
  200. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/shims.mjs +30 -0
  201. package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/build/Resizable.mjs +201 -0
  202. package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/build/ResizableBox.mjs +162 -0
  203. package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/build/propTypes.mjs +118 -0
  204. package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/build/utils.mjs +54 -0
  205. package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/index.mjs +13 -0
  206. package/dist/node_modules/.store/use-sync-external-store@1.2.0/node_modules/use-sync-external-store/shim/index.mjs +1 -1
  207. package/dist/style.css +1 -1
  208. package/dist/utils/WithFluent.mjs +12 -27
  209. package/dist/utils/create.mjs +1 -7
  210. package/package.json +1 -1
@@ -1,97 +1,33 @@
1
1
  import { j as t } from "../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
- import B from "../../../node_modules/.store/ahooks@3.7.11/node_modules/ahooks/es/useSize/index.mjs";
3
- import { Space as w, Skeleton as y } from "antd";
4
- import { useRef as z, useMemo as C, useContext as S } from "react";
5
- import p from "../../BitzButton/index.mjs";
6
- import b from "./style.mjs";
2
+ import y from "../../../node_modules/.store/ahooks@3.7.11/node_modules/ahooks/es/useSize/index.mjs";
3
+ import { Space as z, Skeleton as S } from "antd";
4
+ import { useRef as A, useMemo as h, useContext as I } from "react";
5
+ import u from "../../BitzButton/index.mjs";
6
+ import w from "./style.mjs";
7
7
  import "../index.mjs";
8
- import N from "../Dropdown/index.mjs";
9
- import { BitzTableContext as I } from "../Store/index.mjs";
10
- const k = ({
11
- skeletonCls: s,
12
- ...l
13
- }) => /* @__PURE__ */ t.jsxs(p, { type: "text", ...l, children: [
14
- /* @__PURE__ */ t.jsx("span", { children: l.children }),
15
- /* @__PURE__ */ t.jsx(
16
- y,
17
- {
18
- active: !0,
19
- title: !1,
20
- className: s,
21
- paragraph: {
22
- rows: 1,
23
- width: "100%"
24
- }
8
+ import b from "../Dropdown/index.mjs";
9
+ import { BitzTableContext as R } from "../Store/index.mjs";
10
+ const B = ({ skeletonCls: l, ...n }) => t.jsxs(u, { type: "text", ...n, children: [t.jsx("span", { children: n.children }), t.jsx(S, { active: !0, title: !1, className: l, paragraph: {
11
+ rows: 1,
12
+ width: "100%"
13
+ } })] });
14
+ function T({ loading: l, actionGroup: n, refInstance: a }) {
15
+ const { loading: i, fullscreen: x } = I(R), s = h(() => l ?? i, [l, i]), { gap: o, primaryBtnClassName: r, dangerBtnClassName: f, dropdownBtnClassName: k, maskClassName: g, skeletonBtnClassName: c, skeletonClassName: d } = w(), C = h(() => {
16
+ const m = n.length >= 4 ? 2 : n.length, p = n.slice(0, m), j = [];
17
+ if (p != null && p.length && p.forEach((e, N) => {
18
+ j.push(s ? t.jsx(B, { className: c, skeletonCls: d, children: e == null ? void 0 : e.label }, N) : e.children ? t.jsx(b, { menu: { items: e.children }, children: t.jsx(u, { type: "text", className: e.danger ? f : r, children: e == null ? void 0 : e.label }) }, N) : t.jsx(u, { type: "text", className: e.danger ? f : r, onClick: e == null ? void 0 : e.onClick, children: e == null ? void 0 : e.label }, N));
19
+ }), m === 2 && n.length >= 4) {
20
+ const e = n.slice(2, n.length);
21
+ j.push(s ? t.jsx(B, { className: c, skeletonCls: d, children: "更多" }, 5) : t.jsx(b, { menu: { items: e }, children: t.jsx(u, { type: "text", className: k, children: "更多" }) }, 5));
25
22
  }
26
- )
27
- ] });
28
- function R({
29
- actionGroup: s,
30
- refInstance: l
31
- }) {
32
- const { loading: r, fullscreen: h } = S(I), {
33
- gap: a,
34
- primaryBtnClassName: n,
35
- dangerBtnClassName: i,
36
- dropdownBtnClassName: j,
37
- maskClassName: g,
38
- skeletonBtnClassName: c,
39
- skeletonClassName: m
40
- } = b(), u = C(() => {
41
- const o = s.length >= 4 ? 2 : s.length, d = s.slice(0, o), x = [];
42
- if (d != null && d.length && d.forEach((e, f) => {
43
- x.push(
44
- r ? /* @__PURE__ */ t.jsx(
45
- k,
46
- {
47
- className: c,
48
- skeletonCls: m,
49
- children: e == null ? void 0 : e.label
50
- },
51
- f
52
- ) : e.children ? /* @__PURE__ */ t.jsx(N, { menu: { items: e.children }, children: /* @__PURE__ */ t.jsx(
53
- p,
54
- {
55
- type: "text",
56
- className: e.danger ? i : n,
57
- children: e == null ? void 0 : e.label
58
- }
59
- ) }, f) : /* @__PURE__ */ t.jsx(
60
- p,
61
- {
62
- type: "text",
63
- className: e.danger ? i : n,
64
- onClick: e == null ? void 0 : e.onClick,
65
- children: e == null ? void 0 : e.label
66
- },
67
- f
68
- )
69
- );
70
- }), o === 2 && s.length >= 4) {
71
- const e = s.slice(2, s.length);
72
- x.push(
73
- r ? /* @__PURE__ */ t.jsx(
74
- k,
75
- {
76
- className: c,
77
- skeletonCls: m,
78
- children: "更多"
79
- },
80
- 5
81
- ) : /* @__PURE__ */ t.jsx(N, { menu: { items: e }, children: /* @__PURE__ */ t.jsx(p, { type: "text", className: j, children: "更多" }) }, 5)
82
- );
83
- }
84
- return x;
85
- }, [r, s]);
86
- return /* @__PURE__ */ t.jsxs("div", { onClick: (o) => o.stopPropagation(), children: [
87
- /* @__PURE__ */ t.jsx(w, { size: a, ref: l, className: "actionGroup", children: u }),
88
- /* @__PURE__ */ t.jsx("div", { className: g })
89
- ] });
23
+ return j;
24
+ }, [s, n]);
25
+ return t.jsxs("div", { onClick: (m) => m.stopPropagation(), children: [t.jsx(z, { size: o, ref: a, className: "actionGroup", children: C }), t.jsx("div", { className: g })] });
90
26
  }
91
- function q(s) {
92
- const { actionGroup: l, ...r } = s, { gap: h } = b(), a = z(null), n = B(a), i = C(() => n != null && n.width ? n.width + h * 2 + 1 : 181, [n, h]);
93
- return C(() => ({
94
- width: Math.floor(i),
27
+ function q(l) {
28
+ const { actionGroup: n, loading: a, ...i } = l, { gap: x } = w(), s = A(null), o = y(s), r = h(() => o != null && o.width ? o.width + x * 2 + 1 : 181, [o, x]);
29
+ return h(() => ({
30
+ width: Math.floor(r),
95
31
  mobileHide: !0,
96
32
  isOperationCol: !0,
97
33
  title: "操作",
@@ -100,16 +36,14 @@ function q(s) {
100
36
  dataIndex: "operationCol",
101
37
  className: "operationCol",
102
38
  disabled: !0,
103
- render: (g, c, m) => {
104
- const u = l(c, m).filter(
105
- (o) => o.type != "detail"
106
- );
107
- return /* @__PURE__ */ t.jsx(R, { actionGroup: u, refInstance: a });
39
+ render: (k, g, c) => {
40
+ const d = n(g, c).filter((C) => C.type != "detail");
41
+ return t.jsx(T, { actionGroup: d, loading: a, refInstance: s });
108
42
  },
109
- ...r
110
- }), [i, a, l]);
43
+ ...i
44
+ }), [r, s, a, n]);
111
45
  }
112
46
  export {
113
- R as BitzTableAction,
47
+ T as BitzTableAction,
114
48
  q as default
115
49
  };
@@ -98,21 +98,18 @@ const Q = () => {
98
98
  }
99
99
  }
100
100
  ];
101
- T(
102
- {
103
- theme: h,
104
- token: s,
105
- hashId: r,
106
- path: [e]
107
- },
108
- () => [
109
- g(e, d),
110
- u(a, s),
111
- v(l, s),
112
- C(c, s),
113
- y(m, p)
114
- ]
115
- );
101
+ T({
102
+ theme: h,
103
+ token: s,
104
+ hashId: r,
105
+ path: [e]
106
+ }, () => [
107
+ g(e, d),
108
+ u(a, s),
109
+ v(l, s),
110
+ C(c, s),
111
+ y(m, p)
112
+ ]);
116
113
  const $ = n(e, a, r), f = n(e, l, r), S = n(e, c, r), x = n(e, m, r), b = n(p, r), z = n(d, r);
117
114
  return {
118
115
  gap: B,
@@ -8,14 +8,7 @@ const p = (r, s) => r == null ? void 0 : r.map((t) => {
8
8
  return o != null && o.children && (o.children = p(o == null ? void 0 : o.children, s), o.popupClassName = s), o;
9
9
  }), j = ({ menu: r, overlayClassName: s, ...t }) => {
10
10
  const { popupClassName: o } = n(), a = m(() => p(r == null ? void 0 : r.items, o), [r == null ? void 0 : r.items]);
11
- return /* @__PURE__ */ e.jsx(
12
- c,
13
- {
14
- ...t,
15
- menu: { ...r, items: a },
16
- overlayClassName: d(o, s)
17
- }
18
- );
11
+ return e.jsx(c, { ...t, menu: { ...r, items: a }, overlayClassName: d(o, s) });
19
12
  };
20
13
  export {
21
14
  j as default
@@ -89,15 +89,12 @@ const P = () => {
89
89
  }
90
90
  ];
91
91
  };
92
- C(
93
- {
94
- theme: c,
95
- token: a,
96
- hashId: i,
97
- path: [o]
98
- },
99
- () => [w(o, m, a)]
100
- );
92
+ C({
93
+ theme: c,
94
+ token: a,
95
+ hashId: i,
96
+ path: [o]
97
+ }, () => [w(o, m, a)]);
101
98
  const h = `${T}${m}`;
102
99
  return {
103
100
  popupClassName: y(o, h, i)
@@ -5,28 +5,15 @@ import { useMemo as m } from "react";
5
5
  import c from "./style.mjs";
6
6
  import d from "../Dropdown/style.mjs";
7
7
  import x from "../../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/CaretDownOutlined.mjs";
8
- const a = (t, o) => t == null ? void 0 : t.map((e) => {
8
+ const i = (t, o) => t == null ? void 0 : t.map((e) => {
9
9
  const r = { ...e };
10
- return r != null && r.children && (r.children = a(r == null ? void 0 : r.children, o), r.popupClassName = o), r;
11
- }), y = ({
12
- ...t
13
- }) => {
10
+ return r != null && r.children && (r.children = i(r == null ? void 0 : r.children, o), r.popupClassName = o), r;
11
+ }), y = ({ ...t }) => {
14
12
  const { btnClassName: o } = c();
15
- return /* @__PURE__ */ s.jsx(n, { className: o, type: "text", ...t });
13
+ return s.jsx(n, { className: o, type: "text", ...t });
16
14
  }, S = ({ menu: t, children: o }) => {
17
- const { btnClassName: e } = c(), { popupClassName: r } = d(), i = m(() => a(t == null ? void 0 : t.items, r), [t == null ? void 0 : t.items]);
18
- return /* @__PURE__ */ s.jsx(
19
- p,
20
- {
21
- menu: { ...t, items: i },
22
- overlayClassName: r,
23
- trigger: ["click"],
24
- children: /* @__PURE__ */ s.jsx(n, { className: e, type: "text", children: /* @__PURE__ */ s.jsxs(l, { size: 2, children: [
25
- /* @__PURE__ */ s.jsx("span", { children: o }),
26
- /* @__PURE__ */ s.jsx(x, {})
27
- ] }) })
28
- }
29
- );
15
+ const { btnClassName: e } = c(), { popupClassName: r } = d(), a = m(() => i(t == null ? void 0 : t.items, r), [t == null ? void 0 : t.items]);
16
+ return s.jsx(p, { menu: { ...t, items: a }, overlayClassName: r, trigger: ["click"], children: s.jsx(n, { className: e, type: "text", children: s.jsxs(l, { size: 2, children: [s.jsx("span", { children: o }), s.jsx(x, {})] }) }) });
30
17
  };
31
18
  export {
32
19
  y as BitzSelectionBarButton,
@@ -5,18 +5,12 @@ import { useContext as i, useMemo as p, useEffect as f } from "react";
5
5
  import { BitzTableContext as C } from "../Store/index.mjs";
6
6
  import u from "./style.mjs";
7
7
  const v = ({ show: e, children: s }) => {
8
- const {
9
- blockClassName: a,
10
- showCls: o,
11
- btnClassName: x,
12
- batchOperationClassName: r,
13
- alertContentClassName: N
14
- } = u(), { setSelected: m } = i(C), l = p(() => n(a, {
8
+ const { blockClassName: a, showCls: o, btnClassName: x, batchOperationClassName: r, alertContentClassName: N } = u(), { setSelected: m } = i(C), l = p(() => n(a, {
15
9
  [`${o}`]: e
16
10
  }), [e]);
17
11
  return f(() => {
18
12
  m(e ?? !1);
19
- }, [e]), /* @__PURE__ */ t.jsx("div", { className: l, children: /* @__PURE__ */ t.jsx(c.Compact, { className: r, children: s || /* @__PURE__ */ t.jsx("div", {}) }) });
13
+ }, [e]), t.jsx("div", { className: l, children: t.jsx(c.Compact, { className: r, children: s || t.jsx("div", {}) }) });
20
14
  };
21
15
  export {
22
16
  v as default
@@ -98,24 +98,14 @@ const V = () => {
98
98
  }
99
99
  ];
100
100
  };
101
- G(
102
- {
103
- theme: b,
104
- token: i,
105
- hashId: o,
106
- path: [r]
107
- },
108
- () => [
109
- g(
110
- r,
111
- l,
112
- s,
113
- m,
114
- f,
115
- i
116
- )
117
- ]
118
- );
101
+ G({
102
+ theme: b,
103
+ token: i,
104
+ hashId: o,
105
+ path: [r]
106
+ }, () => [
107
+ g(r, l, s, m, f, i)
108
+ ]);
119
109
  const u = `${S}${r}`, d = n(r, u, o), T = n(m, o), x = n(f, o), w = n(s, o);
120
110
  return {
121
111
  blockClassName: d,
@@ -1,6 +1,8 @@
1
1
  /// <reference types="react" />
2
- import { ColumnsConfigProps, BitzTableColumnsType } from '..';
2
+ import { ColumnsConfigProps, BitzTableColumnsType, BitzTableColumnType } from '..';
3
3
  import { BitzTableBorderedType, StylesConfigScopeType } from '../../BitzConfigProvider/context';
4
+ export declare const SORTER_COLUMN: BitzTableColumnType;
5
+ export declare const toolCols: {}[];
4
6
  export type DensitySize = 'xl' | 'lg' | 'md' | 'sm' | 'xs' | undefined;
5
7
  export type ColumnStateType<TableKey extends string = any> = {
6
8
  /**
@@ -100,6 +102,7 @@ declare function useContainer(props: UseContainerProps): {
100
102
  selected: boolean;
101
103
  setSelected: import("react").Dispatch<import("react").SetStateAction<boolean>>;
102
104
  columns: BitzTableColumnsType<any> | undefined;
105
+ baseColumns: (BitzTableColumnType<any> | import("..").BitzTableColumnGroupType<any>)[] | undefined;
103
106
  persistenceType: "online" | "localStorage" | "sessionStorage" | undefined;
104
107
  persistenceKey: any;
105
108
  onlineChange: ((key: any, ColumnsState: Record<string, ColumnsConfigProps>) => void) | undefined;
@@ -136,6 +139,7 @@ declare const BitzTableContext: import("react").Context<{
136
139
  selected: boolean;
137
140
  setSelected: import("react").Dispatch<import("react").SetStateAction<boolean>>;
138
141
  columns: BitzTableColumnsType<any> | undefined;
142
+ baseColumns: (BitzTableColumnType<any> | import("..").BitzTableColumnGroupType<any>)[] | undefined;
139
143
  persistenceType: "online" | "localStorage" | "sessionStorage" | undefined;
140
144
  persistenceKey: any;
141
145
  onlineChange: ((key: any, ColumnsState: Record<string, ColumnsConfigProps>) => void) | undefined;