bitz-react-admin-ui 2.2.7 → 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 (209) 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/index.mjs +2 -2
  11. package/dist/_virtual/index2.mjs +2 -2
  12. package/dist/_virtual/index6.mjs +4 -0
  13. package/dist/_virtual/log.mjs +4 -0
  14. package/dist/_virtual/positionFns.mjs +4 -0
  15. package/dist/_virtual/propTypes.mjs +4 -0
  16. package/dist/_virtual/shims.mjs +4 -0
  17. package/dist/_virtual/utils.mjs +4 -0
  18. package/dist/assets/iconfont/IconChenggong.mjs +4 -10
  19. package/dist/assets/iconfont/IconClose.mjs +1 -7
  20. package/dist/assets/iconfont/IconColumnCancelFixed.mjs +4 -25
  21. package/dist/assets/iconfont/IconColumnFixedLeft.mjs +8 -29
  22. package/dist/assets/iconfont/IconColumnFixedRight.mjs +7 -28
  23. package/dist/assets/iconfont/IconCuowu.mjs +2 -8
  24. package/dist/assets/iconfont/IconDragOrder.mjs +7 -28
  25. package/dist/assets/iconfont/IconDuigoux.mjs +2 -8
  26. package/dist/assets/iconfont/IconFabu.mjs +3 -18
  27. package/dist/assets/iconfont/IconFanhui.mjs +5 -11
  28. package/dist/assets/iconfont/IconGaojisousuo.mjs +4 -10
  29. package/dist/assets/iconfont/IconHangfengexian.mjs +4 -27
  30. package/dist/assets/iconfont/IconHangliefengexian.mjs +4 -27
  31. package/dist/assets/iconfont/IconIcFluentHomeRegular.mjs +5 -11
  32. package/dist/assets/iconfont/IconIcon21.mjs +2 -8
  33. package/dist/assets/iconfont/IconJincoude.mjs +3 -9
  34. package/dist/assets/iconfont/IconJinggao.mjs +2 -8
  35. package/dist/assets/iconfont/IconKuansongde.mjs +5 -11
  36. package/dist/assets/iconfont/IconLiefengexian.mjs +5 -28
  37. package/dist/assets/iconfont/IconMore.mjs +4 -26
  38. package/dist/assets/iconfont/IconShanchu.mjs +5 -11
  39. package/dist/assets/iconfont/IconShanchu1.mjs +3 -18
  40. package/dist/assets/iconfont/IconSousuo.mjs +4 -10
  41. package/dist/assets/iconfont/IconTejincou.mjs +1 -7
  42. package/dist/assets/iconfont/IconTekuansong.mjs +5 -11
  43. package/dist/assets/iconfont/IconTishi1.mjs +6 -12
  44. package/dist/assets/iconfont/IconTuodong.mjs +6 -12
  45. package/dist/assets/iconfont/IconWubanmawentianchong.mjs +5 -22
  46. package/dist/assets/iconfont/IconWufengexian.mjs +4 -11
  47. package/dist/assets/iconfont/IconXinxitishi.mjs +3 -9
  48. package/dist/assets/iconfont/IconYoubanmawentianchong.mjs +7 -23
  49. package/dist/assets/iconfont/IconZhongdengde.mjs +4 -10
  50. package/dist/assets/iconfont/IconZhongzhi.mjs +5 -11
  51. package/dist/assets/iconfont/index.mjs +33 -33
  52. package/dist/components/BitzAddTag/index.mjs +8 -41
  53. package/dist/components/BitzAddressBook/index.mjs +35 -122
  54. package/dist/components/BitzAppPage/index.mjs +4 -18
  55. package/dist/components/BitzAppRefresh/index.mjs +15 -27
  56. package/dist/components/BitzBetterScroll/index.mjs +5 -5
  57. package/dist/components/BitzButton/index.mjs +9 -23
  58. package/dist/components/BitzCalendar/index.mjs +19 -52
  59. package/dist/components/BitzCascader/BitzCascaderMobile.mjs +30 -68
  60. package/dist/components/BitzCascader/index.mjs +2 -6
  61. package/dist/components/BitzCollapse/index.mjs +4 -4
  62. package/dist/components/BitzConfigProvider/context.mjs +1 -3
  63. package/dist/components/BitzConfigProvider/index.mjs +8 -12
  64. package/dist/components/BitzConfirmModal/index.mjs +1 -24
  65. package/dist/components/BitzConvert/DropdownToButton/index.mjs +11 -14
  66. package/dist/components/BitzConvert/index.mjs +1 -1
  67. package/dist/components/BitzDescriptions/index.mjs +1 -11
  68. package/dist/components/BitzDrawer/index.mjs +2 -17
  69. package/dist/components/BitzEmpty/index.mjs +2 -6
  70. package/dist/components/BitzException/index.mjs +1 -6
  71. package/dist/components/BitzFloatLayout/index.mjs +1 -10
  72. package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +16 -13
  73. package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +20 -26
  74. package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +3 -21
  75. package/dist/components/BitzFuiCalendar/CalendarBody.mjs +4 -27
  76. package/dist/components/BitzFuiCalendar/CalendarHead.mjs +2 -5
  77. package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +3 -12
  78. package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +19 -51
  79. package/dist/components/BitzFuiCalendar/ColumnData.mjs +14 -30
  80. package/dist/components/BitzFuiCalendar/FuiCalendarItem.mjs +5 -47
  81. package/dist/components/BitzFuiCalendar/index.mjs +1 -7
  82. package/dist/components/BitzFullScreen/index.mjs +6 -9
  83. package/dist/components/BitzHighlight/Child.mjs +9 -23
  84. package/dist/components/BitzHighlight/Highlight.mjs +5 -26
  85. package/dist/components/BitzHighlight/chunks.mjs +17 -20
  86. package/dist/components/BitzHighlight/style.mjs +1 -4
  87. package/dist/components/BitzImage/index.mjs +1 -1
  88. package/dist/components/BitzImage/previewImage.mjs +5 -12
  89. package/dist/components/BitzLanguageTabs/index.mjs +3 -14
  90. package/dist/components/BitzLazyLoad/index.mjs +1 -7
  91. package/dist/components/BitzList/List.mjs +3 -17
  92. package/dist/components/BitzList/LoadMore.mjs +20 -29
  93. package/dist/components/BitzLoadMore/index.mjs +14 -34
  94. package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +11 -24
  95. package/dist/components/BitzMeetingTime/index.mjs +6 -10
  96. package/dist/components/BitzMobileLoading/index.mjs +1 -1
  97. package/dist/components/BitzModal/index.mjs +11 -24
  98. package/dist/components/BitzNoData/index.mjs +1 -4
  99. package/dist/components/BitzNoMore/index.mjs +1 -1
  100. package/dist/components/BitzOrganizationSelection/index.mjs +14 -43
  101. package/dist/components/BitzPageContainer/index.mjs +46 -107
  102. package/dist/components/BitzPageHeader/index.mjs +21 -89
  103. package/dist/components/BitzPagination/index.mjs +22 -71
  104. package/dist/components/BitzPopover/index.mjs +4 -4
  105. package/dist/components/BitzPullRefresh/PullRefresh.mjs +18 -47
  106. package/dist/components/BitzQRCode/index.mjs +1 -6
  107. package/dist/components/BitzQueryFilter/QueryFilterContent.mjs +17 -35
  108. package/dist/components/BitzQueryFilter/QueryFilterDrawer.mjs +13 -20
  109. package/dist/components/BitzQueryFilter/QueryFilterMobile.mjs +1 -4
  110. package/dist/components/BitzQueryFilter/index.mjs +20 -69
  111. package/dist/components/BitzRefresh/index.mjs +1 -5
  112. package/dist/components/BitzRemark/index.mjs +4 -4
  113. package/dist/components/BitzScheduleCenter/index.mjs +30 -24
  114. package/dist/components/BitzSearch/index.mjs +1 -1
  115. package/dist/components/BitzSelect/component/BitzSelectMobile.mjs +48 -123
  116. package/dist/components/BitzSelect/index.mjs +1 -1
  117. package/dist/components/BitzSkeleton/index.mjs +1 -31
  118. package/dist/components/BitzSwitch/index.mjs +2 -7
  119. package/dist/components/BitzTabbar/BitzTabbar.mjs +8 -25
  120. package/dist/components/BitzTabbar/BitzTabbarItem.mjs +1 -4
  121. package/dist/components/BitzTable/ActionBar/ActionBar.d.ts +21 -9
  122. package/dist/components/BitzTable/ActionBar/ActionBar.mjs +38 -66
  123. package/dist/components/BitzTable/ActionBar/Button.mjs +1 -1
  124. package/dist/components/BitzTable/ActionBar/style.mjs +9 -12
  125. package/dist/components/BitzTable/ActionCol/index.d.ts +1 -1
  126. package/dist/components/BitzTable/ActionCol/index.mjs +32 -98
  127. package/dist/components/BitzTable/ActionCol/style.mjs +12 -15
  128. package/dist/components/BitzTable/Dropdown/index.mjs +1 -8
  129. package/dist/components/BitzTable/Dropdown/style.mjs +6 -9
  130. package/dist/components/BitzTable/SelectionBar/Button.mjs +6 -19
  131. package/dist/components/BitzTable/SelectionBar/SelectionBar.mjs +2 -8
  132. package/dist/components/BitzTable/SelectionBar/style.mjs +8 -18
  133. package/dist/components/BitzTable/Store/index.mjs +89 -121
  134. package/dist/components/BitzTable/Store/utils/index.d.ts +1 -1
  135. package/dist/components/BitzTable/Store/utils/index.mjs +30 -30
  136. package/dist/components/BitzTable/SubTable/index.mjs +52 -94
  137. package/dist/components/BitzTable/Table/ResizableTitle.d.ts +8 -0
  138. package/dist/components/BitzTable/Table/ResizableTitle.mjs +14 -0
  139. package/dist/components/BitzTable/Table/SortTableContext.mjs +7 -20
  140. package/dist/components/BitzTable/Table/SortableRow.mjs +20 -44
  141. package/dist/components/BitzTable/Table/index.d.ts +1 -1
  142. package/dist/components/BitzTable/Table/index.mjs +248 -436
  143. package/dist/components/BitzTable/Table/style.mjs +1 -11
  144. package/dist/components/BitzTable/Table/utils.mjs +4 -11
  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 +145 -253
  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/BitzTableOperations/index.mjs +3 -13
  164. package/dist/components/BitzTableSelect/Picker/index.mjs +10 -43
  165. package/dist/components/BitzTableSelect/Select/index.mjs +21 -87
  166. package/dist/components/BitzTableSelect/SelectPopup/getData.mjs +20 -30
  167. package/dist/components/BitzTableSelect/SelectPopup/index.mjs +61 -239
  168. package/dist/components/BitzTableSelect/TableCell/index.mjs +8 -49
  169. package/dist/components/BitzTableSelect/TextBlock/index.mjs +5 -23
  170. package/dist/components/BitzTableSelect/index.mjs +13 -61
  171. package/dist/components/BitzTag/index.mjs +1 -1
  172. package/dist/components/BitzTheme/index.mjs +6 -6
  173. package/dist/components/BitzTimeline/index.mjs +1 -11
  174. package/dist/components/BitzTimer/Form.mjs +11 -32
  175. package/dist/components/BitzTimer/Timer.mjs +38 -76
  176. package/dist/components/BitzTimer/index.mjs +43 -66
  177. package/dist/components/BitzToast/Toast/index.mjs +10 -28
  178. package/dist/components/BitzToast/index.mjs +1 -1
  179. package/dist/components/BitzTree/index.mjs +1 -4
  180. package/dist/components/BitzUeEditor/index.mjs +5 -5
  181. package/dist/components/BitzUpload/index.mjs +43 -81
  182. package/dist/components/BitzWebAppDrawer/index.mjs +4 -35
  183. package/dist/components/BitzWebAppModal/index.mjs +3 -6
  184. package/dist/hooks/use-event-listener.mjs +2 -11
  185. package/dist/hooks/use-lock-fn.mjs +10 -13
  186. package/dist/hooks/use-scroll-parent.mjs +14 -16
  187. package/dist/hooks/useEvent.mjs +4 -7
  188. package/dist/hooks/useMergedState.mjs +11 -11
  189. package/dist/node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs +1 -1
  190. package/dist/node_modules/.store/clsx@1.2.1/node_modules/clsx/dist/clsx.m.mjs +22 -0
  191. package/dist/node_modules/.store/prop-types@15.8.1/node_modules/prop-types/index.mjs +9 -8
  192. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/Draggable.mjs +343 -0
  193. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/DraggableCore.mjs +324 -0
  194. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/cjs.mjs +14 -0
  195. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/domFns.mjs +174 -0
  196. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/getPrefix.mjs +35 -0
  197. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/log.mjs +7 -0
  198. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/positionFns.mjs +107 -0
  199. package/dist/node_modules/.store/react-draggable@4.4.6/node_modules/react-draggable/build/cjs/utils/shims.mjs +30 -0
  200. package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/build/Resizable.mjs +201 -0
  201. package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/build/ResizableBox.mjs +162 -0
  202. package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/build/propTypes.mjs +118 -0
  203. package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/build/utils.mjs +54 -0
  204. package/dist/node_modules/.store/react-resizable@3.0.5/node_modules/react-resizable/index.mjs +13 -0
  205. package/dist/node_modules/.store/use-sync-external-store@1.2.0/node_modules/use-sync-external-store/shim/index.mjs +1 -1
  206. package/dist/style.css +1 -1
  207. package/dist/utils/WithFluent.mjs +12 -27
  208. package/dist/utils/create.mjs +1 -7
  209. package/package.json +1 -1
