@bwg-ui/core 1.1.24 → 1.1.25

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 (158) hide show
  1. package/dist/chunks/AuthContext-CXng9fj0.cjs.map +1 -1
  2. package/dist/chunks/{AuthContext-Ei2P-z4d.js → AuthContext-DrEpBrpB.js} +7 -3
  3. package/dist/chunks/AuthContext-DrEpBrpB.js.map +1 -0
  4. package/dist/chunks/{BwgSwitch-CAI-kEaM.cjs → BwgSwitch-DOlc57wi.cjs} +2 -2
  5. package/dist/chunks/BwgSwitch-DOlc57wi.cjs.map +1 -0
  6. package/dist/chunks/{BwgSwitch-B79pseQM.js → BwgSwitch-D_scwi9_.js} +18 -18
  7. package/dist/chunks/BwgSwitch-D_scwi9_.js.map +1 -0
  8. package/dist/chunks/{BwgUploader-DaNV2URT.cjs → BwgUploader-CkXwkcUL.cjs} +2 -2
  9. package/dist/chunks/BwgUploader-CkXwkcUL.cjs.map +1 -0
  10. package/dist/chunks/{BwgUploader-BcVlE61B.js → BwgUploader-DBFF9BPF.js} +327 -327
  11. package/dist/chunks/BwgUploader-DBFF9BPF.js.map +1 -0
  12. package/dist/chunks/LoadingOverlay-DAZJF5wg.js.map +1 -1
  13. package/dist/chunks/LoadingOverlay-DcmKvoZA.cjs.map +1 -1
  14. package/dist/chunks/{SSOHandler-DiW4Ft9i.cjs → SSOHandler-BY6LXMLc.cjs} +32 -32
  15. package/dist/chunks/SSOHandler-BY6LXMLc.cjs.map +1 -0
  16. package/dist/chunks/{SSOHandler-CkPcSHIm.js → SSOHandler-CxvxEBaH.js} +1977 -1930
  17. package/dist/chunks/SSOHandler-CxvxEBaH.js.map +1 -0
  18. package/dist/chunks/ScreenProtectContext-3my4PHFa.js.map +1 -1
  19. package/dist/chunks/ScreenProtectContext-CVuXrJm6.cjs.map +1 -1
  20. package/dist/chunks/SearchBoxContext-DwFDOyYG.cjs.map +1 -1
  21. package/dist/chunks/{SearchBoxContext-BCvEYyFk.js → SearchBoxContext-gWM7FHIw.js} +3 -5
  22. package/dist/chunks/SearchBoxContext-gWM7FHIw.js.map +1 -0
  23. package/dist/chunks/ViewContainer-Bhq22_B3.cjs.map +1 -1
  24. package/dist/chunks/{ViewContainer-CjpJqoGG.js → ViewContainer-D9SKBnrn.js} +40 -28
  25. package/dist/chunks/ViewContainer-D9SKBnrn.js.map +1 -0
  26. package/dist/chunks/apiUtils-BZ6s0_NI.cjs.map +1 -1
  27. package/dist/chunks/{apiUtils-DxzLqPhU.js → apiUtils-DSwE62oG.js} +14 -5
  28. package/dist/chunks/apiUtils-DSwE62oG.js.map +1 -0
  29. package/dist/chunks/{codeStore-CfI4Wh5M.js → codeStore-vPj4Y0TK.js} +2 -2
  30. package/dist/chunks/{codeStore-CfI4Wh5M.js.map → codeStore-vPj4Y0TK.js.map} +1 -1
  31. package/dist/chunks/{core-bHd8azE6.js → core-Dl0PdDdT.js} +2 -2
  32. package/dist/chunks/{core-bHd8azE6.js.map → core-Dl0PdDdT.js.map} +1 -1
  33. package/dist/chunks/{enc-base64-BQYwLKgk.js → enc-base64-D7t4BoUA.js} +3 -3
  34. package/dist/chunks/{enc-base64-BQYwLKgk.js.map → enc-base64-D7t4BoUA.js.map} +1 -1
  35. package/dist/chunks/{favoriteStore-Cemc-26t.js → favoriteStore-Bh1FuZm9.js} +2 -2
  36. package/dist/chunks/{favoriteStore-Cemc-26t.js.map → favoriteStore-Bh1FuZm9.js.map} +1 -1
  37. package/dist/chunks/{popupStore-Bi6o78lP.js → popupStore-BRRmB4zH.js} +2 -2
  38. package/dist/chunks/{popupStore-Bi6o78lP.js.map → popupStore-BRRmB4zH.js.map} +1 -1
  39. package/dist/chunks/{sha256-BZfJs28k.js → sha256-C2-s1oZe.js} +3 -3
  40. package/dist/chunks/{sha256-BZfJs28k.js.map → sha256-C2-s1oZe.js.map} +1 -1
  41. package/dist/chunks/usePopup-D2JEuDrO.cjs.map +1 -1
  42. package/dist/chunks/{usePopup-BSqsnSz7.js → usePopup-DarKTbRC.js} +3 -3
  43. package/dist/chunks/usePopup-DarKTbRC.js.map +1 -0
  44. package/dist/components/common/BookmarkMngModal.d.ts +1 -1
  45. package/dist/components/common/BookmarkMngModal.d.ts.map +1 -1
  46. package/dist/components/common/BookmarkPopver.d.ts +2 -2
  47. package/dist/components/common/BookmarkPopver.d.ts.map +1 -1
  48. package/dist/components/common/BwgButtonGroup.d.ts +5 -5
  49. package/dist/components/common/BwgButtonGroup.d.ts.map +1 -1
  50. package/dist/components/common/BwgCmptArea.d.ts +7 -7
  51. package/dist/components/common/BwgCmptArea.d.ts.map +1 -1
  52. package/dist/components/common/BwgCol.d.ts +2 -1
  53. package/dist/components/common/BwgCol.d.ts.map +1 -1
  54. package/dist/components/common/BwgConfigProvider.d.ts +2 -2
  55. package/dist/components/common/BwgConfigProvider.d.ts.map +1 -1
  56. package/dist/components/common/BwgDetail.d.ts +2 -1
  57. package/dist/components/common/BwgDetail.d.ts.map +1 -1
  58. package/dist/components/common/BwgDraggable.d.ts +5 -5
  59. package/dist/components/common/BwgDraggable.d.ts.map +1 -1
  60. package/dist/components/common/BwgDrawer.d.ts +2 -1
  61. package/dist/components/common/BwgDrawer.d.ts.map +1 -1
  62. package/dist/components/common/BwgEditor.d.ts +5 -5
  63. package/dist/components/common/BwgEditor.d.ts.map +1 -1
  64. package/dist/components/common/BwgGrid.d.ts +8 -8
  65. package/dist/components/common/BwgGrid.d.ts.map +1 -1
  66. package/dist/components/common/BwgInfoArea.d.ts +4 -4
  67. package/dist/components/common/BwgInfoArea.d.ts.map +1 -1
  68. package/dist/components/common/BwgPopup.d.ts +3 -3
  69. package/dist/components/common/BwgPopup.d.ts.map +1 -1
  70. package/dist/components/common/BwgRow.d.ts +2 -1
  71. package/dist/components/common/BwgRow.d.ts.map +1 -1
  72. package/dist/components/common/BwgTitleBox.d.ts +5 -4
  73. package/dist/components/common/BwgTitleBox.d.ts.map +1 -1
  74. package/dist/components/common/BwgView.d.ts +4 -4
  75. package/dist/components/common/BwgView.d.ts.map +1 -1
  76. package/dist/components/common/ContentBox.d.ts +3 -3
  77. package/dist/components/common/ContentBox.d.ts.map +1 -1
  78. package/dist/components/common/ContentLayOut.d.ts +6 -5
  79. package/dist/components/common/ContentLayOut.d.ts.map +1 -1
  80. package/dist/components/common/GlobalConfigProvider.d.ts +2 -2
  81. package/dist/components/common/GlobalConfigProvider.d.ts.map +1 -1
  82. package/dist/components/common/QuickServiceToggle.d.ts +4 -4
  83. package/dist/components/common/QuickServiceToggle.d.ts.map +1 -1
  84. package/dist/components/common/SSOHandler.d.ts +2 -1
  85. package/dist/components/common/SSOHandler.d.ts.map +1 -1
  86. package/dist/components/common/SearchBox.d.ts +5 -4
  87. package/dist/components/common/SearchBox.d.ts.map +1 -1
  88. package/dist/components/common/index.cjs +1 -1
  89. package/dist/components/common/index.js +1 -1
  90. package/dist/components/core/BwgButton.d.ts +3 -2
  91. package/dist/components/core/BwgButton.d.ts.map +1 -1
  92. package/dist/components/core/BwgDatePicker.d.ts +3 -3
  93. package/dist/components/core/BwgDatePicker.d.ts.map +1 -1
  94. package/dist/components/core/BwgDownload.d.ts +2 -2
  95. package/dist/components/core/BwgDownload.d.ts.map +1 -1
  96. package/dist/components/core/BwgForm.d.ts +2 -1
  97. package/dist/components/core/BwgForm.d.ts.map +1 -1
  98. package/dist/components/core/BwgFormItem.d.ts +3 -3
  99. package/dist/components/core/BwgFormItem.d.ts.map +1 -1
  100. package/dist/components/core/BwgInput.d.ts +2 -2
  101. package/dist/components/core/BwgInput.d.ts.map +1 -1
  102. package/dist/components/core/BwgLargeUploader.d.ts +2 -2
  103. package/dist/components/core/BwgLargeUploader.d.ts.map +1 -1
  104. package/dist/components/core/BwgMaskedInput.d.ts +2 -2
  105. package/dist/components/core/BwgMaskedInput.d.ts.map +1 -1
  106. package/dist/components/core/BwgMaskedPicker.d.ts +2 -2
  107. package/dist/components/core/BwgMaskedPicker.d.ts.map +1 -1
  108. package/dist/components/core/BwgRangePicker.d.ts +3 -3
  109. package/dist/components/core/BwgRangePicker.d.ts.map +1 -1
  110. package/dist/components/core/BwgSearch.d.ts +1 -1
  111. package/dist/components/core/BwgSearch.d.ts.map +1 -1
  112. package/dist/components/core/BwgUploader.d.ts +2 -2
  113. package/dist/components/core/BwgUploader.d.ts.map +1 -1
  114. package/dist/components/core/index.cjs +1 -1
  115. package/dist/components/core/index.js +2 -2
  116. package/dist/components/layout/ErrorBound.d.ts +3 -3
  117. package/dist/components/layout/ErrorBound.d.ts.map +1 -1
  118. package/dist/components/layout/LoadingOverlay.d.ts +3 -2
  119. package/dist/components/layout/LoadingOverlay.d.ts.map +1 -1
  120. package/dist/components/layout/PrivateProtectedOverlay.d.ts +3 -2
  121. package/dist/components/layout/PrivateProtectedOverlay.d.ts.map +1 -1
  122. package/dist/components/layout/ProgressOverlay.d.ts +2 -2
  123. package/dist/components/layout/ProgressOverlay.d.ts.map +1 -1
  124. package/dist/components/layout/ViewContainer.d.ts +3 -3
  125. package/dist/components/layout/ViewContainer.d.ts.map +1 -1
  126. package/dist/components/layout/index.js +1 -1
  127. package/dist/components/popup/MenuReport.d.ts +2 -2
  128. package/dist/components/popup/MenuReport.d.ts.map +1 -1
  129. package/dist/index.cjs +1 -1
  130. package/dist/index.js +11 -11
  131. package/dist/provider/contexts/AuthContext.d.ts +3 -2
  132. package/dist/provider/contexts/AuthContext.d.ts.map +1 -1
  133. package/dist/provider/contexts/CommonCodeContext.d.ts +2 -2
  134. package/dist/provider/contexts/CommonCodeContext.d.ts.map +1 -1
  135. package/dist/provider/contexts/ScreenProtectContext.d.ts +5 -5
  136. package/dist/provider/contexts/ScreenProtectContext.d.ts.map +1 -1
  137. package/dist/provider/contexts/SearchBoxContext.d.ts +3 -3
  138. package/dist/provider/contexts/SearchBoxContext.d.ts.map +1 -1
  139. package/dist/provider/contexts/ServiceCodeContext.d.ts +2 -2
  140. package/dist/provider/contexts/ServiceCodeContext.d.ts.map +1 -1
  141. package/dist/provider/index.js +3 -3
  142. package/dist/stores/index.d.ts.map +1 -1
  143. package/dist/stores/index.js +6 -6
  144. package/dist/stores/menuViewStore.d.ts +6 -5
  145. package/dist/stores/menuViewStore.d.ts.map +1 -1
  146. package/dist/utils/index.js +2 -2
  147. package/package.json +1 -1
  148. package/dist/chunks/AuthContext-Ei2P-z4d.js.map +0 -1
  149. package/dist/chunks/BwgSwitch-B79pseQM.js.map +0 -1
  150. package/dist/chunks/BwgSwitch-CAI-kEaM.cjs.map +0 -1
  151. package/dist/chunks/BwgUploader-BcVlE61B.js.map +0 -1
  152. package/dist/chunks/BwgUploader-DaNV2URT.cjs.map +0 -1
  153. package/dist/chunks/SSOHandler-CkPcSHIm.js.map +0 -1
  154. package/dist/chunks/SSOHandler-DiW4Ft9i.cjs.map +0 -1
  155. package/dist/chunks/SearchBoxContext-BCvEYyFk.js.map +0 -1
  156. package/dist/chunks/ViewContainer-CjpJqoGG.js.map +0 -1
  157. package/dist/chunks/apiUtils-DxzLqPhU.js.map +0 -1
  158. package/dist/chunks/usePopup-BSqsnSz7.js.map +0 -1
