bitz-react-admin-ui 2.2.8 → 2.2.9

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 (169) hide show
  1. package/dist/assets/iconfont/IconChenggong.mjs +10 -4
  2. package/dist/assets/iconfont/IconClose.mjs +7 -1
  3. package/dist/assets/iconfont/IconColumnCancelFixed.mjs +25 -4
  4. package/dist/assets/iconfont/IconColumnFixedLeft.mjs +29 -8
  5. package/dist/assets/iconfont/IconColumnFixedRight.mjs +28 -7
  6. package/dist/assets/iconfont/IconCuowu.mjs +8 -2
  7. package/dist/assets/iconfont/IconDragOrder.mjs +28 -7
  8. package/dist/assets/iconfont/IconDuigoux.mjs +8 -2
  9. package/dist/assets/iconfont/IconFabu.mjs +18 -3
  10. package/dist/assets/iconfont/IconFanhui.mjs +11 -5
  11. package/dist/assets/iconfont/IconGaojisousuo.mjs +10 -4
  12. package/dist/assets/iconfont/IconHangfengexian.mjs +27 -4
  13. package/dist/assets/iconfont/IconHangliefengexian.mjs +27 -4
  14. package/dist/assets/iconfont/IconIcFluentHomeRegular.mjs +11 -5
  15. package/dist/assets/iconfont/IconIcon21.mjs +8 -2
  16. package/dist/assets/iconfont/IconJincoude.mjs +9 -3
  17. package/dist/assets/iconfont/IconJinggao.mjs +8 -2
  18. package/dist/assets/iconfont/IconKuansongde.mjs +11 -5
  19. package/dist/assets/iconfont/IconLiefengexian.mjs +28 -5
  20. package/dist/assets/iconfont/IconMore.mjs +26 -4
  21. package/dist/assets/iconfont/IconShanchu.mjs +11 -5
  22. package/dist/assets/iconfont/IconShanchu1.mjs +18 -3
  23. package/dist/assets/iconfont/IconSousuo.mjs +10 -4
  24. package/dist/assets/iconfont/IconTejincou.mjs +7 -1
  25. package/dist/assets/iconfont/IconTekuansong.mjs +11 -5
  26. package/dist/assets/iconfont/IconTishi1.mjs +12 -6
  27. package/dist/assets/iconfont/IconTuodong.mjs +12 -6
  28. package/dist/assets/iconfont/IconWubanmawentianchong.mjs +22 -5
  29. package/dist/assets/iconfont/IconWufengexian.mjs +11 -4
  30. package/dist/assets/iconfont/IconXinxitishi.mjs +9 -3
  31. package/dist/assets/iconfont/IconYoubanmawentianchong.mjs +23 -7
  32. package/dist/assets/iconfont/IconZhongdengde.mjs +10 -4
  33. package/dist/assets/iconfont/IconZhongzhi.mjs +11 -5
  34. package/dist/assets/iconfont/index.mjs +33 -33
  35. package/dist/components/BitzAddTag/index.mjs +41 -8
  36. package/dist/components/BitzAddressBook/index.mjs +122 -35
  37. package/dist/components/BitzAppPage/index.mjs +18 -4
  38. package/dist/components/BitzAppRefresh/index.mjs +27 -15
  39. package/dist/components/BitzBetterScroll/index.mjs +5 -5
  40. package/dist/components/BitzButton/index.mjs +23 -9
  41. package/dist/components/BitzCalendar/index.mjs +52 -19
  42. package/dist/components/BitzCascader/BitzCascaderMobile.mjs +68 -30
  43. package/dist/components/BitzCascader/index.mjs +6 -2
  44. package/dist/components/BitzCollapse/index.mjs +4 -4
  45. package/dist/components/BitzConfigProvider/context.mjs +3 -1
  46. package/dist/components/BitzConfigProvider/index.mjs +12 -8
  47. package/dist/components/BitzConfirmModal/index.mjs +24 -1
  48. package/dist/components/BitzConvert/DropdownToButton/index.mjs +14 -11
  49. package/dist/components/BitzConvert/index.mjs +1 -1
  50. package/dist/components/BitzDescriptions/index.mjs +11 -1
  51. package/dist/components/BitzDrawer/index.mjs +17 -2
  52. package/dist/components/BitzEmpty/index.mjs +6 -2
  53. package/dist/components/BitzException/index.mjs +6 -1
  54. package/dist/components/BitzFloatLayout/index.mjs +10 -1
  55. package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +13 -16
  56. package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +26 -20
  57. package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +21 -3
  58. package/dist/components/BitzFuiCalendar/CalendarBody.mjs +27 -4
  59. package/dist/components/BitzFuiCalendar/CalendarHead.mjs +5 -2
  60. package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +12 -3
  61. package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +51 -19
  62. package/dist/components/BitzFuiCalendar/ColumnData.mjs +30 -14
  63. package/dist/components/BitzFuiCalendar/FuiCalendarItem.mjs +47 -5
  64. package/dist/components/BitzFuiCalendar/index.mjs +7 -1
  65. package/dist/components/BitzFullScreen/index.mjs +9 -6
  66. package/dist/components/BitzHighlight/Child.mjs +23 -9
  67. package/dist/components/BitzHighlight/Highlight.mjs +26 -5
  68. package/dist/components/BitzHighlight/chunks.mjs +20 -17
  69. package/dist/components/BitzHighlight/style.mjs +4 -1
  70. package/dist/components/BitzImage/index.mjs +1 -1
  71. package/dist/components/BitzImage/previewImage.mjs +12 -5
  72. package/dist/components/BitzLanguageTabs/index.mjs +14 -3
  73. package/dist/components/BitzLazyLoad/index.mjs +7 -1
  74. package/dist/components/BitzList/List.mjs +17 -3
  75. package/dist/components/BitzList/LoadMore.mjs +29 -20
  76. package/dist/components/BitzLoadMore/index.mjs +34 -14
  77. package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +24 -11
  78. package/dist/components/BitzMeetingTime/index.mjs +10 -6
  79. package/dist/components/BitzMobileLoading/index.mjs +1 -1
  80. package/dist/components/BitzModal/index.mjs +24 -11
  81. package/dist/components/BitzNoData/index.mjs +4 -1
  82. package/dist/components/BitzNoMore/index.mjs +1 -1
  83. package/dist/components/BitzOrganizationSelection/index.mjs +43 -14
  84. package/dist/components/BitzPageContainer/index.mjs +107 -46
  85. package/dist/components/BitzPageHeader/index.mjs +89 -21
  86. package/dist/components/BitzPagination/index.mjs +71 -22
  87. package/dist/components/BitzPopover/index.mjs +4 -4
  88. package/dist/components/BitzPullRefresh/PullRefresh.mjs +47 -18
  89. package/dist/components/BitzQRCode/index.mjs +6 -1
  90. package/dist/components/BitzQueryFilter/QueryFilterContent.mjs +35 -17
  91. package/dist/components/BitzQueryFilter/QueryFilterDrawer.mjs +20 -13
  92. package/dist/components/BitzQueryFilter/QueryFilterMobile.mjs +4 -1
  93. package/dist/components/BitzQueryFilter/index.mjs +69 -20
  94. package/dist/components/BitzRefresh/index.mjs +5 -1
  95. package/dist/components/BitzRemark/index.mjs +4 -4
  96. package/dist/components/BitzScheduleCenter/index.mjs +24 -30
  97. package/dist/components/BitzSearch/index.mjs +1 -1
  98. package/dist/components/BitzSelect/component/BitzSelectMobile.mjs +123 -48
  99. package/dist/components/BitzSelect/index.mjs +1 -1
  100. package/dist/components/BitzSkeleton/index.mjs +31 -1
  101. package/dist/components/BitzSwitch/index.mjs +7 -2
  102. package/dist/components/BitzTabbar/BitzTabbar.mjs +25 -8
  103. package/dist/components/BitzTabbar/BitzTabbarItem.mjs +4 -1
  104. package/dist/components/BitzTable/ActionBar/ActionBar.mjs +73 -12
  105. package/dist/components/BitzTable/ActionBar/Button.mjs +1 -1
  106. package/dist/components/BitzTable/ActionBar/style.mjs +12 -9
  107. package/dist/components/BitzTable/ActionCol/index.mjs +95 -21
  108. package/dist/components/BitzTable/ActionCol/style.mjs +15 -12
  109. package/dist/components/BitzTable/Dropdown/index.mjs +8 -1
  110. package/dist/components/BitzTable/Dropdown/style.mjs +9 -6
  111. package/dist/components/BitzTable/SelectionBar/Button.mjs +19 -6
  112. package/dist/components/BitzTable/SelectionBar/SelectionBar.mjs +8 -2
  113. package/dist/components/BitzTable/SelectionBar/style.mjs +18 -8
  114. package/dist/components/BitzTable/Store/index.mjs +121 -89
  115. package/dist/components/BitzTable/Store/utils/index.mjs +25 -25
  116. package/dist/components/BitzTable/SubTable/index.mjs +100 -52
  117. package/dist/components/BitzTable/Table/ResizableTitle.mjs +23 -5
  118. package/dist/components/BitzTable/Table/SortTableContext.mjs +20 -7
  119. package/dist/components/BitzTable/Table/SortableRow.mjs +44 -20
  120. package/dist/components/BitzTable/Table/index.mjs +395 -187
  121. package/dist/components/BitzTable/Table/style.mjs +11 -1
  122. package/dist/components/BitzTable/Table/utils.mjs +11 -4
  123. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +92 -28
  124. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndItem.mjs +97 -22
  125. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndList.mjs +68 -29
  126. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +253 -145
  127. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndItem.mjs +38 -12
  128. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndList.mjs +42 -16
  129. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +96 -20
  130. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/RadioCard.mjs +9 -2
  131. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +100 -46
  132. package/dist/components/BitzTable/ToolBar/ColConfigIcon/index.mjs +30 -8
  133. package/dist/components/BitzTable/ToolBar/ExportIcon/ExportModal.mjs +44 -14
  134. package/dist/components/BitzTable/ToolBar/ExportIcon/index.mjs +44 -12
  135. package/dist/components/BitzTable/ToolBar/FullscreenIcon/index.mjs +17 -4
  136. package/dist/components/BitzTable/ToolBar/Modal/index.mjs +49 -12
  137. package/dist/components/BitzTable/ToolBar/RefreshIcon/index.mjs +20 -9
  138. package/dist/components/BitzTable/ToolBar/Wrapper/index.mjs +48 -2
  139. package/dist/components/BitzTable/ToolBar/style.mjs +6 -1
  140. package/dist/components/BitzTableOperations/index.mjs +13 -3
  141. package/dist/components/BitzTableSelect/Picker/index.mjs +43 -10
  142. package/dist/components/BitzTableSelect/Select/index.mjs +87 -21
  143. package/dist/components/BitzTableSelect/SelectPopup/getData.mjs +30 -20
  144. package/dist/components/BitzTableSelect/SelectPopup/index.mjs +239 -61
  145. package/dist/components/BitzTableSelect/TableCell/index.mjs +49 -8
  146. package/dist/components/BitzTableSelect/TextBlock/index.mjs +23 -5
  147. package/dist/components/BitzTableSelect/index.mjs +61 -13
  148. package/dist/components/BitzTag/index.mjs +1 -1
  149. package/dist/components/BitzTheme/index.mjs +6 -6
  150. package/dist/components/BitzTimeline/index.mjs +11 -1
  151. package/dist/components/BitzTimer/Form.mjs +32 -11
  152. package/dist/components/BitzTimer/Timer.mjs +76 -38
  153. package/dist/components/BitzTimer/index.mjs +66 -43
  154. package/dist/components/BitzToast/Toast/index.mjs +28 -10
  155. package/dist/components/BitzToast/index.mjs +1 -1
  156. package/dist/components/BitzTree/index.mjs +4 -1
  157. package/dist/components/BitzUeEditor/index.mjs +5 -5
  158. package/dist/components/BitzUpload/index.mjs +81 -43
  159. package/dist/components/BitzWebAppDrawer/index.mjs +35 -4
  160. package/dist/components/BitzWebAppModal/index.mjs +6 -3
  161. package/dist/hooks/use-event-listener.mjs +11 -2
  162. package/dist/hooks/use-lock-fn.mjs +13 -10
  163. package/dist/hooks/use-scroll-parent.mjs +16 -14
  164. package/dist/hooks/useEvent.mjs +7 -4
  165. package/dist/hooks/useMergedState.mjs +11 -11
  166. package/dist/style.css +1 -1
  167. package/dist/utils/WithFluent.mjs +27 -12
  168. package/dist/utils/create.mjs +7 -1
  169. package/package.json +1 -1