@@ -1,260 +1,82 @@
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 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";
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";
4
4
  import de from "../../BitzPagination/index.mjs";
5
5
  import xe from "../../BitzTable/index.mjs";
6
- import L from "../../BitzButton/index.mjs";
6
+ import H from "../../BitzButton/index.mjs";
7
7
  import { getColumns as me, getExpandable as he, getLayoutConfig as je } from "./getData.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";
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";
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 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);
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);
41
21
  }, 0));
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);
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);
47
27
  else {
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
- );
28
+ const p = o.filter((d) => d[t.value] !== r[t.value]);
29
+ x(p.map((d) => d[t.value]), p);
55
30
  }
56
31
  },
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);
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);
62
37
  } else {
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);
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);
66
41
  });
67
- const oe = r == null ? void 0 : r.filter(
68
- (m) => !f.has(m[t.value])
69
- );
70
- x(i, oe);
42
+ const le = o == null ? void 0 : o.filter((m) => !S.has(m[t.value]));
43
+ x(i, le);
71
44
  }
72
45
  }
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);
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);
87
50
  };
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]);
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]);
136
68
  return ie(() => {
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
- ] });
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 }) }) })] }) })] });
257
79
  }
258
80
  export {
259
- He as default
81
+ Ge as default
260
82
  };
