bitz-react-admin-ui 2.7.11 → 2.8.1

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 (184) hide show
  1. package/dist/assets/iconfont/IconChenggong.mjs +25 -4
  2. package/dist/assets/iconfont/IconClose.mjs +24 -3
  3. package/dist/assets/iconfont/IconColumnCancelFixed.mjs +23 -2
  4. package/dist/assets/iconfont/IconColumnFixedLeft.mjs +27 -6
  5. package/dist/assets/iconfont/IconColumnFixedRight.mjs +27 -6
  6. package/dist/assets/iconfont/IconCuowu.mjs +23 -2
  7. package/dist/assets/iconfont/IconDragOrder.mjs +25 -4
  8. package/dist/assets/iconfont/IconDuigoux.mjs +25 -4
  9. package/dist/assets/iconfont/IconFabu.mjs +35 -5
  10. package/dist/assets/iconfont/IconFanhui.mjs +25 -4
  11. package/dist/assets/iconfont/IconGaojisousuo.mjs +26 -5
  12. package/dist/assets/iconfont/IconHangfengexian.mjs +41 -3
  13. package/dist/assets/iconfont/IconHangliefengexian.mjs +42 -4
  14. package/dist/assets/iconfont/IconIcFluentHomeRegular.mjs +26 -5
  15. package/dist/assets/iconfont/IconIcon21.mjs +25 -4
  16. package/dist/assets/iconfont/IconJincoude.mjs +25 -4
  17. package/dist/assets/iconfont/IconJinggao.mjs +25 -4
  18. package/dist/assets/iconfont/IconKuansongde.mjs +26 -5
  19. package/dist/assets/iconfont/IconLiefengexian.mjs +41 -3
  20. package/dist/assets/iconfont/IconMore.mjs +41 -4
  21. package/dist/assets/iconfont/IconShanchu.mjs +27 -6
  22. package/dist/assets/iconfont/IconShanchu1.mjs +35 -5
  23. package/dist/assets/iconfont/IconSousuo.mjs +27 -6
  24. package/dist/assets/iconfont/IconTejincou.mjs +25 -4
  25. package/dist/assets/iconfont/IconTekuansong.mjs +26 -5
  26. package/dist/assets/iconfont/IconTishi1.mjs +27 -6
  27. package/dist/assets/iconfont/IconTuodong.mjs +28 -7
  28. package/dist/assets/iconfont/IconWubanmawentianchong.mjs +35 -3
  29. package/dist/assets/iconfont/IconWufengexian.mjs +26 -4
  30. package/dist/assets/iconfont/IconXinxitishi.mjs +27 -6
  31. package/dist/assets/iconfont/IconYoubanmawentianchong.mjs +34 -3
  32. package/dist/assets/iconfont/IconZhongdengde.mjs +24 -3
  33. package/dist/assets/iconfont/IconZhongzhi.mjs +24 -3
  34. package/dist/assets/iconfont/index.mjs +33 -33
  35. package/dist/components/BitzAddTag/index.mjs +41 -8
  36. package/dist/components/BitzAddressBook/index.mjs +122 -35
  37. package/dist/components/BitzAppPage/index.mjs +18 -4
  38. package/dist/components/BitzAppRefresh/index.mjs +27 -15
  39. package/dist/components/BitzBetterScroll/index.mjs +5 -5
  40. package/dist/components/BitzButton/index.mjs +23 -9
  41. package/dist/components/BitzCalendar/index.mjs +52 -19
  42. package/dist/components/BitzCascader/BitzCascaderMobile.mjs +68 -30
  43. package/dist/components/BitzCascader/index.mjs +6 -2
  44. package/dist/components/BitzCollapse/index.mjs +4 -4
  45. package/dist/components/BitzConfigProvider/context.mjs +3 -1
  46. package/dist/components/BitzConfigProvider/index.mjs +12 -8
  47. package/dist/components/BitzConfirmModal/index.mjs +24 -1
  48. package/dist/components/BitzDescriptions/index.mjs +11 -1
  49. package/dist/components/BitzDrawer/index.mjs +17 -2
  50. package/dist/components/BitzEmpty/index.mjs +6 -2
  51. package/dist/components/BitzException/index.mjs +6 -1
  52. package/dist/components/BitzFloatLayout/index.mjs +10 -1
  53. package/dist/components/BitzFluentDatePicker/index.mjs +1 -1
  54. package/dist/components/BitzFluentRangePicker/index.mjs +1 -1
  55. package/dist/components/BitzFluentRangeTimePicker/index.mjs +1 -1
  56. package/dist/components/BitzFluentTimePicker/index.mjs +6 -6
  57. package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +13 -16
  58. package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +26 -20
  59. package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +21 -3
  60. package/dist/components/BitzFuiCalendar/CalendarBody.mjs +27 -4
  61. package/dist/components/BitzFuiCalendar/CalendarHead.mjs +5 -2
  62. package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +12 -3
  63. package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +47 -15
  64. package/dist/components/BitzFuiCalendar/ColumnData.mjs +25 -9
  65. package/dist/components/BitzFuiCalendar/FuiCalendarItem.mjs +44 -8
  66. package/dist/components/BitzFuiCalendar/index.mjs +7 -1
  67. package/dist/components/BitzFullScreen/index.mjs +9 -6
  68. package/dist/components/BitzHighlight/Child.mjs +23 -9
  69. package/dist/components/BitzHighlight/Highlight.mjs +26 -5
  70. package/dist/components/BitzHighlight/chunks.mjs +20 -17
  71. package/dist/components/BitzHighlight/style.mjs +4 -1
  72. package/dist/components/BitzImage/index.mjs +1 -1
  73. package/dist/components/BitzImage/previewImage.mjs +12 -5
  74. package/dist/components/BitzLanguageTabs/index.mjs +14 -3
  75. package/dist/components/BitzLazyLoad/index.mjs +7 -1
  76. package/dist/components/BitzList/List.mjs +17 -3
  77. package/dist/components/BitzList/LoadMore.mjs +29 -20
  78. package/dist/components/BitzLoadMore/index.mjs +34 -14
  79. package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +24 -11
  80. package/dist/components/BitzMeetingTime/index.mjs +10 -6
  81. package/dist/components/BitzMobileLoading/index.mjs +1 -1
  82. package/dist/components/BitzModal/index.mjs +24 -11
  83. package/dist/components/BitzNoData/index.mjs +4 -1
  84. package/dist/components/BitzNoMore/index.mjs +1 -1
  85. package/dist/components/BitzOrganizationSelection/index.mjs +43 -14
  86. package/dist/components/BitzPageContainer/index.mjs +107 -46
  87. package/dist/components/BitzPageHeader/index.mjs +89 -21
  88. package/dist/components/BitzPagination/index.mjs +71 -22
  89. package/dist/components/BitzPopover/index.mjs +4 -4
  90. package/dist/components/BitzPullRefresh/PullRefresh.mjs +47 -18
  91. package/dist/components/BitzQRCode/index.mjs +6 -1
  92. package/dist/components/BitzQueryFilter/QueryFilterContent.mjs +35 -17
  93. package/dist/components/BitzQueryFilter/QueryFilterDrawer.mjs +20 -13
  94. package/dist/components/BitzQueryFilter/QueryFilterMobile.mjs +4 -1
  95. package/dist/components/BitzQueryFilter/index.mjs +69 -20
  96. package/dist/components/BitzRefresh/index.mjs +5 -1
  97. package/dist/components/BitzRemark/index.mjs +4 -4
  98. package/dist/components/BitzScheduleCenter/index.mjs +24 -30
  99. package/dist/components/BitzSearch/index.mjs +1 -1
  100. package/dist/components/BitzSelect/component/BitzSelectMobile.mjs +123 -48
  101. package/dist/components/BitzSelect/index.mjs +1 -1
  102. package/dist/components/BitzSkeleton/index.mjs +31 -1
  103. package/dist/components/BitzSwitch/index.mjs +7 -2
  104. package/dist/components/BitzTabbar/BitzTabbar.mjs +25 -8
  105. package/dist/components/BitzTabbar/BitzTabbarItem.mjs +4 -1
  106. package/dist/components/BitzTable/ActionBar/ActionBar.mjs +80 -12
  107. package/dist/components/BitzTable/ActionBar/Button.mjs +20 -15
  108. package/dist/components/BitzTable/ActionBar/style.mjs +12 -9
  109. package/dist/components/BitzTable/ActionCol/index.mjs +182 -44
  110. package/dist/components/BitzTable/ActionCol/style.mjs +15 -12
  111. package/dist/components/BitzTable/Dropdown/index.mjs +8 -1
  112. package/dist/components/BitzTable/Dropdown/style.mjs +9 -6
  113. package/dist/components/BitzTable/SelectionBar/Button.mjs +19 -6
  114. package/dist/components/BitzTable/SelectionBar/SelectionBar.mjs +11 -4
  115. package/dist/components/BitzTable/SelectionBar/style.mjs +18 -8
  116. package/dist/components/BitzTable/Store/index.mjs +103 -62
  117. package/dist/components/BitzTable/Store/utils/index.mjs +5 -5
  118. package/dist/components/BitzTable/SubTable/index.mjs +122 -73
  119. package/dist/components/BitzTable/Table/ResizableTitle copy.mjs +43 -21
  120. package/dist/components/BitzTable/Table/SortTableContext.mjs +39 -17
  121. package/dist/components/BitzTable/Table/SortableRow.mjs +44 -20
  122. package/dist/components/BitzTable/Table/TdCell.d.ts +1 -0
  123. package/dist/components/BitzTable/Table/TdCell.mjs +9 -0
  124. package/dist/components/BitzTable/Table/index.d.ts +6 -0
  125. package/dist/components/BitzTable/Table/index.mjs +515 -264
  126. package/dist/components/BitzTable/Table/style.mjs +10 -1
  127. package/dist/components/BitzTable/Table/utils.mjs +11 -4
  128. package/dist/components/BitzTable/TextOverflow/index.mjs +12 -3
  129. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +105 -31
  130. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndItem.mjs +104 -23
  131. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndList.mjs +68 -29
  132. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +346 -159
  133. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndItem.mjs +50 -16
  134. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndList.mjs +42 -16
  135. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +135 -38
  136. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/RadioCard.mjs +9 -2
  137. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/ScopeSwitch.mjs +18 -5
  138. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +121 -49
  139. package/dist/components/BitzTable/ToolBar/ColConfigIcon/index.mjs +62 -18
  140. package/dist/components/BitzTable/ToolBar/ExportIcon/ExportModal.mjs +59 -16
  141. package/dist/components/BitzTable/ToolBar/ExportIcon/index.mjs +42 -14
  142. package/dist/components/BitzTable/ToolBar/FullscreenIcon/index.mjs +20 -5
  143. package/dist/components/BitzTable/ToolBar/Modal/index.mjs +46 -14
  144. package/dist/components/BitzTable/ToolBar/RefreshIcon/index.mjs +20 -9
  145. package/dist/components/BitzTable/ToolBar/Wrapper/index.mjs +49 -2
  146. package/dist/components/BitzTable/ToolBar/style.mjs +6 -1
  147. package/dist/components/BitzTableOperations/index.mjs +13 -3
  148. package/dist/components/BitzTableSelect/Picker/index.mjs +43 -10
  149. package/dist/components/BitzTableSelect/Select/index.mjs +90 -21
  150. package/dist/components/BitzTableSelect/SelectPopup/getData.mjs +23 -13
  151. package/dist/components/BitzTableSelect/SelectPopup/index.mjs +219 -69
  152. package/dist/components/BitzTableSelect/SingleSelect/index.mjs +87 -22
  153. package/dist/components/BitzTableSelect/TableCell/index.mjs +52 -11
  154. package/dist/components/BitzTableSelect/TextBlock/index.mjs +30 -12
  155. package/dist/components/BitzTableSelect/index.mjs +65 -14
  156. package/dist/components/BitzTableSelect/utils.mjs +3 -3
  157. package/dist/components/BitzTag/index.mjs +1 -1
  158. package/dist/components/BitzText/index.mjs +41 -14
  159. package/dist/components/BitzText/utils.mjs +3 -3
  160. package/dist/components/BitzTheme/index.mjs +6 -6
  161. package/dist/components/BitzTimeline/index.mjs +11 -1
  162. package/dist/components/BitzTimer/Form.mjs +32 -11
  163. package/dist/components/BitzTimer/Timer.mjs +76 -38
  164. package/dist/components/BitzTimer/index.mjs +66 -43
  165. package/dist/components/BitzToast/Toast/index.mjs +28 -10
  166. package/dist/components/BitzToast/index.mjs +1 -1
  167. package/dist/components/BitzTooltip/index.mjs +59 -20
  168. package/dist/components/BitzTooltip/style.mjs +9 -6
  169. package/dist/components/BitzTooltip/utils.mjs +2 -2
  170. package/dist/components/BitzTree/index.mjs +4 -1
  171. package/dist/components/BitzUeEditor/index.mjs +5 -5
  172. package/dist/components/BitzUpload/index.mjs +81 -43
  173. package/dist/components/BitzWebAppDrawer/index.mjs +35 -4
  174. package/dist/components/BitzWebAppModal/index.mjs +6 -3
  175. package/dist/hooks/use-event-listener.mjs +11 -2
  176. package/dist/hooks/use-lock-fn.mjs +13 -10
  177. package/dist/hooks/use-scroll-parent.mjs +16 -14
  178. package/dist/hooks/useEvent.mjs +7 -4
  179. package/dist/hooks/useMergedState.mjs +11 -11
  180. package/dist/node_modules/react-intersection-observer/dist/index.mjs +123 -0
  181. package/dist/style.css +1 -1
  182. package/dist/utils/WithFluent.mjs +9 -3
  183. package/dist/utils/create.mjs +7 -1
  184. package/package.json +2 -1