@@ -1,82 +1,260 @@
1
1
  import { j as e } from "../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
- import { useRef as se, useContext as ne, useState as B, useMemo as v, useCallback as ce, useEffect as ie } from "react";
3
- import { Row as b, Col as a, Space as K, Form as h, Select as _, Spin as ae, Typography as ue, Flex as pe, Empty as G } from "antd";
2
+ import { useRef as se, useContext as ce, useState as v, useMemo as B, useCallback as ne, useEffect as ie } from "react";
3
+ import { Row as b, Col as a, Space as F, Form as h, Select as G, Spin as ae, Typography as pe, Flex as ue, Empty as H } from "antd";
4
4
  import de from "../../BitzPagination/index.mjs";
5
5
  import xe from "../../BitzTable/index.mjs";
6
- import H from "../../BitzButton/index.mjs";
6
+ import L from "../../BitzButton/index.mjs";
7
7
  import { getColumns as me, getExpandable as he, getLayoutConfig as je } from "./getData.mjs";
8
- import fe from "../TextBlock/index.mjs";
9
- import Se from "../../../node_modules/.store/ahooks@3.7.11/node_modules/ahooks/es/useSize/index.mjs";
8
+ import Se from "../TextBlock/index.mjs";
9
+ import fe from "../../../node_modules/.store/ahooks@3.7.11/node_modules/ahooks/es/useSize/index.mjs";
10
10
  import be from "../../BitzTheme/index.mjs";