@@ -12,55 +12,14 @@ 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 /* @__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
- );
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 })] })] });
64
23
  };
65
24
  export {
66
25
  b as default
@@ -3,13 +3,7 @@ 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 = ({
7
- maxRows: t = 1,
8
- minRows: o,
9
- bold: s,
10
- value: e,
11
- className: r
12
- }) => {
6
+ const { TextArea: p } = l, j = ({ maxRows: t = 1, minRows: o, bold: s, value: e, className: r }) => {
13
7
  const a = {
14
8
  "--cell-text-maxRows": t,
15
9
  ...s && {
@@ -19,22 +13,10 @@ const { TextArea: p } = l, j = ({
19
13
  paddingInline: 24
20
14
  }
21
15
  };
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
- );
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 });
38
20
  };
39
21
  export {
40
22
  j as default
@@ -1,66 +1,18 @@
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
- ) });
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 }) });
61
13
  }
62
14
  const A = "-";
63
15
  export {
64
- z as default,
16
+ y as default,
65
17
  A as defaultValue
66
18
  };
@@ -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 /* @__PURE__ */ s.jsx(a, { ...r, children: r.children });
5
+ return 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 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";
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";
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 } = n.useToken();
8
+ const { theme: e, token: t, hashId: o } = f.useToken();
9
9
  return {
10
10
  theme: e,
11
11
  token: t,
12
12
  hashId: o
13
13
  };
