bitz-react-admin-ui 2.7.10 → 2.7.11

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 (180) hide show
  1. package/dist/assets/iconfont/IconChenggong.mjs +4 -25
  2. package/dist/assets/iconfont/IconClose.mjs +3 -24
  3. package/dist/assets/iconfont/IconColumnCancelFixed.mjs +2 -23
  4. package/dist/assets/iconfont/IconColumnFixedLeft.mjs +6 -27
  5. package/dist/assets/iconfont/IconColumnFixedRight.mjs +6 -27
  6. package/dist/assets/iconfont/IconCuowu.mjs +2 -23
  7. package/dist/assets/iconfont/IconDragOrder.mjs +4 -25
  8. package/dist/assets/iconfont/IconDuigoux.mjs +4 -25
  9. package/dist/assets/iconfont/IconFabu.mjs +5 -35
  10. package/dist/assets/iconfont/IconFanhui.mjs +4 -25
  11. package/dist/assets/iconfont/IconGaojisousuo.mjs +5 -26
  12. package/dist/assets/iconfont/IconHangfengexian.mjs +3 -41
  13. package/dist/assets/iconfont/IconHangliefengexian.mjs +4 -42
  14. package/dist/assets/iconfont/IconIcFluentHomeRegular.mjs +5 -26
  15. package/dist/assets/iconfont/IconIcon21.mjs +4 -25
  16. package/dist/assets/iconfont/IconJincoude.mjs +4 -25
  17. package/dist/assets/iconfont/IconJinggao.mjs +4 -25
  18. package/dist/assets/iconfont/IconKuansongde.mjs +5 -26
  19. package/dist/assets/iconfont/IconLiefengexian.mjs +3 -41
  20. package/dist/assets/iconfont/IconMore.mjs +4 -41
  21. package/dist/assets/iconfont/IconShanchu.mjs +6 -27
  22. package/dist/assets/iconfont/IconShanchu1.mjs +5 -35
  23. package/dist/assets/iconfont/IconSousuo.mjs +6 -27
  24. package/dist/assets/iconfont/IconTejincou.mjs +4 -25
  25. package/dist/assets/iconfont/IconTekuansong.mjs +5 -26
  26. package/dist/assets/iconfont/IconTishi1.mjs +6 -27
  27. package/dist/assets/iconfont/IconTuodong.mjs +7 -28
  28. package/dist/assets/iconfont/IconWubanmawentianchong.mjs +3 -35
  29. package/dist/assets/iconfont/IconWufengexian.mjs +4 -26
  30. package/dist/assets/iconfont/IconXinxitishi.mjs +6 -27
  31. package/dist/assets/iconfont/IconYoubanmawentianchong.mjs +3 -34
  32. package/dist/assets/iconfont/IconZhongdengde.mjs +3 -24
  33. package/dist/assets/iconfont/IconZhongzhi.mjs +3 -24
  34. package/dist/assets/iconfont/index.mjs +33 -33
  35. package/dist/components/BitzAddTag/index.mjs +8 -41
  36. package/dist/components/BitzAddressBook/index.mjs +35 -122
  37. package/dist/components/BitzAppPage/index.mjs +4 -18
  38. package/dist/components/BitzAppRefresh/index.mjs +15 -27
  39. package/dist/components/BitzBetterScroll/index.mjs +5 -5
  40. package/dist/components/BitzButton/index.mjs +9 -23
  41. package/dist/components/BitzCalendar/index.mjs +19 -52
  42. package/dist/components/BitzCascader/BitzCascaderMobile.mjs +30 -68
  43. package/dist/components/BitzCascader/index.mjs +2 -6
  44. package/dist/components/BitzCollapse/index.mjs +4 -4
  45. package/dist/components/BitzConfigProvider/context.mjs +1 -3
  46. package/dist/components/BitzConfigProvider/index.mjs +8 -12
  47. package/dist/components/BitzConfirmModal/index.mjs +1 -24
  48. package/dist/components/BitzDescriptions/index.mjs +1 -11
  49. package/dist/components/BitzDrawer/index.mjs +2 -17
  50. package/dist/components/BitzEmpty/index.mjs +2 -6
  51. package/dist/components/BitzException/index.mjs +1 -6
  52. package/dist/components/BitzFloatLayout/index.mjs +1 -10
  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 +16 -13
  58. package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +20 -26
  59. package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +3 -21
  60. package/dist/components/BitzFuiCalendar/CalendarBody.mjs +4 -27
  61. package/dist/components/BitzFuiCalendar/CalendarHead.mjs +2 -5
  62. package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +3 -12
  63. package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +15 -47
  64. package/dist/components/BitzFuiCalendar/ColumnData.mjs +9 -25
  65. package/dist/components/BitzFuiCalendar/FuiCalendarItem.mjs +8 -44
  66. package/dist/components/BitzFuiCalendar/index.mjs +1 -7
  67. package/dist/components/BitzFullScreen/index.mjs +6 -9
  68. package/dist/components/BitzHighlight/Child.mjs +9 -23
  69. package/dist/components/BitzHighlight/Highlight.mjs +5 -26
  70. package/dist/components/BitzHighlight/chunks.mjs +17 -20
  71. package/dist/components/BitzHighlight/style.mjs +1 -4
  72. package/dist/components/BitzImage/index.mjs +1 -1
  73. package/dist/components/BitzImage/previewImage.mjs +5 -12
  74. package/dist/components/BitzLanguageTabs/index.mjs +3 -14
  75. package/dist/components/BitzLazyLoad/index.mjs +1 -7
  76. package/dist/components/BitzList/List.mjs +3 -17
  77. package/dist/components/BitzList/LoadMore.mjs +20 -29
  78. package/dist/components/BitzLoadMore/index.mjs +14 -34
  79. package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +11 -24
  80. package/dist/components/BitzMeetingTime/index.mjs +6 -10
  81. package/dist/components/BitzMobileLoading/index.mjs +1 -1
  82. package/dist/components/BitzModal/index.mjs +11 -24
  83. package/dist/components/BitzNoData/index.mjs +1 -4
  84. package/dist/components/BitzNoMore/index.mjs +1 -1
  85. package/dist/components/BitzOrganizationSelection/index.mjs +14 -43
  86. package/dist/components/BitzPageContainer/index.mjs +46 -107
  87. package/dist/components/BitzPageHeader/index.mjs +21 -89
  88. package/dist/components/BitzPagination/index.mjs +22 -71
  89. package/dist/components/BitzPopover/index.mjs +4 -4
  90. package/dist/components/BitzPullRefresh/PullRefresh.mjs +18 -47
  91. package/dist/components/BitzQRCode/index.mjs +1 -6
  92. package/dist/components/BitzQueryFilter/QueryFilterContent.mjs +17 -35
  93. package/dist/components/BitzQueryFilter/QueryFilterDrawer.mjs +13 -20
  94. package/dist/components/BitzQueryFilter/QueryFilterMobile.mjs +1 -4
  95. package/dist/components/BitzQueryFilter/index.mjs +20 -69
  96. package/dist/components/BitzRefresh/index.mjs +1 -5
  97. package/dist/components/BitzRemark/index.mjs +4 -4
  98. package/dist/components/BitzScheduleCenter/index.mjs +30 -24
  99. package/dist/components/BitzSearch/index.mjs +1 -1
  100. package/dist/components/BitzSelect/component/BitzSelectMobile.mjs +48 -123
  101. package/dist/components/BitzSelect/index.mjs +1 -1
  102. package/dist/components/BitzSkeleton/index.mjs +1 -31
  103. package/dist/components/BitzSwitch/index.mjs +2 -7
  104. package/dist/components/BitzTabbar/BitzTabbar.mjs +8 -25
  105. package/dist/components/BitzTabbar/BitzTabbarItem.mjs +1 -4
  106. package/dist/components/BitzTable/ActionBar/ActionBar.mjs +12 -80
  107. package/dist/components/BitzTable/ActionBar/Button.mjs +15 -20
  108. package/dist/components/BitzTable/ActionBar/style.mjs +9 -12
  109. package/dist/components/BitzTable/ActionCol/index.mjs +44 -182
  110. package/dist/components/BitzTable/ActionCol/style.mjs +12 -15
  111. package/dist/components/BitzTable/Dropdown/index.mjs +1 -8
  112. package/dist/components/BitzTable/Dropdown/style.mjs +6 -9
  113. package/dist/components/BitzTable/SelectionBar/Button.mjs +6 -19
  114. package/dist/components/BitzTable/SelectionBar/SelectionBar.mjs +4 -11
  115. package/dist/components/BitzTable/SelectionBar/style.mjs +8 -18
  116. package/dist/components/BitzTable/Store/index.mjs +62 -103
  117. package/dist/components/BitzTable/Store/utils/index.mjs +5 -5
  118. package/dist/components/BitzTable/SubTable/index.mjs +73 -122
  119. package/dist/components/BitzTable/Table/ResizableTitle copy.mjs +21 -43
  120. package/dist/components/BitzTable/Table/SortTableContext.mjs +17 -39
  121. package/dist/components/BitzTable/Table/SortableRow.mjs +20 -44
  122. package/dist/components/BitzTable/Table/index.mjs +303 -552
  123. package/dist/components/BitzTable/Table/style.mjs +1 -10
  124. package/dist/components/BitzTable/Table/utils.mjs +4 -11
  125. package/dist/components/BitzTable/TextOverflow/index.mjs +3 -12
  126. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +31 -105
  127. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndItem.mjs +23 -104
  128. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndList.mjs +29 -68
  129. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +159 -346
  130. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndItem.mjs +16 -50
  131. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndList.mjs +16 -42
  132. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +38 -135
  133. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/RadioCard.mjs +2 -9
  134. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/ScopeSwitch.mjs +5 -18
  135. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +49 -121
  136. package/dist/components/BitzTable/ToolBar/ColConfigIcon/index.mjs +18 -62
  137. package/dist/components/BitzTable/ToolBar/ExportIcon/ExportModal.mjs +16 -59
  138. package/dist/components/BitzTable/ToolBar/ExportIcon/index.mjs +14 -42
  139. package/dist/components/BitzTable/ToolBar/FullscreenIcon/index.mjs +5 -20
  140. package/dist/components/BitzTable/ToolBar/Modal/index.mjs +14 -46
  141. package/dist/components/BitzTable/ToolBar/RefreshIcon/index.mjs +9 -20
  142. package/dist/components/BitzTable/ToolBar/Wrapper/index.mjs +2 -49
  143. package/dist/components/BitzTable/ToolBar/style.mjs +1 -6
  144. package/dist/components/BitzTableOperations/index.mjs +3 -13
  145. package/dist/components/BitzTableSelect/Picker/index.mjs +10 -43
  146. package/dist/components/BitzTableSelect/Select/index.mjs +21 -90
  147. package/dist/components/BitzTableSelect/SelectPopup/getData.mjs +13 -23
  148. package/dist/components/BitzTableSelect/SelectPopup/index.mjs +69 -219
  149. package/dist/components/BitzTableSelect/SingleSelect/index.mjs +22 -87
  150. package/dist/components/BitzTableSelect/TableCell/index.mjs +11 -52
  151. package/dist/components/BitzTableSelect/TextBlock/index.mjs +12 -30
  152. package/dist/components/BitzTableSelect/index.mjs +14 -65
  153. package/dist/components/BitzTableSelect/utils.mjs +3 -3
  154. package/dist/components/BitzTag/index.mjs +1 -1
  155. package/dist/components/BitzText/index.mjs +14 -41
  156. package/dist/components/BitzText/utils.mjs +3 -3
  157. package/dist/components/BitzTheme/index.mjs +6 -6
  158. package/dist/components/BitzTimeline/index.mjs +1 -11
  159. package/dist/components/BitzTimer/Form.mjs +11 -32
  160. package/dist/components/BitzTimer/Timer.mjs +38 -76
  161. package/dist/components/BitzTimer/index.mjs +43 -66
  162. package/dist/components/BitzToast/Toast/index.mjs +10 -28
  163. package/dist/components/BitzToast/index.mjs +1 -1
  164. package/dist/components/BitzTooltip/index.mjs +20 -59
  165. package/dist/components/BitzTooltip/style.mjs +6 -9
  166. package/dist/components/BitzTooltip/utils.mjs +2 -2
  167. package/dist/components/BitzTree/index.mjs +1 -4
  168. package/dist/components/BitzUeEditor/index.mjs +5 -5
  169. package/dist/components/BitzUpload/index.mjs +43 -81
  170. package/dist/components/BitzWebAppDrawer/index.mjs +4 -35
  171. package/dist/components/BitzWebAppModal/index.mjs +3 -6
  172. package/dist/hooks/use-event-listener.mjs +2 -11
  173. package/dist/hooks/use-lock-fn.mjs +10 -13
  174. package/dist/hooks/use-scroll-parent.mjs +14 -16
  175. package/dist/hooks/useEvent.mjs +4 -7
  176. package/dist/hooks/useMergedState.mjs +11 -11
  177. package/dist/style.css +1 -1
  178. package/dist/utils/WithFluent.mjs +3 -9
  179. package/dist/utils/create.mjs +1 -7
  180. package/package.json +1 -1