11
11
  import ye from "../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
12
12
  import { BitzConfigContext as we } from "../../BitzConfigProvider/context.mjs";
13
13
  import "./index.less.mjs";
14
- import ge from "../../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/InfoCircleOutlined.mjs";
15
- import Te from "../../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/CloseOutlined.mjs";
16
- function Ge({ columns: E, tableData: y, total: L, loading: u, loadingFailed: j, loadAgain: O, page: P, onPageChange: W, searchInput: $, showToolTagSelect: z, toolTags: q, onToolTagChange: w, lrLayout: g, parentRender: C, keys: R, rows: I, fieldNames: t, onChange: x, onDropdownVisibleChange: f }) {
17
- var F, M, D;
18
- const k = se(null), T = Se(k), { token: s } = be.useToken(), A = ((F = s == null ? void 0 : s.BitzTableSelect) == null ? void 0 : F.tableSpaceBetweenPage) ?? 10, J = ((M = ne(we).TableSelect) == null ? void 0 : M.defaultSize) ?? "md", [n, Q] = B([]), [o, U] = B([]), [X, Y] = B(void 0), Z = (r, l) => {
19
- Y(r), w == null || w(r, l), r || (f(!0), setTimeout(() => {
20
- f(!1);
14
+ import Te from "../../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/InfoCircleOutlined.mjs";
15
+ import ge from "../../../node_modules/.store/@ant-design_icons@5.3.6/node_modules/@ant-design/icons/es/icons/CloseOutlined.mjs";
16
+ function He({
17
+ columns: P,
18
+ tableData: y,
19
+ total: O,
20
+ loading: p,
21
+ loadingFailed: j,
22
+ loadAgain: W,
23
+ page: z,
24
+ onPageChange: $,
25
+ searchInput: q,
26
+ showToolTagSelect: E,
27
+ toolTags: J,
28
+ onToolTagChange: w,
29
+ lrLayout: T,
30
+ parentRender: I,
31
+ keys: R,
32
+ rows: C,
33
+ fieldNames: t,
34
+ onChange: x,
35
+ onDropdownVisibleChange: S
36
+ }) {
37
+ var K, _, A;
38
+ const k = se(null), g = fe(k), { token: s } = be.useToken(), M = ((K = s == null ? void 0 : s.BitzTableSelect) == null ? void 0 : K.tableSpaceBetweenPage) ?? 10, Q = ((_ = ce(we).TableSelect) == null ? void 0 : _.defaultSize) ?? "md", [c, U] = v([]), [r, X] = v([]), [Y, Z] = v(void 0), D = (l, o) => {
39
+ Z(l), w == null || w(l, o), l || (S(!0), setTimeout(() => {
40
+ S(!1);
21
41
  }, 0));
22
- }, V = v(() => me(E, y, P), [E]), N = {
23
- selectedRowKeys: n,
24
- onSelect: (r, l) => {
25
- if (l)
26
- n.push(r[t.value]), o.push(r), x(n, o);
42
+ }, V = B(() => me(P, y, z), [P]), N = {
43
+ selectedRowKeys: c,
44
+ onSelect: (l, o) => {
45
+ if (o)
46
+ c.push(l[t.value]), r.push(l), x(c, r);
27
47
  else {
28
- const p = o.filter((d) => d[t.value] !== r[t.value]);
29
- x(p.map((d) => d[t.value]), p);
48
+ const u = r.filter(
49
+ (d) => d[t.value] !== l[t.value]
50
+ );
51
+ x(
52
+ u.map((d) => d[t.value]),
53
+ u
54
+ );
30
55
  }
31
56
  },
32
- onSelectAll: (r, l, p) => {
33
- const d = p.map((i) => i[t.value]);
34
- if (r) {
35
- const i = n.concat(d), S = o.concat(p);
36
- x(i, S);
57
+ onSelectAll: (l, o, u) => {
58
+ const d = u.map((i) => i[t.value]);
59
+ if (l) {
60
+ const i = c.concat(d), f = r.concat(u);
61
+ x(i, f);
37
62
  } else {
38
- const i = n == null ? void 0 : n.filter((m) => !d.includes(m)), S = /* @__PURE__ */ new Map();
39
- p.forEach((m) => {
40
- S.set(m[t.value], m);
63
+ const i = c == null ? void 0 : c.filter((m) => !d.includes(m)), f = /* @__PURE__ */ new Map();
64
+ u.forEach((m) => {
65
+ f.set(m[t.value], m);
41
66
  });
42
- const le = o == null ? void 0 : o.filter((m) => !S.has(m[t.value]));
43
- x(i, le);
67
+ const oe = r == null ? void 0 : r.filter(
68
+ (m) => !f.has(m[t.value])
69
+ );
70
+ x(i, oe);
44
71
  }
45
72
  }
46
- }, ee = ce(() => he(t.items, u), [t.items, u]), te = (r, l) => e.jsxs("span", { style: { color: s.colorText }, children: [r[0], " ", e.jsx("span", { style: { color: s.colorPrimary, fontWeight: 600 }, children: l }), " ", r[1]] }), oe = () => {
47
- const r = (l) => {
48
- const p = o.findIndex((i) => i[t.value] === l[t.value]), d = n.findIndex((i) => i === l[t.value]);
49
- o.splice(p, 1), n.splice(d, 1), x(n, o);
73
+ }, ee = ne(() => he(t.items, p), [t.items, p]), te = (l, o) => /* @__PURE__ */ e.jsxs("span", { style: { color: s.colorText }, children: [
74
+ l[0],
75
+ " ",
76
+ /* @__PURE__ */ e.jsx("span", { style: { color: s.colorPrimary, fontWeight: 600 }, children: o }),
77
+ " ",
78
+ l[1]
79
+ ] }), re = () => {
80
+ const l = (o) => {
81
+ const u = r.findIndex(
82
+ (i) => i[t.value] === o[t.value]
83
+ ), d = c.findIndex(
84
+ (i) => i === o[t.value]
85
+ );
86
+ r.splice(u, 1), c.splice(d, 1), x(c, r);
50
87
  };
51
- return e.jsxs(K, { direction: "vertical", style: {
52
- width: "calc(100% - 5px)",
53
- paddingRight: 5,
54
- maxHeight: o.length ? 220 : "auto",
55
- overflow: "hidden auto"
56
- }, children: [o.map((l) => e.jsxs(pe, { justify: "space-between", style: {
57
- padding: "4px 8px",
58
- border: `1px solid ${s.colorBorder}`,
59
- backgroundColor: "#f5f5f5",
60
- borderRadius: s.borderRadiusSM,
61
- overflow: "hidden"
62
- }, children: [e.jsx("div", { style: { width: "calc(100% - 15px)" }, children: e.jsx(fe, { value: l[t.label] }) }), e.jsx(Te, { style: {
63
- color: s.colorError,
64
- fontSize: 13,
65
- cursor: "pointer"
66
- }, onClick: () => r(l) })] }, l[t.value])), !o.length && e.jsx(G, { image: G.PRESENTED_IMAGE_SIMPLE })] });
67
- }, c = v(() => je(g, z), [g, z]), re = v(() => ye({ loadingTable: u }, { loadingFailedTable: j }, "bitzSelectTable"), [j, u]);
88
+ return /* @__PURE__ */ e.jsxs(
89
+ F,
90
+ {
91
+ direction: "vertical",
92
+ style: {
93
+ width: "calc(100% - 5px)",
94
+ paddingRight: 5,
95
+ maxHeight: r.length ? 220 : "auto",
96
+ overflow: "hidden auto"
97
+ },
98
+ children: [
99
+ r.map((o) => /* @__PURE__ */ e.jsxs(
100
+ ue,
101
+ {
102
+ justify: "space-between",
103
+ style: {
104
+ padding: "4px 8px",
105
+ border: `1px solid ${s.colorBorder}`,
106
+ backgroundColor: "#f5f5f5",
107
+ borderRadius: s.borderRadiusSM,
108
+ overflow: "hidden"
109
+ },
110
+ children: [
111
+ /* @__PURE__ */ e.jsx("div", { style: { width: "calc(100% - 15px)" }, children: /* @__PURE__ */ e.jsx(Se, { value: o[t.label] }) }),
112
+ /* @__PURE__ */ e.jsx(
113
+ ge,
114
+ {
115
+ style: {
116
+ color: s.colorError,
117
+ fontSize: 13,
118
+ cursor: "pointer"
119
+ },
120
+ onClick: () => l(o)
121
+ }
122
+ )
123
+ ]
124
+ },
125
+ o[t.value]
126
+ )),
127
+ !r.length && /* @__PURE__ */ e.jsx(H, { image: H.PRESENTED_IMAGE_SIMPLE })
128
+ ]
129
+ }
130
+ );
131
+ }, n = B(() => je(T, E), [T, E]), le = B(() => ye(
132
+ { loadingTable: p },
133
+ { loadingFailedTable: j },
134
+ "bitzSelectTable"
135
+ ), [j, p]);
68
136
  return ie(() => {
69
- Q(R ?? []), U(I ?? []);
70
- }, [R, I]), e.jsxs(b, { gutter: c.gutter, children: [e.jsx(a, { span: c.left.span, children: g && C && C(A, T == null ? void 0 : T.height) }), e.jsx(a, { span: c.right.span, children: e.jsxs(K, { direction: "vertical", size: A, style: { width: "100%" }, children: [e.jsx(h, { className: "tableSelectPopupSearchForm", children: e.jsx(b, { gutter: [16, 16], children: e.jsx(a, { span: 24, children: e.jsxs(b, { justify: "space-between", gutter: [16, 16], children: [e.jsx(a, { span: c.right.search, children: e.jsx(h.Item, { children: $ }) }), e.jsx(a, { span: c.right.operation, children: e.jsxs(b, { justify: "end", gutter: 8, children: [e.jsx(a, { span: c.right.toolTagSelect, children: e.jsx(h.Item, { children: e.jsx(_, { allowClear: !0, className: "tableSelectPopupToolTagSelect", style: {
71
- width: "100%",
72
- "--toolTagSelect-color": u ? s.colorTextDisabled : s.colorText
73
- }, placeholder: "常用标签", showSearch: !1, disabled: u, options: q, value: X, onChange: Z, onDropdownVisibleChange: f }) }) }), e.jsx(a, { span: c.right.totalSelect, children: e.jsx(h.Item, { children: e.jsxs("div", { className: "tableSelectPopupTotalSelect", children: [e.jsx(_, { style: { width: "100%" }, mode: "multiple", placeholder: "", showSearch: !1, options: o, value: n, fieldNames: t, popupClassName: "tableSelectPopupTotalPopup", dropdownRender: oe, tagRender: () => e.jsx(e.Fragment, {}), onDropdownVisibleChange: f }), e.jsx("div", { className: "tableSelectPopupTotalSelectTip", children: te(["已选择", "条数据"], n.length || 0) })] }) }) }), e.jsx(a, { span: c.right.button, children: e.jsx(H, { type: "primary", danger: !0, onClick: () => x([], [], "clear"), children: "清空" }) }), e.jsx(a, { span: c.right.button, children: e.jsx(H, { type: "primary", onClick: () => x([], [], "confirm"), children: "确认" }) })] }) })] }) }) }) }), e.jsx("div", { ref: k, ...j && {
74
- className: "pointerMouse",
75
- onClick: () => O()
76
- }, children: e.jsx(ae, { spinning: j, indicator: e.jsx(ge, {}), tip: e.jsx(ue.Text, { type: "danger", children: "加载失败,点击重试" }), children: e.jsx(xe, { size: J, rowKey: t.value, loading: u, bordered: "row-column", tableLayout: "fixed", scroll: { x: 1, y: 400 }, showPagination: !1, showTableTool: !1, rowSelection: N, columns: V, dataSource: y, className: re, ...ee(), style: {
77
- "--tableBody-bootomBorderColor": ((D = s.Table) == null ? void 0 : D.borderColor) || s.colorBorderSecondary
78
- } }) }) }), e.jsx(h, { children: e.jsx(h.Item, { style: { marginBottom: 0 }, children: e.jsx(de, { disabled: u, className: "tableSelectPopupTablePagination", size: "small", enableControl: !0, pagination: P, total: L, dataSource: y, paginationEmit: W }) }) })] }) })] });
137
+ U(R ?? []), X(C ?? []);
138
+ }, [R, C]), /* @__PURE__ */ e.jsxs(b, { gutter: n.gutter, children: [
139
+ /* @__PURE__ */ e.jsx(a, { span: n.left.span, children: T && I && I(M, g == null ? void 0 : g.height) }),
140
+ /* @__PURE__ */ e.jsx(a, { span: n.right.span, children: /* @__PURE__ */ e.jsxs(F, { direction: "vertical", size: M, style: { width: "100%" }, children: [
141
+ /* @__PURE__ */ e.jsx(h, { className: "tableSelectPopupSearchForm", children: /* @__PURE__ */ e.jsx(b, { gutter: [16, 16], children: /* @__PURE__ */ e.jsx(a, { span: 24, children: /* @__PURE__ */ e.jsxs(b, { justify: "space-between", gutter: [16, 16], children: [
142
+ /* @__PURE__ */ e.jsx(a, { span: n.right.search, children: /* @__PURE__ */ e.jsx(h.Item, { children: q }) }),
143
+ /* @__PURE__ */ e.jsx(a, { span: n.right.operation, children: /* @__PURE__ */ e.jsxs(b, { justify: "end", gutter: 8, children: [
144
+ /* @__PURE__ */ e.jsx(a, { span: n.right.toolTagSelect, children: /* @__PURE__ */ e.jsx(h.Item, { children: /* @__PURE__ */ e.jsx(
145
+ G,
146
+ {
147
+ allowClear: !0,
148
+ className: "tableSelectPopupToolTagSelect",
149
+ style: {
150
+ width: "100%",
151
+ "--toolTagSelect-color": p ? s.colorTextDisabled : s.colorText
152
+ },
153
+ placeholder: "常用标签",
154
+ showSearch: !1,
155
+ disabled: p,
156
+ options: J,
157
+ value: Y,
158
+ onChange: D,
159
+ onDropdownVisibleChange: S
160
+ }
161
+ ) }) }),
162
+ /* @__PURE__ */ e.jsx(a, { span: n.right.totalSelect, children: /* @__PURE__ */ e.jsx(h.Item, { children: /* @__PURE__ */ e.jsxs("div", { className: "tableSelectPopupTotalSelect", children: [
163
+ /* @__PURE__ */ e.jsx(
164
+ G,
165
+ {
166
+ style: { width: "100%" },
167
+ mode: "multiple",
168
+ placeholder: "",
169
+ showSearch: !1,
170
+ options: r,
171
+ value: c,
172
+ fieldNames: t,
173
+ popupClassName: "tableSelectPopupTotalPopup",
174
+ dropdownRender: re,
175
+ tagRender: () => /* @__PURE__ */ e.jsx(e.Fragment, {}),
176
+ onDropdownVisibleChange: S
177
+ }
178
+ ),
179
+ /* @__PURE__ */ e.jsx("div", { className: "tableSelectPopupTotalSelectTip", children: te(
180
+ ["已选择", "条数据"],
181
+ c.length || 0
182
+ ) })
183
+ ] }) }) }),
184
+ /* @__PURE__ */ e.jsx(a, { span: n.right.button, children: /* @__PURE__ */ e.jsx(
185
+ L,
186
+ {
187
+ type: "primary",
188
+ danger: !0,
189
+ onClick: () => x([], [], "clear"),
190
+ children: "清空"
191
+ }
192
+ ) }),
193
+ /* @__PURE__ */ e.jsx(a, { span: n.right.button, children: /* @__PURE__ */ e.jsx(
194
+ L,
195
+ {
196
+ type: "primary",
197
+ onClick: () => x([], [], "confirm"),
198
+ children: "确认"
199
+ }
200
+ ) })
201
+ ] }) })
202
+ ] }) }) }) }),
203
+ /* @__PURE__ */ e.jsx(
204
+ "div",
205
+ {
206
+ ref: k,
207
+ ...j && {
208
+ className: "pointerMouse",
209
+ onClick: () => W()
210
+ },
211
+ children: /* @__PURE__ */ e.jsx(
212
+ ae,
213
+ {
214
+ spinning: j,
215
+ indicator: /* @__PURE__ */ e.jsx(Te, {}),
216
+ tip: /* @__PURE__ */ e.jsx(pe.Text, { type: "danger", children: "加载失败,点击重试" }),
217
+ children: /* @__PURE__ */ e.jsx(
218
+ xe,
219
+ {
220
+ size: Q,
221
+ rowKey: t.value,
222
+ loading: p,
223
+ bordered: "row-column",
224
+ tableLayout: "fixed",
225
+ scroll: { x: 1, y: 400 },
226
+ showPagination: !1,
227
+ showTableTool: !1,
228
+ rowSelection: N,
229
+ columns: V,
230
+ dataSource: y,
231
+ className: le,
232
+ ...ee(),
233
+ style: {
234
+ "--tableBody-bootomBorderColor": ((A = s.Table) == null ? void 0 : A.borderColor) || s.colorBorderSecondary
235
+ }
236
+ }
237
+ )
238
+ }
239
+ )
240
+ }
241
+ ),
242
+ /* @__PURE__ */ e.jsx(h, { children: /* @__PURE__ */ e.jsx(h.Item, { style: { marginBottom: 0 }, children: /* @__PURE__ */ e.jsx(
243
+ de,
244
+ {
245
+ disabled: p,
246
+ className: "tableSelectPopupTablePagination",
247
+ size: "small",
248
+ enableControl: !0,
249
+ pagination: z,
250
+ total: O,
251
+ dataSource: y,
252
+ paginationEmit: $
253
+ }
254
+ ) }) })
255
+ ] }) })
256
+ ] });
79
257
  }
80
258
  export {
81
- Ge as default
259
+ He as default
82
260
  };
@@ -12,14 +12,55 @@ const { TextArea: B } = d, b = ({ value: l, isLatterHalf: n = !1 }) => {
12
12
  paddingBlock: a,
13
13
  paddingInline: 24
14
14
  }), [o]), [m, s] = p(!1);
15
- return e.jsxs("div", { className: "cellBlock", style: i, onFocus: () => s(!0), onBlur: () => s(!1), children: [e.jsx(u, { className: t("cellText"), value: l }), e.jsxs("div", { className: t("tipBlock", n ? "toTop" : "toBottom", m ? "show" : ""), style: {
16
- paddingInlineStart: 24 - 2,
17
- paddingInlineEnd: 24 - 4,
18
- paddingBlock: a
19
- }, children: [e.jsx(f, { className: t("closeIcon", n ? "top" : "bottom"), onClick: () => s(!1) }), e.jsx(B, { className: "tipText", value: l, autoSize: {
20
- minRows: 1,
21
- maxRows: 100
22
- }, variant: "borderless", readOnly: !0 })] })] });
15
+ return /* @__PURE__ */ e.jsxs(
16
+ "div",
17
+ {
18
+ className: "cellBlock",
19
+ style: i,
20
+ onFocus: () => s(!0),
21
+ onBlur: () => s(!1),
22
+ children: [
23
+ /* @__PURE__ */ e.jsx(u, { className: t("cellText"), value: l }),
24
+ /* @__PURE__ */ e.jsxs(
25
+ "div",
26
+ {
27
+ className: t(
28
+ "tipBlock",
29
+ n ? "toTop" : "toBottom",
30
+ m ? "show" : ""
31
+ ),
32
+ style: {
33
+ paddingInlineStart: 24 - 2,
34
+ paddingInlineEnd: 24 - 4,
35
+ paddingBlock: a
36
+ },
37
+ children: [
38
+ /* @__PURE__ */ e.jsx(
39
+ f,
40
+ {
41
+ className: t("closeIcon", n ? "top" : "bottom"),
42
+ onClick: () => s(!1)
43
+ }
44
+ ),
45
+ /* @__PURE__ */ e.jsx(
46
+ B,
47
+ {
48
+ className: "tipText",
49
+ value: l,
50
+ autoSize: {
51
+ minRows: 1,
52
+ maxRows: 100
53
+ },
54
+ variant: "borderless",
55
+ readOnly: !0
56
+ }
57
+ )
58
+ ]
59
+ }
60
+ )
61
+ ]
62
+ }
63
+ );
23
64
  };
24
65
  export {
25
66
  b as default
@@ -3,7 +3,13 @@ import { Input as l } from "antd";
3
3
  import m from "../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
4
4
  import { defaultValue as n } from "../index.mjs";
5
5
  import "./index.less.mjs";
6
- const { TextArea: p } = l, j = ({ maxRows: t = 1, minRows: o, bold: s, value: e, className: r }) => {
6
+ const { TextArea: p } = l, j = ({
7
+ maxRows: t = 1,
8
+ minRows: o,
9
+ bold: s,
10
+ value: e,
11
+ className: r
12
+ }) => {
7
13
  const a = {
8
14
  "--cell-text-maxRows": t,
9
15
  ...s && {
@@ -13,10 +19,22 @@ const { TextArea: p } = l, j = ({ maxRows: t = 1, minRows: o, bold: s, value: e,
13
19
  paddingInline: 24
14
20
  }
15
21
  };
16
- return i.jsx(p, { className: m("textBlock", r), title: e, value: e, readOnly: !0, size: "small", variant: "borderless", autoSize: {
17
- minRows: o ?? t,
18
- maxRows: t
19
- }, style: a });
22
+ return /* @__PURE__ */ i.jsx(
23
+ p,
24
+ {
25
+ className: m("textBlock", r),
26
+ title: e,
27
+ value: e,
28
+ readOnly: !0,
29
+ size: "small",
30
+ variant: "borderless",
31
+ autoSize: {
32
+ minRows: o ?? t,
33
+ maxRows: t
34
+ },
35
+ style: a
36
+ }
37
+ );
20
38
  };
21
39
  export {
22
40
  j as default
@@ -1,18 +1,66 @@
1
- import { j as l } from "../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
- import { useMemo as b } from "react";
3
- import { isMobile as x } from "../../node_modules/.store/react-device-detect@2.2.3/node_modules/react-device-detect/dist/lib.mjs";
4
- import h from "./Select/index.mjs";
5
- import j from "./Picker/index.mjs";
6
- function y({ columns: i, tableData: u, loading: m, loadingFailed: c, loadAgain: p, total: d, page: o, onPageChange: s, onSearch: g, showToolTagSelect: a = !1, placeholder: t = "请选择", fieldNames: r, offsetWidth: e, ...n }) {
7
- const f = b(() => n.lrLayout ? a ? 900 + (e || 0) : 830 + (e || 0) : a ? 750 + (e || 0) : 700 + (e || 0), [n.lrLayout, a, e]);
8
- return l.jsx(l.Fragment, { children: x ? l.jsx(j, { columns: [], tableData: [], loading: !1, loadingFailed: !1, loadAgain: function() {
9
- throw new Error("Function not implemented.");
10
- }, total: 0, page: o, onPageChange: function() {
11
- throw new Error("Function not implemented.");
12
- }, placeholder: t, fieldNames: r, ...n }) : l.jsx(h, { columns: i, tableData: u, loading: m, loadingFailed: c, loadAgain: p, total: d, page: o, onPageChange: s, onSearch: g, placeholder: t, fieldNames: r, popupMatchSelectWidth: f, showToolTagSelect: a, ...n }) });
1
+ import { j as t } from "../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
+ import { useMemo as j } from "react";
3
+ import { isMobile as d } from "../../node_modules/.store/react-device-detect@2.2.3/node_modules/react-device-detect/dist/lib.mjs";
4
+ import F from "./Select/index.mjs";
5
+ import M from "./Picker/index.mjs";
6
+ function z({
7
+ columns: l,
8
+ tableData: u,
9
+ loading: m,
10
+ loadingFailed: c,
11
+ loadAgain: p,
12
+ total: s,
13
+ page: o,
14
+ onPageChange: f,
15
+ onSearch: b,
16
+ showToolTagSelect: e = !1,
17
+ placeholder: i = "请选择",
18
+ fieldNames: a,
19
+ offsetWidth: n,
20
+ ...r
21
+ }) {
22
+ const x = j(() => r.lrLayout ? e ? 900 + (n || 0) : 830 + (n || 0) : e ? 750 + (n || 0) : 700 + (n || 0), [r.lrLayout, e, n]);
23
+ return /* @__PURE__ */ t.jsx(t.Fragment, { children: d ? /* @__PURE__ */ t.jsx(
24
+ M,
25
+ {
26
+ columns: [],
27
+ tableData: [],
28
+ loading: !1,
29
+ loadingFailed: !1,
30
+ loadAgain: function() {
31
+ throw new Error("Function not implemented.");
32
+ },
33
+ total: 0,
34
+ page: o,
35
+ onPageChange: function() {
36
+ throw new Error("Function not implemented.");
37
+ },
38
+ placeholder: i,
39
+ fieldNames: a,
40
+ ...r
41
+ }
42
+ ) : /* @__PURE__ */ t.jsx(
43
+ F,
44
+ {
45
+ columns: l,
46
+ tableData: u,
47
+ loading: m,
48
+ loadingFailed: c,
49
+ loadAgain: p,
50
+ total: s,
51
+ page: o,
52
+ onPageChange: f,
53
+ onSearch: b,
54
+ placeholder: i,
55
+ fieldNames: a,
56
+ popupMatchSelectWidth: x,
57
+ showToolTagSelect: e,
58
+ ...r
59
+ }
60
+ ) });
13
61
  }
14
62
  const A = "-";
15
63
  export {
16
- y as default,
64
+ z as default,
17
65
  A as defaultValue
18
66
  };
@@ -2,7 +2,7 @@ import { j as s } from "../../node_modules/.store/react@18.2.0/node_modules/reac
2
2
  import { Tag as a } from "antd";
3
3
  const p = ({ color: t = "default", closable: e = !1, ...o }) => {
4
4
  const r = { color: t, closable: e, ...o };
5
- return s.jsx(a, { ...r, children: r.children });
5
+ return /* @__PURE__ */ s.jsx(a, { ...r, children: r.children });
6
6
  };
7
7
  export {
8
8
  p as default
@@ -1,26 +1,26 @@
1
1
  import m from "../../node_modules/.store/antd@5.16.2/node_modules/antd/es/theme/getDesignToken.mjs";
2
2
  import r from "../../node_modules/.store/antd@5.16.2/node_modules/antd/es/theme/themes/compact/index.mjs";
3
3
  import i from "../../node_modules/.store/antd@5.16.2/node_modules/antd/es/theme/themes/dark/index.mjs";
4
- import n from "../../node_modules/.store/antd@5.16.2/node_modules/antd/es/theme/themes/default/index.mjs";
5
- import { theme as f } from "antd";
4
+ import f from "../../node_modules/.store/antd@5.16.2/node_modules/antd/es/theme/themes/default/index.mjs";
5
+ import { theme as n } from "antd";
6
6
  import { defaultConfig as h } from "../../node_modules/.store/antd@5.16.2/node_modules/antd/es/theme/context.mjs";
7
7
  function a() {
8
- const { theme: e, token: t, hashId: o } = f.useToken();
8
+ const { theme: e, token: t, hashId: o } = n.useToken();
9
9
  return {
10
10
  theme: e,
11
11
  token: t,
12
12
  hashId: o
13
13
  };
14
14
  }
15
- const g = {
15
+ const k = {
16
16
  /** Default seedToken */
17
17
  defaultSeed: h.token,
18
18
  useToken: a,
19
- defaultAlgorithm: n,
19
+ defaultAlgorithm: f,
20
20
  darkAlgorithm: i,
21
21
  compactAlgorithm: r,
22
22
  getDesignToken: m
23
23
  };
24
24
  export {
25
- g as default
25
+ k as default
26
26
  };
@@ -1,6 +1,16 @@
1
1
  import { j as t } from "../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
2
  import { Timeline as m } from "antd";
3
- const i = (e) => t.jsx(m, { ...e }), r = (e) => t.jsx(m.Item, { ...e });
3
+ const i = (e) => /* @__PURE__ */ t.jsx(
4
+ m,
5
+ {
6
+ ...e
7
+ }
8
+ ), r = (e) => /* @__PURE__ */ t.jsx(
9
+ m.Item,
10
+ {
11
+ ...e
12
+ }
13
+ );
4
14
  i.Item = r;
5
15
  export {
6
16
  i as default
@@ -1,8 +1,8 @@
1
1
  import { j as e } from "../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
- import n from "../BitzButton/index.mjs";
2
+ import s from "../BitzButton/index.mjs";
3
3
  import c from "./index.module.less.mjs";
4
- import { Form as a, Input as h, Select as o, Space as d } from "antd";
5
- const { Option: s } = o, m = [
4
+ import { Form as a, Input as d, Select as n, Space as h } from "antd";
5
+ const { Option: m } = n, p = [
6
6
  {
7
7
  label: "male",
8
8
  value: "male"
@@ -15,16 +15,37 @@ const { Option: s } = o, m = [
15
15
  label: "other",
16
16
  value: "other"
17
17
  }
18
- ], C = ({ finish: u, cancel: r }) => {
19
- const p = (l) => {
20
- u == null || u();
21
- }, i = () => {
18
+ ], v = ({ finish: r, cancel: t }) => {
19
+ const u = (l) => {
22
20
  r == null || r();
21
+ }, i = () => {
22
+ t == null || t();
23
23
  };
24
- return e.jsxs(a, { className: c.form, name: "basic", layout: "vertical", labelCol: { span: 24 }, wrapperCol: { span: 24 }, initialValues: { remember: !0 }, onFinish: p, autoComplete: "off", children: [e.jsx(a.Item, { label: "描述", name: "input1", children: e.jsx(h, {}) }), e.jsx(a.Item, { label: "关联案件", name: "select1", children: e.jsx(o, { placeholder: "请选择", onChange: () => {
25
- }, allowClear: !0, children: m.map((l, t) => e.jsx(s, { value: l.value, children: l.label }, t)) }) }), e.jsx(a.Item, { label: "关联任务信息", name: "select2", children: e.jsx(o, { placeholder: "请选择", onChange: () => {
26
- }, allowClear: !0, children: m.map((l, t) => e.jsx(s, { value: l.value, children: l.label }, t)) }) }), e.jsx(a.Item, { children: e.jsxs(d, { children: [e.jsx(n, { type: "primary", htmlType: "submit", children: "提交" }), e.jsx(n, { type: "default", onClick: i, children: "取消" })] }) })] });
24
+ return /* @__PURE__ */ e.jsxs(
25
+ a,
26
+ {
27
+ className: c.form,
28
+ name: "basic",
29
+ layout: "vertical",
30
+ labelCol: { span: 24 },
31
+ wrapperCol: { span: 24 },
32
+ initialValues: { remember: !0 },
33
+ onFinish: u,
34
+ autoComplete: "off",
35
+ children: [
36
+ /* @__PURE__ */ e.jsx(a.Item, { label: "描述", name: "input1", children: /* @__PURE__ */ e.jsx(d, {}) }),
37
+ /* @__PURE__ */ e.jsx(a.Item, { label: "关联案件", name: "select1", children: /* @__PURE__ */ e.jsx(n, { placeholder: "请选择", onChange: () => {
38
+ }, allowClear: !0, children: p.map((l, o) => /* @__PURE__ */ e.jsx(m, { value: l.value, children: l.label }, o)) }) }),
39
+ /* @__PURE__ */ e.jsx(a.Item, { label: "关联任务信息", name: "select2", children: /* @__PURE__ */ e.jsx(n, { placeholder: "请选择", onChange: () => {
40
+ }, allowClear: !0, children: p.map((l, o) => /* @__PURE__ */ e.jsx(m, { value: l.value, children: l.label }, o)) }) }),
41
+ /* @__PURE__ */ e.jsx(a.Item, { children: /* @__PURE__ */ e.jsxs(h, { children: [
42
+ /* @__PURE__ */ e.jsx(s, { type: "primary", htmlType: "submit", children: "提交" }),
43
+ /* @__PURE__ */ e.jsx(s, { type: "default", onClick: i, children: "取消" })
44
+ ] }) })
45
+ ]
46
+ }
47
+ );
27
48
  };
28
49
  export {
29
- C as default
50
+ v as default
30
51
  };