bitz-react-admin-ui 2.0.9 → 2.1.0

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 (165) hide show
  1. package/dist/assets/iconfont/IconChenggong.mjs +4 -10
  2. package/dist/assets/iconfont/IconClose.mjs +1 -7
  3. package/dist/assets/iconfont/IconCuowu.mjs +2 -8
  4. package/dist/assets/iconfont/IconDuigoux.mjs +2 -8
  5. package/dist/assets/iconfont/IconFabu.mjs +3 -18
  6. package/dist/assets/iconfont/IconFanhui.mjs +5 -11
  7. package/dist/assets/iconfont/IconGaojisousuo.mjs +4 -10
  8. package/dist/assets/iconfont/IconHangfengexian.mjs +4 -27
  9. package/dist/assets/iconfont/IconHangliefengexian.mjs +4 -27
  10. package/dist/assets/iconfont/IconIcFluentHomeRegular.mjs +5 -11
  11. package/dist/assets/iconfont/IconIcon21.mjs +2 -8
  12. package/dist/assets/iconfont/IconJincoude.mjs +3 -9
  13. package/dist/assets/iconfont/IconJinggao.mjs +2 -8
  14. package/dist/assets/iconfont/IconKuansongde.mjs +5 -11
  15. package/dist/assets/iconfont/IconLiefengexian.mjs +5 -28
  16. package/dist/assets/iconfont/IconMore.mjs +4 -26
  17. package/dist/assets/iconfont/IconShanchu.mjs +5 -11
  18. package/dist/assets/iconfont/IconShanchu1.mjs +3 -18
  19. package/dist/assets/iconfont/IconSousuo.mjs +4 -10
  20. package/dist/assets/iconfont/IconTejincou.mjs +1 -7
  21. package/dist/assets/iconfont/IconTekuansong.mjs +5 -11
  22. package/dist/assets/iconfont/IconTishi1.mjs +6 -12
  23. package/dist/assets/iconfont/IconTuodong.mjs +6 -12
  24. package/dist/assets/iconfont/IconWubanmawentianchong.mjs +5 -22
  25. package/dist/assets/iconfont/IconWufengexian.mjs +4 -11
  26. package/dist/assets/iconfont/IconXinxitishi.mjs +3 -9
  27. package/dist/assets/iconfont/IconYoubanmawentianchong.mjs +7 -23
  28. package/dist/assets/iconfont/IconZhongdengde.mjs +4 -10
  29. package/dist/assets/iconfont/IconZhongzhi.mjs +5 -11
  30. package/dist/assets/iconfont/index.mjs +29 -29
  31. package/dist/components/BitzAddTag/index.mjs +8 -41
  32. package/dist/components/BitzAddressBook/index.mjs +35 -122
  33. package/dist/components/BitzAppPage/index.mjs +4 -18
  34. package/dist/components/BitzAppRefresh/index.mjs +15 -27
  35. package/dist/components/BitzBetterScroll/index.mjs +5 -5
  36. package/dist/components/BitzButton/index.mjs +9 -23
  37. package/dist/components/BitzCalendar/index.mjs +19 -52
  38. package/dist/components/BitzCascader/BitzCascaderMobile.mjs +30 -68
  39. package/dist/components/BitzCascader/index.mjs +2 -6
  40. package/dist/components/BitzCollapse/index.mjs +4 -4
  41. package/dist/components/BitzConfigProvider/context.mjs +1 -3
  42. package/dist/components/BitzConfigProvider/index.mjs +8 -12
  43. package/dist/components/BitzConfirmModal/index.mjs +1 -24
  44. package/dist/components/BitzConvert/DropdownToButton/index.mjs +11 -14
  45. package/dist/components/BitzConvert/index.mjs +1 -1
  46. package/dist/components/BitzDescriptions/index.mjs +1 -11
  47. package/dist/components/BitzDrawer/index.mjs +2 -17
  48. package/dist/components/BitzEmpty/index.mjs +2 -6
  49. package/dist/components/BitzException/index.mjs +1 -6
  50. package/dist/components/BitzFloatLayout/index.mjs +1 -10
  51. package/dist/components/BitzFluentInput/index.mjs +4 -23
  52. package/dist/components/BitzFluentSelect/index.mjs +5 -24
  53. package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +16 -13
  54. package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +20 -26
  55. package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +3 -21
  56. package/dist/components/BitzFuiCalendar/CalendarBody.mjs +6 -29
  57. package/dist/components/BitzFuiCalendar/CalendarHead.mjs +2 -5
  58. package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +3 -12
  59. package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +18 -50
  60. package/dist/components/BitzFuiCalendar/ColumnData.mjs +15 -31
  61. package/dist/components/BitzFuiCalendar/FuiCalendarItem.mjs +5 -47
  62. package/dist/components/BitzFuiCalendar/index.mjs +1 -7
  63. package/dist/components/BitzFullScreen/index.mjs +6 -9
  64. package/dist/components/BitzHighlight/Child.mjs +9 -23
  65. package/dist/components/BitzHighlight/Highlight.mjs +5 -26
  66. package/dist/components/BitzHighlight/chunks.mjs +17 -20
  67. package/dist/components/BitzHighlight/style.mjs +1 -4
  68. package/dist/components/BitzImage/index.mjs +1 -1
  69. package/dist/components/BitzImage/previewImage.mjs +5 -12
  70. package/dist/components/BitzLanguageTabs/index.mjs +3 -14
  71. package/dist/components/BitzLazyLoad/index.mjs +1 -7
  72. package/dist/components/BitzList/List.mjs +3 -17
  73. package/dist/components/BitzList/LoadMore.mjs +20 -29
  74. package/dist/components/BitzLoadMore/index.mjs +14 -34
  75. package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +11 -24
  76. package/dist/components/BitzMeetingTime/index.mjs +6 -10
  77. package/dist/components/BitzMobileLoading/index.mjs +1 -1
  78. package/dist/components/BitzModal/index.mjs +11 -24
  79. package/dist/components/BitzNoData/index.mjs +1 -4
  80. package/dist/components/BitzNoMore/index.mjs +1 -1
  81. package/dist/components/BitzOrganizationSelection/index.mjs +14 -43
  82. package/dist/components/BitzPageContainer/index.mjs +46 -107
  83. package/dist/components/BitzPageHeader/index.mjs +21 -89
  84. package/dist/components/BitzPagination/index.mjs +14 -62
  85. package/dist/components/BitzPopover/index.mjs +4 -4
  86. package/dist/components/BitzPullRefresh/PullRefresh.mjs +18 -47
  87. package/dist/components/BitzQRCode/index.mjs +1 -6
  88. package/dist/components/BitzQueryFilter/QueryFilterContent.mjs +17 -35
  89. package/dist/components/BitzQueryFilter/QueryFilterDrawer.mjs +13 -20
  90. package/dist/components/BitzQueryFilter/QueryFilterMobile.mjs +1 -4
  91. package/dist/components/BitzQueryFilter/index.mjs +20 -69
  92. package/dist/components/BitzRefresh/index.mjs +1 -5
  93. package/dist/components/BitzRemark/index.mjs +4 -4
  94. package/dist/components/BitzScheduleCenter/index.mjs +30 -24
  95. package/dist/components/BitzSearch/index.mjs +1 -1
  96. package/dist/components/BitzSelect/component/BitzSelectMobile.mjs +48 -123
  97. package/dist/components/BitzSelect/index.mjs +1 -1
  98. package/dist/components/BitzSkeleton/index.mjs +1 -31
  99. package/dist/components/BitzSwitch/index.mjs +2 -7
  100. package/dist/components/BitzTabbar/BitzTabbar.mjs +8 -25
  101. package/dist/components/BitzTabbar/BitzTabbarItem.mjs +1 -4
  102. package/dist/components/BitzTable/ActionBar/ActionBar.mjs +5 -33
  103. package/dist/components/BitzTable/ActionBar/Button.mjs +1 -1
  104. package/dist/components/BitzTable/ActionBar/style.mjs +9 -12
  105. package/dist/components/BitzTable/ActionCol/index.mjs +16 -90
  106. package/dist/components/BitzTable/ActionCol/style.mjs +12 -15
  107. package/dist/components/BitzTable/Dropdown/index.mjs +1 -8
  108. package/dist/components/BitzTable/Dropdown/style.mjs +6 -9
  109. package/dist/components/BitzTable/SelectionBar/Button.mjs +14 -32
  110. package/dist/components/BitzTable/SelectionBar/SelectionBar.mjs +8 -40
  111. package/dist/components/BitzTable/SelectionBar/style.mjs +8 -18
  112. package/dist/components/BitzTable/Store/index.mjs +45 -68
  113. package/dist/components/BitzTable/Table/index.mjs +145 -305
  114. package/dist/components/BitzTable/Table/style.mjs +1 -10
  115. package/dist/components/BitzTable/Table/utils.mjs +4 -11
  116. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +47 -82
  117. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndItem.mjs +21 -95
  118. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndList.mjs +28 -68
  119. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.d.ts +2 -2
  120. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +142 -250
  121. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.d.ts +3 -3
  122. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +6 -8
  123. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/RadioCard.mjs +2 -9
  124. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.d.ts +2 -2
  125. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +89 -137
  126. package/dist/components/BitzTable/ToolBar/ColConfigIcon/index.d.ts +2 -2
  127. package/dist/components/BitzTable/ToolBar/ColConfigIcon/index.mjs +8 -29
  128. package/dist/components/BitzTable/ToolBar/ColConfigIcon/style.mjs +18 -7
  129. package/dist/components/BitzTable/ToolBar/ExportIcon/index.mjs +6 -33
  130. package/dist/components/BitzTable/ToolBar/FullscreenIcon/index.mjs +4 -17
  131. package/dist/components/BitzTable/ToolBar/RefreshIcon/index.mjs +10 -27
  132. package/dist/components/BitzTable/ToolBar/Wrapper/context.d.ts +4 -0
  133. package/dist/components/BitzTable/ToolBar/Wrapper/context.mjs +5 -0
  134. package/dist/components/BitzTable/ToolBar/Wrapper/index.d.ts +4 -3
  135. package/dist/components/BitzTable/ToolBar/Wrapper/index.mjs +18 -60
  136. package/dist/components/BitzTable/ToolBar/index.d.ts +6 -4
  137. package/dist/components/BitzTableOperations/index.mjs +3 -13
  138. package/dist/components/BitzTableSelect/Picker/index.mjs +10 -43
  139. package/dist/components/BitzTableSelect/Select/index.mjs +21 -87
  140. package/dist/components/BitzTableSelect/SelectPopup/getData.mjs +11 -21
  141. package/dist/components/BitzTableSelect/SelectPopup/index.mjs +40 -210
  142. package/dist/components/BitzTableSelect/TableCell/index.mjs +8 -49
  143. package/dist/components/BitzTableSelect/TextBlock/index.mjs +9 -27
  144. package/dist/components/BitzTableSelect/index.mjs +13 -61
  145. package/dist/components/BitzTag/index.mjs +1 -1
  146. package/dist/components/BitzTheme/index.mjs +6 -6
  147. package/dist/components/BitzTimeline/index.mjs +1 -11
  148. package/dist/components/BitzTimer/Form.mjs +11 -32
  149. package/dist/components/BitzTimer/Timer.mjs +38 -76
  150. package/dist/components/BitzTimer/index.mjs +43 -66
  151. package/dist/components/BitzToast/Toast/index.mjs +10 -28
  152. package/dist/components/BitzToast/index.mjs +1 -1
  153. package/dist/components/BitzTree/index.mjs +1 -4
  154. package/dist/components/BitzUeEditor/index.mjs +5 -5
  155. package/dist/components/BitzUpload/index.mjs +43 -81
  156. package/dist/components/BitzWebAppDrawer/index.mjs +4 -35
  157. package/dist/components/BitzWebAppModal/index.mjs +3 -6
  158. package/dist/hooks/use-event-listener.mjs +2 -11
  159. package/dist/hooks/use-lock-fn.mjs +10 -13
  160. package/dist/hooks/use-scroll-parent.mjs +14 -16
  161. package/dist/hooks/useEvent.mjs +4 -7
  162. package/dist/hooks/useMergedState.mjs +11 -11
  163. package/dist/style.css +1 -1
  164. package/dist/utils/create.mjs +1 -7
  165. package/package.json +1 -1