@@ -1,15 +1,15 @@
1
1
  import { j as c } from "./jsx-runtime-Dpn_P65e.js";
2
- import { Button as Y, Form as B, ConfigProvider as pt, Checkbox as we, message as P, Card as Ge, List as W, Spin as mt, Upload as H, Tooltip as vt, Typography as Dt, Flex as xe, Progress as yt, notification as St, Input as Q, DatePicker as Ot, Select as Xe, Space as pe, InputNumber as Tt, Radio as bt } from "antd";
3
- import { c as k } from "./BwgSwitch-B79pseQM.js";
4
- import It, { useState as L, useEffect as R, useRef as $, useMemo as j, createContext as Et, memo as Ct, useLayoutEffect as wt, useCallback as xt, isValidElement as Nt, cloneElement as Ne, useContext as Pt } from "react";
5
- import { PaperClipOutlined as _t, DownloadOutlined as Rt, CloseCircleOutlined as Lt, DeleteOutlined as jt, InboxOutlined as Mt, UploadOutlined as We, CloudUploadOutlined as Ft, CheckCircleOutlined as kt, FileTextOutlined as At, SearchOutlined as Ht } from "@ant-design/icons";
6
- import { a as Ut, aA as A, c as U, aQ as Yt } from "./apiUtils-DxzLqPhU.js";
7
- import { isEmpty as Bt, debounce as $t, findIndex as J } from "lodash";
8
- import Vt from "jszip";
2
+ import { Button as Y, Form as B, ConfigProvider as pt, Checkbox as xe, message as P, Card as Ge, List as W, Spin as mt, Upload as H, Tooltip as vt, Typography as Dt, Flex as Ne, Progress as yt, notification as St, Input as Q, DatePicker as Ot, Select as Xe, Space as pe, InputNumber as Tt, Radio as bt } from "antd";
3
+ import { c as k } from "./BwgSwitch-D_scwi9_.js";
4
+ import { useState as L, useEffect as R, useRef as $, useMemo as j, createContext as It, memo as Et, useLayoutEffect as Ct, useCallback as wt, isValidElement as xt, cloneElement as me, useContext as Nt } from "react";
5
+ import { PaperClipOutlined as Pt, DownloadOutlined as _t, CloseCircleOutlined as Rt, DeleteOutlined as Lt, InboxOutlined as jt, UploadOutlined as We, CloudUploadOutlined as Mt, CheckCircleOutlined as Ft, FileTextOutlined as kt, SearchOutlined as At } from "@ant-design/icons";
6
+ import { isEmpty as Ht, debounce as Ut, findIndex as J } from "lodash";
7
+ import { a as Yt, aA as A, c as U, aQ as Bt } from "./apiUtils-DSwE62oG.js";
8
+ import $t from "jszip";
9
9
  import Ke from "imask";
10
10
  import ee from "dayjs";
11
- import { u as zt } from "./popupStore-Bi6o78lP.js";
12
- const Ci = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), wi = ({ itemProps: t, inputProps: e }) => {
11
+ import { u as Vt } from "./popupStore-BRRmB4zH.js";
12
+ const Ei = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), Ci = ({ itemProps: t, inputProps: e }) => {
13
13
  const r = B.useFormInstance(), [n, i] = L(
14
14
  t?.initialValue ?? []
15
15
  ), [s, a] = L([]), o = s.length > 0 && s.length == n?.length, u = n?.length > 0 && n.length < s.length;
@@ -38,7 +38,7 @@ const Ci = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), wi =
38
38
  }
39
39
  }, children: [
40
40
  e?.allCheck && /* @__PURE__ */ c.jsx(
41
- we,
41
+ xe,
42
42
  {
43
43
  indeterminate: u,
44
44
  checked: o,
@@ -47,7 +47,7 @@ const Ci = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), wi =
47
47
  }
48
48
  ),
49
49
  /* @__PURE__ */ c.jsx(
50
- we.Group,
50
+ xe.Group,
51
51
  {
52
52
  options: e?.options,
53
53
  value: n,
@@ -55,7 +55,7 @@ const Ci = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), wi =
55
55
  }
56
56
  )
57
57
  ] }) });
58
- }, xi = ({
58
+ }, wi = ({
59
59
  fileGrpKey: t,
60
60
  onFetchFilesTrxCd: e = "SCMFILE00101",
61
61
  readOnly: r = !1,
@@ -63,7 +63,7 @@ const Ci = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), wi =
63
63
  }) => {
64
64
  const [i, s] = L([]);
65
65
  R(() => {
66
- t && e ? n != __SYS_CD__ ? Ut(n, e, {
66
+ t && e ? n != __SYS_CD__ ? Yt(n, e, {
67
67
  crprCd: A()?.crprCd,
68
68
  sysCd: n,
69
69
  fileGrpKey: t
@@ -124,7 +124,7 @@ const Ci = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), wi =
124
124
  );
125
125
  }
126
126
  };
127
- return Bt(i) ? null : /* @__PURE__ */ c.jsx(Ge, { title: "파일 목록", children: /* @__PURE__ */ c.jsx(
127
+ return Ht(i) ? null : /* @__PURE__ */ c.jsx(Ge, { title: "파일 목록", children: /* @__PURE__ */ c.jsx(
128
128
  W,
129
129
  {
130
130
  dataSource: i,
@@ -136,18 +136,18 @@ const Ci = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), wi =
136
136
  Y,
137
137
  {
138
138
  type: "text",
139
- icon: /* @__PURE__ */ c.jsx(Rt, {}),
139
+ icon: /* @__PURE__ */ c.jsx(_t, {}),
140
140
  onClick: () => a(o)
141
141
  },
142
142
  "download"
143
143
  )
144
144
  ],
145
- children: /* @__PURE__ */ c.jsx(W.Item.Meta, { avatar: /* @__PURE__ */ c.jsx(_t, {}), title: o.name })
145
+ children: /* @__PURE__ */ c.jsx(W.Item.Meta, { avatar: /* @__PURE__ */ c.jsx(Pt, {}), title: o.name })
146
146
  }
147
147
  )
148
148
  }
149
149
  ) });
150
- }, { Text: te, Link: Ni } = Dt, { Dragger: qt } = H, Gt = [
150
+ }, { Text: te, Link: xi } = Dt, { Dragger: zt } = H, qt = [
151
151
  ".pdf",
152
152
  ".xlsx",
153
153
  ".xls",
@@ -165,18 +165,18 @@ const Ci = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), wi =
165
165
  ".gif",
166
166
  // 압축
167
167
  ".zip"
168
- ], Xt = (t, e = 2) => {
168
+ ], Gt = (t, e = 2) => {
169
169
  if (t === 0) return "0 Bytes";
170
170
  const r = 1024, n = e < 0 ? 0 : e, i = ["Bytes", "KB", "MB", "GB", "TB"], s = Math.floor(Math.log(t) / Math.log(r));
171
171
  return parseFloat((t / Math.pow(r, s)).toFixed(n)) + " " + i[s];
172
- }, Pi = ({
172
+ }, Ni = ({
173
173
  title: t = "첨부파일",
174
174
  fileGrpKey: e,
175
175
  onUploadComplete: r,
176
176
  onSuccessTrxCd: n = "SCMFILE00102",
177
177
  // BwgUploader와 동일한 기본 trxCd 설정
178
178
  anotherServiceTrxCd: i = "SCMFILE00105",
179
- allowedExtensions: s = Gt,
179
+ allowedExtensions: s = qt,
180
180
  maxFileSize: a = 2048
181
181
  // 기본값 2GB
182
182
  }) => {
@@ -215,7 +215,7 @@ const Ci = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), wi =
215
215
  g(!0);
216
216
  let T;
217
217
  try {
218
- const O = new Vt();
218
+ const O = new $t();
219
219
  h.forEach((x) => {
220
220
  x.originFileObj && O.file(x.name, x.originFileObj);
221
221
  }), T = await O.generateAsync({
@@ -363,7 +363,7 @@ const Ci = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), wi =
363
363
  extra: /* @__PURE__ */ c.jsx(H, { ...v, children: /* @__PURE__ */ c.jsx(Y, { icon: /* @__PURE__ */ c.jsx(We, {}), children: "파일 선택" }) }),
364
364
  bodyStyle: { padding: 0 },
365
365
  children: /* @__PURE__ */ c.jsx(
366
- qt,
366
+ zt,
367
367
  {
368
368
  ...v,
369
369
  style: {
@@ -380,7 +380,7 @@ const Ci = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), wi =
380
380
  const I = h.status === "done", f = h.status === "error";
381
381
  let T;
382
382
  return I ? T = /* @__PURE__ */ c.jsx(
383
- kt,
383
+ Ft,
384
384
  {
385
385
  style: { color: "#52c41a", fontSize: 14 }
386
386
  }
@@ -389,22 +389,22 @@ const Ci = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), wi =
389
389
  {
390
390
  title: typeof h.response == "string" ? h.response : "업로드 실패",
391
391
  children: /* @__PURE__ */ c.jsx(
392
- Lt,
392
+ Rt,
393
393
  {
394
394
  style: { color: "#ff4d4f", fontSize: 14 }
395
395
  }
396
396
  )
397
397
  }
398
- ) : T = /* @__PURE__ */ c.jsx(At, { style: { fontSize: 14 } }), /* @__PURE__ */ c.jsx(
398
+ ) : T = /* @__PURE__ */ c.jsx(kt, { style: { fontSize: 14 } }), /* @__PURE__ */ c.jsx(
399
399
  W.Item,
400
400
  {
401
401
  actions: [
402
- /* @__PURE__ */ c.jsx(te, { type: "secondary", children: Xt(h.size || 0) }, "size"),
402
+ /* @__PURE__ */ c.jsx(te, { type: "secondary", children: Gt(h.size || 0) }, "size"),
403
403
  /* @__PURE__ */ c.jsx(
404
404
  Y,
405
405
  {
406
406
  type: "text",
407
- icon: /* @__PURE__ */ c.jsx(jt, {}),
407
+ icon: /* @__PURE__ */ c.jsx(Lt, {}),
408
408
  onClick: (S) => {
409
409
  S.stopPropagation(), v.onRemove?.(h);
410
410
  },
@@ -426,7 +426,7 @@ const Ci = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), wi =
426
426
  }
427
427
  }
428
428
  ) : /* @__PURE__ */ c.jsxs(
429
- xe,
429
+ Ne,
430
430
  {
431
431
  gap: "middle",
432
432
  align: "center",
@@ -434,7 +434,7 @@ const Ci = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), wi =
434
434
  vertical: !0,
435
435
  style: { padding: "20px 0", minHeight: "120px" },
436
436
  children: [
437
- /* @__PURE__ */ c.jsx(Mt, { style: { fontSize: "32px", color: "#999" } }),
437
+ /* @__PURE__ */ c.jsx(jt, { style: { fontSize: "32px", color: "#999" } }),
438
438
  /* @__PURE__ */ c.jsx(te, { type: "secondary", children: "업로드할 파일을 선택하거나 이 영역으로 드래그하세요." })
439
439
  ]
440
440
  }
@@ -444,7 +444,7 @@ const Ci = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), wi =
444
444
  }
445
445
  ),
446
446
  o.length > 0 && /* @__PURE__ */ c.jsxs(
447
- xe,
447
+ Ne,
448
448
  {
449
449
  justify: "flex-end",
450
450
  align: "center",
@@ -458,7 +458,7 @@ const Ci = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), wi =
458
458
  type: "primary",
459
459
  onClick: E,
460
460
  disabled: l || m || o.filter((h) => h.status !== "done").length === 0,
461
- icon: /* @__PURE__ */ c.jsx(Ft, {}),
461
+ icon: /* @__PURE__ */ c.jsx(Mt, {}),
462
462
  children: "일괄 업로드"
463
463
  }
464
464
  )
@@ -468,7 +468,7 @@ const Ci = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), wi =
468
468
  ] })
469
469
  }
470
470
  );
471
- }, Wt = (t) => {
471
+ }, Xt = (t) => {
472
472
  if (typeof t == "string")
473
473
  return t.replace(/0/g, "_");
474
474
  if (Array.isArray(t))
@@ -481,12 +481,12 @@ const Ci = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), wi =
481
481
  }).join(".");
482
482
  }
483
483
  return "";