@@ -18,28 +18,25 @@ const A = t.forwardRef((o, R) => {
18
18
  } catch {
19
19
  d(!0);
20
20
  }
21
- }), l = t.useRef(null), [m, h] = t.useState({}), c = t.useRef(m), [i, _] = t.useState(), { run: a } = b(
22
- async () => {
23
- if (c.current !== m || e.finished || u)
24
- return;
25
- const n = l.current;
26
- if (!n || !n.offsetParent)
27
- return;
28
- const r = L(n);
29
- if (_(r), !r)
30
- return;
31
- const N = n.getBoundingClientRect().top;
32
- if ((F(r) ? window.innerHeight : r.getBoundingClientRect().bottom) >= N - e.threshold) {
33
- const p = {};
34
- c.current = p, await f(!1), h(p);
35
- }
36
- },
37
- {
38
- wait: 100,
39
- leading: !0,
40
- trailing: !0
21
+ }), l = t.useRef(null), [m, h] = t.useState({}), c = t.useRef(m), [i, _] = t.useState(), { run: a } = b(async () => {
22
+ if (c.current !== m || e.finished || u)
23
+ return;
24
+ const n = l.current;
25
+ if (!n || !n.offsetParent)
26
+ return;
27
+ const r = L(n);
28
+ if (_(r), !r)
29
+ return;
30
+ const N = n.getBoundingClientRect().top;
31
+ if ((F(r) ? window.innerHeight : r.getBoundingClientRect().bottom) >= N - e.threshold) {
32
+ const p = {};
33
+ c.current = p, await f(!1), h(p);
41
34
  }
42
- );
35
+ }, {
36
+ wait: 100,
37
+ leading: !0,
38
+ trailing: !0
39
+ });
43
40
  t.useEffect(() => {
44
41
  a();
45
42
  }), t.useEffect(() => {
@@ -55,14 +52,8 @@ const A = t.forwardRef((o, R) => {
55
52
  async function g() {
56
53
  d(!1), await f(!0), h(c.current);
57
54
  }
58
- const v = () => e.finishedText ? /* @__PURE__ */ s.jsx("div", { className: "bitz-list__finished", children: e.finishedText || "加载完成" }) : null, w = () => e.errorText ? typeof e.errorText == "function" ? e.errorText(g) : /* @__PURE__ */ s.jsx("div", { onClick: g, className: "bitz_error", children: e.errorText }) : null, T = () => /* @__PURE__ */ s.jsxs("div", { className: "bitz-list__loading", children: [
59
- /* @__PURE__ */ s.jsx(E, { tip: "Loading", size: "small" }),
60
- /* @__PURE__ */ s.jsx("div", { className: "bitz-list__loadingText", children: e.loadingText || "加载中..." })
61
- ] }), j = () => e.finished ? v() : u ? w() : T();
62
- return t.useImperativeHandle(R, () => ({ check: a })), /* @__PURE__ */ s.jsxs("div", { className: x(e.className, "bitz-list"), style: e.style, children: [
63
- e.children,
64
- /* @__PURE__ */ s.jsx("div", { className: x(e.className, "bitz-list__loadmore"), ref: l, children: j() })
65
- ] });
55
+ const v = () => e.finishedText ? s.jsx("div", { className: "bitz-list__finished", children: e.finishedText || "加载完成" }) : null, w = () => e.errorText ? typeof e.errorText == "function" ? e.errorText(g) : s.jsx("div", { onClick: g, className: "bitz_error", children: e.errorText }) : null, T = () => s.jsxs("div", { className: "bitz-list__loading", children: [s.jsx(E, { tip: "Loading", size: "small" }), s.jsx("div", { className: "bitz-list__loadingText", children: e.loadingText || "加载中..." })] }), j = () => e.finished ? v() : u ? w() : T();
56
+ return t.useImperativeHandle(R, () => ({ check: a })), s.jsxs("div", { className: x(e.className, "bitz-list"), style: e.style, children: [e.children, s.jsx("div", { className: x(e.className, "bitz-list__loadmore"), ref: l, children: j() })] });
66
57
  });
67
58
  export {
68
59
  A as default
@@ -1,40 +1,20 @@
1
- import { j as e } from "../../node_modules/react/jsx-runtime.mjs";
2
- import { useState as p, useEffect as u } from "react";
1
+ import { j as o } from "../../node_modules/react/jsx-runtime.mjs";
2
+ import { useState as u, useEffect as m } from "react";
3
3
  import d from "../BitzBetterScroll/index.mjs";
4
- import x from "../BitzRefresh/index.mjs";
5
- import h from "../BitzNoMore/index.mjs";
4
+ import h from "../BitzRefresh/index.mjs";
5
+ import x from "../BitzNoMore/index.mjs";
6
6
  import "./index.less.mjs";
7
- const L = ({
8
- extra: s,
9
- refreshEmit: i = () => {
10
- },
11
- loadEmit: n = () => {
12
- },
13
- height: a,
14
- showNoMore: l = !1,
15
- loading: o,
16
- color: f
17
- }) => {
18
- const [t, r] = p(!1), c = () => {
19
- o || l || (console.log("加载更多"), n());
20
- }, m = () => {
21
- t || (console.log("下拉刷新"), r(!0), i());
7
+ const L = ({ extra: t, refreshEmit: i = () => {
8
+ }, loadEmit: n = () => {
9
+ }, height: a, showNoMore: r = !1, loading: e, color: f }) => {
10
+ const [l, s] = u(!1), c = () => {
11
+ e || r || (console.log("加载更多"), n());
12
+ }, p = () => {
13
+ l || (console.log("下拉刷新"), s(!0), i());
22
14
  };
23
- return u(() => {
24
- o || r(!1);
25
- }, [o]), /* @__PURE__ */ e.jsx("div", { className: "BitzLoadMorePage", style: { height: `${a}px` }, children: /* @__PURE__ */ e.jsx(
26
- d,
27
- {
28
- pullUp: c,
29
- pullDown: m,
30
- pullDownLoading: t,
31
- children: /* @__PURE__ */ e.jsxs("div", { className: "scrollBox", children: [
32
- /* @__PURE__ */ e.jsx(x, { color: f, showRefresh: t }),
33
- s,
34
- /* @__PURE__ */ e.jsx(h, { showNoMore: l })
35
- ] })
36
- }
37
- ) });
15
+ return m(() => {
16
+ e || s(!1);
17
+ }, [e]), o.jsx("div", { className: "BitzLoadMorePage", style: { height: `${a}px` }, children: o.jsx(d, { pullUp: c, pullDown: p, pullDownLoading: l, children: o.jsxs("div", { className: "scrollBox", children: [o.jsx(h, { color: f, showRefresh: l }), t, o.jsx(x, { showNoMore: r })] }) }) });
38
18
  };
39
19
  export {
40
20
  L as default
@@ -1,15 +1,15 @@
1
1
  import { j as s } from "../../node_modules/react/jsx-runtime.mjs";
2
- import { useState as w, useMemo as x, useEffect as E } from "react";
3
- import A from "../../node_modules/dayjs/plugin/objectSupport.mjs";
2
+ import { useState as j, useMemo as x, useEffect as E } from "react";
3
+ import C from "../../node_modules/dayjs/plugin/objectSupport.mjs";
4
4
  import H from "../../node_modules/dayjs/plugin/isSameOrAfter.mjs";
5
5
  import D from "../../node_modules/dayjs/plugin/utc.mjs";
6
6
  import e from "../../node_modules/dayjs/dayjs.min.mjs";
7
7
  import "./index.less.mjs";
8
- e.extend(A);
8
+ e.extend(C);
9
9
  e.extend(H);
10
10
  e.extend(D);
11
- const G = (T) => {
12
- const { hour: o, range: n = 0, divide: i = 2, nowTime: d, time: p = [] } = T, [B, m] = w(!0), [a, v] = w({}), u = x(() => e({ hour: o, minute: n * (60 / i) }), [o, n, i]), c = x(() => e({
11
+ const G = (w) => {
12
+ const { hour: o, range: n = 0, divide: i = 2, nowTime: d, time: p = [] } = w, [T, m] = j(!0), [a, v] = j({}), u = x(() => e({ hour: o, minute: n * (60 / i) }), [o, n, i]), c = x(() => e({
13
13
  hour: o,
14
14
  minute: n * (60 / i)
15
15
  }).add(n === i - 1 ? 60 / i - 0.1 : 60 / i, "m"), [o, n, i]), g = x(() => e({
@@ -29,36 +29,23 @@ const G = (T) => {
29
29
  return c.hour() === t.hour() ? t.minute() % 30 ? t.minute() >= u.minute() : c.minute() <= t.minute() : c.hour() <= t.hour();
30
30
  }, S = (r) => I(r.start) && N(r.end), y = () => {
31
31
  const t = p.filter((f) => {
32
- const h = e(f.start).utc(), j = e(f.end).utc();
32
+ const h = e(f.start).utc(), B = e(f.end).utc();
33
33
  if (d !== "") {
34
34
  const l = e(d);
35
35
  if (h.isBefore(l))
36
36
  return h.isBefore(l);
37
- if (j.isAfter(l))
38
- return j.isAfter(l);
37
+ if (B.isAfter(l))
38
+ return B.isAfter(l);
39
39
  } else
40
40
  return e().isSame(h, "day");
41
41
  }).map(S);
42
42
  t.includes(!0);
43
- const z = t.findIndex((f) => f), C = p[z];
44
- v(C);
43
+ const z = t.findIndex((f) => f), A = p[z];
44
+ v(A);
45
45
  };
46
46
  return E(() => {
47
47
  M(), y();
48
- }, [o, n, i]), B ? /* @__PURE__ */ s.jsx("li", { className: "BitzMeetingTime2ItemBlock free", children: a ? /* @__PURE__ */ s.jsxs("div", { children: [
49
- "预定人: ",
50
- a == null ? void 0 : a.employeeName
51
- ] }) : /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
52
- /* @__PURE__ */ s.jsx("div", { children: u && u.format("HH:mm") }),
53
- /* @__PURE__ */ s.jsx("div", { children: g })
54
- ] }) }) : /* @__PURE__ */ s.jsx("li", { className: "BitzMeetingTime2ItemBlock", children: /* @__PURE__ */ s.jsx("svg", { d: "1637220087567", className: "icon", viewBox: "0 0 1025 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "p-id": "2488", width: "20", height: "20", children: /* @__PURE__ */ s.jsx(
55
- "path",
56
- {
57
- d: "M906.9 184.9c-20.5-24.7-43.3-47.4-68-67.8C750.4 44 636.8 0 513 0 230.2 0 1 229.2 1 512c0 123.8 44 237.4 117.2 326 20.4 24.7 43.1 47.5 67.8 68 88.6 73.7 202.6 118 327 118 282.8 0 512-229.2 512-512 0-124.4-44.3-238.4-118.1-327.1z m-777.2 489C108 622.7 97 568.2 97 512s11-110.7 32.7-161.9c20.9-49.5 51-94 89.2-132.3 38.2-38.2 82.7-68.2 132.3-89.2C402.3 107 456.8 96 513 96s110.7 11 161.9 32.6c22.5 9.5 43.9 20.9 64.2 34 17 11 19.4 35 5 49.4L213 743.1c-14.3 14.3-38.3 12-49.4-5-13.1-20.3-24.4-41.7-33.9-64.2z m677.5 132.3c-38.2 38.2-82.7 68.2-132.3 89.2C623.7 917 569.2 928 513 928s-110.7-11-161.9-32.7c-22.9-9.7-44.8-21.3-65.4-34.8-16.9-11.1-19.3-35-5-49.3l531.5-531.5c14.3-14.3 38.2-12 49.3 5 13.5 20.7 25.1 42.5 34.8 65.4C918 401.3 929 455.8 929 512s-11 110.7-32.7 161.9c-20.9 49.5-50.9 94-89.1 132.3z",
58
- "p-id": "2489",
59
- fill: "#D8D8D8"
60
- }
61
- ) }) });
48
+ }, [o, n, i]), T ? s.jsx("li", { className: "BitzMeetingTime2ItemBlock free", children: a ? s.jsxs("div", { children: ["预定人: ", a == null ? void 0 : a.employeeName] }) : s.jsxs(s.Fragment, { children: [s.jsx("div", { children: u && u.format("HH:mm") }), s.jsx("div", { children: g })] }) }) : s.jsx("li", { className: "BitzMeetingTime2ItemBlock", children: s.jsx("svg", { d: "1637220087567", className: "icon", viewBox: "0 0 1025 1024", version: "1.1", xmlns: "http://www.w3.org/2000/svg", "p-id": "2488", width: "20", height: "20", children: s.jsx("path", { d: "M906.9 184.9c-20.5-24.7-43.3-47.4-68-67.8C750.4 44 636.8 0 513 0 230.2 0 1 229.2 1 512c0 123.8 44 237.4 117.2 326 20.4 24.7 43.1 47.5 67.8 68 88.6 73.7 202.6 118 327 118 282.8 0 512-229.2 512-512 0-124.4-44.3-238.4-118.1-327.1z m-777.2 489C108 622.7 97 568.2 97 512s11-110.7 32.7-161.9c20.9-49.5 51-94 89.2-132.3 38.2-38.2 82.7-68.2 132.3-89.2C402.3 107 456.8 96 513 96s110.7 11 161.9 32.6c22.5 9.5 43.9 20.9 64.2 34 17 11 19.4 35 5 49.4L213 743.1c-14.3 14.3-38.3 12-49.4-5-13.1-20.3-24.4-41.7-33.9-64.2z m677.5 132.3c-38.2 38.2-82.7 68.2-132.3 89.2C623.7 917 569.2 928 513 928s-110.7-11-161.9-32.7c-22.9-9.7-44.8-21.3-65.4-34.8-16.9-11.1-19.3-35-5-49.3l531.5-531.5c14.3-14.3 38.2-12 49.3 5 13.5 20.7 25.1 42.5 34.8 65.4C918 401.3 929 455.8 929 512s-11 110.7-32.7 161.9c-20.9 49.5-50.9 94-89.1 132.3z", "p-id": "2489", fill: "#D8D8D8" }) }) });
62
49
  };
63
50
  export {
64
51
  G as default
@@ -1,17 +1,13 @@
1
1
  import { j as e } from "../../node_modules/react/jsx-runtime.mjs";
2
- import { useMemo as d } from "react";
3
- import p from "../../node_modules/dayjs/plugin/objectSupport.mjs";
4
- import T from "./BitzMeetingTimeItem.mjs";
2
+ import { useMemo as u } from "react";
3
+ import T from "../../node_modules/dayjs/plugin/objectSupport.mjs";
4
+ import p from "./BitzMeetingTimeItem.mjs";
5
5
  import m from "../../node_modules/dayjs/dayjs.min.mjs";
6
6
  import "./index.less.mjs";
7
- m.extend(p);
7
+ m.extend(T);
8
8
  const x = (a) => {
9
- const { startHour: t = 9, endHour: r = 18, divide: o = 2, time: l = [], current: c, nowTime: u = m().toString() } = a, s = d(() => r - t, [t, r]);
10
- return console.log("lengthTime", s), /* @__PURE__ */ e.jsx("div", { className: "BitzMeetingTime2Block", children: [...new Array(s).keys()].map((g, i) => /* @__PURE__ */ e.jsxs("div", { className: "BitzMeetingTimeRow", children: [
11
- /* @__PURE__ */ e.jsx("div", { className: "BitzMeetingTimeTopTime", children: m({ hour: t + i }).format("HH:mm") }),
12
- /* @__PURE__ */ e.jsx("ul", { className: "BitzMeetingTimeList", children: [...new Array(o).keys()].map((h, n) => /* @__PURE__ */ e.jsx(T, { hour: t + i, range: n, time: l, divide: o, current: c, nowTime: u }, n)) }),
13
- /* @__PURE__ */ e.jsx("div", { className: "BitzMeetingTimeBottomTime", children: m({ hour: t + i }).add(1, "hour").format("HH:mm") })
14
- ] }, i)) });
9
+ const { startHour: t = 9, endHour: r = 18, divide: o = 2, time: c = [], current: l, nowTime: d = m().toString() } = a, s = u(() => r - t, [t, r]);
10
+ return console.log("lengthTime", s), e.jsx("div", { className: "BitzMeetingTime2Block", children: [...new Array(s).keys()].map((g, i) => e.jsxs("div", { className: "BitzMeetingTimeRow", children: [e.jsx("div", { className: "BitzMeetingTimeTopTime", children: m({ hour: t + i }).format("HH:mm") }), e.jsx("ul", { className: "BitzMeetingTimeList", children: [...new Array(o).keys()].map((h, n) => e.jsx(p, { hour: t + i, range: n, time: c, divide: o, current: l, nowTime: d }, n)) }), e.jsx("div", { className: "BitzMeetingTimeBottomTime", children: m({ hour: t + i }).add(1, "hour").format("HH:mm") })] }, i)) });
15
11
  };
16
12
  export {
17
13
  x as default
@@ -2,7 +2,7 @@ import { j as i } from "../../node_modules/react/jsx-runtime.mjs";
2
2
  import { isMobile as r } from "../../node_modules/react-device-detect/dist/lib.mjs";
3
3
  import { Spin as s } from "antd";
4
4
  import "./index.less.mjs";
5
- const n = ({ loading: o = !1 }) => /* @__PURE__ */ i.jsx(i.Fragment, { children: r && o && /* @__PURE__ */ i.jsx("div", { className: "bitzLoadingBlock", children: /* @__PURE__ */ i.jsx(s, { size: "large", tip: "Loading..." }) }) });
5
+ const n = ({ loading: o = !1 }) => i.jsx(i.Fragment, { children: r && o && i.jsx("div", { className: "bitzLoadingBlock", children: i.jsx(s, { size: "large", tip: "Loading..." }) }) });
6
6
  export {
7
7
  n as default
8
8
  };
@@ -1,11 +1,11 @@
1
- import { j as t } from "../../node_modules/react/jsx-runtime.mjs";
1
+ import { j as a } from "../../node_modules/react/jsx-runtime.mjs";
2
2
  import { useState as d } from "react";
3
3
  import { Modal as m } from "antd";
4
4
  import "./index.less.mjs";
5
- import p from "../../node_modules/@ant-design/icons/es/icons/CloseOutlined.mjs";
6
- const j = ({ modalOpen: c = !1, modalEmit: o = () => {
7
- }, modalText: l, deleteId: n, deleteUrl: r }) => {
8
- const [i, s] = d(!1), a = (e) => {
5
+ import u from "../../node_modules/@ant-design/icons/es/icons/CloseOutlined.mjs";
6
+ const j = ({ modalOpen: t = !1, modalEmit: o = () => {
7
+ }, modalText: n, deleteId: l, deleteUrl: r }) => {
8
+ const [i, s] = d(!1), c = (e) => {
9
9
  switch (e) {
10
10
  case "ok":
11
11
  f();
@@ -17,30 +17,17 @@ const j = ({ modalOpen: c = !1, modalEmit: o = () => {
17
17
  }, f = async () => {
18
18
  try {
19
19
  s(!0);
20
- const e = await r(n);
20
+ const e = await r(l);
21
21
  s(!1), console.log("res", e), o("success");
22
22
  } catch (e) {
23
23
  s(!1), o("fail"), console.log("e", e);
24
24
  }
25
25
  };
26
- return /* @__PURE__ */ t.jsx(
27
- m,
28
- {
29
- className: "bitzModalBlock",
30
- title: "提示",
31
- width: 400,
32
- open: c,
33
- closeIcon: /* @__PURE__ */ t.jsx(p, {}),
34
- onOk: () => {
35
- a("ok");
36
- },
37
- confirmLoading: i,
38
- onCancel: () => {
39
- a("cancel");
40
- },
41
- children: /* @__PURE__ */ t.jsx("div", { className: "textBox", children: l || "您确定要删除吗?" })
42
- }
43
- );
26
+ return a.jsx(m, { className: "bitzModalBlock", title: "提示", width: 400, open: t, closeIcon: a.jsx(u, {}), onOk: () => {
27
+ c("ok");
28
+ }, confirmLoading: i, onCancel: () => {
29
+ c("cancel");
30
+ }, children: a.jsx("div", { className: "textBox", children: n || "您确定要删除吗?" }) });
44
31
  };
45
32
  export {
46
33
  j as default
@@ -1,10 +1,7 @@
1
1
  import { j as t } from "../../node_modules/react/jsx-runtime.mjs";
2
2
  import m from "../../assets/images/nodata.png.mjs";
3
3
  import "./index.less.mjs";
4
- const x = ({ data: a = [], title: s = "暂无数据", img: r, width: o = 200, height: e = 200, ...i }) => /* @__PURE__ */ t.jsx(t.Fragment, { children: a.length == 0 && /* @__PURE__ */ t.jsxs("div", { ...i, className: "bitzNoDataBlock", children: [
5
- /* @__PURE__ */ t.jsx("img", { src: r || m, width: o, height: e }),
6
- /* @__PURE__ */ t.jsx("div", { className: "noDataText", children: s })
7
- ] }) });
4
+ const x = ({ data: a = [], title: s = "暂无数据", img: i, width: r = 200, height: e = 200, ...o }) => t.jsx(t.Fragment, { children: a.length == 0 && t.jsxs("div", { ...o, className: "bitzNoDataBlock", children: [t.jsx("img", { src: i || m, width: r, height: e }), t.jsx("div", { className: "noDataText", children: s })] }) });
8
5
  export {
9
6
  x as default
10
7
  };
@@ -1,6 +1,6 @@
1
1
  import { j as r } from "../../node_modules/react/jsx-runtime.mjs";
2
2
  import "./index.less.mjs";
3
- const i = ({ showNoMore: e = !1, title: t }) => /* @__PURE__ */ r.jsx(r.Fragment, { children: e && /* @__PURE__ */ r.jsx("div", { className: "bitzNoMoreBlick", children: t || "暂无更多数据" }) });
3
+ const i = ({ showNoMore: e = !1, title: t }) => r.jsx(r.Fragment, { children: e && r.jsx("div", { className: "bitzNoMoreBlick", children: t || "暂无更多数据" }) });
4
4
  export {
5
5
  i as default
6
6
  };
@@ -1,59 +1,30 @@
1
1
  import { j as e } from "../../node_modules/react/jsx-runtime.mjs";
2
- import { theme as y, Input as C, Tree as b, Space as N, Button as S, Tag as w } from "antd";
3
- import { useEffect as z } from "react";
4
- import { useImmer as T } from "../../node_modules/use-immer/dist/use-immer.module.mjs";
2
+ import { theme as k, Input as y, Tree as E, Space as b, Button as N, Tag as S } from "antd";
3
+ import { useEffect as w } from "react";
4
+ import { useImmer as z } from "../../node_modules/use-immer/dist/use-immer.module.mjs";
5
5
  import "./components/select.module.less.mjs";
6
6
  import "../../node_modules/react-device-detect/dist/lib.mjs";
7
7
  import "../BitzDrawer/index.less.mjs";
8
8
  import s from "./index.module.less.mjs";
9
- import v from "../../node_modules/@ant-design/icons/es/icons/CaretDownFilled.mjs";
10
- import E from "../../node_modules/@ant-design/icons/es/icons/SettingFilled.mjs";
11
- const { CheckableTag: I } = w, G = (p) => {
12
- const { headerRender: o, tags: t, onTagChange: a, onSearch: c, treeTitle: h, defaultCheckedKeys: u, defaultExpandedKeys: d, treeData: f, onCheck: x } = p, { token: g } = y.useToken(), [l, i] = T({
9
+ import D from "../../node_modules/@ant-design/icons/es/icons/CaretDownFilled.mjs";
10
+ import K from "../../node_modules/@ant-design/icons/es/icons/SettingFilled.mjs";
11
+ const { CheckableTag: T } = S, G = (m) => {
12
+ const { headerRender: o, tags: t, onTagChange: a, onSearch: c, treeTitle: d, defaultCheckedKeys: p, defaultExpandedKeys: h, treeData: f, onCheck: x } = m, { token: g } = k.useToken(), [l, i] = z({
13
13
  tags: []
14
14
  });
15
- z(() => {
15
+ w(() => {
16
16
  t && i((r) => {
17
17
  r.tags = t;
18
18
  });
19
19
  }, [t == null ? void 0 : t.length]);
20
20
  function j() {
21
- return l.tags.length ? /* @__PURE__ */ e.jsxs("div", { className: s.header, children: [
22
- /* @__PURE__ */ e.jsx(N, { size: [0, 8], wrap: !0, children: l.tags.map((r, m) => /* @__PURE__ */ e.jsx(
23
- I,
24
- {
25
- checked: !!r.checked,
26
- onChange: async (n) => {
27
- i((k) => {
28
- k.tags[m].checked = n;
29
- }), a == null || a({ ...r, checked: n }, n);
30
- },
31
- children: r.label
32
- },
33
- m
34
- )) }),
35
- /* @__PURE__ */ e.jsx(S, { icon: /* @__PURE__ */ e.jsx(E, { style: { color: g.colorPrimary } }), type: "text", className: s["setting-btn"] })
36
- ] }) : o == null ? void 0 : o();
21
+ return l.tags.length ? e.jsxs("div", { className: s.header, children: [e.jsx(b, { size: [0, 8], wrap: !0, children: l.tags.map((r, u) => e.jsx(T, { checked: !!r.checked, onChange: async (n) => {
22
+ i((C) => {
23
+ C.tags[u].checked = n;
24
+ }), a == null || a({ ...r, checked: n }, n);
25
+ }, children: r.label }, u)) }), e.jsx(N, { icon: e.jsx(K, { style: { color: g.colorPrimary } }), type: "text", className: s["setting-btn"] })] }) : o == null ? void 0 : o();
37
26
  }
38
- return /* @__PURE__ */ e.jsxs("div", { className: s.container, children: [
39
- j(),
40
- c && /* @__PURE__ */ e.jsx(C, { className: s.search, placeholder: "组织名称查询", onChange: c }),
41
- h,
42
- /* @__PURE__ */ e.jsx(
43
- b,
44
- {
45
- checkable: !0,
46
- showLine: !0,
47
- blockNode: !0,
48
- selectable: !1,
49
- switcherIcon: /* @__PURE__ */ e.jsx(v, { style: { verticalAlign: "top", fontSize: 24, color: "#86909C" } }),
50
- defaultCheckedKeys: u,
51
- defaultExpandedKeys: d,
52
- treeData: f,
53
- onCheck: x
54
- }
55
- )
56
- ] });
27
+ return e.jsxs("div", { className: s.container, children: [j(), c && e.jsx(y, { className: s.search, placeholder: "组织名称查询", onChange: c }), d, e.jsx(E, { checkable: !0, showLine: !0, blockNode: !0, selectable: !1, switcherIcon: e.jsx(D, { style: { verticalAlign: "top", fontSize: 24, color: "#86909C" } }), defaultCheckedKeys: p, defaultExpandedKeys: h, treeData: f, onCheck: x })] });
57
28
  };
58
29
  export {
59
30
  G as default
@@ -1,90 +1,54 @@
1
1
  import { j as r } from "../../node_modules/react/jsx-runtime.mjs";
2
- import P, { useMemo as b } from "react";
2
+ import P, { useMemo as y } from "react";
3
3
  import "./index.less.mjs";
4
- import { Spin as w, Watermark as H, Affix as B, Tabs as N } from "antd";
5
- import C from "../BitzPageHeader/index.mjs";
4
+ import { Spin as w, Watermark as C, Affix as H, Tabs as N } from "antd";
5
+ import B from "../BitzPageHeader/index.mjs";
6
6
  import R from "../../node_modules/classnames/index.mjs";
7
7
  function S(e) {
8
8
  return typeof e == "object" ? e : { spinning: e };
9
9
  }
10
- const z = ({
11
- tabList: e,
12
- tabActiveKey: t,
13
- onTabChange: a,
14
- hashId: n,
10
+ const z = ({ tabList: e, tabActiveKey: t, onTabChange: a, hashId: n, tabBarExtraContent: d, tabProps: f, prefixedClassName: x }) => Array.isArray(e) || d ? r.jsx(N, {
11
+ className: `${x}-tabs ${n}`.trim(),
12
+ activeKey: t,
13
+ onChange: (s) => {
14
+ a && a(s);
15
+ },
15
16
  tabBarExtraContent: d,
16
- tabProps: f,
17
- prefixedClassName: x
18
- }) => Array.isArray(e) || d ? /* @__PURE__ */ r.jsx(
19
- N,
20
- {
21
- className: `${x}-tabs ${n}`.trim(),
22
- activeKey: t,
23
- onChange: (s) => {
24
- a && a(s);
25
- },
26
- tabBarExtraContent: d,
27
- items: e == null ? void 0 : e.map((s, m) => {
28
- var u;
29
- return {
30
- label: s.tab,
31
- ...s,
32
- key: ((u = s.key) == null ? void 0 : u.toString()) || (m == null ? void 0 : m.toString())
33
- };
34
- }),
35
- ...f,
36
- children: e == null ? void 0 : e.map((s, m) => /* @__PURE__ */ r.jsx(N.TabPane, { tab: s.tab, ...s }, s.key || m))
37
- }
38
- ) : null, M = (e, t, a, n) => !e && !t ? null : /* @__PURE__ */ r.jsx("div", { className: `${a}-detail ${n}`.trim(), children: /* @__PURE__ */ r.jsx("div", { className: `${a}-main ${n}`.trim(), children: /* @__PURE__ */ r.jsxs("div", { className: `${a}-row ${n}`.trim(), children: [
39
- e && /* @__PURE__ */ r.jsx("div", { className: `${a}-content ${n}`.trim(), children: e }),
40
- t && /* @__PURE__ */ r.jsx(
41
- "div",
42
- {
43
- className: `${a}-extraContent ${n}`.trim(),
44
- children: t
45
- }
46
- )
47
- ] }) }) }), A = (e) => {
17
+ // @ts-ignore
18
+ items: e == null ? void 0 : e.map((s, m) => {
19
+ var u;
20
+ return {
21
+ label: s.tab,
22
+ ...s,
23
+ key: ((u = s.key) == null ? void 0 : u.toString()) || (m == null ? void 0 : m.toString())
24
+ };
25
+ }),
26
+ ...f,
27
+ children: e == null ? void 0 : e.map((s, m) => r.jsx(N.TabPane, { tab: s.tab, ...s }, s.key || m))
28
+ }) : null, M = (e, t, a, n) => !e && !t ? null : r.jsx("div", { className: `${a}-detail ${n}`.trim(), children: r.jsx("div", { className: `${a}-main ${n}`.trim(), children: r.jsxs("div", { className: `${a}-row ${n}`.trim(), children: [e && r.jsx("div", { className: `${a}-content ${n}`.trim(), children: e }), t && r.jsx("div", { className: `${a}-extraContent ${n}`.trim(), children: t })] }) }) }), A = (e) => {
48
29
  var p;
49
- const {
50
- title: t,
51
- content: a,
52
- pageHeaderRender: n,
53
- header: d,
54
- prefixedClassName: f,
55
- extraContent: x,
56
- childrenContentStyle: s,
57
- style: m,
58
- prefixCls: u,
59
- hashId: h,
60
- value: l,
61
- breadcrumbRender: i,
62
- ...v
63
- } = e, $ = () => {
30
+ const { title: t, content: a, pageHeaderRender: n, header: d, prefixedClassName: f, extraContent: x, childrenContentStyle: s, style: m, prefixCls: u, hashId: h, value: l, breadcrumbRender: i, ...b } = e, $ = () => {
64
31
  if (i)
65
32
  return i;
66
33
  };
67
34
  if (n === !1)
68
35
  return null;
69
36
  if (n)
70
- return /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
71
- " ",
72
- n({ ...e, ...l })
73
- ] });
37
+ return r.jsxs(r.Fragment, { children: [" ", n({ ...e, ...l })] });
74
38
  let j = t;
75
39
  !t && t !== !1 && (j = l.title);
76
40
  const g = {
77
41
  ...l,
78
42
  title: j,
79
- ...v,
43
+ ...b,
80
44
  footer: z({
81
- ...v,
45
+ ...b,
82
46
  hashId: h,
83
47
  breadcrumbRender: i,
84
48
  prefixedClassName: f
85
49
  }),
86
50
  ...d
87
- }, { breadcrumb: o } = g, y = (!o || !(o != null && o.itemRender) && !((p = o == null ? void 0 : o.items) != null && p.length)) && !i;
51
+ }, { breadcrumb: o } = g, v = (!o || !(o != null && o.itemRender) && !((p = o == null ? void 0 : o.items) != null && p.length)) && !i;
88
52
  return [
89
53
  "title",
90
54
  "subTitle",
@@ -93,17 +57,7 @@ const z = ({
93
57
  "footer",
94
58
  "avatar",
95
59
  "backIcon"
96
- ].every((c) => !g[c]) && y && !a && !x ? null : /* @__PURE__ */ r.jsx(
97
- C,
98
- {
99
- ...g,
100
- className: `${f}-warp-page-header ${h}`.trim(),
101
- breadcrumb: i === !1 ? void 0 : { ...g.breadcrumb, ...l.breadcrumbProps },
102
- breadcrumbRender: $(),
103
- prefixCls: u,
104
- children: (d == null ? void 0 : d.children) || M(a, x, f, h)
105
- }
106
- );
60
+ ].every((c) => !g[c]) && v && !a && !x ? null : r.jsx(B, { ...g, className: `${f}-warp-page-header ${h}`.trim(), breadcrumb: i === !1 ? void 0 : { ...g.breadcrumb, ...l.breadcrumbProps }, breadcrumbRender: $(), prefixCls: u, children: (d == null ? void 0 : d.children) || M(a, x, f, h) });
107
61
  }, V = (e) => {
108
62
  var p;
109
63
  const t = "id_asd123", {
@@ -119,66 +73,51 @@ const z = ({
119
73
  // footerToolBarProps,
120
74
  childrenContentStyle: h,
121
75
  ...l
122
- } = e, i = "bitz-page-container", v = b(() => {
76
+ } = e, i = "bitz-page-container", b = y(() => {
123
77
  var c;
124
78
  return u == !1 ? !1 : u || ((c = l == null ? void 0 : l.header) == null ? void 0 : c.breadcrumbRender);
125
79
  }, [u, (p = l == null ? void 0 : l.header) == null ? void 0 : p.breadcrumbRender]), $ = A({
126
80
  ...l,
127
- breadcrumbRender: v,
81
+ breadcrumbRender: b,
128
82
  ghost: !0,
129
83
  hashId: t,
130
84
  prefixCls: void 0,
131
85
  prefixedClassName: i,
132
86
  value: {}
133
- }), j = b(() => {
87
+ }), j = y(() => {
134
88
  if (P.isValidElement(n))
135
89
  return n;
136
90
  if (typeof n == "boolean" && !n)
137
91
  return null;
138
92
  const c = S(n);
139
- return c.spinning ? /* @__PURE__ */ r.jsx("div", { style: { paddingBlockStart: 100, textAlign: "center" }, children: /* @__PURE__ */ r.jsx(w, { size: "large", ...c }) }) : null;
140
- }, [n]), g = b(() => a ? /* @__PURE__ */ r.jsx(r.Fragment, { children: /* @__PURE__ */ r.jsx(
141
- "div",
142
- {
143
- className: R(
144
- `${i}-children-container ${t}`.trim()
145
- ),
146
- style: {
147
- // paddingBlockStart: props?.header ? 0 : token?.layout?.pageContainer?.paddingBlockPageContainerContent,
148
- ...h
149
- },
150
- children: a
151
- }
152
- ) }) : null, [a, i, h, t]), o = b(() => {
93
+ return c.spinning ? r.jsx("div", { style: { paddingBlockStart: 100, textAlign: "center" }, children: r.jsx(w, { size: "large", ...c }) }) : null;
94
+ }, [n]), g = y(() => a ? r.jsx(r.Fragment, { children: r.jsx("div", {
95
+ className: R(`${i}-children-container ${t}`.trim()),
96
+ // 没有 header 存在需要给 container 加上 BlockStart,正常时间不需要
97
+ style: {
98
+ // paddingBlockStart: props?.header ? 0 : token?.layout?.pageContainer?.paddingBlockPageContainerContent,
99
+ ...h
100
+ },
101
+ children: a
102
+ }) }) : null, [a, i, h, t]), o = y(() => {
153
103
  const c = j || g;
154
104
  if (e.waterMarkProps) {
155
105
  const k = {
156
106
  // ...value.waterMarkProps,
157
107
  ...e.waterMarkProps
158
108
  };
159
- return /* @__PURE__ */ r.jsx(H, { ...k, children: c });
109
+ return r.jsx(C, { ...k, children: c });
160
110
  }
161
111
  return c;
162
- }, [e.waterMarkProps, j, g]), y = R(i, t, d, {
112
+ }, [e.waterMarkProps, j, g]), v = R(i, t, d, {
163
113
  [`${i}-with-footer`]: x,
164
114
  [`${i}-with-affix`]: m && $
165
115
  // [`${basePageContainer}-stylish`]: !!restProps.stylish,
166
116
  });
167
- return /* @__PURE__ */ r.jsx("div", { className: "BitzPageContainerBlock", children: /* @__PURE__ */ r.jsxs("div", { style: f, className: y, children: [
168
- m && $ ? (
169
- // hasHeader fixedHeader 的情况下,才需要设置高度
170
- /* @__PURE__ */ r.jsx(
171
- B,
172
- {
173
- offsetTop: 1,
174
- ...s,
175
- className: `${i}-affix ${t}`.trim(),
176
- children: /* @__PURE__ */ r.jsx("div", { className: `${i}-warp ${t}`.trim(), children: $ })
177
- }
178
- )
179
- ) : $,
180
- o && o
181
- ] }) });
117
+ return r.jsx("div", { className: "BitzPageContainerBlock", children: r.jsxs("div", { style: f, className: v, children: [m && $ ? (
118
+ // hasHeader fixedHeader 的情况下,才需要设置高度
119
+ r.jsx(H, { offsetTop: 1, ...s, className: `${i}-affix ${t}`.trim(), children: r.jsx("div", { className: `${i}-warp ${t}`.trim(), children: $ }) })
120
+ ) : $, o && o] }) });
182
121
  };
183
122
  export {
184
123
  V as default