@@ -25,13 +25,16 @@ function _e(e) {
25
25
  var k, R, L, U, A, D, G, Z, _, F, W, X, q, Q, Y, $, p, ee, te, ne, ie, ae, oe, le, ce, fe, re;
26
26
  const K = Re(Ae()), [ye, Se] = h(!1), [ge, Ce] = h(!1), [me, we] = h(0), f = Le(De).Table, I = e.defaultSize ?? (f == null ? void 0 : f.defaultSize) ?? "lg", he = e.defaultZebra ?? (f == null ? void 0 : f.zebra) ?? !0, xe = e.defaultBordered ?? (f == null ? void 0 : f.bordered) ?? "row-column", Te = e.defaultPageSize ?? (f == null ? void 0 : f.pageSize) ?? 10, Ke = e.defaultOrderBy ?? (f == null ? void 0 : f.orderBy) ?? "desc", z = S(() => {
27
27
  var t;
28
- return u({
29
- size: I,
30
- zebra: he,
31
- bordered: xe,
32
- pageSize: Te,
33
- orderBy: Ke
34
- }, (t = e.stylesConfigState) == null ? void 0 : t.defaultValue);
28
+ return u(
29
+ {
30
+ size: I,
31
+ zebra: he,
32
+ bordered: xe,
33
+ pageSize: Te,
34
+ orderBy: Ke
35
+ },
36
+ (t = e.stylesConfigState) == null ? void 0 : t.defaultValue
37
+ );
35
38
  }, [
36
39
  e.defaultSize,
37
40
  f == null ? void 0 : f.defaultSize,
@@ -44,24 +47,30 @@ function _e(e) {
44
47
  e.defaultOrderBy,
45
48
  f == null ? void 0 : f.orderBy,
46
49
  (k = e.stylesConfigState) == null ? void 0 : k.defaultValue
47
- ]), [C, J] = N(() => {
48
- var i, n, l;
49
- const { persistenceType: t, persistenceKey: a, onlineGet: c } = e.stylesConfigState || {};
50
- if (a && t && typeof window < "u" && t !== "online") {
51
- const o = window[t];
52
- try {
53
- const r = o == null ? void 0 : o.getItem(a);
54
- if (r)
55
- return (i = e == null ? void 0 : e.stylesConfigState) != null && i.defaultValue ? u(JSON.parse(r), (n = e == null ? void 0 : e.stylesConfigState) == null ? void 0 : n.defaultValue) : JSON.parse(r);
56
- } catch (r) {
57
- console.warn(r);
50
+ ]), [C, J] = N(
51
+ () => {
52
+ var i, n, l;
53
+ const { persistenceType: t, persistenceKey: a, onlineGet: c } = e.stylesConfigState || {};
54
+ if (a && t && typeof window < "u" && t !== "online") {
55
+ const o = window[t];
56
+ try {
57
+ const r = o == null ? void 0 : o.getItem(a);
58
+ if (r)
59
+ return (i = e == null ? void 0 : e.stylesConfigState) != null && i.defaultValue ? u(
60
+ JSON.parse(r),
61
+ (n = e == null ? void 0 : e.stylesConfigState) == null ? void 0 : n.defaultValue
62
+ ) : JSON.parse(r);
63
+ } catch (r) {
64
+ console.warn(r);
65
+ }
58
66
  }
67
+ return e.stylesConfig || ((l = e.stylesConfigState) == null ? void 0 : l.value) || z;
68
+ },
69
+ {
70
+ value: ((R = e.stylesConfigState) == null ? void 0 : R.value) || e.stylesConfig,
71
+ onChange: ((L = e.stylesConfigState) == null ? void 0 : L.onChange) || e.onStylesConfigChange
59
72
  }
60
- return e.stylesConfig || ((l = e.stylesConfigState) == null ? void 0 : l.value) || z;
61
- }, {
62
- value: ((R = e.stylesConfigState) == null ? void 0 : R.value) || e.stylesConfig,
63
- onChange: ((L = e.stylesConfigState) == null ? void 0 : L.onChange) || e.onStylesConfigChange
64
- });
73
+ );
65
74
  g(() => {
66
75
  var c, i;
67
76
  if (!((c = e.stylesConfigState) != null && c.persistenceKey) || !((i = e.stylesConfigState) != null && i.persistenceType) || typeof window > "u")
@@ -91,14 +100,18 @@ function _e(e) {
91
100
  (c = i == null ? void 0 : i(n)) == null || c.then((l) => {
92
101
  var r;
93
102
  const o = u(l ?? {}, (r = e == null ? void 0 : e.stylesConfigState) == null ? void 0 : r.value);
94
- J(Object.keys(o).length ? o : z);
103
+ J(
104
+ Object.keys(o).length ? o : z
105
+ );
95
106
  });
96
107
  } catch (l) {
97
108
  console.warn(l);
98
109
  }
99
110
  }
100
111
  }, []);
101
- const s = S(() => (e.columns ?? []).filter((t) => !Ze.includes(t) && t.title), [e.columns]), x = S(() => {
112
+ const s = S(() => (e.columns ?? []).filter(
113
+ (t) => !Ze.includes(t) && t.title
114
+ ), [e.columns]), x = S(() => {
102
115
  var i;
103
116
  const t = {
104
117
  fields: [],
@@ -124,24 +137,30 @@ function _e(e) {
124
137
  }), t.fields = n;
125
138
  }
126
139
  return (i = e == null ? void 0 : e.exportConfigState) != null && i.defaultValue ? u(t, e.exportConfigState.defaultValue) : t;
127
- }, [s]), [b, T] = N(() => {
128
- var i, n, l;
129
- const { persistenceType: t, persistenceKey: a, onlineGet: c } = e.exportConfigState || {};
130
- if (a && t && typeof window < "u" && t !== "online") {
131
- const o = window[t];
132
- try {
133
- const r = o == null ? void 0 : o.getItem(a);
134
- if (r)
135
- return (i = e == null ? void 0 : e.exportConfigState) != null && i.defaultValue ? u(JSON.parse(r), (n = e == null ? void 0 : e.exportConfigState) == null ? void 0 : n.defaultValue) : JSON.parse(r);
136
- } catch (r) {
137
- console.warn(r);
140
+ }, [s]), [b, T] = N(
141
+ () => {
142
+ var i, n, l;
143
+ const { persistenceType: t, persistenceKey: a, onlineGet: c } = e.exportConfigState || {};
144
+ if (a && t && typeof window < "u" && t !== "online") {
145
+ const o = window[t];
146
+ try {
147
+ const r = o == null ? void 0 : o.getItem(a);
148
+ if (r)
149
+ return (i = e == null ? void 0 : e.exportConfigState) != null && i.defaultValue ? u(
150
+ JSON.parse(r),
151
+ (n = e == null ? void 0 : e.exportConfigState) == null ? void 0 : n.defaultValue
152
+ ) : JSON.parse(r);
153
+ } catch (r) {
154
+ console.warn(r);
155
+ }
138
156
  }
157
+ return e.exportConfig || ((l = e.exportConfigState) == null ? void 0 : l.value) || x;
158
+ },
159
+ {
160
+ value: ((D = e.exportConfigState) == null ? void 0 : D.value) || e.exportConfig,
161
+ onChange: ((G = e.exportConfigState) == null ? void 0 : G.onChange) || e.onExportConfigChange
139
162
  }
140
- return e.exportConfig || ((l = e.exportConfigState) == null ? void 0 : l.value) || x;
141
- }, {
142
- value: ((D = e.exportConfigState) == null ? void 0 : D.value) || e.exportConfig,
143
- onChange: ((G = e.exportConfigState) == null ? void 0 : G.onChange) || e.onExportConfigChange
144
- });
163
+ );
145
164
  g(() => {
146
165
  var i, n;
147
166
  const { persistenceType: t, persistenceKey: a, onlineGet: c } = e.exportConfigState || {};
@@ -149,7 +168,12 @@ function _e(e) {
149
168
  const l = window[t];
150
169
  try {
151
170
  const o = l == null ? void 0 : l.getItem(a);
152
- o ? (i = e == null ? void 0 : e.exportConfigState) != null && i.defaultValue ? T(u(JSON.parse(o), (n = e == null ? void 0 : e.exportConfigState) == null ? void 0 : n.defaultValue)) : T(JSON.parse(o)) : T(x);
171
+ o ? (i = e == null ? void 0 : e.exportConfigState) != null && i.defaultValue ? T(
172
+ u(
173
+ JSON.parse(o),
174
+ (n = e == null ? void 0 : e.exportConfigState) == null ? void 0 : n.defaultValue
175
+ )
176
+ ) : T(JSON.parse(o)) : T(x);
153
177
  } catch (o) {
154
178
  console.warn(o);
155
179
  }
@@ -187,7 +211,9 @@ function _e(e) {
187
211
  (c = i == null ? void 0 : i(n)) == null || c.then((l) => {
188
212
  var r;
189
213
  const o = u(l ?? {}, (r = e == null ? void 0 : e.exportConfigState) == null ? void 0 : r.value);
190
- T(Object.keys(o).length ? o : x);
214
+ T(
215
+ Object.keys(o).length ? o : x
216
+ );
191
217
  });
192
218
  } catch (l) {
193
219
  console.warn(l);
@@ -208,24 +234,30 @@ function _e(e) {
208
234
  disabled: Pe
209
235
  });
210
236
  }), n;
211
- }, [s]), [Oe, Ve] = h(!1), [y, m] = N(() => {
212
- var i, n, l, o;
213
- const { persistenceType: t, persistenceKey: a, onlineGet: c } = e.columnsState || {};
214
- if (a && t && typeof window < "u" && t !== "online") {
215
- const r = window[t];
216
- try {
217
- const w = r == null ? void 0 : r.getItem(a);
218
- if (w)
219
- return (i = e == null ? void 0 : e.columnsState) != null && i.defaultValue ? u(JSON.parse(w), (n = e == null ? void 0 : e.columnsState) == null ? void 0 : n.defaultValue) : JSON.parse(w);
220
- } catch (w) {
221
- console.warn(w);
237
+ }, [s]), [Oe, Ve] = h(!1), [y, m] = N(
238
+ () => {
239
+ var i, n, l, o;
240
+ const { persistenceType: t, persistenceKey: a, onlineGet: c } = e.columnsState || {};
241
+ if (a && t && typeof window < "u" && t !== "online") {
242
+ const r = window[t];
243
+ try {
244
+ const w = r == null ? void 0 : r.getItem(a);
245
+ if (w)
246
+ return (i = e == null ? void 0 : e.columnsState) != null && i.defaultValue ? u(
247
+ JSON.parse(w),
248
+ (n = e == null ? void 0 : e.columnsState) == null ? void 0 : n.defaultValue
249
+ ) : JSON.parse(w);
250
+ } catch (w) {
251
+ console.warn(w);
252
+ }
222
253
  }
254
+ return e.columnsStateMap || ((l = e.columnsState) == null ? void 0 : l.value) || ((o = e.columnsState) == null ? void 0 : o.defaultValue) || {};
255
+ },
256
+ {
257
+ value: ((X = e.columnsState) == null ? void 0 : X.value) || e.columnsStateMap,
258
+ onChange: ((q = e.columnsState) == null ? void 0 : q.onChange) || e.onColumnsStateChange
223
259
  }
224
- return e.columnsStateMap || ((l = e.columnsState) == null ? void 0 : l.value) || ((o = e.columnsState) == null ? void 0 : o.defaultValue) || {};
225
- }, {
226
- value: ((X = e.columnsState) == null ? void 0 : X.value) || e.columnsStateMap,
227
- onChange: ((q = e.columnsState) == null ? void 0 : q.onChange) || e.onColumnsStateChange
228
- });
260
+ );
229
261
  g(() => {
230
262
  var i, n;
231
263
  const { persistenceType: t, persistenceKey: a, onlineGet: c } = e.columnsState || {};
@@ -233,7 +265,12 @@ function _e(e) {
233
265
  const l = window[t];
234
266
  try {
235
267
  const o = l == null ? void 0 : l.getItem(a);
236
- o ? (i = e == null ? void 0 : e.columnsState) != null && i.defaultValue ? m(u(JSON.parse(o), (n = e == null ? void 0 : e.columnsState) == null ? void 0 : n.defaultValue)) : m(JSON.parse(o)) : m(d);
268
+ o ? (i = e == null ? void 0 : e.columnsState) != null && i.defaultValue ? m(
269
+ u(
270
+ JSON.parse(o),
271
+ (n = e == null ? void 0 : e.columnsState) == null ? void 0 : n.defaultValue
272
+ )
273
+ ) : m(JSON.parse(o)) : m(d);
237
274
  } catch (o) {
238
275
  console.warn(o);
239
276
  }
@@ -327,7 +364,11 @@ function _e(e) {
327
364
  v(!1), V(0);
328
365
  }, He = () => {
329
366
  var t, a, c;
330
- (c = (t = e.columnsState) == null ? void 0 : t.onlineChange) == null || c.call(t, (a = e.columnsState) == null ? void 0 : a.persistenceKey, y), v(!1), V(0);
367
+ (c = (t = e.columnsState) == null ? void 0 : t.onlineChange) == null || c.call(
368
+ t,
369
+ (a = e.columnsState) == null ? void 0 : a.persistenceKey,
370
+ y
371
+ ), v(!1), V(0);
331
372
  }, j = {
332
373
  loading: e.loading ?? !1,
333
374
  dataSource: e.dataSource,
@@ -384,7 +425,7 @@ function _e(e) {
384
425
  }
385
426
  const Fe = ke({}), nt = (e) => {
386
427
  const K = _e(e.initValue);
387
- return je.jsx(Fe.Provider, { value: K, children: e.children });
428
+ return /* @__PURE__ */ je.jsx(Fe.Provider, { value: K, children: e.children });
388
429
  };
389
430
  export {
390
431
  Fe as BitzTableContext,
@@ -1,5 +1,5 @@
1
1
  const h = (e, r) => ((t, n) => t.map((d) => {
2
- const o = y(d, d.index), s = n[o];
2
+ const o = u(d, d.index), s = n[o];
3
3
  return s && s.show === !1 ? !1 : {
4
4
  ...d,
5
5
  ...s
@@ -7,7 +7,7 @@ const h = (e, r) => ((t, n) => t.map((d) => {
7
7
  // width: finish ? config?.width ?? item?.width : item?.width
8
8
  // },
9
9
  };
10
- }))(e, r).filter(Boolean), y = (e, r) => "key" in e && e.key !== void 0 && e.key !== null ? e.key : e.dataIndex ? Array.isArray(e.dataIndex) ? e.dataIndex.join("-") : e.dataIndex : `${r}`, k = (e) => {
10
+ }))(e, r).filter(Boolean), u = (e, r) => "key" in e && e.key !== void 0 && e.key !== null ? e.key : e.dataIndex ? Array.isArray(e.dataIndex) ? e.dataIndex.join("-") : e.dataIndex : `${r}`, k = (e) => {
11
11
  const r = [];
12
12
  function i(t) {
13
13
  t.children ? t.children.forEach(i) : t.dataIndex && !t.exportHidden && r.push({
@@ -18,14 +18,14 @@ const h = (e, r) => ((t, n) => t.map((d) => {
18
18
  }
19
19
  return e.forEach(i), r;
20
20
  }, p = (e) => (r, i) => {
21
- var f, l, x, u;
21
+ var f, l, x, y;
22
22
  const { fixed: t, index: n } = r, { fixed: d, index: o } = i;
23
23
  if (t === "left" && d !== "left" || d === "right" && t !== "right")
24
24
  return -2;
25
25
  if (d === "left" && t !== "left" || t === "right" && d !== "right")
26
26
  return 2;
27
27
  const s = r.key || `${n}`, a = i.key || `${o}`;
28
- return (f = e[s]) != null && f.order || (l = e[a]) != null && l.order ? (((x = e[s]) == null ? void 0 : x.order) || 0) - (((u = e[a]) == null ? void 0 : u.order) || 0) : (r.index || 0) - (i.index || 0);
28
+ return (f = e[s]) != null && f.order || (l = e[a]) != null && l.order ? (((x = e[s]) == null ? void 0 : x.order) || 0) - (((y = e[a]) == null ? void 0 : y.order) || 0) : (r.index || 0) - (i.index || 0);
29
29
  };
30
30
  function I(e, r, i) {
31
31
  const t = {};
@@ -55,7 +55,7 @@ const c = (e, r) => {
55
55
  export {
56
56
  p as columnSort,
57
57
  k as flattenColumns,
58
- y as genColumnKey,
58
+ u as genColumnKey,
59
59
  h as loopFilter,
60
60
  c as removePropertiesWithoutMutation,
61
61
  I as updateNestedObject
@@ -1,104 +1,134 @@
1
- import { j as w } from "../../../node_modules/react/jsx-runtime.mjs";
2
- import { useContext as j, useRef as ee, useMemo as s, useCallback as q } from "react";
3
- import { Table as te } from "antd";
4
- import ne from "../../../node_modules/classnames/index.mjs";
5
- import { BitzTableContext as oe, toolCols as re } from "../Store/index.mjs";
6
- import se from "../../../node_modules/ahooks/es/useSize/index.mjs";
7
- import ae from "../../BitzTheme/index.mjs";
8
- import ie from "../../../node_modules/antd/es/table/ExpandIcon.mjs";
1
+ import { j as y } from "../../../node_modules/react/jsx-runtime.mjs";
2
+ import { useContext as L, useRef as tt, useMemo as s, useCallback as j } from "react";
3
+ import { Table as et } from "antd";
4
+ import nt from "../../../node_modules/classnames/index.mjs";
5
+ import { BitzTableContext as rt, toolCols as ot } from "../Store/index.mjs";
6
+ import st from "../../../node_modules/ahooks/es/useSize/index.mjs";
7
+ import at from "../../BitzTheme/index.mjs";
8
+ import it from "../../../node_modules/antd/es/table/ExpandIcon.mjs";
9
9
  import "../../../node_modules/antd/es/config-provider/index.mjs";
10
- import le from "../../../node_modules/antd/locale/en_US.mjs";
11
- import { getColumnsWithTool as ue, loopBuildSkeleton as ce } from "../Table/utils.mjs";
12
- import { tablePaddingInline as me } from "../../BitzConfigProvider/context.mjs";
13
- import { querySelectorAll as fe } from "../../../utils/select-query.mjs";
14
- import de from "../../../node_modules/lodash-es/omit.mjs";
15
- import { ConfigContext as he } from "../../../node_modules/antd/es/config-provider/context.mjs";
16
- function Ie({ dataSource: c, columns: g, loading: i, scroll: o, components: f, expandable: l, rowSelection: m, ...a }) {
17
- var B, E, S;
18
- const { token: x } = ae.useToken(), K = ((B = x.Table) == null ? void 0 : B.cellPaddingInline) ?? me, { showColumnBorder: M, rowHoverable: P } = j(oe), d = ee(null), y = se((E = d.current) == null ? void 0 : E.nativeElement), v = s(() => {
19
- if (o != null && o.auto)
10
+ import lt from "../../../node_modules/antd/locale/en_US.mjs";
11
+ import { getColumnsWithTool as ct, loopBuildSkeleton as ut } from "../Table/utils.mjs";
12
+ import { tablePaddingInline as mt } from "../../BitzConfigProvider/context.mjs";
13
+ import { querySelectorAll as ft } from "../../../utils/select-query.mjs";
14
+ import ht from "../../../node_modules/lodash-es/omit.mjs";
15
+ import { ConfigContext as bt } from "../../../node_modules/antd/es/config-provider/context.mjs";
16
+ function vt({
17
+ dataSource: u,
18
+ columns: g,
19
+ loading: i,
20
+ scroll: r,
21
+ components: f,
22
+ expandable: l,
23
+ rowSelection: m,
24
+ ...a
25
+ }) {
26
+ var T, W, E;
27
+ const { token: x } = at.useToken(), q = ((T = x.Table) == null ? void 0 : T.cellPaddingInline) ?? mt, { showColumnBorder: K, rowHoverable: M } = L(rt), h = tt(null), C = st((W = h.current) == null ? void 0 : W.nativeElement), P = s(() => {
28
+ if (r != null && r.auto)
20
29
  return {
21
- ...de(o, "auto"),
30
+ ...ht(r, "auto"),
22
31
  x: void 0
23
32
  };
24
- const e = (o == null ? void 0 : o.x) ?? 1e3;
25
- return o != null && o.x ? { x: e, y: o.y || 400 } : o != null && o.y ? { x: e, y: o.y } : { x: e, y: 400 };
26
- }, [o]), A = () => {
27
- var r, n;
28
- const e = fe("& > .bitzTableContainerBody > .ant-table-wrapper.bitzTable > .ant-spin-nested-loading > .ant-spin-container > .ant-table > .ant-table-container > .ant-table-body > table > .ant-table-tbody > tr:not(.ant-table-measure-row, .ant-table-expanded-row)", (n = (r = d.current) == null ? void 0 : r.nativeElement) == null ? void 0 : n.querySelectorAll), t = [];
29
- if (e == null || e.forEach((u) => {
30
- var h;
31
- t.push(((h = u.querySelector("& > .operationCol .actionGroup")) == null ? void 0 : h.clientWidth) || 0);
32
- }), t.length)
33
- return Math.ceil(Math.max(...t)) + K * 2;
34
- }, H = () => {
35
- var h, I, N, D, L;
36
- const e = (I = (h = d.current) == null ? void 0 : h.nativeElement) == null ? void 0 : I.querySelector(".ant-table-body"), t = e == null ? void 0 : e.clientWidth, n = ((e == null ? void 0 : e.offsetWidth) || 0) - t > 0, u = (L = (D = (N = d.current) == null ? void 0 : N.nativeElement) == null ? void 0 : D.querySelector(".ant-table-cell-scrollbar")) == null ? void 0 : L.offsetWidth;
37
- return { tbodyWidth: t, scrollbarSize: u, hasScrollBar: n };
33
+ const t = (r == null ? void 0 : r.x) ?? 1e3;
34
+ return r != null && r.x ? { x: t, y: r.y || 400 } : r != null && r.y ? { x: t, y: r.y } : { x: t, y: 400 };
35
+ }, [r]), A = () => {
36
+ var o, n;
37
+ const t = ft(
38
+ "& > .bitzTableContainerBody > .ant-table-wrapper.bitzTable > .ant-spin-nested-loading > .ant-spin-container > .ant-table > .ant-table-container > .ant-table-body > table > .ant-table-tbody > tr:not(.ant-table-measure-row, .ant-table-expanded-row)",
39
+ (n = (o = h.current) == null ? void 0 : o.nativeElement) == null ? void 0 : n.querySelectorAll
40
+ ), e = [];
41
+ if (t == null || t.forEach((c) => {
42
+ var b;
43
+ e.push(
44
+ ((b = c.querySelector("& > .operationCol .actionGroup")) == null ? void 0 : b.clientWidth) || 0
45
+ );
46
+ }), e.length)
47
+ return Math.ceil(Math.max(...e)) + q * 2;
48
+ }, $ = () => {
49
+ var b, v, I, N, D;
50
+ const t = (v = (b = h.current) == null ? void 0 : b.nativeElement) == null ? void 0 : v.querySelector(
51
+ ".ant-table-body"
52
+ ), e = t == null ? void 0 : t.clientWidth, n = ((t == null ? void 0 : t.offsetWidth) || 0) - e > 0, c = (D = (N = (I = h.current) == null ? void 0 : I.nativeElement) == null ? void 0 : N.querySelector(
53
+ ".ant-table-cell-scrollbar"
54
+ )) == null ? void 0 : D.offsetWidth;
55
+ return { tbodyWidth: e, scrollbarSize: c, hasScrollBar: n };
38
56
  }, { hasScrollBar: R, scrollbarSize: k } = s(() => {
39
- const { hasScrollBar: e, scrollbarSize: t } = H();
57
+ const { hasScrollBar: t, scrollbarSize: e } = $();
40
58
  return {
41
- hasScrollBar: e,
42
- scrollbarSize: t
59
+ hasScrollBar: t,
60
+ scrollbarSize: e
43
61
  };
44
- }, [y == null ? void 0 : y.height]), b = s(() => {
45
- const e = g ?? [], r = e.filter((n) => !re.includes(n)).map((n) => ({
62
+ }, [C == null ? void 0 : C.height]), d = s(() => {
63
+ const t = g ?? [], o = t.filter((n) => !ot.includes(n)).map((n) => ({
46
64
  ...n,
47
65
  width: n.useMaxWidth ? A() ?? n.width : n.width
48
66
  }));
49
- return ue(e, r, !1, !!m, !!l);
50
- }, [g]), p = s(() => ce(b), [b]), $ = s(() => i ? p : b, [i, b, p]), T = s(() => {
51
- const e = (c == null ? void 0 : c.length) ?? 0, t = e > 4 ? e >= 8 ? 8 : e : 4;
52
- return Array.from({ length: t }).map((n, u) => ({
53
- key: `${Date.now()}${u}`
67
+ return ct(
68
+ t,
69
+ o,
70
+ !1,
71
+ !!m,
72
+ !!l
73
+ );
74
+ }, [g]), S = s(() => ut(d), [d]), F = s(() => i ? S : d, [i, d, S]), p = s(() => {
75
+ const t = (u == null ? void 0 : u.length) ?? 0, e = t > 4 ? t >= 8 ? 8 : t : 4;
76
+ return Array.from({ length: e }).map((n, c) => ({
77
+ key: `${Date.now()}${c}`
54
78
  }));
55
- }, [c]), F = s(() => i ? T : c, [i, c, T]), { table: C, locale: G = le } = j(he), _ = { ...G.Table }, J = ((S = C == null ? void 0 : C.expandable) == null ? void 0 : S.expandIcon) || (l == null ? void 0 : l.expandIcon) || ie(_), W = s(() => {
79
+ }, [u]), G = s(() => i ? p : u, [i, u, p]), { table: w, locale: H = lt } = L(bt), _ = { ...H.Table }, J = ((E = w == null ? void 0 : w.expandable) == null ? void 0 : E.expandIcon) || (l == null ? void 0 : l.expandIcon) || it(_), z = s(() => {
56
80
  if (l)
57
81
  return {
58
82
  ...l,
59
- expandedRowRender: () => w.jsx(w.Fragment, {}),
60
- expandIcon: (e) => {
61
- const t = J(e);
83
+ expandedRowRender: () => /* @__PURE__ */ y.jsx(y.Fragment, {}),
84
+ expandIcon: (t) => {
85
+ const e = J(t);
62
86
  return {
63
- ...t,
87
+ ...e,
64
88
  props: {
65
- ...t.props,
89
+ ...e.props,
66
90
  disabled: !0,
67
91
  style: {
68
- ...t.props.style,
92
+ ...e.props.style,
69
93
  backgroundColor: x.colorBgContainerDisabled
70
94
  }
71
95
  }
72
96
  };
73
97
  }
74
98
  };
75
- }, [l]), O = s(() => i ? W : l, [i, l, W]), z = s(() => {
99
+ }, [l]), O = s(() => i ? z : l, [i, l, z]), B = s(() => {
76
100
  if (m)
77
101
  return {
78
102
  ...m,
79
103
  selectedRowKeys: [],
80
104
  getCheckboxProps: () => ({ disabled: !0 })
81
105
  };
82
- }, [m]), Q = s(() => i ? z : m, [i, m, z]), U = s(() => i ? void 0 : a.rowKey, [i, a.rowKey]), V = q((e, t) => {
83
- var n;
84
- if (!a.onRow)
85
- return {};
86
- const r = (n = a.onRow) == null ? void 0 : n.call(a, e, t);
87
- return r.onClick && (r.className = "rowPointerCursor"), r;
88
- }, [a.onRow]), X = q((e, t, r) => {
89
- const n = t % 2 === 0 ? "oddRow" : "evenRow";
90
- if (a.rowClassName) {
91
- const u = a.rowClassName(e, t, r);
92
- return ne(n, u);
93
- }
94
- return n;
95
- }, [a.rowClassName]), Y = (e) => {
96
- var r;
97
- const t = { ...e };
98
- return t.className.includes("ant-table-cell-fix-right") && !R && ((r = t.style) != null && r.right) && (t.style = {
99
- ...t.style,
100
- right: t.style.right - (k || 0)
101
- }), w.jsx("th", { ...t });
106
+ }, [m]), Q = s(() => i ? B : m, [i, m, B]), U = s(() => i ? void 0 : a.rowKey, [i, a.rowKey]), V = j(
107
+ (t, e) => {
108
+ var n;
109
+ if (!a.onRow)
110
+ return {};
111
+ const o = (n = a.onRow) == null ? void 0 : n.call(a, t, e);
112
+ return o.onClick && (o.className = "rowPointerCursor"), o;
113
+ },
114
+ [a.onRow]
115
+ ), X = j(
116
+ (t, e, o) => {
117
+ const n = e % 2 === 0 ? "oddRow" : "evenRow";
118
+ if (a.rowClassName) {
119
+ const c = a.rowClassName(t, e, o);
120
+ return nt(n, c);
121
+ }
122
+ return n;
123
+ },
124
+ [a.rowClassName]
125
+ ), Y = (t) => {
126
+ var o;
127
+ const e = { ...t };
128
+ return e.className.includes("ant-table-cell-fix-right") && !R && ((o = e.style) != null && o.right) && (e.style = {
129
+ ...e.style,
130
+ right: e.style.right - (k || 0)
131
+ }), /* @__PURE__ */ y.jsx("th", { ...e });
102
132
  }, Z = s(() => ({
103
133
  ...f,
104
134
  header: {
@@ -106,8 +136,27 @@ function Ie({ dataSource: c, columns: g, loading: i, scroll: o, components: f, e
106
136
  cell: Y
107
137
  }
108
138
  }), [f, R, k]);
109
- return w.jsx(te, { ...a, bordered: M, columns: $, dataSource: F, loading: !1, pagination: !1, scroll: v, expandable: O, rowSelection: Q, onRow: V, rowClassName: X, components: Z, rowKey: U, rowHoverable: P, ref: d });
139
+ return /* @__PURE__ */ y.jsx(
140
+ et,
141
+ {
142
+ ...a,
143
+ bordered: K,
144
+ columns: F,
145
+ dataSource: G,
146
+ loading: !1,
147
+ pagination: !1,
148
+ scroll: P,
149
+ expandable: O,
150
+ rowSelection: Q,
151
+ onRow: V,
152
+ rowClassName: X,
153
+ components: Z,
154
+ rowKey: U,
155
+ rowHoverable: M,
156
+ ref: h
157
+ }
158
+ );
110
159
  }
111
160
  export {
112
- Ie as default
161
+ vt as default
113
162
  };
@@ -1,48 +1,70 @@
1
1
  import { j as a } from "../../../node_modules/react/jsx-runtime.mjs";
2
2
  import { Resizable as v } from "../../../node_modules/react-resizable/index.mjs";
3
- import { useState as E, useMemo as b, useRef as l } from "react";
3
+ import { useState as E, useMemo as b, useRef as i } from "react";
4
4
  import L from "../../../node_modules/classnames/index.mjs";
5
5
  const d = 56, C = (p) => {
6
- const { hasScrollBar: g, scrollbarSize: y, onResize: x, width: n, datagridref: S, stretchref: u, ...j } = p, [w, m] = E(!1), R = b(() => {
6
+ const { hasScrollBar: g, scrollbarSize: y, onResize: x, width: n, datagridref: S, stretchref: u, ...j } = p, [D, m] = E(!1), R = b(() => {
7
7
  var t, z;
8
8
  const e = { ...j };
9
9
  return ((t = e.className) == null ? void 0 : t.includes("ant-table-cell-fix-right")) && !g && ((z = e.style) != null && z.right) && (e.style = { ...e.style ?? {} }, e.style.right = Number(e.style.right ?? 0) - (y || 0)), e;
10
- }, [p]), c = l(0), f = l(0), r = l(0), i = l(0), o = l(!1), h = b(() => c.current - n + d, [c.current, n]);
10
+ }, [p]), c = i(0), f = i(0), r = i(0), l = i(0), o = i(!1), h = b(() => c.current - n + d, [c.current, n]);
11
11
  if (!n)
12
- return a.jsx("th", { ...R });
13
- const D = (e) => {
12
+ return /* @__PURE__ */ a.jsx("th", { ...R });
13
+ const N = (e) => {
14
14
  if (r.current = e.clientX - f.current, n + r.current - c.current <= d || r.current < h) {
15
15
  o.current = !0;
16
16
  return;
17
17
  }
18
18
  r.current >= h && o.current && (r.current = h, o.current = !1);
19
19
  const t = u.current;
20
- i.current = r.current, t.style.left = `${i.current}px`;
21
- }, N = (e) => {
20
+ l.current = r.current, t.style.left = `${l.current}px`;
21
+ }, w = (e) => {
22
22
  m(!0);
23
23
  const s = u.current;
24
24
  s.style.opacity = 1, s.style.pointerEvents = "auto", f.current = S.current.getBoundingClientRect().left;
25
25
  const t = e.clientX - f.current;
26
- i.current = t, s.style.left = `${t}px`, c.current = t, r.current = t;
26
+ l.current = t, s.style.left = `${t}px`, c.current = t, r.current = t;
27
27
  }, P = (e, s) => {
28
28
  o.current = !1, m(!1);
29
29
  const t = u.current;
30
30
  t.style.opacity = 0, t.style.pointerEvents = "none", setTimeout(() => {
31
31
  t.style.left = "0px";
32
- }, 200), x(e, {
33
- ...s,
34
- minWidth: d,
35
- size: {
36
- ...s.size,
37
- width: n + i.current - c.current
32
+ }, 200), x(
33
+ e,
34
+ {
35
+ ...s,
36
+ minWidth: d,
37
+ size: {
38
+ ...s.size,
39
+ width: n + l.current - c.current
40
+ }
38
41
  }
39
- }), i.current = 0, c.current = 0, r.current = 0;
40
- }, X = a.jsx("span", { className: "bitzResizableHandle", onClick: (e) => {
41
- e.stopPropagation(), e.preventDefault();
42
- } });
43
- return a.jsx(v, { width: n, height: 0, handle: X, className: L("bitzResizable", {
44
- disabledUserSelect: w
45
- }), onResize: D, onResizeStart: N, onResizeStop: P, draggableOpts: { enableUserSelectHack: !1 }, children: a.jsx("th", { ...R }) });
42
+ ), l.current = 0, c.current = 0, r.current = 0;
43
+ }, X = /* @__PURE__ */ a.jsx(
44
+ "span",
45
+ {
46
+ className: "bitzResizableHandle",
47
+ onClick: (e) => {
48
+ e.stopPropagation(), e.preventDefault();
49
+ }
50
+ }
51
+ );
52
+ return /* @__PURE__ */ a.jsx(
53
+ v,
54
+ {
55
+ width: n,
56
+ height: 0,
57
+ handle: X,
58
+ className: L("bitzResizable", {
59
+ disabledUserSelect: D
60
+ }),
61
+ onResize: N,
62
+ onResizeStart: w,
63
+ onResizeStop: P,
64
+ draggableOpts: { enableUserSelectHack: !1 },
65
+ children: /* @__PURE__ */ a.jsx("th", { ...R })
66
+ }
67
+ );
46
68
  };
47
69
  export {
48
70
  C as default