484
- }, _i = ({
484
+ }, Pi = ({
485
485
  itemProps: t,
486
486
  inputProps: e,
487
487
  mask: r
488
488
  }) => {
489
- const n = $(null), i = B.useFormInstance(), s = j(() => Wt(r), [r]);
489
+ const n = $(null), i = B.useFormInstance(), s = j(() => Xt(r), [r]);
490
490
  return R(() => {
491
491
  if (!n.current?.input) return;
492
492
  const a = typeof r == "string" || Array.isArray(r) ? { mask: r } : r, o = Ke(n.current.input, a);
@@ -496,7 +496,7 @@ const Ci = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), wi =
496
496
  o.destroy();
497
497
  };
498
498
  }, [r, i, t?.name]), /* @__PURE__ */ c.jsx(k, { ...t, children: /* @__PURE__ */ c.jsx(Q, { ...e, ref: n, placeholder: s }) });
499
- }, Kt = (t) => {
499
+ }, Wt = (t) => {
500
500
  switch (t) {
501
501
  case "year":
502
502
  return { format: "YYYY", mask: "0000", outputFormat: "YYYY" };
@@ -510,12 +510,12 @@ const Ci = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), wi =
510
510
  outputFormat: "YYYYMMDD"
511
511
  };
512
512
  }
513
- }, Ri = ({
513
+ }, _i = ({
514
514
  type: t = "date",
515
515
  itemProps: e = { name: "calendar" },
516
516
  inputProps: r
517
517
  }) => {
518
- const { format: n, mask: i, outputFormat: s } = Kt(t), a = $(null), o = $(null), u = B.useFormInstance(), [l, p] = L(!1), [m, g] = L(!1), d = e?.name, [b, D] = L(null);
518
+ const { format: n, mask: i, outputFormat: s } = Wt(t), a = $(null), o = $(null), u = B.useFormInstance(), [l, p] = L(!1), [m, g] = L(!1), d = e?.name, [b, D] = L(null);
519
519
  R(() => {
520
520
  if (!a.current?.input) return;
521
521
  const v = Ke(a.current.input, {
@@ -597,7 +597,7 @@ const Ci = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), wi =
597
597
  ] })
598
598
  }
599
599
  );
600
- }, { Option: Pe } = Xe, Li = ({ itemProps: t, inputProps: e }) => {
600
+ }, { Option: Pe } = Xe, Ri = ({ itemProps: t, inputProps: e }) => {
601
601
  const [r, n] = L([]);
602
602
  return R(() => {
603
603
  e?.addField === "ALL" ? n([
@@ -620,7 +620,7 @@ const Ci = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), wi =
620
620
  }) })
621
621
  }
622
622
  );
623
- }, ji = ({ itemProps: t, inputProps: e }) => {
623
+ }, Li = ({ itemProps: t, inputProps: e }) => {
624
624
  const r = (i) => {
625
625
  let s = i.toString().split(".");
626
626
  return e?.decimalPoint != null && s[1] != null && e?.decimalPoint > 0 ? s[1].length > e?.decimalPoint ? s[1] = "." + s[1].substring(0, e?.decimalPoint) : s[1] = "." + s[1] : s[1] = "", s[0].replace(/\B(?=(\d{3})+(?!\d))/g, ",") + s[1];
@@ -636,8 +636,8 @@ const Ci = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), wi =
636
636
  parser: (i) => n(i)
637
637
  }
638
638
  ) });
639
- }, Mi = ({ itemProps: t, inputProps: e }) => /* @__PURE__ */ c.jsx(k, { ...t, children: /* @__PURE__ */ c.jsx(bt.Group, { ...e }) }), _e = Q.Search, Fi = (t) => {
640
- const e = B.useFormInstance(), { openPopup: r } = zt(), n = t.itemProps?.name || [], i = t.popupConfig || {
639
+ }, ji = ({ itemProps: t, inputProps: e }) => /* @__PURE__ */ c.jsx(k, { ...t, children: /* @__PURE__ */ c.jsx(bt.Group, { ...e }) }), _e = Q.Search, Mi = (t) => {
640
+ const e = B.useFormInstance(), { openPopup: r } = Vt(), n = t.itemProps?.name || [], i = t.popupConfig || {
641
641
  callback(a) {
642
642
  console.log("callback data :: ", a), n.length > 1 ? (e.setFieldValue(n[0], a.code), e.setFieldValue(n[1], a.name)) : e.setFieldValue(n, a.code);
643
643
  }
@@ -677,7 +677,7 @@ const Ci = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), wi =
677
677
  enterButton: /* @__PURE__ */ c.jsx(
678
678
  Y,
679
679
  {
680
- icon: /* @__PURE__ */ c.jsx(Ht, {}),
680
+ icon: /* @__PURE__ */ c.jsx(At, {}),
681
681
  disabled: t.readOnly
682
682
  }
683
683
  ),
@@ -685,7 +685,7 @@ const Ci = (t) => /* @__PURE__ */ c.jsx(Y, { ...t, className: "bwg-btn" }), wi =
685
685
  }
686
686
  ) })
687
687
  ] }) }) : /* @__PURE__ */ c.jsx(k, { ...t.itemProps, children: /* @__PURE__ */ c.jsx(_e, { ...s }) });