14
14
  }
15
- const k = {
15
+ const g = {
16
16
  /** Default seedToken */
17
17
  defaultSeed: h.token,
18
18
  useToken: a,
19
- defaultAlgorithm: f,
19
+ defaultAlgorithm: n,
20
20
  darkAlgorithm: i,
21
21
  compactAlgorithm: r,
22
22
  getDesignToken: m
23
23
  };
24
24
  export {
25
- k as default
25
+ g as default
26
26
  };
@@ -1,16 +1,6 @@
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) => /* @__PURE__ */ t.jsx(
4
- m,
5
- {
6
- ...e
7
- }
8
- ), r = (e) => /* @__PURE__ */ t.jsx(
9
- m.Item,
10
- {
11
- ...e
12
- }
13
- );
3
+ const i = (e) => t.jsx(m, { ...e }), r = (e) => t.jsx(m.Item, { ...e });
14
4
  i.Item = r;
15
5
  export {
16
6
  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 s from "../BitzButton/index.mjs";
2
+ import n from "../BitzButton/index.mjs";
3
3
  import c from "./index.module.less.mjs";
4
- import { Form as a, Input as d, Select as n, Space as h } from "antd";
5
- const { Option: m } = n, p = [
4
+ import { Form as a, Input as h, Select as o, Space as d } from "antd";
5
+ const { Option: s } = o, m = [
6
6
  {
7
7
  label: "male",
8
8
  value: "male"
@@ -15,37 +15,16 @@ const { Option: m } = n, p = [
15
15
  label: "other",
16
16
  value: "other"
17
17
  }
18
- ], v = ({ finish: r, cancel: t }) => {
19
- const u = (l) => {
20
- r == null || r();
18
+ ], C = ({ finish: u, cancel: r }) => {
19
+ const p = (l) => {
20
+ u == null || u();
21
21
  }, i = () => {
22
- t == null || t();
22
+ r == null || r();
23
23
  };
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
- );
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: "取消" })] }) })] });
48
27
  };
49
28
  export {
50
- v as default
29
+ C as default
51
30
  };