@@ -1,21 +1,14 @@
1
1
  import { j as l } from "../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
- import { css as n } from "../../node_modules/.store/@emotion_css@11.11.2/node_modules/@emotion/css/dist/emotion-css.esm.mjs";
2
+ import { css as a } from "../../node_modules/.store/@emotion_css@11.11.2/node_modules/@emotion/css/dist/emotion-css.esm.mjs";
3
3
  import { theme as d, Select as i } from "antd";
4
4
  import { useMemo as m } from "react";
5
5
  import u from "../../node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/isBoolean.mjs";
6
- const S = ({
7
- placeholder: a,
8
- hideFluent: c,
9
- ...e
10
- }) => {
6
+ const S = ({ placeholder: n, hideFluent: c, ...e }) => {
11
7
  const { token: t } = d.useToken(), o = m(() => {
12
8
  const f = e.value, s = e.defaultValue, r = f || s;
13
9
  return u(e.value) || u(e.defaultValue) ? !0 : !(r === void 0 || r === "" || r === null);
14
10
  }, [e.value, e.defaultValue]);
15
- return c ? /* @__PURE__ */ l.jsx(i, { allowClear: !0, placeholder: a, ...e }) : /* @__PURE__ */ l.jsxs(
16
- "div",
17
- {
18
- className: n`
11
+ return c ? l.jsx(i, { allowClear: !0, placeholder: n, ...e }) : l.jsxs("div", { className: a`
19
12
  position: relative;
20
13
  &:focus-within {
21
14
  label {
@@ -25,13 +18,7 @@ const S = ({
25
18
  color: ${t.colorTextPlaceholder};
26
19
  }
27
20
  }
28
- `,
29
- children: [
30
- /* @__PURE__ */ l.jsx(i, { allowClear: !0, ...e }),
31
- /* @__PURE__ */ l.jsx(
32
- "label",
33
- {
34
- className: n`
21
+ `, children: [l.jsx(i, { allowClear: !0, ...e }), l.jsx("label", { className: a`
35
22
  position: absolute;
36
23
  top: ${o ? 0 : "50%"};
37
24
  left: 7px;
@@ -47,13 +34,7 @@ const S = ({
47
34
  color: ${t.colorTextPlaceholder};
48
35
  padding: 0 2px;
49
36
  border-radius: 2px;
50
- `,
51
- children: a
52
- }
53
- )
54
- ]
55
- }
56
- );
37
+ `, children: n })] });
57
38
  };
58
39
  export {
59
40
  S as default
@@ -1,29 +1,32 @@
1
- import { create as a } from "../../node_modules/.store/zustand@4.5.2/node_modules/zustand/esm/index.mjs";
2
- import o from "../../node_modules/.store/dayjs@1.11.10/node_modules/dayjs/dayjs.min.mjs";
3
- var d = /* @__PURE__ */ ((e) => (e.day = "day", e.workWeek = "workWeek", e.week = "week", e.agendum = "agendum", e))(d || {});
4
- const i = a((e, k) => ({
1
+ import { create as o } from "../../node_modules/.store/zustand@4.5.2/node_modules/zustand/esm/index.mjs";
2
+ import n from "../../node_modules/.store/dayjs@1.11.10/node_modules/dayjs/dayjs.min.mjs";
3
+ var t;
4
+ (function(e) {
5
+ e.day = "day", e.workWeek = "workWeek", e.week = "week", e.agendum = "agendum";
6
+ })(t || (t = {}));
7
+ const i = o((e, d) => ({
5
8
  colHeight: 0,
6
- currentDay: o(),
7
- CalendarType: "workWeek",
9
+ currentDay: n(),
10
+ CalendarType: t.workWeek,
8
11
  // 切换日历类型
9
- toggleCalendarType: (r) => e((t) => ({
10
- ...t,
12
+ toggleCalendarType: (r) => e((a) => ({
13
+ ...a,
11
14
  CalendarType: r
12
15
  })),
13
16
  // 设置时间
14
- setCurrentDay: (r) => e((t) => ({
15
- ...t,
17
+ setCurrentDay: (r) => e((a) => ({
18
+ ...a,
16
19
  currentDay: r
17
20
  })),
18
- setColHeight: (r) => e((t) => ({
19
- ...t,
21
+ setColHeight: (r) => e((a) => ({
22
+ ...a,
20
23
  colHeight: r
21
24
  })),
22
25
  preCalendar: () => e({}),
23
26
  nextCalendar: () => e({})
24
27
  }));
25
28
  export {
26
- d as CalendarTypeEnum,
29
+ t as CalendarTypeEnum,
27
30
  i as default,
28
31
  i as useBitzFuiCalendarStore
29
32
  };
@@ -1,18 +1,18 @@
1
1
  import { j as d } from "../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
2
  import { useState as y, useEffect as j, useMemo as D } from "react";
3
- import M from "../../node_modules/.store/dayjs@1.11.10/node_modules/dayjs/plugin/isToday.mjs";
3
+ import C from "../../node_modules/.store/dayjs@1.11.10/node_modules/dayjs/plugin/isToday.mjs";
4
4
  import n from "../../node_modules/.store/dayjs@1.11.10/node_modules/dayjs/dayjs.min.mjs";
5
- import { useBitzFuiCalendarStore as S, CalendarTypeEnum as C } from "./BitzFuiCalendarStore.mjs";
5
+ import { useBitzFuiCalendarStore as M, CalendarTypeEnum as S } from "./BitzFuiCalendarStore.mjs";
6
6
  import N from "./CalendarAgendumItem.mjs";
7
7
  import x from "./CalendarAgendum.module.less.mjs";
8
- import z from "../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
9
- import A from "../BitzNoData/index.mjs";
10
- n.extend(M);
8
+ import A from "../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
9
+ import E from "../BitzNoData/index.mjs";
10
+ n.extend(C);
11
11
  const h = (e) => e.reduce((r, s) => {
12
12
  let u = n(s.startTime).format("YYYY-MM-DD"), l = r.find((t) => t.date === u);
13
13
  return l || (l = { date: u, list: [] }, r.push(l)), l.list.push(s), r;
14
14
  }, []), L = (e) => {
15
- const { CalendarType: c, currentDay: r } = S((t) => t), [s, u] = y([]);
15
+ const { CalendarType: c, currentDay: r } = M((t) => t), [s, u] = y([]);
16
16
  j(() => {
17
17
  var t, f;
18
18
  if ((t = e == null ? void 0 : e.list) != null && t.length) {
@@ -28,26 +28,20 @@ const h = (e) => e.reduce((r, s) => {
28
28
  m.sort((a, o) => n(a.startTime).isAfter(n(o.startTime)) ? 1 : -1), console.log("list2", h(m)), u(h(m));
29
29
  }
30
30
  }, [e == null ? void 0 : e.list, r]);
31
- const l = D(() => c === C.agendum ? r.locale("zh-cn").format("MM月DD日dddd") : "", [r, c]);
32
- return /* @__PURE__ */ d.jsxs("ul", { className: "calendarAgendumBlock", children: [
33
- s == null ? void 0 : s.map((t, f) => {
34
- var o;
35
- const i = n(t == null ? void 0 : t.date), m = i.locale("zh-cn").format("DD日dddd"), a = n().isSame(i, "day");
36
- return [
37
- /* @__PURE__ */ d.jsxs("div", { className: z(x.timeContainer, {
38
- [x.istoday]: a
39
- }), children: [
40
- /* @__PURE__ */ d.jsx("span", { children: m }),
41
- a ? [
42
- /* @__PURE__ */ d.jsx("span", { className: x.splitLine, children: " | " }, "1"),
43
- /* @__PURE__ */ d.jsx("span", { children: "今天" }, "1")
44
- ] : null
45
- ] }, t == null ? void 0 : t.date),
46
- (o = t == null ? void 0 : t.list) == null ? void 0 : o.map((T, g) => /* @__PURE__ */ d.jsx(N, { data: T }, g))
47
- ];
48
- }),
49
- s.length ? null : /* @__PURE__ */ d.jsx(A, { title: `你在 ${l} 没有任何会议。` })
50
- ] });
31
+ const l = D(() => c === S.agendum ? r.locale("zh-cn").format("MM月DD日dddd") : "", [r, c]);
32
+ return d.jsxs("ul", { className: "calendarAgendumBlock", children: [s == null ? void 0 : s.map((t, f) => {
33
+ var o;
34
+ const i = n(t == null ? void 0 : t.date), m = i.locale("zh-cn").format("DD日dddd"), a = n().isSame(i, "day");
35
+ return [
36
+ d.jsxs("div", { className: A(x.timeContainer, {
37
+ [x.istoday]: a
38
+ }), children: [d.jsx("span", { children: m }), a ? [
39
+ d.jsx("span", { className: x.splitLine, children: " | " }, "1"),
40
+ d.jsx("span", { children: "今天" }, "1")
41
+ ] : null] }, t == null ? void 0 : t.date),
42
+ (o = t == null ? void 0 : t.list) == null ? void 0 : o.map((T, g) => d.jsx(N, { data: T }, g))
43
+ ];
44
+ }), s.length ? null : d.jsx(E, { title: `你在 ${l} 没有任何会议。` })] });
51
45
  };
52
46
  export {
53
47
  L as default
@@ -12,28 +12,10 @@ const d = (_, s) => {
12
12
  n > 0 ? m = `${r}小时 ${n}分钟` : m = `${r}小时`;
13
13
  }
14
14
  return m;
15
- }, u = (_) => {
15
+ }, f = (_) => {
16
16
  const { data: s } = _, t = a(() => d(l(s == null ? void 0 : s.startTime), l(s == null ? void 0 : s.endTime)), [s]);
17
- return /* @__PURE__ */ i.jsx("li", { className: e.CalendarAgendumItem, children: /* @__PURE__ */ i.jsx("div", { className: e["ui-list__item__main"], children: /* @__PURE__ */ i.jsx("div", { className: e["ui-list__item__contentWrapper"], children: /* @__PURE__ */ i.jsx("div", { className: e["ui-list__itemcontent"], children: /* @__PURE__ */ i.jsx("div", { className: e["ui-list__item__container"], children: /* @__PURE__ */ i.jsx("div", { className: e["ui-list__item__container__wrap"], children: /* @__PURE__ */ i.jsxs("div", { className: e["ui-list__item__container__item"], children: [
18
- /* @__PURE__ */ i.jsxs("div", { className: e["ui-list__item__container__item_left"], children: [
19
- /* @__PURE__ */ i.jsx("div", { className: e.item_left_1, children: /* @__PURE__ */ i.jsx("div", { className: e.item_left_1_1 }) }),
20
- /* @__PURE__ */ i.jsxs("div", { className: e.item_left_2, children: [
21
- /* @__PURE__ */ i.jsx("div", { className: e.item_left_2_1, children: l(s == null ? void 0 : s.startTime).format("HH:mm") }),
22
- /* @__PURE__ */ i.jsx("div", { className: e.item_left_2_2, children: t })
23
- ] })
24
- ] }),
25
- /* @__PURE__ */ i.jsxs("div", { className: e["ui-list__item__container__item_right"], children: [
26
- /* @__PURE__ */ i.jsxs("div", { className: e.item_right_1, children: [
27
- /* @__PURE__ */ i.jsxs("div", { children: [
28
- /* @__PURE__ */ i.jsx("div", { className: e.item_right_1_1, children: /* @__PURE__ */ i.jsx("span", { children: "23423423423" }) }),
29
- /* @__PURE__ */ i.jsx("div", { className: e.item_right_1_2, children: "Microsoft Teams Meeting" })
30
- ] }),
31
- /* @__PURE__ */ i.jsx("div", { className: e.item_right_1_3, children: /* @__PURE__ */ i.jsx(c, { children: "聊天" }) })
32
- ] }),
33
- /* @__PURE__ */ i.jsx("div", { className: e.item_right_2 })
34
- ] })
35
- ] }) }) }) }) }) }) });
17
+ return i.jsx("li", { className: e.CalendarAgendumItem, children: i.jsx("div", { className: e["ui-list__item__main"], children: i.jsx("div", { className: e["ui-list__item__contentWrapper"], children: i.jsx("div", { className: e["ui-list__itemcontent"], children: i.jsx("div", { className: e["ui-list__item__container"], children: i.jsx("div", { className: e["ui-list__item__container__wrap"], children: i.jsxs("div", { className: e["ui-list__item__container__item"], children: [i.jsxs("div", { className: e["ui-list__item__container__item_left"], children: [i.jsx("div", { className: e.item_left_1, children: i.jsx("div", { className: e.item_left_1_1 }) }), i.jsxs("div", { className: e.item_left_2, children: [i.jsx("div", { className: e.item_left_2_1, children: l(s == null ? void 0 : s.startTime).format("HH:mm") }), i.jsx("div", { className: e.item_left_2_2, children: t })] })] }), i.jsxs("div", { className: e["ui-list__item__container__item_right"], children: [i.jsxs("div", { className: e.item_right_1, children: [i.jsxs("div", { children: [i.jsx("div", { className: e.item_right_1_1, children: i.jsx("span", { children: "23423423423" }) }), i.jsx("div", { className: e.item_right_1_2, children: "Microsoft Teams Meeting" })] }), i.jsx("div", { className: e.item_right_1_3, children: i.jsx(c, { children: "聊天" }) })] }), i.jsx("div", { className: e.item_right_2 })] })] }) }) }) }) }) }) });
36
18
  };
37
19
  export {
38
- u as default
20
+ f as default
39
21
  };
@@ -2,7 +2,7 @@ import { j as a } from "../../node_modules/.store/react@18.2.0/node_modules/reac
2
2
  import { useState as _, useEffect as y, useMemo as f } from "react";
3
3
  import C from "./ColumnData.mjs";
4
4
  import { useBitzFuiCalendarStore as h, CalendarTypeEnum as d } from "./BitzFuiCalendarStore.mjs";
5
- const v = (n) => {
5
+ const F = (n) => {
6
6
  const { CalendarType: s, currentDay: r } = h((e) => e), l = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], [m, c] = _([]);
7
7
  y(() => {
8
8
  const e = [];
@@ -27,34 +27,11 @@ const v = (n) => {
27
27
  }
28
28
  return [r];
29
29
  }, [s, r]);
30
- return /* @__PURE__ */ a.jsx("div", { className: "bitzFuiCalendarBody", children: /* @__PURE__ */ a.jsxs("div", { className: "bitzFuiCalendarBodyContainer", children: [
31
- /* @__PURE__ */ a.jsx("div", { className: "bitzFuiCalendarBody__time", children: l.map((e, t) => /* @__PURE__ */ a.jsxs(
32
- "span",
33
- {
34
- className: "bitzFuiCalendarBody__time__item",
35
- children: [
36
- t,
37
- "时"
38
- ]
39
- },
40
- t + "b"
41
- )) }),
42
- /* @__PURE__ */ a.jsx("div", { className: "bitzFuiCalendarBody__content", children: u.map((e, t) => /* @__PURE__ */ a.jsxs("div", { className: "bitzFuiCalendarBody__content__row", children: [
43
- /* @__PURE__ */ a.jsx("div", { className: "bitzFuiCalendarBody__content__row__list", children: m.map((i, o) => /* @__PURE__ */ a.jsx(
44
- "div",
45
- {
46
- className: "bitzFuiCalendarBody__content__row__item",
47
- style: {
48
- minHeight: "4.05rem",
49
- borderBottomStyle: o % 2 ? "solid" : "dashed"
50
- }
51
- },
52
- o
53
- )) }),
54
- /* @__PURE__ */ a.jsx(C, { time: e, list: n == null ? void 0 : n.data })
55
- ] }, t)) })
56
- ] }) });
30
+ return a.jsx("div", { className: "bitzFuiCalendarBody", children: a.jsxs("div", { className: "bitzFuiCalendarBodyContainer", children: [a.jsx("div", { className: "bitzFuiCalendarBody__time", children: l.map((e, t) => a.jsxs("span", { className: "bitzFuiCalendarBody__time__item", children: [t, "时"] }, t + "b")) }), a.jsx("div", { className: "bitzFuiCalendarBody__content", children: u.map((e, t) => a.jsxs("div", { className: "bitzFuiCalendarBody__content__row", children: [a.jsx("div", { className: "bitzFuiCalendarBody__content__row__list", children: m.map((i, o) => a.jsx("div", { className: "bitzFuiCalendarBody__content__row__item", style: {
31
+ minHeight: "4.05rem",
32
+ borderBottomStyle: o % 2 ? "solid" : "dashed"
33
+ } }, o)) }), a.jsx(C, { time: e, list: n == null ? void 0 : n.data })] }, t)) })] }) });
57
34
  };
58
35
  export {
59
- v as default
36
+ F as default
60
37
  };
@@ -3,10 +3,7 @@ import i from "./CalendarHeadItem.mjs";
3
3
  import { useMemo as m } from "react";
4
4
  import { useBitzFuiCalendarStore as u, CalendarTypeEnum as o } from "./BitzFuiCalendarStore.mjs";
5
5
  const C = () => {
6
- const {
7
- CalendarType: n,
8
- currentDay: t
9
- } = u((e) => e), d = m(() => {
6
+ const { CalendarType: n, currentDay: t } = u((e) => e), d = m(() => {
10
7
  if (n === o.day)
11
8
  return [t];
12
9
  if (n === o.workWeek) {
@@ -23,7 +20,7 @@ const C = () => {
23
20
  }
24
21
  return [t];
25
22
  }, [n, t]);
26
- return /* @__PURE__ */ s.jsx("div", { className: "bitzFuiCalendarHead", children: d.map((e, a) => /* @__PURE__ */ s.jsx(i, { time: e }, a)) });
23
+ return s.jsx("div", { className: "bitzFuiCalendarHead", children: d.map((e, a) => s.jsx(i, { time: e }, a)) });
27
24
  };
28
25
  export {
29
26
  C as default
@@ -4,18 +4,9 @@ import d from "../../node_modules/.store/dayjs@1.11.10/node_modules/dayjs/dayjs.
4
4
  import i from "../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
5
5
  const n = (t) => {
6
6
  const { time: e } = t, s = r(() => e.isSame(d(), "day"), [e]);
7
- return /* @__PURE__ */ a.jsx(
8
- "div",
9
- {
10
- className: i("bitzFuiCalendarHeadItem", {
11
- bitzFuiCalendarHeadItem_active: s
12
- }),
13
- children: /* @__PURE__ */ a.jsxs("div", { className: "bitzFuiCalendarHeadItem__content", children: [
14
- /* @__PURE__ */ a.jsx("span", { className: "bitzFuiCalendarHeadItem__num", children: e.format("DD") }),
15
- /* @__PURE__ */ a.jsx("span", { className: "bitzFuiCalendarHeadItem__week", children: e.locale("zh-cn").format("dddd") })
16
- ] })
17
- }
18
- );
7
+ return a.jsx("div", { className: i("bitzFuiCalendarHeadItem", {
8
+ bitzFuiCalendarHeadItem_active: s
9
+ }), children: a.jsxs("div", { className: "bitzFuiCalendarHeadItem__content", children: [a.jsx("span", { className: "bitzFuiCalendarHeadItem__num", children: e.format("DD") }), a.jsx("span", { className: "bitzFuiCalendarHeadItem__week", children: e.locale("zh-cn").format("dddd") })] }) });
19
10
  }, p = m(n);
20
11
  export {
21
12
  p as default
@@ -1,6 +1,6 @@
1
1
  import { j as e } from "../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
- import { memo as C, useMemo as i } from "react";
3
- import { Space as c, Button as o, DatePicker as b, Dropdown as h } from "antd";
2
+ import { memo as h, useMemo as s } from "react";
3
+ import { Space as c, Button as t, DatePicker as j, Dropdown as b } from "antd";
4
4
  import { useBitzFuiCalendarStore as w, CalendarTypeEnum as a } from "./BitzFuiCalendarStore.mjs";
5
5
  import g from "../../node_modules/.store/dayjs@1.11.10/node_modules/dayjs/dayjs.min.mjs";
6
6
  import T from "../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/AppstoreOutlined.mjs";
@@ -8,12 +8,7 @@ import v from "../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@a
8
8
  import _ from "../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/RightOutlined.mjs";
9
9
  import D from "../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/DownOutlined.mjs";
10
10
  const z = () => {
11
- const {
12
- CalendarType: n,
13
- currentDay: d,
14
- toggleCalendarType: u,
15
- setCurrentDay: l
16
- } = w((r) => r), s = [
11
+ const { CalendarType: n, currentDay: d, toggleCalendarType: u, setCurrentDay: l } = w((r) => r), i = [
17
12
  {
18
13
  key: a.day,
19
14
  label: "日"
@@ -31,12 +26,12 @@ const z = () => {
31
26
  key: a.agendum,
32
27
  label: "议程"
33
28
  }
34
- ], m = i(() => {
29
+ ], m = s(() => {
35
30
  var r;
36
- return ((r = s.find((t) => (t == null ? void 0 : t.key) === n)) == null ? void 0 : r.label) ?? "";
31
+ return ((r = i.find((o) => (o == null ? void 0 : o.key) === n)) == null ? void 0 : r.label) ?? "";
37
32
  }, [n]), k = (r) => {
38
33
  u(r.key);
39
- }, f = i(() => {
34
+ }, f = s(() => {
40
35
  switch (n) {
41
36
  case a.day:
42
37
  return "date";
@@ -49,49 +44,22 @@ const z = () => {
49
44
  default:
50
45
  return "date";
51
46
  }
52
- }, [n]), y = (r, t) => {
47
+ }, [n]), y = (r, o) => {
53
48
  r && l(r);
54
- }, x = () => {
55
- [a.day, a.agendum].includes(n) && l(d.add(-1, "day")), [a.workWeek, a.week].includes(n) && l(d.add(-7, "day"));
56
49
  }, p = () => {
50
+ [a.day, a.agendum].includes(n) && l(d.add(-1, "day")), [a.workWeek, a.week].includes(n) && l(d.add(-7, "day"));
51
+ }, x = () => {
57
52
  [a.day, a.agendum].includes(n) && l(d.add(1, "day")), [a.workWeek, a.week].includes(n) && l(d.add(7, "day"));
58
- }, j = () => {
53
+ }, C = () => {
59
54
  l(g().startOf("date"));
60
55
  };
61
- return /* @__PURE__ */ e.jsxs("div", { className: "bitzFuiCalendarToolbar", children: [
62
- /* @__PURE__ */ e.jsx("div", { className: "bitzFuiCalendarToolbar__left", children: /* @__PURE__ */ e.jsxs(c, { children: [
63
- /* @__PURE__ */ e.jsx("div", { className: "bitzFuiCalendarToolbar__today", children: /* @__PURE__ */ e.jsx(o, { onClick: j, type: "text", icon: /* @__PURE__ */ e.jsx(T, {}), children: "今天" }) }),
64
- /* @__PURE__ */ e.jsx(o, { onClick: x, icon: /* @__PURE__ */ e.jsx(v, {}) }),
65
- /* @__PURE__ */ e.jsx(o, { onClick: p, icon: /* @__PURE__ */ e.jsx(_, {}) }),
66
- /* @__PURE__ */ e.jsx(
67
- b,
68
- {
69
- onChange: y,
70
- format: "YYYY月MM月",
71
- allowClear: !1,
72
- picker: f,
73
- value: d,
74
- bordered: !1
75
- }
76
- )
77
- ] }) }),
78
- /* @__PURE__ */ e.jsx("div", { className: "bitzFuiCalendarToolbar__right", children: /* @__PURE__ */ e.jsx("div", { className: "bitzFuiCalendarToolbar__right_dropdown", children: /* @__PURE__ */ e.jsx(
79
- h,
80
- {
81
- menu: {
82
- items: s,
83
- selectable: !0,
84
- defaultSelectedKeys: [n],
85
- onClick: k
86
- },
87
- children: /* @__PURE__ */ e.jsx("a", { onClick: (r) => r.preventDefault(), children: /* @__PURE__ */ e.jsxs(c, { children: [
88
- /* @__PURE__ */ e.jsx("div", { children: m }),
89
- /* @__PURE__ */ e.jsx(D, {})
90
- ] }) })
91
- }
92
- ) }) })
93
- ] });
94
- }, P = C(z);
56
+ return e.jsxs("div", { className: "bitzFuiCalendarToolbar", children: [e.jsx("div", { className: "bitzFuiCalendarToolbar__left", children: e.jsxs(c, { children: [e.jsx("div", { className: "bitzFuiCalendarToolbar__today", children: e.jsx(t, { onClick: C, type: "text", icon: e.jsx(T, {}), children: "今天" }) }), e.jsx(t, { onClick: p, icon: e.jsx(v, {}) }), e.jsx(t, { onClick: x, icon: e.jsx(_, {}) }), e.jsx(j, { onChange: y, format: "YYYY月MM月", allowClear: !1, picker: f, value: d, bordered: !1 })] }) }), e.jsx("div", { className: "bitzFuiCalendarToolbar__right", children: e.jsx("div", { className: "bitzFuiCalendarToolbar__right_dropdown", children: e.jsx(b, { menu: {
57
+ items: i,
58
+ selectable: !0,
59
+ defaultSelectedKeys: [n],
60
+ onClick: k
61
+ }, children: e.jsx("a", { onClick: (r) => r.preventDefault(), children: e.jsxs(c, { children: [e.jsx("div", { children: m }), e.jsx(D, {})] }) }) }) }) })] });
62
+ }, B = h(z);
95
63
  export {
96
- P as default
64
+ B as default
97
65
  };
@@ -1,5 +1,5 @@
1
1
  import { j as C } from "../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
- import { memo as k, useRef as H, useState as D, useEffect as O } from "react";
2
+ import { memo as $, useRef as k, useState as D, useEffect as O } from "react";
3
3
  import E from "./FuiCalendarItem.mjs";
4
4
  import b from "../../node_modules/.store/dayjs@1.11.10/node_modules/dayjs/plugin/isSameOrAfter.mjs";
5
5
  import F from "../../node_modules/.store/dayjs@1.11.10/node_modules/dayjs/plugin/isSameOrBefore.mjs";
@@ -9,7 +9,7 @@ import { useBitzFuiCalendarStore as z } from "./BitzFuiCalendarStore.mjs";
9
9
  r.extend(M);
10
10
  r.extend(F);
11
11
  r.extend(b);
12
- const x = 1440;
12
+ const S = 1440;
13
13
  function w(i) {
14
14
  const a = [];
15
15
  return i.forEach((f) => {
@@ -34,16 +34,13 @@ function w(i) {
34
34
  }), a;
35
35
  }
36
36
  const I = (i) => {
37
- const { time: a } = i, {
38
- colHeight: f,
39
- setColHeight: l
40
- } = z((e) => e), c = H(null), u = 194.4, [d, h] = D([]);
37
+ const { time: a } = i, { colHeight: f, setColHeight: l } = z((e) => e), c = k(null), u = 194.4, [d, h] = D([]);
41
38
  O(() => {
42
39
  var e, n;
43
40
  if ((e = i == null ? void 0 : i.list) != null && e.length) {
44
41
  let t = (n = i == null ? void 0 : i.list) == null ? void 0 : n.filter((o) => {
45
- let T = r(o.startTime), S = r(o.endTime);
46
- return T.isSame(a, "day") || S.isSame(a, "day");
42
+ let T = r(o.startTime), x = r(o.endTime);
43
+ return T.isSame(a, "day") || x.isSame(a, "day");
47
44
  });
48
45
  const s = t == null ? void 0 : t.map((o) => ({
49
46
  ...o,
@@ -63,35 +60,22 @@ const I = (i) => {
63
60
  let m = r(e), o = r(n);
64
61
  const T = a.startOf("day");
65
62
  m.isBefore(T) && (m = T);
66
- const S = a.endOf("day");
67
- o.isAfter(S) && (o = S);
68
- const B = m.hour() * 60 + m.minute(), y = o.diff(m, "minute"), j = B / x * u, A = y / x * u, R = u / x * y, _ = (s - t - 1) / s * 100, $ = t / s * 100;
63
+ const x = a.endOf("day");
64
+ o.isAfter(x) && (o = x);
65
+ const B = m.hour() * 60 + m.minute(), y = o.diff(m, "minute"), j = B / S * u, A = y / S * u, H = u / S * y, R = (s - t - 1) / s * 100, _ = t / s * 100;
69
66
  return {
70
- right: `${_}%`,
71
- left: `${$}%`,
67
+ right: `${R}%`,
68
+ left: `${_}%`,
72
69
  top: `${j}rem`,
73
70
  height: `${A}rem`,
74
- maxHeight: `${R}rem`
71
+ maxHeight: `${H}rem`
75
72
  };
76
73
  };
77
- return /* @__PURE__ */ C.jsx("div", { className: "bitzFuiCalendarBody__content__row__list2", ref: c, children: d.map((e, n) => e.map((t, s) => {
78
- const { maxHeight: m, ...o } = g(
79
- t.startTime,
80
- t.endTime,
81
- n,
82
- d.length
83
- );
84
- return /* @__PURE__ */ C.jsx(
85
- E,
86
- {
87
- event: t,
88
- style: o,
89
- maxHeight: m
90
- },
91
- s
92
- );
74
+ return C.jsx("div", { className: "bitzFuiCalendarBody__content__row__list2", ref: c, children: d.map((e, n) => e.map((t, s) => {
75
+ const { maxHeight: m, ...o } = g(t.startTime, t.endTime, n, d.length);
76
+ return C.jsx(E, { event: t, style: o, maxHeight: m }, s);
93
77
  })) });
94
- }, U = k(I);
78
+ }, U = $(I);
95
79
  export {
96
80
  U as default
97
81
  };
@@ -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