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,59 +1,17 @@
1
1
  import { j as e } from "../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
2
  import a from "./FuiCalendarItem.module.less.mjs";
3
3
  import x from "../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
4
- import { Avatar as j, Tooltip as h, Tag as n, Badge as u, Button as l, Popover as N } from "antd";
4
+ import { Avatar as j, Tooltip as u, Tag as n, Badge as h, Button as l, Popover as N } from "antd";
5
5
  import v from "../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/ClockCircleOutlined.mjs";
6
6
  import p from "../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/MinusCircleOutlined.mjs";
7
7
  import f from "../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/CheckOutlined.mjs";
8
8
  import g from "../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/EditOutlined.mjs";
9
9
  import y from "../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/DeleteOutlined.mjs";
10
- const T = (i) => {
10
+ const I = (i) => {
11
11
  var r, c, t, d;
12
- const { event: s } = i, o = () => /* @__PURE__ */ e.jsx(e.Fragment, {}), m = /* @__PURE__ */ e.jsxs("div", { className: "bitzFuiCalendarBlock-pop-contianer", children: [
13
- /* @__PURE__ */ e.jsxs("div", { className: "pop-header", children: [
14
- /* @__PURE__ */ e.jsx("div", { className: "pop-avatar", children: /* @__PURE__ */ e.jsx(j, { size: 40, children: s == null ? void 0 : s.creationUserName }) }),
15
- /* @__PURE__ */ e.jsxs("div", { className: "pop-header-rihgt", children: [
16
- /* @__PURE__ */ e.jsxs("div", { className: "name", children: [
17
- /* @__PURE__ */ e.jsx("div", { className: "", style: { marginRight: "10px" }, children: s == null ? void 0 : s.creationUserName }),
18
- /* @__PURE__ */ e.jsx(h, { title: "不重要不紧急", children: /* @__PURE__ */ e.jsx("span", { children: s == null ? void 0 : s.status }) })
19
- ] }),
20
- /* @__PURE__ */ e.jsxs("div", { className: "", children: [
21
- /* @__PURE__ */ e.jsx(n, { bordered: !1, icon: /* @__PURE__ */ e.jsx(v, {}), color: "default", children: "waiting" }),
22
- /* @__PURE__ */ e.jsx(n, { bordered: !1, icon: /* @__PURE__ */ e.jsx(p, {}), color: "default", children: "stop" })
23
- ] })
24
- ] })
25
- ] }),
26
- /* @__PURE__ */ e.jsx("div", { className: "pop-content", children: s == null ? void 0 : s.subject }),
27
- /* @__PURE__ */ e.jsx("div", { className: "pop-period", children: o() }),
28
- /* @__PURE__ */ e.jsxs("div", { className: "pop-tag", children: [
29
- /* @__PURE__ */ e.jsx(u, { color: "orange", text: s == null ? void 0 : s.statusText }),
30
- /* @__PURE__ */ e.jsx("div", {})
31
- ] }),
32
- /* @__PURE__ */ e.jsxs("div", { className: "pop-footer", children: [
33
- /* @__PURE__ */ e.jsx(l, { type: "primary", icon: /* @__PURE__ */ e.jsx(f, {}), size: "small", children: "查看" }),
34
- /* @__PURE__ */ e.jsx(l, { type: "primary", icon: /* @__PURE__ */ e.jsx(g, {}), size: "small", children: "修改" }),
35
- /* @__PURE__ */ e.jsx(l, { danger: !0, type: "primary", icon: /* @__PURE__ */ e.jsx(y, {}), size: "small", children: "删除" })
36
- ] })
37
- ] });
38
- return /* @__PURE__ */ e.jsx(
39
- "div",
40
- {
41
- style: i == null ? void 0 : i.style,
42
- className: x(a.FuiCalendarItemBlock, "FuiCalendarItemBlock"),
43
- children: /* @__PURE__ */ e.jsx(N, { content: m, className: "bitzPopover", children: /* @__PURE__ */ e.jsxs("div", { className: a.container, children: [
44
- /* @__PURE__ */ e.jsx("div", { className: a.verticalLine }),
45
- /* @__PURE__ */ e.jsx("div", { className: a.card, children: /* @__PURE__ */ e.jsxs("div", { className: a.cardBody, style: { maxHeight: i == null ? void 0 : i.maxHeight }, children: [
46
- ((r = i.event) == null ? void 0 : r.subject) && /* @__PURE__ */ e.jsx("span", { className: a.text, children: (c = i.event) == null ? void 0 : c.subject }),
47
- /* @__PURE__ */ e.jsxs("span", { className: a.text2, children: [
48
- (t = i.event) == null ? void 0 : t.location,
49
- " ",
50
- (d = i.event) == null ? void 0 : d.organizerName
51
- ] })
52
- ] }) })
53
- ] }) })
54
- }
55
- );
12
+ const { event: s } = i, o = () => e.jsx(e.Fragment, {}), m = e.jsxs("div", { className: "bitzFuiCalendarBlock-pop-contianer", children: [e.jsxs("div", { className: "pop-header", children: [e.jsx("div", { className: "pop-avatar", children: e.jsx(j, { size: 40, children: s == null ? void 0 : s.creationUserName }) }), e.jsxs("div", { className: "pop-header-rihgt", children: [e.jsxs("div", { className: "name", children: [e.jsx("div", { className: "", style: { marginRight: "10px" }, children: s == null ? void 0 : s.creationUserName }), e.jsx(u, { title: "不重要不紧急", children: e.jsx("span", { children: s == null ? void 0 : s.status }) })] }), e.jsxs("div", { className: "", children: [e.jsx(n, { bordered: !1, icon: e.jsx(v, {}), color: "default", children: "waiting" }), e.jsx(n, { bordered: !1, icon: e.jsx(p, {}), color: "default", children: "stop" })] })] })] }), e.jsx("div", { className: "pop-content", children: s == null ? void 0 : s.subject }), e.jsx("div", { className: "pop-period", children: o() }), e.jsxs("div", { className: "pop-tag", children: [e.jsx(h, { color: "orange", text: s == null ? void 0 : s.statusText }), e.jsx("div", {})] }), e.jsxs("div", { className: "pop-footer", children: [e.jsx(l, { type: "primary", icon: e.jsx(f, {}), size: "small", children: "查看" }), e.jsx(l, { type: "primary", icon: e.jsx(g, {}), size: "small", children: "修改" }), e.jsx(l, { danger: !0, type: "primary", icon: e.jsx(y, {}), size: "small", children: "删除" })] })] });
13
+ return e.jsx("div", { style: i == null ? void 0 : i.style, className: x(a.FuiCalendarItemBlock, "FuiCalendarItemBlock"), children: e.jsx(N, { content: m, className: "bitzPopover", children: e.jsxs("div", { className: a.container, children: [e.jsx("div", { className: a.verticalLine }), e.jsx("div", { className: a.card, children: e.jsxs("div", { className: a.cardBody, style: { maxHeight: i == null ? void 0 : i.maxHeight }, children: [((r = i.event) == null ? void 0 : r.subject) && e.jsx("span", { className: a.text, children: (c = i.event) == null ? void 0 : c.subject }), e.jsxs("span", { className: a.text2, children: [(t = i.event) == null ? void 0 : t.location, " ", (d = i.event) == null ? void 0 : d.organizerName] })] }) })] }) }) });
56
14
  };
57
15
  export {
58
- T as default
16
+ I as default
59
17
  };
@@ -8,13 +8,7 @@ import "../../node_modules/.store/dayjs@1.11.10/node_modules/dayjs/locale/zh-cn.
8
8
  import { useBitzFuiCalendarStore as o, CalendarTypeEnum as n } from "./BitzFuiCalendarStore.mjs";
9
9
  const F = (e) => {
10
10
  const { CalendarType: i } = o((t) => t);
11
- return /* @__PURE__ */ a.jsx("div", { className: "bitzFuiCalendarBlock", children: /* @__PURE__ */ a.jsxs("div", { className: "bitzFuiCalendarContainer", children: [
12
- /* @__PURE__ */ a.jsx(d, {}),
13
- /* @__PURE__ */ a.jsxs("div", { className: "bitzFuiCalendarConent", children: [
14
- i === n.agendum ? null : /* @__PURE__ */ a.jsx(r, {}),
15
- i === n.agendum ? /* @__PURE__ */ a.jsx(m, { list: e == null ? void 0 : e.data }) : /* @__PURE__ */ a.jsx(l, { data: e == null ? void 0 : e.data })
16
- ] })
17
- ] }) });
11
+ return a.jsx("div", { className: "bitzFuiCalendarBlock", children: a.jsxs("div", { className: "bitzFuiCalendarContainer", children: [a.jsx(d, {}), a.jsxs("div", { className: "bitzFuiCalendarConent", children: [i === n.agendum ? null : a.jsx(r, {}), i === n.agendum ? a.jsx(m, { list: e == null ? void 0 : e.data }) : a.jsx(l, { data: e == null ? void 0 : e.data })] })] }) });
18
12
  };
19
13
  export {
20
14
  F as default
@@ -7,22 +7,19 @@ import F from "../../node_modules/.store/classnames@2.5.1/node_modules/classname
7
7
  import { css as g } from "../../node_modules/.store/@emotion_css@11.11.2/node_modules/@emotion/css/dist/emotion-css.esm.mjs";
8
8
  import h from "../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/FullscreenExitOutlined.mjs";
9
9
  import j from "../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/FullscreenOutlined.mjs";
10
- const v = ({ className: n, style: l }) => {
11
- const { token: c } = p.useToken(), [r, o] = u(e.isFullscreen);
10
+ const v = ({ className: n, style: t }) => {
11
+ const { token: c } = p.useToken(), [l, r] = u(e.isFullscreen);
12
12
  f(() => {
13
- e.on("change", () => (e.isFullscreen ? o(!0) : o(!1), () => e.off("change", () => {
13
+ e.on("change", () => (e.isFullscreen ? r(!0) : r(!1), () => e.off("change", () => {
14
14
  })));
15
15
  }, []);
16
16
  const i = () => {
17
17
  e.isEnabled || d.warning("当前您的浏览器不支持全屏"), e.toggle();
18
- }, m = a(() => r ? "退出全屏" : "全屏", [r]), t = F(
19
- g`
18
+ }, m = a(() => l ? "退出全屏" : "全屏", [l]), o = F(g`
20
19
  font-size: 22px;
21
20
  color: ${c.colorText};
22
- `,
23
- n
24
- );
25
- return /* @__PURE__ */ s.jsx(x, { title: m, children: /* @__PURE__ */ s.jsx("div", { className: "fullScreenBlock", onClick: i, children: r ? /* @__PURE__ */ s.jsx(h, { className: t, style: l }) : /* @__PURE__ */ s.jsx(j, { className: t, style: l }) }) });
21
+ `, n);
22
+ return s.jsx(x, { title: m, children: s.jsx("div", { className: "fullScreenBlock", onClick: i, children: l ? s.jsx(h, { className: o, style: t }) : s.jsx(j, { className: o, style: t }) }) });
26
23
  };
27
24
  export {
28
25
  v as default
@@ -2,31 +2,17 @@ import { j as s } from "../../node_modules/.store/react@18.2.0/node_modules/reac
2
2
  import { useMemo as N, Fragment as C } from "react";
3
3
  import { Typography as i } from "antd";
4
4
  import b from "./style.mjs";
5
- import v from "./chunks.mjs";
6
- const H = ({
7
- autoEscape: l = !0,
8
- caseSensitive: a = !1,
9
- sourceString: e,
10
- keywords: p,
11
- tag: r = C,
12
- tagClass: o,
13
- highlightClass: c,
14
- unhighlightClass: f = ""
15
- }) => {
16
- const { highlightClassName: h } = b({
5
+ import z from "./chunks.mjs";
6
+ const M = ({ autoEscape: l = !0, caseSensitive: a = !1, sourceString: e, keywords: p, tag: r = C, tagClass: n, highlightClass: c, unhighlightClass: f = "" }) => {
7
+ const { highlightClassName: u } = b({
17
8
  tagClass: void 0,
18
9
  highlightClass: c
19
- }), t = v(
20
- l,
21
- a,
22
- p,
23
- e
24
- ), u = () => t != null && t.length ? t.map((d, n) => {
25
- const { start: j, end: y, highlight: g } = d, m = e.slice(j, y);
26
- return g ? /* @__PURE__ */ s.jsx(i.Text, { className: h, children: m }, n) : /* @__PURE__ */ s.jsx(i.Text, { className: f, children: m }, n);
27
- }) : e, x = N(() => typeof r == "symbol" ? {} : { className: o }, [r, o]);
28
- return /* @__PURE__ */ s.jsx(r, { ...x, children: u() });
10
+ }), t = z(l, a, p, e), h = () => t != null && t.length ? t.map((x, o) => {
11
+ const { start: j, end: y, highlight: g } = x, m = e.slice(j, y);
12
+ return g ? s.jsx(i.Text, { className: u, children: m }, o) : s.jsx(i.Text, { className: f, children: m }, o);
13
+ }) : e, d = N(() => typeof r == "symbol" ? {} : { className: n }, [r, n]);
14
+ return s.jsx(r, { ...d, children: h() });
29
15
  };
30
16
  export {
31
- H as default
17
+ M as default
32
18
  };
@@ -3,35 +3,14 @@ import E from "../../node_modules/.store/classnames@2.5.1/node_modules/classname
3
3
  import { useMemo as G } from "react";
4
4
  import H from "./chunks.mjs";
5
5
  import M from "./style.mjs";
6
- const w = ({
7
- autoEscape: m = !0,
8
- caseSensitive: l = !1,
9
- type: e = "primary",
10
- sourceString: t,
11
- keywords: o,
12
- tag: i = "div",
13
- tagClass: c,
14
- highlightTag: h = "span",
15
- highlightClass: g,
16
- unhighlightTag: u = "span",
17
- unhighlightClass: p = ""
18
- }) => {
19
- const {
20
- tagClassName: f,
21
- secondaryClassName: d,
22
- highlightClassName: N
23
- } = M({ tagClass: c, highlightClass: g }), x = G(() => E(f, {
6
+ const w = ({ autoEscape: m = !0, caseSensitive: l = !1, type: e = "primary", sourceString: t, keywords: o, tag: i = "div", tagClass: c, highlightTag: h = "span", highlightClass: g, unhighlightTag: u = "span", unhighlightClass: p = "" }) => {
7
+ const { tagClassName: f, secondaryClassName: d, highlightClassName: N } = M({ tagClass: c, highlightClass: g }), x = G(() => E(f, {
24
8
  [`${d}`]: e === "secondary"
25
- }), [e]), s = H(
26
- m,
27
- l,
28
- o,
29
- t
30
- ), C = () => s != null && s.length ? s.map((j, r) => {
9
+ }), [e]), s = H(m, l, o, t), C = () => s != null && s.length ? s.map((j, r) => {
31
10
  const { start: y, end: T, highlight: v } = j, n = t.slice(y, T);
32
- return v ? /* @__PURE__ */ a.jsx(h, { className: N, children: n }, r) : /* @__PURE__ */ a.jsx(u, { className: p, children: n }, r);
11
+ return v ? a.jsx(h, { className: N, children: n }, r) : a.jsx(u, { className: p, children: n }, r);
33
12
  }) : t;
34
- return /* @__PURE__ */ a.jsx(i, { className: x, children: C() });
13
+ return a.jsx(i, { className: x, children: C() });
35
14
  };
36
15
  export {
37
16
  w as default
@@ -5,27 +5,24 @@ const c = (a, f, r, g) => p(() => {
5
5
  if (Array.isArray(r) && !r.every((t) => typeof t == "string"))
6
6
  throw new Error("参数`keywords`必须是string[]类型");
7
7
  const d = f ? "g" : "gi";
8
- let h = (Array.isArray(r) ? r : [r]).filter((t) => t).reduce(
9
- (t, e) => {
10
- a && (e = e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"));
11
- const n = new RegExp(e, d);
12
- let i;
13
- for (; i = n.exec(g); ) {
14
- const s = i.index, o = n.lastIndex;
15
- if (s >= o) {
16
- n.lastIndex++;
17
- continue;
18
- }
19
- t.push({
20
- start: s,
21
- end: o,
22
- highlight: !0
23
- });
8
+ let h = (Array.isArray(r) ? r : [r]).filter((t) => t).reduce((t, e) => {
9
+ a && (e = e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"));
10
+ const n = new RegExp(e, d);
11
+ let i;
12
+ for (; i = n.exec(g); ) {
13
+ const s = i.index, o = n.lastIndex;
14
+ if (s >= o) {
15
+ n.lastIndex++;
16
+ continue;
24
17
  }
25
- return t;
26
- },
27
- []
28
- );
18
+ t.push({
19
+ start: s,
20
+ end: o,
21
+ highlight: !0
22
+ });
23
+ }
24
+ return t;
25
+ }, []);
29
26
  h = h.sort((t, e) => t.start - e.start).reduce((t, e) => {
30
27
  const n = t[t.length - 1];
31
28
  if (!n || e.start > n.end) {
@@ -12,10 +12,7 @@ import S from "../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules
12
12
  import "../../node_modules/.store/@ant-design_cssinjs@1.19.1/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.mjs";
13
13
  import c from "../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
14
14
  import d from "../BitzTheme/index.mjs";
15
- const R = ({
16
- tagClass: a = "",
17
- highlightClass: p = ""
18
- }) => {
15
+ const R = ({ tagClass: a = "", highlightClass: p = "" }) => {
19
16
  const { theme: h, token: i, hashId: t } = d.useToken(), r = "bitzHighlightBlock", e = "bitzHighlightTag", s = "bitzHighlightSecondary", n = (m, f, l, o) => [
20
17
  {
21
18
  [`.${m}`]: {
@@ -7,7 +7,7 @@ function i(t, o) {
7
7
  o.hasOwnProperty(r) && (n[r] = o[r]);
8
8
  return n;
9
9
  }
10
- const s = ({ ...t }) => /* @__PURE__ */ e.jsx(m, { ...t }), u = i(s, { previewImage: a });
10
+ const s = ({ ...t }) => e.jsx(m, { ...t }), u = i(s, { previewImage: a });
11
11
  export {
12
12
  i as attachPropertiesToComponent,
13
13
  u as default
@@ -7,19 +7,12 @@ const v = (e) => {
7
7
  const t = document.createElement("div"), o = l.createRoot(t);
8
8
  let i = {
9
9
  visible: !0,
10
- closeIcon: /* @__PURE__ */ n.jsx(
11
- c,
12
- {
13
- onClick: () => {
14
- var m;
15
- (m = e.onClose) == null || m.call(e), o.unmount(), t.remove();
16
- }
17
- }
18
- )
10
+ closeIcon: n.jsx(c, { onClick: () => {
11
+ var m;
12
+ (m = e.onClose) == null || m.call(e), o.unmount(), t.remove();
13
+ } })
19
14
  };
20
- e.items.length <= 1 && (i.countRender = () => null), o.render(
21
- /* @__PURE__ */ n.jsx(r.PreviewGroup, { preview: i, items: e.items })
22
- ), document.body.appendChild(t);
15
+ e.items.length <= 1 && (i.countRender = () => null), o.render(n.jsx(r.PreviewGroup, { preview: i, items: e.items })), document.body.appendChild(t);
23
16
  };
24
17
  export {
25
18
  v as default
@@ -16,20 +16,9 @@ const j = ({ onChange: o = () => {
16
16
  ], t = (a) => {
17
17
  n(a.key), o(a.key);
18
18
  };
19
- return /* @__PURE__ */ e.jsxs("div", { className: "bitzLanguageTabsBlock", children: [
20
- /* @__PURE__ */ e.jsx("div", { className: "languagesBox", children: c.map((a, r) => /* @__PURE__ */ e.jsx("div", { className: `item ${i == a.key ? "itemActive" : ""}`, children: /* @__PURE__ */ e.jsx(
21
- "img",
22
- {
23
- src: a.icon,
24
- alt: a.label,
25
- height: 16,
26
- onClick: () => {
27
- t(a);
28
- }
29
- }
30
- ) }, r)) }),
31
- /* @__PURE__ */ e.jsx("div", { className: "copyBox", children: s })
32
- ] });
19
+ return e.jsxs("div", { className: "bitzLanguageTabsBlock", children: [e.jsx("div", { className: "languagesBox", children: c.map((a, r) => e.jsx("div", { className: `item ${i == a.key ? "itemActive" : ""}`, children: e.jsx("img", { src: a.icon, alt: a.label, height: 16, onClick: () => {
20
+ t(a);
21
+ } }) }, r)) }), e.jsx("div", { className: "copyBox", children: s })] });
33
22
  };
34
23
  export {
35
24
  j as default
@@ -1,12 +1,6 @@
1
1
  import { j as r } from "../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
2
  import { Suspense as t } from "react";
3
- const o = (s) => /* @__PURE__ */ r.jsx(
4
- t,
5
- {
6
- fallback: /* @__PURE__ */ r.jsx(r.Fragment, {}),
7
- children: /* @__PURE__ */ r.jsx(s, {})
8
- }
9
- );
3
+ const o = (s) => r.jsx(t, { fallback: r.jsx(r.Fragment, {}), children: r.jsx(s, {}) });
10
4
  export {
11
5
  o as default
12
6
  };
@@ -3,25 +3,11 @@ import { forwardRef as t } from "react";
3
3
  import { clsx as i } from "../../node_modules/.store/clsx@2.1.0/node_modules/clsx/dist/clsx.mjs";
4
4
  import f from "./LoadMore.mjs";
5
5
  import { mergeProps as d } from "../../utils/get-default-props.mjs";
6
- const p = t((e, r) => {
7
- const o = d(e, {
6
+ const p = t((o, r) => {
7
+ const e = d(o, {
8
8
  offset: 300
9
9
  });
10
- return /* @__PURE__ */ s.jsx(
11
- f,
12
- {
13
- ref: r,
14
- className: i(o.className),
15
- style: o.style,
16
- onLoad: o.onLoad,
17
- threshold: o.offset,
18
- finished: o.finished,
19
- finishedText: o.finishedText,
20
- loadingText: o.loadingText,
21
- errorText: o.errorText,
22
- children: o.children
23
- }
24
- );
10
+ return s.jsx(f, { ref: r, className: i(e.className), style: e.style, onLoad: e.onLoad, threshold: e.offset, finished: e.finished, finishedText: e.finishedText, loadingText: e.loadingText, errorText: e.errorText, children: e.children });
25
11
  });
26
12
  export {
27
13
  p as default
@@ -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/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
- import { useState as p, useEffect as u } from "react";
1
+ import { j as o } from "../../node_modules/.store/react@18.2.0/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/.store/react@18.2.0/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/.store/dayjs@1.11.10/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/.store/dayjs@1.11.10/node_modules/dayjs/plugin/objectSupport.mjs";
4
4
  import H from "../../node_modules/.store/dayjs@1.11.10/node_modules/dayjs/plugin/isSameOrAfter.mjs";
5
5
  import D from "../../node_modules/.store/dayjs@1.11.10/node_modules/dayjs/plugin/utc.mjs";
6
6
  import e from "../../node_modules/.store/dayjs@1.11.10/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/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
- import { useMemo as d } from "react";
3
- import p from "../../node_modules/.store/dayjs@1.11.10/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/.store/dayjs@1.11.10/node_modules/dayjs/plugin/objectSupport.mjs";
4
+ import p from "./BitzMeetingTimeItem.mjs";
5
5
  import m from "../../node_modules/.store/dayjs@1.11.10/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/.store/react@18.2.0/node_modules/reac
2
2
  import { isMobile as r } from "../../node_modules/.store/react-device-detect@2.2.3/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
  };