688
- }, { TextArea: Jt } = Q, ki = ({ itemProps: t, inputProps: e }) => /* @__PURE__ */ c.jsx(k, { ...t, children: /* @__PURE__ */ c.jsx(Jt, { ...e }) }), Je = Et({
688
+ }, { TextArea: Kt } = Q, Fi = ({ itemProps: t, inputProps: e }) => /* @__PURE__ */ c.jsx(k, { ...t, children: /* @__PURE__ */ c.jsx(Kt, { ...e }) }), Je = It({
689
689
  dragDropManager: void 0
690
690
  });
691
691
  function M(t) {
@@ -699,13 +699,13 @@ var Re = (function() {
699
699
  INIT: "@@redux/INIT" + Le(),
700
700
  REPLACE: "@@redux/REPLACE" + Le()
701
701
  };
702
- function Zt(t) {
702
+ function Jt(t) {
703
703
  if (typeof t != "object" || t === null) return !1;
704
704
  for (var e = t; Object.getPrototypeOf(e) !== null; )
705
705
  e = Object.getPrototypeOf(e);
706
706
  return Object.getPrototypeOf(t) === e;
707
707
  }
708
- function Qt(t) {
708
+ function Zt(t) {
709
709
  if (t === void 0) return "undefined";
710
710
  if (t === null) return "null";
711
711
  var e = typeof t;
@@ -718,9 +718,9 @@ function Qt(t) {
718
718
  return e;
719
719
  }
720
720
  if (Array.isArray(t)) return "array";
721
- if (rr(t)) return "date";
722
- if (tr(t)) return "error";
723
- var r = er(t);
721
+ if (tr(t)) return "date";
722
+ if (er(t)) return "error";
723
+ var r = Qt(t);
724
724
  switch (r) {
725
725
  case "Symbol":
726
726
  case "Promise":
@@ -732,18 +732,18 @@ function Qt(t) {
732
732
  }
733
733
  return e.slice(8, -1).toLowerCase().replace(/\s/g, "");
734
734
  }
735
- function er(t) {
735
+ function Qt(t) {
736
736
  return typeof t.constructor == "function" ? t.constructor.name : null;
737
737
  }
738
- function tr(t) {
738
+ function er(t) {
739
739
  return t instanceof Error || typeof t.message == "string" && t.constructor && typeof t.constructor.stackTraceLimit == "number";
740
740
  }
741
- function rr(t) {
741
+ function tr(t) {
742
742
  return t instanceof Date ? !0 : typeof t.toDateString == "function" && typeof t.getDate == "function" && typeof t.setDate == "function";
743
743
  }
744
744
  function G(t) {
745
745
  var e = typeof t;
746
- return process.env.NODE_ENV !== "production" && (e = Qt(t)), e;
746
+ return process.env.NODE_ENV !== "production" && (e = Zt(t)), e;
747
747
  }
748
748
  function Ze(t, e, r) {
749
749
  var n;
@@ -782,7 +782,7 @@ function Ze(t, e, r) {
782
782
  };
783
783
  }
784
784
  function g(D) {
785
- if (!Zt(D))
785
+ if (!Jt(D))
786
786
  throw new Error(process.env.NODE_ENV === "production" ? M(7) : "Actions must be plain objects. Instead, the actual type was: '" + G(D) + "'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");
787
787
  if (typeof D.type > "u")
788
788
  throw new Error(process.env.NODE_ENV === "production" ? M(8) : 'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');
@@ -843,7 +843,7 @@ function Ze(t, e, r) {
843
843
  }, n[Re] = b, n;
844
844
  }
845
845
  function y(t, e, ...r) {
846
- if (nr() && e === void 0)
846
+ if (rr() && e === void 0)
847
847
  throw new Error("invariant requires an error message argument");
848
848
  if (!t) {
849
849
  let n;
@@ -858,16 +858,16 @@ function y(t, e, ...r) {
858
858
  throw n.framesToPop = 1, n;
859
859
  }
860
860
  }
861
- function nr() {
861
+ function rr() {
862
862
  return typeof process < "u" && process.env.NODE_ENV === "production";
863
863
  }
864
- function ir(t, e, r) {
864
+ function nr(t, e, r) {
865
865
  return e.split(".").reduce(
866
866
  (n, i) => n && n[i] ? n[i] : r || null,
867
867
  t
868
868
  );
869
869
  }
870
- function sr(t, e) {
870
+ function ir(t, e) {
871
871
  return t.filter(
872
872
  (r) => r !== e
873
873
  );
@@ -875,7 +875,7 @@ function sr(t, e) {
875
875
  function Qe(t) {
876
876
  return typeof t == "object";
877
877
  }
878
- function or(t, e) {
878
+ function sr(t, e) {
879
879
  const r = /* @__PURE__ */ new Map(), n = (s) => {
880
880
  r.set(s, r.has(s) ? r.get(s) + 1 : 1);
881
881
  };
@@ -885,50 +885,50 @@ function or(t, e) {
885
885
  s === 1 && i.push(a);
886
886
  }), i;
887
887
  }
888
- function ar(t, e) {
888
+ function or(t, e) {
889
889
  return t.filter(
890
890
  (r) => e.indexOf(r) > -1
891
891
  );
892
892
  }
893
- const Oe = "dnd-core/INIT_COORDS", ie = "dnd-core/BEGIN_DRAG", Te = "dnd-core/PUBLISH_DRAG_SOURCE", se = "dnd-core/HOVER", oe = "dnd-core/DROP", ae = "dnd-core/END_DRAG";
893
+ const Te = "dnd-core/INIT_COORDS", ie = "dnd-core/BEGIN_DRAG", be = "dnd-core/PUBLISH_DRAG_SOURCE", se = "dnd-core/HOVER", oe = "dnd-core/DROP", ae = "dnd-core/END_DRAG";
894
894
  function Me(t, e) {
895
895
  return {
896
- type: Oe,
896
+ type: Te,
897
897
  payload: {
898
898
  sourceClientOffset: e || null,
899
899
  clientOffset: t || null
900
900
  }
901
901
  };
902
902
  }
903
- const cr = {
904
- type: Oe,
903
+ const ar = {
904
+ type: Te,
905
905
  payload: {
906
906
  clientOffset: null,
907
907
  sourceClientOffset: null
908
908
  }
909
909
  };
910
- function ur(t) {
910
+ function cr(t) {
911
911
  return function(r = [], n = {
912
912
  publishSource: !0
913
913
  }) {
914
914
  const { publishSource: i = !0, clientOffset: s, getSourceClientOffset: a } = n, o = t.getMonitor(), u = t.getRegistry();
915
- t.dispatch(Me(s)), lr(r, o, u);
916
- const l = gr(r, o);
915
+ t.dispatch(Me(s)), ur(r, o, u);
916
+ const l = fr(r, o);
917
917
  if (l == null) {
918
- t.dispatch(cr);
918
+ t.dispatch(ar);
919
919
  return;
920
920
  }
921
921
  let p = null;
922
922
  if (s) {
923
923
  if (!a)
924
924
  throw new Error("getSourceClientOffset must be defined");
925
- dr(a), p = a(l);
925
+ lr(a), p = a(l);
926
926
  }
927
927
  t.dispatch(Me(s, p));
928
928
  const g = u.getSource(l).beginDrag(o, l);
929
929
  if (g == null)
930
930
  return;
931
- fr(g), u.pinSource(l);
931
+ dr(g), u.pinSource(l);
932
932
  const d = u.getSourceType(l);
933
933
  return {
934
934
  type: ie,
@@ -943,18 +943,18 @@ function ur(t) {
943
943
  };
944
944
  };
945
945
  }
946
- function lr(t, e, r) {
946
+ function ur(t, e, r) {
947
947
  y(!e.isDragging(), "Cannot call beginDrag while dragging."), t.forEach(function(n) {
948
948
  y(r.getSource(n), "Expected sourceIds to be registered.");
949
949
  });
950
950
  }
951
- function dr(t) {
951
+ function lr(t) {
952
952
  y(typeof t == "function", "When clientOffset is provided, getSourceClientOffset must be a function.");
953
953
  }
954
- function fr(t) {
954
+ function dr(t) {
955
955
  y(Qe(t), "Item must be an object.");
956
956
  }
957
- function gr(t, e) {
957
+ function fr(t, e) {
958
958
  let r = null;
959
959
  for (let n = t.length - 1; n >= 0; n--)
960
960
  if (e.canDragSource(t[n])) {
@@ -963,7 +963,7 @@ function gr(t, e) {
963
963
  }
964
964
  return r;
965
965
  }
966
- function hr(t, e, r) {
966
+ function gr(t, e, r) {
967
967
  return e in t ? Object.defineProperty(t, e, {
968
968
  value: r,
969
969
  enumerable: !0,
@@ -971,69 +971,69 @@ function hr(t, e, r) {
971
971
  writable: !0
972
972
  }) : t[e] = r, t;
973
973
  }
974
- function pr(t) {
974
+ function hr(t) {
975
975
  for (var e = 1; e < arguments.length; e++) {
976
976
  var r = arguments[e] != null ? arguments[e] : {}, n = Object.keys(r);
977
977
  typeof Object.getOwnPropertySymbols == "function" && (n = n.concat(Object.getOwnPropertySymbols(r).filter(function(i) {
978
978
  return Object.getOwnPropertyDescriptor(r, i).enumerable;
979
979
  }))), n.forEach(function(i) {
980
- hr(t, i, r[i]);
980
+ gr(t, i, r[i]);
981
981
  });
982
982
  }
983
983
  return t;
984
984
  }
985
- function mr(t) {
985
+ function pr(t) {
986
986
  return function(r = {}) {
987
987
  const n = t.getMonitor(), i = t.getRegistry();
988
- vr(n), Sr(n).forEach((a, o) => {
989
- const u = Dr(a, o, i, n), l = {
988
+ mr(n), yr(n).forEach((a, o) => {
989
+ const u = vr(a, o, i, n), l = {
990
990
  type: oe,
991
991
  payload: {
992
- dropResult: pr({}, r, u)
992
+ dropResult: hr({}, r, u)
993
993
  }
994
994
  };
995
995
  t.dispatch(l);
996
996
  });
997
997
  };
998
998
  }
999
- function vr(t) {
999
+ function mr(t) {
1000
1000
  y(t.isDragging(), "Cannot call drop while not dragging."), y(!t.didDrop(), "Cannot call drop twice during one drag operation.");
1001
1001
  }
1002
- function Dr(t, e, r, n) {
1002
+ function vr(t, e, r, n) {
1003
1003
  const i = r.getTarget(t);
1004
1004
  let s = i ? i.drop(n, t) : void 0;
1005
- return yr(s), typeof s > "u" && (s = e === 0 ? {} : n.getDropResult()), s;
1005
+ return Dr(s), typeof s > "u" && (s = e === 0 ? {} : n.getDropResult()), s;
1006
1006
  }
1007
- function yr(t) {
1007
+ function Dr(t) {
1008
1008
  y(typeof t > "u" || Qe(t), "Drop result must either be an object or undefined.");
1009
1009
  }
1010
- function Sr(t) {
1010
+ function yr(t) {
1011
1011
  const e = t.getTargetIds().filter(t.canDropOnTarget, t);
1012
1012
  return e.reverse(), e;
1013
1013
  }
1014
- function Or(t) {
1014
+ function Sr(t) {
1015
1015
  return function() {
1016
1016
  const r = t.getMonitor(), n = t.getRegistry();
1017
- Tr(r);
1017
+ Or(r);
1018
1018
  const i = r.getSourceId();
1019
1019
  return i != null && (n.getSource(i, !0).endDrag(r, i), n.unpinSource()), {
1020
1020
  type: ae
1021
1021
  };
1022
1022
  };
1023
1023
  }
1024
- function Tr(t) {
1024
+ function Or(t) {
1025
1025
  y(t.isDragging(), "Cannot call endDrag while not dragging.");
1026
1026
  }
1027
- function me(t, e) {
1027
+ function ve(t, e) {
1028
1028
  return e === null ? t === null : Array.isArray(t) ? t.some(
1029
1029
  (r) => r === e
1030
1030
  ) : t === e;
1031
1031
  }
1032
- function br(t) {
1032
+ function Tr(t) {
1033
1033
  return function(r, { clientOffset: n } = {}) {
1034
- Ir(r);
1034
+ br(r);
1035
1035
  const i = r.slice(0), s = t.getMonitor(), a = t.getRegistry(), o = s.getItemType();
1036
- return Cr(i, a, o), Er(i, s, a), wr(i, s, a), {
1036
+ return Er(i, a, o), Ir(i, s, a), Cr(i, s, a), {
1037
1037
  type: se,
1038
1038
  payload: {
1039
1039
  targetIds: i,
@@ -1042,10 +1042,10 @@ function br(t) {
1042
1042
  };
1043
1043
  };
1044
1044
  }
1045
- function Ir(t) {
1045
+ function br(t) {
1046
1046
  y(Array.isArray(t), "Expected targetIds to be an array.");
1047
1047
  }
1048
- function Er(t, e, r) {
1048
+ function Ir(t, e, r) {
1049
1049
  y(e.isDragging(), "Cannot call hover while not dragging."), y(!e.didDrop(), "Cannot call hover after drop.");
1050
1050
  for (let n = 0; n < t.length; n++) {
1051
1051
  const i = t[n];
@@ -1054,35 +1054,35 @@ function Er(t, e, r) {
1054
1054
  y(s, "Expected targetIds to be registered.");
1055
1055
  }
1056
1056
  }
1057
- function Cr(t, e, r) {
1057
+ function Er(t, e, r) {
1058
1058
  for (let n = t.length - 1; n >= 0; n--) {
1059
1059
  const i = t[n], s = e.getTargetType(i);
1060
- me(s, r) || t.splice(n, 1);
1060
+ ve(s, r) || t.splice(n, 1);
1061
1061
  }
1062
1062
  }
1063
- function wr(t, e, r) {
1063
+ function Cr(t, e, r) {
1064
1064
  t.forEach(function(n) {
1065
1065
  r.getTarget(n).hover(e, n);
1066
1066
  });
1067
1067
  }
1068
- function xr(t) {
1068
+ function wr(t) {
1069
1069
  return function() {
1070
1070
  if (t.getMonitor().isDragging())
1071
1071
  return {
1072
- type: Te
1072
+ type: be
1073
1073
  };
1074
1074
  };
1075
1075
  }
1076
- function Nr(t) {
1076
+ function xr(t) {
1077
1077
  return {
1078
- beginDrag: ur(t),
1079
- publishDragSource: xr(t),
1080
- hover: br(t),
1081
- drop: mr(t),
1082
- endDrag: Or(t)
1078
+ beginDrag: cr(t),
1079
+ publishDragSource: wr(t),
1080
+ hover: Tr(t),
1081
+ drop: pr(t),
1082
+ endDrag: Sr(t)
1083
1083
  };
1084
1084
  }
1085
- class Pr {
1085
+ class Nr {
1086
1086
  receiveBackend(e) {
1087
1087
  this.backend = e;
1088
1088
  }
@@ -1103,7 +1103,7 @@ class Pr {
1103
1103
  typeof o < "u" && r(o);
1104
1104
  };
1105
1105
  }
1106
- const i = Nr(this);
1106
+ const i = xr(this);
1107
1107
  return Object.keys(i).reduce((s, a) => {
1108
1108
  const o = i[a];
1109
1109
  return s[a] = n(o), s;
@@ -1119,7 +1119,7 @@ class Pr {
1119
1119
  }, this.store = e, this.monitor = r, e.subscribe(this.handleRefCountChange);
1120
1120
  }
1121
1121
  }
1122
- function _r(t, e) {
1122
+ function Pr(t, e) {
1123
1123
  return {
1124
1124
  x: t.x + e.x,
1125
1125
  y: t.y + e.y
@@ -1131,21 +1131,21 @@ function et(t, e) {
1131
1131
  y: t.y - e.y
1132
1132
  };
1133
1133
  }
1134
- function Rr(t) {
1134
+ function _r(t) {
1135
1135
  const { clientOffset: e, initialClientOffset: r, initialSourceClientOffset: n } = t;
1136
- return !e || !r || !n ? null : et(_r(e, n), r);
1136
+ return !e || !r || !n ? null : et(Pr(e, n), r);
1137
1137
  }
1138
- function Lr(t) {
1138
+ function Rr(t) {
1139
1139
  const { clientOffset: e, initialClientOffset: r } = t;
1140
1140
  return !e || !r ? null : et(e, r);
1141
1141
  }
1142
- const Z = [], be = [];
1142
+ const Z = [], Ie = [];
1143
1143
  Z.__IS_NONE__ = !0;
1144
- be.__IS_ALL__ = !0;
1145
- function jr(t, e) {
1146
- return t === Z ? !1 : t === be || typeof e > "u" ? !0 : ar(e, t).length > 0;
1144
+ Ie.__IS_ALL__ = !0;
1145
+ function Lr(t, e) {
1146
+ return t === Z ? !1 : t === Ie || typeof e > "u" ? !0 : or(e, t).length > 0;
1147
1147
  }
1148
- class Mr {
1148
+ class jr {
1149
1149
  subscribeToStateChange(e, r = {}) {
1150
1150
  const { handlerIds: n } = r;
1151
1151
  y(typeof e == "function", "listener must be a function."), y(typeof n > "u" || Array.isArray(n), "handlerIds, when specified, must be an array of strings.");
@@ -1153,7 +1153,7 @@ class Mr {
1153
1153
  const s = () => {
1154
1154
  const a = this.store.getState(), o = a.stateId;
1155
1155
  try {
1156
- o === i || o === i + 1 && !jr(a.dirtyHandlerIds, n) || e();
1156
+ o === i || o === i + 1 && !Lr(a.dirtyHandlerIds, n) || e();
1157
1157
  } finally {
1158
1158
  i = o;
1159
1159
  }
@@ -1182,7 +1182,7 @@ class Mr {
1182
1182
  if (y(r, `Expected to find a valid target. targetId=${e}`), !this.isDragging() || this.didDrop())
1183
1183
  return !1;
1184
1184
  const n = this.registry.getTargetType(e), i = this.getItemType();
1185
- return me(n, i) && r.canDrop(this, e);
1185
+ return ve(n, i) && r.canDrop(this, e);
1186
1186
  }
1187
1187
  isDragging() {
1188
1188
  return !!this.getItemType();
@@ -1205,7 +1205,7 @@ class Mr {
1205
1205
  if (!this.isDragging())
1206
1206
  return !1;
1207
1207
  const i = this.registry.getTargetType(e), s = this.getItemType();
1208
- if (s && !me(i, s))
1208
+ if (s && !ve(i, s))
1209
1209
  return !1;
1210
1210
  const a = this.getTargetIds();
1211
1211
  if (!a.length)
@@ -1244,10 +1244,10 @@ class Mr {
1244
1244
  return this.store.getState().dragOffset.clientOffset;
1245
1245
  }
1246
1246
  getSourceClientOffset() {
1247
- return Rr(this.store.getState().dragOffset);
1247
+ return _r(this.store.getState().dragOffset);
1248
1248
  }
1249
1249
  getDifferenceFromInitialOffset() {
1250
- return Lr(this.store.getState().dragOffset);
1250
+ return Rr(this.store.getState().dragOffset);
1251
1251
  }
1252
1252
  constructor(e, r) {
1253
1253
  this.store = e, this.registry = r;
@@ -1262,7 +1262,7 @@ function rt(t) {
1262
1262
  }
1263
1263
  };
1264
1264
  }
1265
- function Fr(t) {
1265
+ function Mr(t) {
1266
1266
  let e = 1;
1267
1267
  const r = new tt(t), n = document.createTextNode("");
1268
1268
  return r.observe(n, {
@@ -1271,7 +1271,7 @@ function Fr(t) {
1271
1271
  e = -e, n.data = e;
1272
1272
  };
1273
1273
  }
1274
- const kr = typeof tt == "function" ? (
1274
+ const Fr = typeof tt == "function" ? (
1275
1275
  // reliably everywhere they are implemented.
1276
1276
  // They are implemented in all modern browsers.
1277
1277
  //
@@ -1282,7 +1282,7 @@ const kr = typeof tt == "function" ? (
1282
1282
  // - iPad Safari 6-7.1
1283
1283
  // - iPhone Safari 7-7.1
1284
1284
  // - Safari 6-7
1285
- Fr
1285
+ Mr
1286
1286
  ) : (
1287
1287
  // task queue, are implemented in Internet Explorer 10, Safari 5.0-1, and Opera
1288
1288
  // 11-12, and in web workers in many engines.
@@ -1310,7 +1310,7 @@ const kr = typeof tt == "function" ? (
1310
1310
  // - Lynx 2.8.7
1311
1311
  rt
1312
1312
  );
1313
- class Ar {
1313
+ class kr {
1314
1314
  // Use the fastest means possible to execute a task in its own turn, with
1315
1315
  // priority over other events including IO, animation, reflow, and redraw
1316
1316
  // events in browsers.
@@ -1339,13 +1339,13 @@ class Ar {
1339
1339
  e.length = 0, this.index = 0, this.flushing = !1;
1340
1340
  }, this.registerPendingError = (e) => {
1341
1341
  this.pendingErrors.push(e), this.requestErrorThrow();
1342
- }, this.requestFlush = kr(this.flush), this.requestErrorThrow = rt(() => {
1342
+ }, this.requestFlush = Fr(this.flush), this.requestErrorThrow = rt(() => {
1343
1343
  if (this.pendingErrors.length)
1344
1344
  throw this.pendingErrors.shift();
1345
1345
  });
1346
1346
  }
1347
1347
  }
1348
- class Hr {
1348
+ class Ar {
1349
1349
  call() {
1350
1350
  try {
1351
1351
  this.task && this.task();
@@ -1359,9 +1359,9 @@ class Hr {
1359
1359
  this.onError = e, this.release = r, this.task = null;
1360
1360
  }
1361
1361
  }
1362
- class Ur {
1362
+ class Hr {
1363
1363
  create(e) {
1364
- const r = this.freeTasks, n = r.length ? r.pop() : new Hr(
1364
+ const r = this.freeTasks, n = r.length ? r.pop() : new Ar(
1365
1365
  this.onError,
1366
1366
  (i) => r[r.length] = i
1367
1367
  );
@@ -1371,36 +1371,36 @@ class Ur {
1371
1371
  this.onError = e, this.freeTasks = [];
1372
1372
  }
1373
1373
  }
1374
- const nt = new Ar(), Yr = new Ur(nt.registerPendingError);
1375
- function Br(t) {
1376
- nt.enqueueTask(Yr.create(t));
1374
+ const nt = new kr(), Ur = new Hr(nt.registerPendingError);
1375
+ function Yr(t) {
1376
+ nt.enqueueTask(Ur.create(t));
1377
1377
  }
1378
- const Ie = "dnd-core/ADD_SOURCE", Ee = "dnd-core/ADD_TARGET", Ce = "dnd-core/REMOVE_SOURCE", ce = "dnd-core/REMOVE_TARGET";
1379
- function $r(t) {
1378
+ const Ee = "dnd-core/ADD_SOURCE", Ce = "dnd-core/ADD_TARGET", we = "dnd-core/REMOVE_SOURCE", ce = "dnd-core/REMOVE_TARGET";
1379
+ function Br(t) {
1380
1380
  return {
1381
- type: Ie,
1381
+ type: Ee,
1382
1382
  payload: {
1383
1383
  sourceId: t
1384
1384
  }
1385
1385
  };
1386
1386
  }
1387
- function Vr(t) {
1387
+ function $r(t) {
1388
1388
  return {
1389
- type: Ee,
1389
+ type: Ce,
1390
1390
  payload: {
1391
1391
  targetId: t
1392
1392
  }
1393
1393
  };
1394
1394
  }
1395
- function zr(t) {
1395
+ function Vr(t) {
1396
1396
  return {
1397
- type: Ce,
1397
+ type: we,
1398
1398
  payload: {
1399
1399
  sourceId: t
1400
1400
  }
1401
1401
  };
1402
1402
  }
1403
- function qr(t) {
1403
+ function zr(t) {
1404
1404
  return {
1405
1405
  type: ce,
1406
1406
  payload: {
@@ -1408,16 +1408,16 @@ function qr(t) {
1408
1408
  }
1409
1409
  };
1410
1410
  }
1411
- function Gr(t) {
1411
+ function qr(t) {
1412
1412
  y(typeof t.canDrag == "function", "Expected canDrag to be a function."), y(typeof t.beginDrag == "function", "Expected beginDrag to be a function."), y(typeof t.endDrag == "function", "Expected endDrag to be a function.");
1413
1413
  }
1414
- function Xr(t) {
1414
+ function Gr(t) {
1415
1415
  y(typeof t.canDrop == "function", "Expected canDrop to be a function."), y(typeof t.hover == "function", "Expected hover to be a function."), y(typeof t.drop == "function", "Expected beginDrag to be a function.");
1416
1416
  }
1417
- function ve(t, e) {
1417
+ function De(t, e) {
1418
1418
  if (e && Array.isArray(t)) {
1419
1419
  t.forEach(
1420
- (r) => ve(r, !1)
1420
+ (r) => De(r, !1)
1421
1421
  );
1422
1422
  return;
1423
1423
  }
@@ -1427,12 +1427,12 @@ var F;
1427
1427
  (function(t) {
1428
1428
  t.SOURCE = "SOURCE", t.TARGET = "TARGET";
1429
1429
  })(F || (F = {}));
1430
- let Wr = 0;
1431
- function Kr() {
1432
- return Wr++;
1430
+ let Xr = 0;
1431
+ function Wr() {
1432
+ return Xr++;
1433
1433
  }
1434
- function Jr(t) {
1435
- const e = Kr().toString();
1434
+ function Kr(t) {
1435
+ const e = Wr().toString();
1436
1436
  switch (t) {
1437
1437
  case F.SOURCE:
1438
1438
  return `S${e}`;
@@ -1463,16 +1463,16 @@ function Ae(t, e) {
1463
1463
  } while (!n);
1464
1464
  return !1;
1465
1465
  }
1466
- class Zr {
1466
+ class Jr {
1467
1467
  addSource(e, r) {
1468
- ve(e), Gr(r);
1468
+ De(e), qr(r);
1469
1469
  const n = this.addHandler(F.SOURCE, e, r);
1470
- return this.store.dispatch($r(n)), n;
1470
+ return this.store.dispatch(Br(n)), n;
1471
1471
  }
1472
1472
  addTarget(e, r) {
1473
- ve(e, !0), Xr(r);
1473
+ De(e, !0), Gr(r);
1474
1474
  const n = this.addHandler(F.TARGET, e, r);
1475
- return this.store.dispatch(Vr(n)), n;
1475
+ return this.store.dispatch($r(n)), n;
1476
1476
  }
1477
1477
  containsHandler(e) {
1478
1478
  return Ae(this.dragSources, e) || Ae(this.dropTargets, e);
@@ -1496,12 +1496,12 @@ class Zr {
1496
1496
  return ke(e) === F.TARGET;
1497
1497
  }
1498
1498
  removeSource(e) {
1499
- y(this.getSource(e), "Expected an existing source."), this.store.dispatch(zr(e)), Br(() => {
1499
+ y(this.getSource(e), "Expected an existing source."), this.store.dispatch(Vr(e)), Yr(() => {
1500
1500
  this.dragSources.delete(e), this.types.delete(e);
1501
1501
  });
1502
1502
  }
1503
1503
  removeTarget(e) {
1504
- y(this.getTarget(e), "Expected an existing target."), this.store.dispatch(qr(e)), this.dropTargets.delete(e), this.types.delete(e);
1504
+ y(this.getTarget(e), "Expected an existing target."), this.store.dispatch(zr(e)), this.dropTargets.delete(e), this.types.delete(e);
1505
1505
  }
1506
1506
  pinSource(e) {
1507
1507
  const r = this.getSource(e);
@@ -1511,18 +1511,18 @@ class Zr {
1511
1511
  y(this.pinnedSource, "No source is pinned at the time."), this.pinnedSourceId = null, this.pinnedSource = null;
1512
1512
  }
1513
1513
  addHandler(e, r, n) {
1514
- const i = Jr(e);
1514
+ const i = Kr(e);
1515
1515
  return this.types.set(i, r), e === F.SOURCE ? this.dragSources.set(i, n) : e === F.TARGET && this.dropTargets.set(i, n), i;
1516
1516
  }
1517
1517
  constructor(e) {
1518
1518
  this.types = /* @__PURE__ */ new Map(), this.dragSources = /* @__PURE__ */ new Map(), this.dropTargets = /* @__PURE__ */ new Map(), this.pinnedSourceId = null, this.pinnedSource = null, this.store = e;
1519
1519
  }
1520
1520
  }
1521
- const Qr = (t, e) => t === e;
1522
- function en(t, e) {
1521
+ const Zr = (t, e) => t === e;
1522
+ function Qr(t, e) {
1523
1523
  return !t && !e ? !0 : !t || !e ? !1 : t.x === e.x && t.y === e.y;
1524
1524
  }
1525
- function tn(t, e, r = Qr) {
1525
+ function en(t, e, r = Zr) {
1526
1526
  if (t.length !== e.length)
1527
1527
  return !1;
1528
1528
  for (let n = 0; n < t.length; ++n)
@@ -1530,29 +1530,29 @@ function tn(t, e, r = Qr) {
1530
1530
  return !1;
1531
1531
  return !0;
1532
1532
  }
1533
- function rn(t = Z, e) {
1533
+ function tn(t = Z, e) {
1534
1534
  switch (e.type) {
1535
1535
  case se:
1536
1536
  break;
1537
- case Ie:
1538
1537
  case Ee:
1539
- case ce:
1540
1538
  case Ce:
1539
+ case ce:
1540
+ case we:
1541
1541
  return Z;
1542
1542
  case ie:
1543
- case Te:
1543
+ case be:
1544
1544
  case ae:
1545
1545
  case oe:
1546
1546
  default:
1547
- return be;
1547
+ return Ie;
1548
1548
  }
1549
- const { targetIds: r = [], prevTargetIds: n = [] } = e.payload, i = or(r, n);
1550
- if (!(i.length > 0 || !tn(r, n)))
1549
+ const { targetIds: r = [], prevTargetIds: n = [] } = e.payload, i = sr(r, n);
1550
+ if (!(i.length > 0 || !en(r, n)))
1551
1551
  return Z;
1552
1552
  const a = n[n.length - 1], o = r[r.length - 1];
1553
1553
  return a !== o && (a && i.push(a), o && i.push(o)), i;
1554
1554
  }
1555
- function nn(t, e, r) {
1555
+ function rn(t, e, r) {
1556
1556
  return e in t ? Object.defineProperty(t, e, {
1557
1557
  value: r,
1558
1558
  enumerable: !0,
@@ -1560,13 +1560,13 @@ function nn(t, e, r) {
1560
1560
  writable: !0
1561
1561
  }) : t[e] = r, t;
1562
1562
  }
1563
- function sn(t) {
1563
+ function nn(t) {
1564
1564
  for (var e = 1; e < arguments.length; e++) {
1565
1565
  var r = arguments[e] != null ? arguments[e] : {}, n = Object.keys(r);
1566
1566
  typeof Object.getOwnPropertySymbols == "function" && (n = n.concat(Object.getOwnPropertySymbols(r).filter(function(i) {
1567
1567
  return Object.getOwnPropertyDescriptor(r, i).enumerable;
1568
1568
  }))), n.forEach(function(i) {
1569
- nn(t, i, r[i]);
1569
+ rn(t, i, r[i]);
1570
1570
  });
1571
1571
  }
1572
1572
  return t;
@@ -1576,10 +1576,10 @@ const He = {
1576
1576
  initialClientOffset: null,
1577
1577
  clientOffset: null
1578
1578
  };
1579
- function on(t = He, e) {
1579
+ function sn(t = He, e) {
1580
1580
  const { payload: r } = e;
1581
1581
  switch (e.type) {
1582
- case Oe:
1582
+ case Te:
1583
1583
  case ie:
1584
1584
  return {
1585
1585
  initialSourceClientOffset: r.sourceClientOffset,
@@ -1587,7 +1587,7 @@ function on(t = He, e) {
1587
1587
  clientOffset: r.clientOffset
1588
1588
  };
1589
1589
  case se:
1590
- return en(t.clientOffset, r.clientOffset) ? t : sn({}, t, {
1590
+ return Qr(t.clientOffset, r.clientOffset) ? t : nn({}, t, {
1591
1591
  clientOffset: r.clientOffset
1592
1592
  });
1593
1593
  case ae:
@@ -1597,7 +1597,7 @@ function on(t = He, e) {
1597
1597
  return t;
1598
1598
  }
1599
1599
  }
1600
- function an(t, e, r) {
1600
+ function on(t, e, r) {
1601
1601
  return e in t ? Object.defineProperty(t, e, {
1602
1602
  value: r,
1603
1603
  enumerable: !0,
@@ -1611,12 +1611,12 @@ function X(t) {
1611
1611
  typeof Object.getOwnPropertySymbols == "function" && (n = n.concat(Object.getOwnPropertySymbols(r).filter(function(i) {
1612
1612
  return Object.getOwnPropertyDescriptor(r, i).enumerable;
1613
1613
  }))), n.forEach(function(i) {
1614
- an(t, i, r[i]);
1614
+ on(t, i, r[i]);
1615
1615
  });
1616
1616
  }
1617
1617
  return t;
1618
1618
  }
1619
- const cn = {
1619
+ const an = {
1620
1620
  itemType: null,
1621
1621
  item: null,
1622
1622
  sourceId: null,
@@ -1625,7 +1625,7 @@ const cn = {
1625
1625
  didDrop: !1,
1626
1626
  isSourcePublic: null
1627
1627
  };
1628
- function un(t = cn, e) {
1628
+ function cn(t = an, e) {
1629
1629
  const { payload: r } = e;
1630
1630
  switch (e.type) {
1631
1631
  case ie:
@@ -1637,7 +1637,7 @@ function un(t = cn, e) {
1637
1637
  dropResult: null,
1638
1638
  didDrop: !1
1639
1639
  });
1640
- case Te:
1640
+ case be:
1641
1641
  return X({}, t, {
1642
1642
  isSourcePublic: !0
1643
1643
  });
@@ -1647,7 +1647,7 @@ function un(t = cn, e) {
1647
1647
  });
1648
1648
  case ce:
1649
1649
  return t.targetIds.indexOf(r.targetId) === -1 ? t : X({}, t, {
1650
- targetIds: sr(t.targetIds, r.targetId)
1650
+ targetIds: ir(t.targetIds, r.targetId)
1651
1651
  });
1652
1652
  case oe:
1653
1653
  return X({}, t, {
@@ -1669,22 +1669,22 @@ function un(t = cn, e) {
1669
1669
  return t;
1670
1670
  }
1671
1671
  }
1672
- function ln(t = 0, e) {
1672
+ function un(t = 0, e) {
1673
1673
  switch (e.type) {
1674
- case Ie:
1675
1674
  case Ee:
1676
- return t + 1;
1677
1675
  case Ce:
1676
+ return t + 1;
1677
+ case we:
1678
1678
  case ce:
1679
1679
  return t - 1;
1680
1680
  default:
1681
1681
  return t;
1682
1682
  }
1683
1683
  }
1684
- function dn(t = 0) {
1684
+ function ln(t = 0) {
1685
1685
  return t + 1;
1686
1686
  }
1687
- function fn(t, e, r) {
1687
+ function dn(t, e, r) {
1688
1688
  return e in t ? Object.defineProperty(t, e, {
1689
1689
  value: r,
1690
1690
  enumerable: !0,
@@ -1692,45 +1692,45 @@ function fn(t, e, r) {
1692
1692
  writable: !0
1693
1693
  }) : t[e] = r, t;
1694
1694
  }
1695
- function gn(t) {
1695
+ function fn(t) {
1696
1696
  for (var e = 1; e < arguments.length; e++) {
1697
1697
  var r = arguments[e] != null ? arguments[e] : {}, n = Object.keys(r);
1698
1698
  typeof Object.getOwnPropertySymbols == "function" && (n = n.concat(Object.getOwnPropertySymbols(r).filter(function(i) {
1699
1699
  return Object.getOwnPropertyDescriptor(r, i).enumerable;
1700
1700
  }))), n.forEach(function(i) {
1701
- fn(t, i, r[i]);
1701
+ dn(t, i, r[i]);
1702
1702
  });
1703
1703
  }
1704
1704
  return t;
1705
1705
  }
1706
- function hn(t = {}, e) {
1706
+ function gn(t = {}, e) {
1707
1707
  return {
1708
- dirtyHandlerIds: rn(t.dirtyHandlerIds, {
1708
+ dirtyHandlerIds: tn(t.dirtyHandlerIds, {
1709
1709
  type: e.type,
1710
- payload: gn({}, e.payload, {
1711
- prevTargetIds: ir(t, "dragOperation.targetIds", [])
1710
+ payload: fn({}, e.payload, {
1711
+ prevTargetIds: nr(t, "dragOperation.targetIds", [])
1712
1712
  })
1713
1713
  }),
1714
- dragOffset: on(t.dragOffset, e),
1715
- refCount: ln(t.refCount, e),
1716
- dragOperation: un(t.dragOperation, e),
1717
- stateId: dn(t.stateId)
1714
+ dragOffset: sn(t.dragOffset, e),
1715
+ refCount: un(t.refCount, e),
1716
+ dragOperation: cn(t.dragOperation, e),
1717
+ stateId: ln(t.stateId)
1718
1718
  };
1719
1719
  }
1720
- function pn(t, e = void 0, r = {}, n = !1) {
1721
- const i = mn(n), s = new Mr(i, new Zr(i)), a = new Pr(i, s), o = t(a, e, r);
1720
+ function hn(t, e = void 0, r = {}, n = !1) {
1721
+ const i = pn(n), s = new jr(i, new Jr(i)), a = new Nr(i, s), o = t(a, e, r);
1722
1722
  return a.receiveBackend(o), a;
1723
1723
  }
1724
- function mn(t) {
1724
+ function pn(t) {
1725
1725
  const e = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__;
1726
- return Ze(hn, t && e && e({
1726
+ return Ze(gn, t && e && e({
1727
1727
  name: "dnd-core",
1728
1728
  instanceId: "dnd-core"
1729
1729
  }));
1730
1730
  }
1731
- function vn(t, e) {
1731
+ function mn(t, e) {
1732
1732
  if (t == null) return {};
1733
- var r = Dn(t, e), n, i;
1733
+ var r = vn(t, e), n, i;
1734
1734
  if (Object.getOwnPropertySymbols) {
1735
1735
  var s = Object.getOwnPropertySymbols(t);
1736
1736
  for (i = 0; i < s.length; i++)
@@ -1738,7 +1738,7 @@ function vn(t, e) {
1738
1738
  }
1739
1739
  return r;
1740
1740
  }
1741
- function Dn(t, e) {
1741
+ function vn(t, e) {
1742
1742
  if (t == null) return {};
1743
1743
  var r = {}, n = Object.keys(t), i, s;
1744
1744
  for (s = 0; s < n.length; s++)
@@ -1747,11 +1747,11 @@ function Dn(t, e) {
1747
1747
  }
1748
1748
  let Ue = 0;
1749
1749
  const ne = Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");
1750
- var yn = /* @__PURE__ */ Ct(function(e) {
1751
- var { children: r } = e, n = vn(e, [
1750
+ var Dn = /* @__PURE__ */ Et(function(e) {
1751
+ var { children: r } = e, n = mn(e, [
1752
1752
  "children"
1753
1753
  ]);
1754
- const [i, s] = Sn(n);
1754
+ const [i, s] = yn(n);
1755
1755
  return R(() => {
1756
1756
  if (s) {
1757
1757
  const a = it();
@@ -1764,7 +1764,7 @@ var yn = /* @__PURE__ */ Ct(function(e) {
1764
1764
  children: r
1765
1765
  });
1766
1766
  });
1767
- function Sn(t) {
1767
+ function yn(t) {
1768
1768
  if ("manager" in t)
1769
1769
  return [
1770
1770
  {
@@ -1772,23 +1772,23 @@ function Sn(t) {
1772
1772
  },
1773
1773
  !1
1774
1774
  ];
1775
- const e = On(t.backend, t.context, t.options, t.debugMode), r = !t.context;
1775
+ const e = Sn(t.backend, t.context, t.options, t.debugMode), r = !t.context;
1776
1776
  return [
1777
1777
  e,
1778
1778
  r
1779
1779
  ];
1780
1780
  }
1781
- function On(t, e = it(), r, n) {
1781
+ function Sn(t, e = it(), r, n) {
1782
1782
  const i = e;
1783
1783
  return i[ne] || (i[ne] = {
1784
- dragDropManager: pn(t, e, r, n)
1784
+ dragDropManager: hn(t, e, r, n)
1785
1785
  }), i[ne];
1786
1786
  }
1787
1787
  function it() {
1788
1788
  return typeof global < "u" ? global : window;
1789
1789
  }
1790
1790
  var ue, Ye;
1791
- function Tn() {
1791
+ function On() {
1792
1792
  return Ye || (Ye = 1, ue = function t(e, r) {
1793
1793
  if (e === r) return !0;
1794
1794
  if (e && r && typeof e == "object" && typeof r == "object") {
@@ -1815,14 +1815,14 @@ function Tn() {
1815
1815
  return e !== e && r !== r;
1816
1816
  }), ue;
1817
1817
  }
1818
- var bn = Tn();
1819
- const In = /* @__PURE__ */ Yt(bn), V = typeof window < "u" ? wt : R;
1820
- function En(t, e, r) {
1818
+ var Tn = On();
1819
+ const bn = /* @__PURE__ */ Bt(Tn), V = typeof window < "u" ? Ct : R;
1820
+ function In(t, e, r) {
1821
1821
  const [n, i] = L(
1822
1822
  () => e(t)
1823
- ), s = xt(() => {
1823
+ ), s = wt(() => {
1824
1824
  const a = e(t);
1825
- In(n, a) || (i(a), r && r());
1825
+ bn(n, a) || (i(a), r && r());
1826
1826
  }, [
1827
1827
  n,
1828
1828
  t,
@@ -1833,8 +1833,8 @@ function En(t, e, r) {
1833
1833
  s
1834
1834
  ];
1835
1835
  }
1836
- function Cn(t, e, r) {
1837
- const [n, i] = En(t, e, r);
1836
+ function En(t, e, r) {
1837
+ const [n, i] = In(t, e, r);
1838
1838
  return V(function() {
1839
1839
  const a = t.getHandlerId();
1840
1840
  if (a != null)
@@ -1849,7 +1849,7 @@ function Cn(t, e, r) {
1849
1849
  ]), n;
1850
1850
  }
1851
1851
  function st(t, e, r) {
1852
- return Cn(
1852
+ return En(
1853
1853
  e,
1854
1854
  t || (() => ({})),
1855
1855
  () => r.reconnect()
@@ -1859,7 +1859,7 @@ function ot(t, e) {
1859
1859
  const r = [];
1860
1860
  return typeof t != "function" && r.push(t), j(() => typeof t == "function" ? t() : t, r);
1861
1861
  }
1862
- function wn(t) {
1862
+ function Cn(t) {
1863
1863
  return j(
1864
1864
  () => t.hooks.dragSource(),
1865
1865
  [
@@ -1867,7 +1867,7 @@ function wn(t) {
1867
1867
  ]
1868
1868
  );
1869
1869
  }
1870
- function xn(t) {
1870
+ function wn(t) {
1871
1871
  return j(
1872
1872
  () => t.hooks.dragPreview(),
1873
1873
  [
@@ -1876,7 +1876,7 @@ function xn(t) {
1876
1876
  );
1877
1877
  }
1878
1878
  let le = !1, de = !1;
1879
- class Nn {
1879
+ class xn {
1880
1880
  receiveHandlerId(e) {
1881
1881
  this.sourceId = e;
1882
1882
  }
@@ -1960,7 +1960,7 @@ class Nn {
1960
1960
  }
1961
1961
  }
1962
1962
  let fe = !1;
1963
- class Pn {
1963
+ class Nn {
1964
1964
  receiveHandlerId(e) {
1965
1965
  this.targetId = e;
1966
1966
  }
@@ -2014,21 +2014,21 @@ class Pn {
2014
2014
  this.targetId = null, this.internalMonitor = e.getMonitor();
2015
2015
  }
2016
2016
  }
2017
- function _n(t, e, r) {
2017
+ function Pn(t, e, r) {
2018
2018
  const n = r.getRegistry(), i = n.addTarget(t, e);
2019
2019
  return [
2020
2020
  i,
2021
2021
  () => n.removeTarget(i)
2022
2022
  ];
2023
2023
  }
2024
- function Rn(t, e, r) {
2024
+ function _n(t, e, r) {
2025
2025
  const n = r.getRegistry(), i = n.addSource(t, e);
2026
2026
  return [
2027
2027
  i,
2028
2028
  () => n.removeSource(i)
2029
2029
  ];
2030
2030
  }
2031
- function De(t, e, r, n) {
2031
+ function ye(t, e, r, n) {
2032
2032
  let i;
2033
2033
  if (i !== void 0)
2034
2034
  return !!i;
@@ -2050,26 +2050,26 @@ function De(t, e, r, n) {
2050
2050
  }
2051
2051
  return !0;
2052
2052
  }
2053
- function ye(t) {
2053
+ function Se(t) {
2054
2054
  return (
2055
2055
  // eslint-disable-next-line no-prototype-builtins
2056
2056
  t !== null && typeof t == "object" && Object.prototype.hasOwnProperty.call(t, "current")
2057
2057
  );
2058
2058
  }
2059
- function Ln(t) {
2059
+ function Rn(t) {
2060
2060
  if (typeof t.type == "string")
2061
2061
  return;
2062
2062
  const e = t.type.displayName || t.type.name || "the component";
2063
2063
  throw new Error(`Only native element nodes can now be passed to React DnD connectors.You can either wrap ${e} into a <div>, or turn it into a drag source or a drop target itself.`);
2064
2064
  }
2065
- function jn(t) {
2065
+ function Ln(t) {
2066
2066
  return (e = null, r = null) => {
2067
- if (!Nt(e)) {
2067
+ if (!xt(e)) {
2068
2068
  const s = e;
2069
2069
  return t(s, r), s;
2070
2070
  }
2071
2071
  const n = e;
2072
- return Ln(n), Mn(n, r ? (s) => t(s, r) : t);
2072
+ return Rn(n), jn(n, r ? (s) => t(s, r) : t);
2073
2073
  };
2074
2074
  }
2075
2075
  function at(t) {
@@ -2079,7 +2079,7 @@ function at(t) {
2079
2079
  if (r.endsWith("Ref"))
2080
2080
  e[r] = t[r];
2081
2081
  else {
2082
- const i = jn(n);
2082
+ const i = Ln(n);
2083
2083
  e[r] = () => i;
2084
2084
  }
2085
2085
  }), e;
@@ -2087,17 +2087,17 @@ function at(t) {
2087
2087
  function Be(t, e) {
2088
2088
  typeof t == "function" ? t(e) : t.current = e;
2089
2089
  }
2090
- function Mn(t, e) {
2090
+ function jn(t, e) {
2091
2091
  const r = t.ref;
2092
- return y(typeof r != "string", "Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"), r ? Ne(t, {
2092
+ return y(typeof r != "string", "Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"), r ? me(t, {
2093
2093
  ref: (n) => {
2094
2094
  Be(r, n), Be(e, n);
2095
2095
  }
2096
- }) : Ne(t, {
2096
+ }) : me(t, {
2097
2097
  ref: e
2098
2098
  });
2099
2099
  }
2100
- class Fn {
2100
+ class Mn {
2101
2101
  receiveHandlerId(e) {
2102
2102
  this.handlerId !== e && (this.handlerId = e, this.reconnect());
2103
2103
  }
@@ -2144,10 +2144,10 @@ class Fn {
2144
2144
  return this.lastConnectedDragPreview !== this.dragPreview;
2145
2145
  }
2146
2146
  didDragSourceOptionsChange() {
2147
- return !De(this.lastConnectedDragSourceOptions, this.dragSourceOptions);
2147
+ return !ye(this.lastConnectedDragSourceOptions, this.dragSourceOptions);
2148
2148
  }
2149
2149
  didDragPreviewOptionsChange() {
2150
- return !De(this.lastConnectedDragPreviewOptions, this.dragPreviewOptions);
2150
+ return !ye(this.lastConnectedDragPreviewOptions, this.dragPreviewOptions);
2151
2151
  }
2152
2152
  disconnectDragSource() {
2153
2153
  this.dragSourceUnsubscribe && (this.dragSourceUnsubscribe(), this.dragSourceUnsubscribe = void 0);
@@ -2170,15 +2170,15 @@ class Fn {
2170
2170
  constructor(e) {
2171
2171
  this.hooks = at({
2172
2172
  dragSource: (r, n) => {
2173
- this.clearDragSource(), this.dragSourceOptions = n || null, ye(r) ? this.dragSourceRef = r : this.dragSourceNode = r, this.reconnectDragSource();
2173
+ this.clearDragSource(), this.dragSourceOptions = n || null, Se(r) ? this.dragSourceRef = r : this.dragSourceNode = r, this.reconnectDragSource();
2174
2174
  },
2175
2175
  dragPreview: (r, n) => {
2176
- this.clearDragPreview(), this.dragPreviewOptions = n || null, ye(r) ? this.dragPreviewRef = r : this.dragPreviewNode = r, this.reconnectDragPreview();
2176
+ this.clearDragPreview(), this.dragPreviewOptions = n || null, Se(r) ? this.dragPreviewRef = r : this.dragPreviewNode = r, this.reconnectDragPreview();
2177
2177
  }
2178
2178
  }), this.handlerId = null, this.dragSourceRef = null, this.dragSourceOptionsInternal = null, this.dragPreviewRef = null, this.dragPreviewOptionsInternal = null, this.lastConnectedHandlerId = null, this.lastConnectedDragSource = null, this.lastConnectedDragSourceOptions = null, this.lastConnectedDragPreview = null, this.lastConnectedDragPreviewOptions = null, this.backend = e;
2179
2179
  }
2180
2180
  }
2181
- class kn {
2181
+ class Fn {
2182
2182
  get connectTarget() {
2183
2183
  return this.dropTarget;
2184
2184
  }
@@ -2210,7 +2210,7 @@ class kn {
2210
2210
  return this.lastConnectedDropTarget !== this.dropTarget;
2211
2211
  }
2212
2212
  didOptionsChange() {
2213
- return !De(this.lastConnectedDropTargetOptions, this.dropTargetOptions);
2213
+ return !ye(this.lastConnectedDropTargetOptions, this.dropTargetOptions);
2214
2214
  }
2215
2215
  disconnectDropTarget() {
2216
2216
  this.unsubscribeDropTarget && (this.unsubscribeDropTarget(), this.unsubscribeDropTarget = void 0);
@@ -2224,18 +2224,18 @@ class kn {
2224
2224
  constructor(e) {
2225
2225
  this.hooks = at({
2226
2226
  dropTarget: (r, n) => {
2227
- this.clearDropTarget(), this.dropTargetOptions = n, ye(r) ? this.dropTargetRef = r : this.dropTargetNode = r, this.reconnect();
2227
+ this.clearDropTarget(), this.dropTargetOptions = n, Se(r) ? this.dropTargetRef = r : this.dropTargetNode = r, this.reconnect();
2228
2228
  }
2229
2229
  }), this.handlerId = null, this.dropTargetRef = null, this.dropTargetOptionsInternal = null, this.lastConnectedHandlerId = null, this.lastConnectedDropTarget = null, this.lastConnectedDropTargetOptions = null, this.backend = e;
2230
2230
  }
2231
2231
  }
2232
2232
  function K() {
2233
- const { dragDropManager: t } = Pt(Je);
2233
+ const { dragDropManager: t } = Nt(Je);
2234
2234
  return y(t != null, "Expected drag drop context"), t;
2235
2235
  }
2236
- function An(t, e) {
2236
+ function kn(t, e) {
2237
2237
  const r = K(), n = j(
2238
- () => new Fn(r.getBackend()),
2238
+ () => new Mn(r.getBackend()),
2239
2239
  [
2240
2240
  r
2241
2241
  ]
@@ -2248,16 +2248,16 @@ function An(t, e) {
2248
2248
  e
2249
2249
  ]), n;
2250
2250
  }
2251
- function Hn() {
2251
+ function An() {
2252
2252
  const t = K();
2253
2253
  return j(
2254
- () => new Nn(t),
2254
+ () => new xn(t),
2255
2255
  [
2256
2256
  t
2257
2257
  ]
2258
2258
  );
2259
2259
  }
2260
- class Un {
2260
+ class Hn {
2261
2261
  beginDrag() {
2262
2262
  const e = this.spec, r = this.monitor;
2263
2263
  let n = null;
@@ -2279,9 +2279,9 @@ class Un {
2279
2279
  this.spec = e, this.monitor = r, this.connector = n;
2280
2280
  }
2281
2281
  }
2282
- function Yn(t, e, r) {
2282
+ function Un(t, e, r) {
2283
2283
  const n = j(
2284
- () => new Un(t, e, r),
2284
+ () => new Hn(t, e, r),
2285
2285
  [
2286
2286
  e,
2287
2287
  r
@@ -2293,7 +2293,7 @@ function Yn(t, e, r) {
2293
2293
  t
2294
2294
  ]), n;
2295
2295
  }
2296
- function Bn(t) {
2296
+ function Yn(t) {
2297
2297
  return j(() => {
2298
2298
  const e = t.type;
2299
2299
  return y(e != null, "spec.type must be defined"), e;
@@ -2301,11 +2301,11 @@ function Bn(t) {
2301
2301
  t
2302
2302
  ]);
2303
2303
  }
2304
- function $n(t, e, r) {
2305
- const n = K(), i = Yn(t, e, r), s = Bn(t);
2304
+ function Bn(t, e, r) {
2305
+ const n = K(), i = Un(t, e, r), s = Yn(t);
2306
2306
  V(function() {
2307
2307
  if (s != null) {
2308
- const [o, u] = Rn(s, i, n);
2308
+ const [o, u] = _n(s, i, n);
2309
2309
  return e.receiveHandlerId(o), r.receiveHandlerId(o), u;
2310
2310
  }
2311
2311
  }, [
@@ -2316,17 +2316,17 @@ function $n(t, e, r) {
2316
2316
  s
2317
2317
  ]);
2318
2318
  }
2319
- function Vn(t, e) {
2319
+ function $n(t, e) {
2320
2320
  const r = ot(t);
2321
2321
  y(!r.begin, "useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");
2322
- const n = Hn(), i = An(r.options, r.previewOptions);
2323
- return $n(r, n, i), [
2322
+ const n = An(), i = kn(r.options, r.previewOptions);
2323
+ return Bn(r, n, i), [
2324
2324
  st(r.collect, n, i),
2325
- wn(i),
2326
- xn(i)
2325
+ Cn(i),
2326
+ wn(i)
2327
2327
  ];
2328
2328
  }
2329
- function zn(t) {
2329
+ function Vn(t) {
2330
2330
  return j(
2331
2331
  () => t.hooks.dropTarget(),
2332
2332
  [
@@ -2334,9 +2334,9 @@ function zn(t) {
2334
2334
  ]
2335
2335
  );
2336
2336
  }
2337
- function qn(t) {
2337
+ function zn(t) {
2338
2338
  const e = K(), r = j(
2339
- () => new kn(e.getBackend()),
2339
+ () => new Fn(e.getBackend()),
2340
2340
  [
2341
2341
  e
2342
2342
  ]
@@ -2345,16 +2345,16 @@ function qn(t) {
2345
2345
  t
2346
2346
  ]), r;
2347
2347
  }
2348
- function Gn() {
2348
+ function qn() {
2349
2349
  const t = K();
2350
2350
  return j(
2351
- () => new Pn(t),
2351
+ () => new Nn(t),
2352
2352
  [
2353
2353
  t
2354
2354
  ]
2355
2355
  );
2356
2356
  }
2357
- function Xn(t) {
2357
+ function Gn(t) {
2358
2358
  const { accept: e } = t;
2359
2359
  return j(() => (y(t.accept != null, "accept must be defined"), Array.isArray(e) ? e : [
2360
2360
  e
@@ -2362,7 +2362,7 @@ function Xn(t) {
2362
2362
  e
2363
2363
  ]);
2364
2364
  }
2365
- class Wn {
2365
+ class Xn {
2366
2366
  canDrop() {
2367
2367
  const e = this.spec, r = this.monitor;
2368
2368
  return e.canDrop ? e.canDrop(r.getItem(), r) : !0;
@@ -2380,9 +2380,9 @@ class Wn {
2380
2380
  this.spec = e, this.monitor = r;
2381
2381
  }
2382
2382
  }
2383
- function Kn(t, e) {
2383
+ function Wn(t, e) {
2384
2384
  const r = j(
2385
- () => new Wn(t, e),
2385
+ () => new Xn(t, e),
2386
2386
  [
2387
2387
  e
2388
2388
  ]
@@ -2393,10 +2393,10 @@ function Kn(t, e) {
2393
2393
  t
2394
2394
  ]), r;
2395
2395
  }
2396
- function Jn(t, e, r) {
2397
- const n = K(), i = Kn(t, e), s = Xn(t);
2396
+ function Kn(t, e, r) {
2397
+ const n = K(), i = Wn(t, e), s = Gn(t);
2398
2398
  V(function() {
2399
- const [o, u] = _n(s, i, n);
2399
+ const [o, u] = Pn(s, i, n);
2400
2400
  return e.receiveHandlerId(o), r.receiveHandlerId(o), u;
2401
2401
  }, [
2402
2402
  n,
@@ -2408,23 +2408,23 @@ function Jn(t, e, r) {
2408
2408
  ).join("|")
2409
2409
  ]);
2410
2410
  }
2411
- function Zn(t, e) {
2412
- const r = ot(t), n = Gn(), i = qn(r.options);
2413
- return Jn(r, n, i), [
2411
+ function Jn(t, e) {
2412
+ const r = ot(t), n = qn(), i = zn(r.options);
2413
+ return Kn(r, n, i), [
2414
2414
  st(r.collect, n, i),
2415
- zn(i)
2415
+ Vn(i)
2416
2416
  ];
2417
2417
  }
2418
2418
  function ct(t) {
2419
2419
  let e = null;
2420
2420
  return () => (e == null && (e = t()), e);
2421
2421
  }
2422
- function Qn(t, e) {
2422
+ function Zn(t, e) {
2423
2423
  return t.filter(
2424
2424
  (r) => r !== e
2425
2425
  );
2426
2426
  }
2427
- function ei(t, e) {
2427
+ function Qn(t, e) {
2428
2428
  const r = /* @__PURE__ */ new Set(), n = (s) => r.add(s);
2429
2429
  t.forEach(n), e.forEach(n);
2430
2430
  const i = [];
@@ -2432,16 +2432,16 @@ function ei(t, e) {
2432
2432
  (s) => i.push(s)
2433
2433
  ), i;
2434
2434
  }
2435
- class ti {
2435
+ class ei {
2436
2436
  enter(e) {
2437
2437
  const r = this.entered.length, n = (i) => this.isNodeInDocument(i) && (!i.contains || i.contains(e));
2438
- return this.entered = ei(this.entered.filter(n), [
2438
+ return this.entered = Qn(this.entered.filter(n), [
2439
2439
  e
2440
2440
  ]), r === 0 && this.entered.length > 0;
2441
2441
  }
2442
2442
  leave(e) {
2443
2443
  const r = this.entered.length;
2444
- return this.entered = Qn(this.entered.filter(this.isNodeInDocument), e), r > 0 && this.entered.length === 0;
2444
+ return this.entered = Zn(this.entered.filter(this.isNodeInDocument), e), r > 0 && this.entered.length === 0;
2445
2445
  }
2446
2446
  reset() {
2447
2447
  this.entered = [];
@@ -2450,7 +2450,7 @@ class ti {
2450
2450
  this.entered = [], this.isNodeInDocument = e;
2451
2451
  }
2452
2452
  }
2453
- class ri {
2453
+ class ti {
2454
2454
  initializeExposedProperties() {
2455
2455
  Object.keys(this.config.exposeProperties).forEach((e) => {
2456
2456
  Object.defineProperty(this.item, e, {
@@ -2504,7 +2504,7 @@ function ge(t, e, r) {
2504
2504
  );
2505
2505
  return n ?? r;
2506
2506
  }
2507
- const Se = {
2507
+ const Oe = {
2508
2508
  [ut]: {
2509
2509
  exposeProperties: {
2510
2510
  files: (t) => Array.prototype.slice.call(t.files),
@@ -2547,25 +2547,25 @@ const Se = {
2547
2547
  ]
2548
2548
  }
2549
2549
  };
2550
- function ni(t, e) {
2551
- const r = Se[t];
2550
+ function ri(t, e) {
2551
+ const r = Oe[t];
2552
2552
  if (!r)
2553
2553
  throw new Error(`native type ${t} has no configuration`);
2554
- const n = new ri(r);
2554
+ const n = new ti(r);
2555
2555
  return n.loadDataTransfer(e), n;
2556
2556
  }
2557
2557
  function he(t) {
2558
2558
  if (!t)
2559
2559
  return null;
2560
2560
  const e = Array.prototype.slice.call(t.types || []);
2561
- return Object.keys(Se).filter((r) => {
2562
- const n = Se[r];
2561
+ return Object.keys(Oe).filter((r) => {
2562
+ const n = Oe[r];
2563
2563
  return n?.matchesTypes ? n.matchesTypes.some(
2564
2564
  (i) => e.indexOf(i) > -1
2565
2565
  ) : !1;
2566
2566
  })[0] || null;
2567
2567
  }
2568
- const ii = ct(
2568
+ const ni = ct(
2569
2569
  () => /firefox/i.test(navigator.userAgent)
2570
2570
  ), gt = ct(
2571
2571
  () => !!window.safari
@@ -2626,9 +2626,9 @@ class Ve {
2626
2626
  this.xs = e, this.ys = r, this.c1s = l, this.c2s = p, this.c3s = m;
2627
2627
  }
2628
2628
  }
2629
- const si = 1;
2629
+ const ii = 1;
2630
2630
  function ht(t) {
2631
- const e = t.nodeType === si ? t : t.parentElement;
2631
+ const e = t.nodeType === ii ? t : t.parentElement;
2632
2632
  if (!e)
2633
2633
  return null;
2634
2634
  const { top: r, left: n } = e.getBoundingClientRect();
@@ -2643,22 +2643,22 @@ function re(t) {
2643
2643
  y: t.clientY
2644
2644
  };
2645
2645
  }
2646
- function oi(t) {
2646
+ function si(t) {
2647
2647
  var e;
2648
- return t.nodeName === "IMG" && (ii() || !(!((e = document.documentElement) === null || e === void 0) && e.contains(t)));
2648
+ return t.nodeName === "IMG" && (ni() || !(!((e = document.documentElement) === null || e === void 0) && e.contains(t)));
2649
2649
  }
2650
- function ai(t, e, r, n) {
2650
+ function oi(t, e, r, n) {
2651
2651
  let i = t ? e.width : r, s = t ? e.height : n;
2652
2652
  return gt() && t && (s /= window.devicePixelRatio, i /= window.devicePixelRatio), {
2653
2653
  dragPreviewWidth: i,
2654
2654
  dragPreviewHeight: s
2655
2655
  };
2656
2656
  }
2657
- function ci(t, e, r, n, i) {
2658
- const s = oi(e), o = ht(s ? t : e), u = {
2657
+ function ai(t, e, r, n, i) {
2658
+ const s = si(e), o = ht(s ? t : e), u = {
2659
2659
  x: r.x - o.x,
2660
2660
  y: r.y - o.y
2661
- }, { offsetWidth: l, offsetHeight: p } = t, { anchorX: m, anchorY: g } = n, { dragPreviewWidth: d, dragPreviewHeight: b } = ai(s, e, l, p), D = () => {
2661
+ }, { offsetWidth: l, offsetHeight: p } = t, { anchorX: m, anchorY: g } = n, { dragPreviewWidth: d, dragPreviewHeight: b } = oi(s, e, l, p), D = () => {
2662
2662
  let S = new Ve([
2663
2663
  0,
2664
2664
  0.5,
@@ -2689,7 +2689,7 @@ function ci(t, e, r, n, i) {
2689
2689
  y: f ? h : D()
2690
2690
  };
2691
2691
  }
2692
- class ui {
2692
+ class ci {
2693
2693
  get window() {
2694
2694
  if (this.globalContext)
2695
2695
  return this.globalContext;
@@ -2708,7 +2708,7 @@ class ui {
2708
2708
  this.ownerDocument = null, this.globalContext = e, this.optionsArgs = r;
2709
2709
  }
2710
2710
  }
2711
- function li(t, e, r) {
2711
+ function ui(t, e, r) {
2712
2712
  return e in t ? Object.defineProperty(t, e, {
2713
2713
  value: r,
2714
2714
  enumerable: !0,
@@ -2722,12 +2722,12 @@ function ze(t) {
2722
2722
  typeof Object.getOwnPropertySymbols == "function" && (n = n.concat(Object.getOwnPropertySymbols(r).filter(function(i) {
2723
2723
  return Object.getOwnPropertyDescriptor(r, i).enumerable;
2724
2724
  }))), n.forEach(function(i) {
2725
- li(t, i, r[i]);
2725
+ ui(t, i, r[i]);
2726
2726
  });
2727
2727
  }
2728
2728
  return t;
2729
2729
  }
2730
- class di {
2730
+ class li {
2731
2731
  /**
2732
2732
  * Generate profiling statistics for the HTML5Backend.
2733
2733
  */
@@ -2820,7 +2820,7 @@ class di {
2820
2820
  );
2821
2821
  }
2822
2822
  beginDragNativeItem(e, r) {
2823
- this.clearCurrentDragSourceNode(), this.currentNativeSource = ni(e, r), this.currentNativeHandle = this.registry.addSource(e, this.currentNativeSource), this.actions.beginDrag([
2823
+ this.clearCurrentDragSourceNode(), this.currentNativeSource = ri(e, r), this.currentNativeHandle = this.registry.addSource(e, this.currentNativeSource), this.actions.beginDrag([
2824
2824
  this.currentNativeHandle
2825
2825
  ]);
2826
2826
  }
@@ -2889,7 +2889,7 @@ class di {
2889
2889
  if (o && typeof o.setDragImage == "function") {
2890
2890
  const p = this.monitor.getSourceId(), m = this.sourceNodes.get(p), g = this.sourcePreviewNodes.get(p) || m;
2891
2891
  if (g) {
2892
- const { anchorX: d, anchorY: b, offsetX: D, offsetY: E } = this.getCurrentSourcePreviewNodeOptions(), I = ci(m, g, a, {
2892
+ const { anchorX: d, anchorY: b, offsetX: D, offsetY: E } = this.getCurrentSourcePreviewNodeOptions(), I = ai(m, g, a, {
2893
2893
  anchorX: d,
2894
2894
  anchorY: b
2895
2895
  }, {
@@ -2971,12 +2971,12 @@ class di {
2971
2971
  }, this.handleSelectStart = (i) => {
2972
2972
  const s = i.target;
2973
2973
  typeof s.dragDrop == "function" && (s.tagName === "INPUT" || s.tagName === "SELECT" || s.tagName === "TEXTAREA" || s.isContentEditable || (i.preventDefault(), s.dragDrop()));
2974
- }, this.options = new ui(r, n), this.actions = e.getActions(), this.monitor = e.getMonitor(), this.registry = e.getRegistry(), this.enterLeaveCounter = new ti(this.isNodeInDocument);
2974
+ }, this.options = new ci(r, n), this.actions = e.getActions(), this.monitor = e.getMonitor(), this.registry = e.getRegistry(), this.enterLeaveCounter = new ei(this.isNodeInDocument);
2975
2975
  }
2976
2976
  }
2977
- const fi = function(e, r, n) {
2978
- return new di(e, r, n);
2979
- }, gi = [
2977
+ const di = function(e, r, n) {
2978
+ return new li(e, r, n);
2979
+ }, fi = [
2980
2980
  ".pdf",
2981
2981
  ".xlsx",
2982
2982
  ".xls",
@@ -2996,14 +2996,14 @@ const fi = function(e, r, n) {
2996
2996
  ".zip"
2997
2997
  ], qe = {
2998
2998
  FILE: "file"
2999
- }, hi = ({
2999
+ }, gi = ({
3000
3000
  originNode: t,
3001
3001
  file: e,
3002
3002
  fileList: r,
3003
3003
  moveFile: n,
3004
3004
  onDrop: i
3005
3005
  }) => {
3006
- const s = $(null), [{ handlerId: a }, o] = Zn({
3006
+ const s = $(null), [{ handlerId: a }, o] = Jn({
3007
3007
  accept: qe.FILE,
3008
3008
  collect: (m) => ({
3009
3009
  handlerId: m.getHandlerId()
@@ -3026,7 +3026,7 @@ const fi = function(e, r, n) {
3026
3026
  drop() {
3027
3027
  i();
3028
3028
  }
3029
- }), [{ isDragging: u }, l] = Vn({
3029
+ }), [{ isDragging: u }, l] = $n({
3030
3030
  type: qe.FILE,
3031
3031
  item: () => ({
3032
3032
  uid: e.uid,
@@ -3037,21 +3037,21 @@ const fi = function(e, r, n) {
3037
3037
  })
3038
3038
  }), p = u ? 0 : 1;
3039
3039
  return l(o(s)), /* @__PURE__ */ c.jsx("div", { ref: s, style: { opacity: p }, "data-handler-id": a, children: t });
3040
- }, Ai = ({
3040
+ }, ki = ({
3041
3041
  fileGrpKey: t,
3042
3042
  onUploadComplete: e,
3043
3043
  onFetchFilesTrxCd: r = "SCMFILE00101",
3044
3044
  onSuccessTrxCd: n = "SCMFILE00102",
3045
3045
  onDeleteFileTrxCd: i = "SCMFILE00103",
3046
3046
  onReorderFilesTrxCd: s = "SCMFILE00104",
3047
- allowedExtensions: a = gi,
3047
+ allowedExtensions: a = fi,
3048
3048
  maxFileSize: o = 200,
3049
3049
  showButton: u = !0,
3050
3050
  // 기본값으로 true 설정
3051
3051
  multiple: l = !1
3052
3052
  }) => {
3053
3053
  const [p, m] = L([]), g = $(t), d = $([]), D = $(
3054
- $t(() => {
3054
+ Ut(() => {
3055
3055
  if (d.current.length === 0)
3056
3056
  return;
3057
3057
  const f = [...d.current];
@@ -3214,12 +3214,12 @@ const fi = function(e, r, n) {
3214
3214
  );
3215
3215
  },
3216
3216
  itemRender(f, T, S) {
3217
- const O = It.cloneElement(f, {
3217
+ const O = me(f, {
3218
3218
  href: T.url || void 0,
3219
3219
  title: void 0
3220
3220
  });
3221
3221
  return /* @__PURE__ */ c.jsx(
3222
- hi,
3222
+ gi,
3223
3223
  {
3224
3224
  originNode: O,
3225
3225
  file: T,
@@ -3231,20 +3231,20 @@ const fi = function(e, r, n) {
3231
3231
  );
3232
3232
  }
3233
3233
  };
3234
- return /* @__PURE__ */ c.jsx(yn, { backend: fi, children: /* @__PURE__ */ c.jsx(H, { headers: { SYSCD: __SYS_CD__ }, ...I, listType: "picture", children: u && (l || p.length === 0) && /* @__PURE__ */ c.jsx(Y, { icon: /* @__PURE__ */ c.jsx(We, {}), children: "파일 선택" }) }) });
3234
+ return /* @__PURE__ */ c.jsx(Dn, { backend: di, children: /* @__PURE__ */ c.jsx(H, { headers: { SYSCD: __SYS_CD__ }, ...I, listType: "picture", children: u && (l || p.length === 0) && /* @__PURE__ */ c.jsx(Y, { icon: /* @__PURE__ */ c.jsx(We, {}), children: "파일 선택" }) }) });
3235
3235
  };
3236
3236
  export {
3237
- Ci as B,
3238
- wi as a,
3239
- xi as b,
3240
- Pi as c,
3241
- _i as d,
3242
- Ri as e,
3243
- Li as f,
3244
- ji as g,
3245
- Mi as h,
3246
- Fi as i,
3247
- ki as j,
3248
- Ai as k
3237
+ Ei as B,
3238
+ Ci as a,
3239
+ wi as b,
3240
+ Ni as c,
3241
+ Pi as d,
3242
+ _i as e,
3243
+ Ri as f,
3244
+ Li as g,
3245
+ ji as h,
3246
+ Mi as i,
3247
+ Fi as j,
3248
+ ki as k
3249
3249
  };
3250
- //# sourceMappingURL=BwgUploader-BcVlE61B.js.map
3250
+ //# sourceMappingURL=BwgUploader-DBFF9BPF.js.map