@bwg-ui/core 1.3.3 → 1.3.5

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 (72) hide show
  1. package/dist/chunks/CMSearchIntfGwP01-CuGDAfFM.cjs +1 -0
  2. package/dist/chunks/{CMSearchIntfGwP01-Co6lrDf9.js → CMSearchIntfGwP01-DBpDpgQr.js} +21 -21
  3. package/dist/chunks/{MenuReport-BTtoDFz-.js → MenuReport-CCbCy7yt.js} +250 -228
  4. package/dist/chunks/MenuReport-yw8tZDUk.cjs +1 -0
  5. package/dist/chunks/common-components-CbkWoYfX.cjs +1111 -0
  6. package/dist/chunks/{common-components-0IMhPxxg.js → common-components-DtzVj5lz.js} +10904 -10757
  7. package/dist/chunks/layout-components-BzLAGXiu.cjs +38 -0
  8. package/dist/chunks/{layout-components-DphZY34c.js → layout-components-ljht1sHh.js} +954 -856
  9. package/dist/chunks/{provider-VCa8UGvF.js → provider-Kxea5IoZ.js} +57 -54
  10. package/dist/chunks/provider-r4mkv5Zs.cjs +1 -0
  11. package/dist/components/common/BwgGrid.d.ts.map +1 -1
  12. package/dist/components/common/BwgView.d.ts.map +1 -1
  13. package/dist/components/common/SearchBox.d.ts +2 -0
  14. package/dist/components/common/SearchBox.d.ts.map +1 -1
  15. package/dist/components/common/index.cjs +1 -1
  16. package/dist/components/common/index.js +1 -1
  17. package/dist/components/core/BwgDatePicker.d.ts.map +1 -1
  18. package/dist/components/core/BwgEmpSearch.d.ts +1 -1
  19. package/dist/components/core/BwgEmpSearch.d.ts.map +1 -1
  20. package/dist/components/core/BwgMaskedDate.d.ts.map +1 -1
  21. package/dist/components/core/BwgMaskedRange.d.ts.map +1 -1
  22. package/dist/components/core/index.cjs +1 -1
  23. package/dist/components/core/index.d.ts +2 -0
  24. package/dist/components/core/index.d.ts.map +1 -1
  25. package/dist/components/core/index.js +1973 -22
  26. package/dist/components/guide/index.cjs +1 -1
  27. package/dist/components/guide/index.js +14 -14
  28. package/dist/components/layout/BwgPortal01.d.ts.map +1 -1
  29. package/dist/components/layout/custom/ConfigurableHeader.d.ts.map +1 -1
  30. package/dist/components/layout/custom/ConfigurableMenuTab.d.ts.map +1 -1
  31. package/dist/components/layout/custom/ConfigurableSidebar.d.ts.map +1 -1
  32. package/dist/components/layout/index.cjs +1 -1
  33. package/dist/components/layout/index.js +1 -1
  34. package/dist/components/pages/board/CMAdminBoardM01.d.ts.map +1 -1
  35. package/dist/components/pages/board/CMMyBoardM01.d.ts.map +1 -1
  36. package/dist/components/pages/rsrc/CMPopuMstrM01.d.ts.map +1 -1
  37. package/dist/components/pages/syst/SystemCodeManage.d.ts.map +1 -1
  38. package/dist/components/popup/MenuReport.d.ts.map +1 -1
  39. package/dist/components/popup/index.cjs +1 -1
  40. package/dist/components/popup/index.d.ts.map +1 -1
  41. package/dist/components/popup/index.js +1 -1
  42. package/dist/index.cjs +1 -1
  43. package/dist/index.js +242 -240
  44. package/dist/provider/contexts/SearchBoxContext.d.ts +20 -0
  45. package/dist/provider/contexts/SearchBoxContext.d.ts.map +1 -1
  46. package/dist/provider/index.cjs +1 -1
  47. package/dist/provider/index.js +5 -5
  48. package/dist/stores/favoriteStore.d.ts.map +1 -1
  49. package/dist/stores/index.cjs +2 -2
  50. package/dist/stores/index.js +208 -207
  51. package/dist/stores/loginStore.d.ts +4 -8
  52. package/dist/stores/loginStore.d.ts.map +1 -1
  53. package/dist/stores/popupStore.d.ts.map +1 -1
  54. package/dist/styles/components.css +107 -37
  55. package/dist/styles/layout.css +59 -5
  56. package/dist/styles/variables.css +6 -0
  57. package/dist/utils/commonUtils.d.ts +5 -1
  58. package/dist/utils/commonUtils.d.ts.map +1 -1
  59. package/dist/utils/index.cjs +1 -1
  60. package/dist/utils/index.d.ts +1 -0
  61. package/dist/utils/index.d.ts.map +1 -1
  62. package/dist/utils/index.js +986 -954
  63. package/package.json +1 -1
  64. package/dist/chunks/CMSearchIntfGwP01-Do_ZDjmX.cjs +0 -1
  65. package/dist/chunks/MenuReport-Bn5NyNel.cjs +0 -1
  66. package/dist/chunks/common-components-Csd3OioX.cjs +0 -1109
  67. package/dist/chunks/core-components-CX6NGtTh.cjs +0 -1
  68. package/dist/chunks/core-components-Ckwf4Rd7.js +0 -1969
  69. package/dist/chunks/layout-components-BMLp8YAy.cjs +0 -38
  70. package/dist/chunks/provider-DrboIg2C.cjs +0 -1
  71. package/dist/components/popup/SearchAddress.d.ts +0 -3
  72. package/dist/components/popup/SearchAddress.d.ts.map +0 -1
@@ -1,14 +1,15 @@
1
- import { jsx as e, Fragment as k, jsxs as n } from "react/jsx-runtime";
2
- import { AlertTwoTone as se, ReloadOutlined as ae, DeleteOutlined as Oe, EyeFilled as Le, EditOutlined as Ve } from "@ant-design/icons";
3
- import { Form as d, Tag as oe, message as g, Row as x, Col as l, Space as D, Input as a, Splitter as W, Flex as Ue, Progress as Ae, Button as z, List as H, Avatar as Ye, DatePicker as de } from "antd";
4
- import je from "dayjs";
5
- import { useRef as O, useState as b, useMemo as J, useEffect as M } from "react";
6
- import { useUserStore as Ge, useMenuViewStore as qe } from "../stores/index.js";
7
- import { m as Qe, d as L, S as We, h as He, n as Je, o as ce } from "./common-components-0IMhPxxg.js";
8
- import { createBwgGridRenderer as $, callService as w, realFormat as K } from "../utils/index.js";
9
- import { d as C, c as V, j as $e, u as Ke, b as Xe, i as X, k as me, a as Ze } from "./core-components-Ckwf4Rd7.js";
10
- import { e as _e } from "./provider-VCa8UGvF.js";
11
- const { TextArea: et } = a, U = [
1
+ import { jsx as e, Fragment as z, jsxs as l } from "react/jsx-runtime";
2
+ import { AlertTwoTone as se, ReloadOutlined as ae, DeleteOutlined as Ue, EyeFilled as ke, EditOutlined as Le } from "@ant-design/icons";
3
+ import { Form as s, Tag as de, message as g, Row as x, Col as n, Space as D, Input as d, Splitter as W, Flex as Ve, Progress as Ae, Button as O, List as H, Avatar as Ye, DatePicker as oe } from "antd";
4
+ import Ge from "dayjs";
5
+ import { useRef as U, useState as b, useMemo as J, useEffect as M } from "react";
6
+ import { useUserStore as je, useMenuViewStore as qe } from "../stores/index.js";
7
+ import { m as Qe, d as k, S as We, h as He, n as Je, o as ce } from "./common-components-DtzVj5lz.js";
8
+ import { createBwgGridRenderer as $, callService as S, realFormat as K } from "../utils/index.js";
9
+ import { BwgFormItem as I, BwgSelect as L, BwgRangePicker as $e, BwgSwitch as Ke, BwgInput as Xe, BwgDatePicker as X, BwgCheck as me, BwgForm as Ze } from "../components/core/index.js";
10
+ import { c as _e } from "./provider-Kxea5IoZ.js";
11
+ const { TextArea: et } = d, V = [
12
+ { label: "전체", value: "" },
12
13
  { label: "요청", value: "RQST" },
13
14
  { label: "문의", value: "INQR" }
14
15
  // { label: '신고', value: 'RPRT' },
@@ -36,39 +37,39 @@ const { TextArea: et } = a, U = [
36
37
  PROCESSING: 50,
37
38
  COMPLETED: 100,
38
39
  REJECTED: 100
39
- }, ht = ({ popup: E, onClose: Z }) => {
40
- const { searchBoxRef: S } = _e(), N = O(null), A = O(null), { user: B, hrInfo: he } = Ge(), { activeMenuItem: m } = qe(), [i] = d.useForm(), [_, ee] = b(!1), [te, re] = b(!1), [T, ge] = b(!1), [y, fe] = b(!1), [o, v] = b(!1), [c, I] = b(
40
+ }, ht = ({ popup: N, onClose: Z }) => {
41
+ const { searchBoxRef: w } = _e(), E = U(null), A = U(null), { user: B, hrInfo: he } = je(), { activeMenuItem: o } = qe(), [i] = s.useForm(), [_, ee] = b(!1), [te, re] = b(!1), [T, ge] = b(!1), [y, fe] = b(!1), [c, v] = b(!1), [m, C] = b(
41
42
  "list"
42
43
  );
43
44
  b(null);
44
- const F = O(null), [Y, ne] = b([]), [P, le] = b(""), [j, nt] = b(!1), [ye, G] = b(15), q = O(null), xe = J(
45
+ const F = U(null), [Y, le] = b([]), [P, ne] = b(""), [G, lt] = b(!1), [ye, j] = b(15), q = U(null), xe = J(
45
46
  () => $(
46
- (t, r, s, p, h) => {
47
+ (t, r, a, p, h) => {
47
48
  const f = t.getValue(r.index?.itemIndex, "type");
48
49
  h.render(
49
- /* @__PURE__ */ e(oe, { color: tt[f], children: U.find((R) => R.value === f)?.label })
50
+ /* @__PURE__ */ e(de, { color: tt[f], children: V.find((R) => R.value === f)?.label })
50
51
  );
51
52
  }
52
53
  ),
53
54
  []
54
55
  ), be = J(
55
56
  () => $(
56
- (t, r, s, p, h) => {
57
+ (t, r, a, p, h) => {
57
58
  const f = t.getValue(r.index?.itemIndex, "status");
58
59
  h.render(
59
- /* @__PURE__ */ e(oe, { color: rt[f], children: ue.find((R) => R.value === f)?.label })
60
+ /* @__PURE__ */ e(de, { color: rt[f], children: ue.find((R) => R.value === f)?.label })
60
61
  );
61
62
  }
62
63
  ),
63
64
  []
64
- ), Ce = J(
65
+ ), Ie = J(
65
66
  () => $(
66
- (t, r, s, p, h) => {
67
- t.getValue(r.index?.itemIndex, "urgentYn") === "Y" ? h.render(/* @__PURE__ */ e(se, { twoToneColor: "red" })) : h.render(/* @__PURE__ */ e(k, {}));
67
+ (t, r, a, p, h) => {
68
+ t.getValue(r.index?.itemIndex, "urgentYn") === "Y" ? h.render(/* @__PURE__ */ e(se, { twoToneColor: "red" })) : h.render(/* @__PURE__ */ e(z, {}));
68
69
  }
69
70
  ),
70
71
  []
71
- ), Ie = [
72
+ ), Ce = [
72
73
  {
73
74
  fieldName: "boardMstrId",
74
75
  header: { text: "글 번호" },
@@ -84,7 +85,8 @@ const { TextArea: et } = a, U = [
84
85
  {
85
86
  fieldName: "title",
86
87
  header: { text: "제목" },
87
- width: 200
88
+ width: 200,
89
+ styleName: "left"
88
90
  },
89
91
  {
90
92
  fieldName: "content",
@@ -105,8 +107,9 @@ const { TextArea: et } = a, U = [
105
107
  },
106
108
  {
107
109
  fieldName: "rgstUserNm",
108
- header: { text: "등록자" },
109
- width: 100
110
+ header: { text: "작성자" },
111
+ width: 100,
112
+ styleName: "left"
110
113
  },
111
114
  {
112
115
  fieldName: "rgstUserDeptNm",
@@ -116,13 +119,15 @@ const { TextArea: et } = a, U = [
116
119
  fieldName: "rgstDt",
117
120
  header: { text: "등록일자" },
118
121
  width: 120,
119
- renderer: K.maskYmd
122
+ textFormat: K.formatYmd,
123
+ styleName: "right"
120
124
  },
121
125
  {
122
126
  fieldName: "dueDt",
123
127
  header: { text: "마감요청일자" },
124
128
  width: 120,
125
- renderer: K.maskYmd
129
+ textFormat: K.formatYmd,
130
+ styleName: "right"
126
131
  },
127
132
  {
128
133
  fieldName: "urgentYn",
@@ -137,13 +142,19 @@ const { TextArea: et } = a, U = [
137
142
  {
138
143
  fieldName: "prcsUserNm",
139
144
  header: { text: "처리담당자" },
140
- width: 100
145
+ width: 100,
146
+ styleName: "left"
147
+ },
148
+ {
149
+ fieldName: "prcsUserDeptNm",
150
+ visible: !1
141
151
  },
142
152
  {
143
153
  fieldName: "prcsDt",
144
154
  header: { text: "처리일자" },
145
155
  width: 120,
146
- renderer: K.maskYmd
156
+ textFormat: K.formatYmd,
157
+ styleName: "right"
147
158
  },
148
159
  {
149
160
  fieldName: "scrnId",
@@ -159,27 +170,30 @@ const { TextArea: et } = a, U = [
159
170
  }
160
171
  ], we = {
161
172
  onCellDblClicked: (t, r) => {
162
- const s = r.itemIndex ?? -1;
163
- if (s < 0) return;
164
- const p = t.getValues(s);
173
+ const a = r.itemIndex ?? -1;
174
+ if (a < 0) return;
175
+ const p = t.getValues(a);
165
176
  console.log("🔍 그리드 셀 더블클릭 이벤트:", p);
166
177
  const h = {
167
178
  ...p,
168
- menuId: m?.menuId,
169
- menuNm: m?.menuNm,
170
- scrnId: m?.scrnId
179
+ menuId: o?.menuId,
180
+ menuNm: o?.menuNm,
181
+ scrnId: o?.scrnId
171
182
  };
172
183
  i.setFieldsValue(h), ge(h.rgstUserId === B?.userId), fe(
173
184
  h.status === "COMPLETED" || h.status === "REJECTED"
174
- ), I("detail");
185
+ ), C("detail");
175
186
  }
176
187
  }, Q = () => {
177
- i.resetFields(), I("list"), u.SCMBoardMstr0001(1, 20);
188
+ i.resetFields(), C("list"), w?.current?.setFormData({
189
+ menuId: o?.menuId,
190
+ menuNm: o?.menuNm
191
+ }), u.SCMBoardMstr0001(1, 20);
178
192
  }, ie = async (t) => {
179
193
  ee(!0);
180
194
  try {
181
195
  i.validateFields().then((r) => {
182
- console.log("문의/신고 제출:", r), c === "new" ? u.SCMBoardMstr0003(r) : c === "detail" && u.SCMBoardMstr0004(r);
196
+ console.log("문의/신고 제출:", r), m === "new" ? u.SCMBoardMstr0003(r) : m === "detail" && u.SCMBoardMstr0004(r);
183
197
  });
184
198
  } catch (r) {
185
199
  console.error("문의/신고 제출 실패:", r);
@@ -189,16 +203,16 @@ const { TextArea: et } = a, U = [
189
203
  }, Se = () => {
190
204
  u.SCMBoardMstr0005();
191
205
  }, Be = () => {
192
- S?.current?.resetForm(), i.resetFields(), c === "new" ? I("list") : (I("list"), Z?.());
206
+ w?.current?.resetForm(), i.resetFields(), m === "new" ? C("list") : (C("list"), Z?.());
193
207
  }, ve = () => {
194
- S?.current?.resetForm(), i.resetFields(), I("list"), Z?.();
208
+ w?.current?.resetForm(), i.resetFields(), C("list"), Z?.();
195
209
  }, De = () => {
196
- (c === "detail" || c === "new") && I("list");
210
+ (m === "detail" || m === "new") && C("list");
197
211
  }, Me = () => {
198
- i.resetFields(), I("new");
199
- }, Ee = () => {
200
- console.log("댓글 수동 새로고침"), G(15);
212
+ i.resetFields(), C("new");
201
213
  }, Ne = () => {
214
+ console.log("댓글 수동 새로고침"), j(15);
215
+ }, Ee = () => {
202
216
  if (!P.trim()) {
203
217
  g.warning("댓글 상세내용 작성");
204
218
  return;
@@ -206,11 +220,11 @@ const { TextArea: et } = a, U = [
206
220
  u.SCMBoardDtls0002(
207
221
  i.getFieldValue("boardMstrId"),
208
222
  P.trim()
209
- ), le(""), setTimeout(() => {
223
+ ), ne(""), setTimeout(() => {
210
224
  F.current && (F.current.scrollTop = F.current.scrollHeight);
211
225
  }, 100);
212
226
  }, Pe = (t) => {
213
- const r = Y.find((s) => s.id === t);
227
+ const r = Y.find((a) => a.id === t);
214
228
  if (r && r.regUserId !== B?.userId) {
215
229
  g.error("본인이 작성한 댓글만 삭제할 수 있습니다.");
216
230
  return;
@@ -218,20 +232,20 @@ const { TextArea: et } = a, U = [
218
232
  u.SCMBoardDtls0003(i.getFieldValue("boardMstrId"), t);
219
233
  };
220
234
  M(() => {
221
- E && setTimeout(() => {
235
+ N && setTimeout(() => {
222
236
  u.SCMBoardMstr0001(1, 20);
223
237
  }, 100);
224
- }, [E]);
225
- const Re = () => /* @__PURE__ */ n(L, { border: !1, children: [
238
+ }, [N]);
239
+ const Re = () => /* @__PURE__ */ l(k, { border: !1, children: [
226
240
  /* @__PURE__ */ e(
227
241
  We,
228
242
  {
229
243
  border: !0,
230
- ref: S,
231
- reqRows: /* @__PURE__ */ n(k, { children: [
232
- /* @__PURE__ */ e(x, { gutter: [16, 8], style: { marginBottom: "8px" }, children: /* @__PURE__ */ e(l, { span: 24, children: /* @__PURE__ */ e(C, { label: "화면 정보", name: void 0, children: /* @__PURE__ */ n(D.Compact, { style: { width: "100%" }, children: [
244
+ ref: w,
245
+ reqRows: /* @__PURE__ */ l(z, { children: [
246
+ /* @__PURE__ */ e(x, { gutter: [16, 8], style: { marginBottom: "8px" }, children: /* @__PURE__ */ e(n, { span: 24, children: /* @__PURE__ */ e(I, { label: "화면 정보", name: void 0, children: /* @__PURE__ */ l(D.Compact, { style: { width: "100%" }, children: [
233
247
  /* @__PURE__ */ e(
234
- d.Item,
248
+ s.Item,
235
249
  {
236
250
  name: "menuId",
237
251
  style: {
@@ -241,32 +255,32 @@ const { TextArea: et } = a, U = [
241
255
  },
242
256
  validateStatus: "",
243
257
  help: "",
244
- children: /* @__PURE__ */ e(a, { disabled: !0 })
258
+ children: /* @__PURE__ */ e(d, { disabled: !0 })
245
259
  }
246
260
  ),
247
261
  /* @__PURE__ */ e(
248
- d.Item,
262
+ s.Item,
249
263
  {
250
264
  name: "menuNm",
251
265
  style: { width: "60%", marginBottom: 0 },
252
- children: /* @__PURE__ */ e(a, { disabled: !0 })
266
+ children: /* @__PURE__ */ e(d, { disabled: !0 })
253
267
  }
254
268
  )
255
269
  ] }) }) }) }),
256
- /* @__PURE__ */ n(x, { gutter: [16, 8], style: { marginBottom: "8px" }, children: [
257
- /* @__PURE__ */ e(l, { span: 6, children: /* @__PURE__ */ e(
258
- V,
270
+ /* @__PURE__ */ l(x, { gutter: [16, 8], style: { marginBottom: "8px" }, children: [
271
+ /* @__PURE__ */ e(n, { span: 6, children: /* @__PURE__ */ e(
272
+ L,
259
273
  {
260
274
  itemProps: {
261
275
  label: "등록구분",
262
276
  name: "type"
263
277
  },
264
278
  selectProps: {
265
- options: U
279
+ options: V
266
280
  }
267
281
  }
268
282
  ) }),
269
- /* @__PURE__ */ e(l, { span: 12, children: /* @__PURE__ */ e(
283
+ /* @__PURE__ */ e(n, { span: 12, children: /* @__PURE__ */ e(
270
284
  $e,
271
285
  {
272
286
  itemProps: {
@@ -278,7 +292,7 @@ const { TextArea: et } = a, U = [
278
292
  }
279
293
  }
280
294
  ) }),
281
- /* @__PURE__ */ e(l, { span: 6, children: /* @__PURE__ */ e(
295
+ /* @__PURE__ */ e(n, { span: 6, children: /* @__PURE__ */ e(
282
296
  Ke,
283
297
  {
284
298
  itemProps: {
@@ -292,7 +306,7 @@ const { TextArea: et } = a, U = [
292
306
  }
293
307
  ) })
294
308
  ] }),
295
- /* @__PURE__ */ e(x, { children: /* @__PURE__ */ e(l, { span: 24, children: /* @__PURE__ */ e(
309
+ /* @__PURE__ */ e(x, { children: /* @__PURE__ */ e(n, { span: 24, children: /* @__PURE__ */ e(
296
310
  Xe,
297
311
  {
298
312
  itemProps: {
@@ -308,7 +322,7 @@ const { TextArea: et } = a, U = [
308
322
  He,
309
323
  {
310
324
  ref: q,
311
- gridColumns: Ie,
325
+ gridColumns: Ce,
312
326
  gridEvents: we,
313
327
  gridOptions: {},
314
328
  renderers: [
@@ -322,7 +336,7 @@ const { TextArea: et } = a, U = [
322
336
  },
323
337
  {
324
338
  name: "alert",
325
- renderer: Ce
339
+ renderer: Ie
326
340
  }
327
341
  ]
328
342
  }
@@ -330,7 +344,7 @@ const { TextArea: et } = a, U = [
330
344
  /* @__PURE__ */ e(
331
345
  Je,
332
346
  {
333
- ref: N,
347
+ ref: E,
334
348
  mode: "server",
335
349
  onServerPageChange: (t, r) => {
336
350
  console.log("🔄 서버 모드 페이징 변경:", { page: t, size: r }), u.SCMBoardMstr0001(t, r);
@@ -338,7 +352,7 @@ const { TextArea: et } = a, U = [
338
352
  pageSizeOptions: [10, 20, 50, 100]
339
353
  }
340
354
  )
341
- ] }), Te = () => /* @__PURE__ */ n(W, { children: [
355
+ ] }), Te = () => /* @__PURE__ */ l(W, { children: [
342
356
  /* @__PURE__ */ e(
343
357
  W.Panel,
344
358
  {
@@ -350,29 +364,29 @@ const { TextArea: et } = a, U = [
350
364
  overflowX: "hidden",
351
365
  overflowY: "hidden"
352
366
  },
353
- children: /* @__PURE__ */ e(L, { children: /* @__PURE__ */ n(
354
- d,
367
+ children: /* @__PURE__ */ e(k, { children: /* @__PURE__ */ l(
368
+ s,
355
369
  {
356
370
  form: i,
357
371
  onFinish: ie,
358
372
  labelCol: { flex: "100px" },
359
373
  disabled: !T || y,
360
374
  children: [
361
- /* @__PURE__ */ n(x, { gutter: [16, 8], children: [
362
- /* @__PURE__ */ n(l, { span: 8, children: [
363
- /* @__PURE__ */ e(d.Item, { name: "boardMstrId", hidden: !0, children: /* @__PURE__ */ e(a, {}) }),
375
+ /* @__PURE__ */ l(x, { gutter: [16, 8], children: [
376
+ /* @__PURE__ */ l(n, { span: 8, children: [
377
+ /* @__PURE__ */ e(s.Item, { name: "boardMstrId", hidden: !0, children: /* @__PURE__ */ e(d, {}) }),
364
378
  /* @__PURE__ */ e(
365
- V,
379
+ L,
366
380
  {
367
381
  itemProps: { name: "type", label: "구분" },
368
- selectProps: { options: U }
382
+ selectProps: { options: V }
369
383
  }
370
384
  )
371
385
  ] }),
372
- /* @__PURE__ */ n(l, { span: 16, children: [
373
- /* @__PURE__ */ e(C, { label: "화면 정보", name: void 0, children: /* @__PURE__ */ n(D.Compact, { children: [
386
+ /* @__PURE__ */ l(n, { span: 16, children: [
387
+ /* @__PURE__ */ e(I, { label: "화면 정보", name: void 0, children: /* @__PURE__ */ l(D.Compact, { children: [
374
388
  /* @__PURE__ */ e(
375
- d.Item,
389
+ s.Item,
376
390
  {
377
391
  name: "menuId",
378
392
  style: {
@@ -382,25 +396,25 @@ const { TextArea: et } = a, U = [
382
396
  },
383
397
  validateStatus: "",
384
398
  help: "",
385
- children: /* @__PURE__ */ e(a, { readOnly: !0 })
399
+ children: /* @__PURE__ */ e(d, { readOnly: !0 })
386
400
  }
387
401
  ),
388
402
  /* @__PURE__ */ e(
389
- d.Item,
403
+ s.Item,
390
404
  {
391
405
  name: "menuNm",
392
406
  style: { width: "60%", marginBottom: 0 },
393
- children: /* @__PURE__ */ e(a, { readOnly: !0 })
407
+ children: /* @__PURE__ */ e(d, { readOnly: !0 })
394
408
  }
395
409
  )
396
410
  ] }) }),
397
- /* @__PURE__ */ e(d.Item, { name: "scrnId", style: { width: "100%" }, hidden: !0, children: /* @__PURE__ */ e(a, { readOnly: !0 }) })
411
+ /* @__PURE__ */ e(s.Item, { name: "scrnId", style: { width: "100%" }, hidden: !0, children: /* @__PURE__ */ e(d, { readOnly: !0 }) })
398
412
  ] })
399
413
  ] }),
400
- /* @__PURE__ */ n(x, { gutter: [16, 8], children: [
401
- /* @__PURE__ */ e(l, { span: 8, children: /* @__PURE__ */ e(C, { label: "작성자", name: void 0, children: /* @__PURE__ */ n(D.Compact, { style: { width: "100%" }, children: [
414
+ /* @__PURE__ */ l(x, { gutter: [16, 8], children: [
415
+ /* @__PURE__ */ e(n, { span: 8, children: /* @__PURE__ */ e(I, { label: "작성자", name: void 0, children: /* @__PURE__ */ l(D.Compact, { style: { width: "100%" }, children: [
402
416
  /* @__PURE__ */ e(
403
- d.Item,
417
+ s.Item,
404
418
  {
405
419
  name: "rgstUserDeptNm",
406
420
  style: {
@@ -410,19 +424,20 @@ const { TextArea: et } = a, U = [
410
424
  },
411
425
  validateStatus: "",
412
426
  help: "",
413
- children: /* @__PURE__ */ e(a, { readOnly: !0 })
427
+ children: /* @__PURE__ */ e(d, { readOnly: !0 })
414
428
  }
415
429
  ),
430
+ /* @__PURE__ */ e(s.Item, { name: "rgstUserId", hidden: !0 }),
416
431
  /* @__PURE__ */ e(
417
- d.Item,
432
+ s.Item,
418
433
  {
419
434
  name: "rgstUserNm",
420
435
  style: { width: "60%", marginBottom: 0 },
421
- children: /* @__PURE__ */ e(a, { readOnly: !0 })
436
+ children: /* @__PURE__ */ e(d, { readOnly: !0 })
422
437
  }
423
438
  )
424
439
  ] }) }) }),
425
- /* @__PURE__ */ e(l, { span: 8, children: /* @__PURE__ */ e(
440
+ /* @__PURE__ */ e(n, { span: 8, children: /* @__PURE__ */ e(
426
441
  X,
427
442
  {
428
443
  itemProps: {
@@ -432,25 +447,26 @@ const { TextArea: et } = a, U = [
432
447
  inputProps: { disabled: !0 }
433
448
  }
434
449
  ) }),
435
- /* @__PURE__ */ e(l, { span: 8, children: /* @__PURE__ */ e(
436
- V,
450
+ /* @__PURE__ */ e(n, { span: 8, children: /* @__PURE__ */ e(
451
+ L,
437
452
  {
438
453
  itemProps: { name: "status", label: "상태" },
439
454
  selectProps: { options: ue, disabled: !0 }
440
455
  }
441
456
  ) })
442
457
  ] }),
443
- /* @__PURE__ */ n(x, { gutter: [16, 8], children: [
444
- /* @__PURE__ */ e(l, { span: 8, children: /* @__PURE__ */ e(
458
+ /* @__PURE__ */ l(x, { gutter: [16, 8], children: [
459
+ /* @__PURE__ */ e(n, { span: 8, children: /* @__PURE__ */ e(
445
460
  X,
446
461
  {
447
462
  itemProps: {
448
463
  label: "마감요청일",
449
464
  name: "dueDate"
450
- }
465
+ },
466
+ inputProps: { disabled: !0 }
451
467
  }
452
468
  ) }),
453
- /* @__PURE__ */ e(l, { span: 8, children: /* @__PURE__ */ n(Ue, { vertical: !0, gap: 2, children: [
469
+ /* @__PURE__ */ e(n, { span: 8, children: /* @__PURE__ */ l(Ve, { vertical: !0, gap: 2, children: [
454
470
  /* @__PURE__ */ e("span", { style: { fontSize: "12px", color: "#000000E0" }, children: "진척률" }),
455
471
  /* @__PURE__ */ e(
456
472
  Ae,
@@ -466,19 +482,20 @@ const { TextArea: et } = a, U = [
466
482
  }
467
483
  )
468
484
  ] }) }),
469
- /* @__PURE__ */ e(l, { span: 8, children: /* @__PURE__ */ e(
485
+ /* @__PURE__ */ e(n, { span: 8, children: /* @__PURE__ */ e(
470
486
  me,
471
487
  {
472
- itemProps: { name: "urgentYn", label: "긴급여부" }
488
+ itemProps: { name: "urgentYn", label: "긴급여부" },
489
+ inputProps: { disabled: !0 }
473
490
  }
474
491
  ) })
475
492
  ] }),
476
- /* @__PURE__ */ n(x, { gutter: [16, 8], children: [
477
- /* @__PURE__ */ e(l, { span: 8, children: /* @__PURE__ */ e(C, { label: "처리담당자", name: void 0, help: "", children: /* @__PURE__ */ n(D.Compact, { children: [
493
+ /* @__PURE__ */ l(x, { gutter: [16, 8], children: [
494
+ /* @__PURE__ */ e(n, { span: 8, children: /* @__PURE__ */ e(I, { label: "처리담당자", name: void 0, help: "", children: /* @__PURE__ */ l(D.Compact, { children: [
478
495
  /* @__PURE__ */ e(
479
- d.Item,
496
+ s.Item,
480
497
  {
481
- name: "processor",
498
+ name: "prcsUserDeptNm",
482
499
  style: {
483
500
  width: "40%",
484
501
  marginBottom: 0,
@@ -486,35 +503,36 @@ const { TextArea: et } = a, U = [
486
503
  },
487
504
  validateStatus: "",
488
505
  help: "",
489
- children: /* @__PURE__ */ e(a, { readOnly: !0 })
506
+ children: /* @__PURE__ */ e(d, { readOnly: !0 })
490
507
  }
491
508
  ),
509
+ /* @__PURE__ */ e(s.Item, { name: "prcsUserId", hidden: !0 }),
492
510
  /* @__PURE__ */ e(
493
- d.Item,
511
+ s.Item,
494
512
  {
495
- name: "processorNm",
513
+ name: "prcsUserNm",
496
514
  style: { width: "60%", marginBottom: 0 },
497
- children: /* @__PURE__ */ e(a, { readOnly: !0 })
515
+ children: /* @__PURE__ */ e(d, { readOnly: !0 })
498
516
  }
499
517
  )
500
518
  ] }) }) }),
501
- /* @__PURE__ */ e(l, { span: 8, children: /* @__PURE__ */ e(
519
+ /* @__PURE__ */ e(n, { span: 8, children: /* @__PURE__ */ e(
502
520
  X,
503
521
  {
504
522
  itemProps: {
505
523
  label: "처리일자",
506
- name: "processDt"
524
+ name: "prcsDt"
507
525
  }
508
526
  }
509
527
  ) })
510
528
  ] }),
511
- /* @__PURE__ */ e(x, { gutter: [16, 8], children: /* @__PURE__ */ e(l, { span: 24, children: /* @__PURE__ */ e(
512
- C,
529
+ /* @__PURE__ */ e(x, { gutter: [16, 8], children: /* @__PURE__ */ e(n, { span: 24, children: /* @__PURE__ */ e(
530
+ I,
513
531
  {
514
532
  label: "제목",
515
533
  name: "title",
516
534
  style: { width: "100%" },
517
- children: /* @__PURE__ */ e(a, {})
535
+ children: /* @__PURE__ */ e(d, {})
518
536
  }
519
537
  ) }) }),
520
538
  /* @__PURE__ */ e(
@@ -537,8 +555,8 @@ const { TextArea: et } = a, U = [
537
555
  ) })
538
556
  }
539
557
  ),
540
- /* @__PURE__ */ e(W.Panel, { collapsible: !0, style: { paddingLeft: "15px" }, children: /* @__PURE__ */ n(
541
- L,
558
+ /* @__PURE__ */ e(W.Panel, { collapsible: !0, style: { paddingLeft: "15px" }, children: /* @__PURE__ */ l(
559
+ k,
542
560
  {
543
561
  style: {
544
562
  flex: "0 0 400px",
@@ -546,7 +564,7 @@ const { TextArea: et } = a, U = [
546
564
  flexDirection: "column"
547
565
  },
548
566
  children: [
549
- /* @__PURE__ */ n(
567
+ /* @__PURE__ */ l(
550
568
  "div",
551
569
  {
552
570
  style: {
@@ -569,18 +587,18 @@ const { TextArea: et } = a, U = [
569
587
  children: "댓글"
570
588
  }
571
589
  ),
572
- /* @__PURE__ */ n("div", { style: { position: "relative", display: "inline-block" }, children: [
590
+ /* @__PURE__ */ l("div", { style: { position: "relative", display: "inline-block" }, children: [
573
591
  /* @__PURE__ */ e(
574
- z,
592
+ O,
575
593
  {
576
594
  type: "text",
577
- icon: /* @__PURE__ */ e(ae, { spin: j || o }),
578
- onClick: Ee,
579
- disabled: j || o,
595
+ icon: /* @__PURE__ */ e(ae, { spin: G || c }),
596
+ onClick: Ne,
597
+ disabled: G || c,
580
598
  size: "small",
581
599
  style: {
582
600
  fontSize: "12px",
583
- color: y ? "#d9d9d9" : o ? "#8c8c8c" : "#595959",
601
+ color: y ? "#d9d9d9" : c ? "#8c8c8c" : "#595959",
584
602
  height: "24px",
585
603
  padding: "0 8px"
586
604
  }
@@ -595,7 +613,7 @@ const { TextArea: et } = a, U = [
595
613
  right: "-4px",
596
614
  fontSize: "10px",
597
615
  fontWeight: "700",
598
- color: j ? "#8c8c8c" : "#1890ff",
616
+ color: G ? "#8c8c8c" : "#1890ff",
599
617
  minWidth: "14px",
600
618
  height: "14px",
601
619
  lineHeight: "14px",
@@ -621,7 +639,7 @@ const { TextArea: et } = a, U = [
621
639
  minHeight: 0,
622
640
  position: "relative"
623
641
  },
624
- children: o ? /* @__PURE__ */ n(
642
+ children: c ? /* @__PURE__ */ l(
625
643
  "div",
626
644
  {
627
645
  style: {
@@ -654,7 +672,7 @@ const { TextArea: et } = a, U = [
654
672
  H,
655
673
  {
656
674
  dataSource: Y,
657
- renderItem: (t) => /* @__PURE__ */ n(
675
+ renderItem: (t) => /* @__PURE__ */ l(
658
676
  H.Item,
659
677
  {
660
678
  style: {
@@ -678,7 +696,7 @@ const { TextArea: et } = a, U = [
678
696
  children: t.author[0]
679
697
  }
680
698
  ),
681
- title: /* @__PURE__ */ n(
699
+ title: /* @__PURE__ */ l(
682
700
  "div",
683
701
  {
684
702
  style: {
@@ -726,29 +744,29 @@ const { TextArea: et } = a, U = [
726
744
  }
727
745
  ),
728
746
  t.regUserId === B?.userId && /* @__PURE__ */ e(
729
- z,
747
+ O,
730
748
  {
731
749
  type: "text",
732
750
  danger: !0,
733
- icon: /* @__PURE__ */ e(Oe, { style: { fontSize: "12px" } }),
751
+ icon: /* @__PURE__ */ e(Ue, { style: { fontSize: "12px" } }),
734
752
  size: "small",
735
753
  onClick: () => Pe(t.id),
736
- disabled: o,
754
+ disabled: c,
737
755
  style: {
738
756
  position: "absolute",
739
757
  right: "8px",
740
758
  top: "62%",
741
759
  transform: "translateY(-50%)",
742
- opacity: o ? 0.3 : 0.5,
760
+ opacity: c ? 0.3 : 0.5,
743
761
  height: "24px",
744
762
  width: "24px",
745
763
  padding: 0
746
764
  },
747
765
  onMouseEnter: (r) => {
748
- o || (r.currentTarget.style.opacity = "1");
766
+ c || (r.currentTarget.style.opacity = "1");
749
767
  },
750
768
  onMouseLeave: (r) => {
751
- r.currentTarget.style.opacity = o ? "0.3" : "0.5";
769
+ r.currentTarget.style.opacity = c ? "0.3" : "0.5";
752
770
  }
753
771
  }
754
772
  )
@@ -770,7 +788,7 @@ const { TextArea: et } = a, U = [
770
788
  flexShrink: 0,
771
789
  marginTop: "auto"
772
790
  },
773
- children: y ? /* @__PURE__ */ n(
791
+ children: y ? /* @__PURE__ */ l(
774
792
  "div",
775
793
  {
776
794
  style: {
@@ -788,33 +806,33 @@ const { TextArea: et } = a, U = [
788
806
  /* @__PURE__ */ e("div", { style: { fontSize: "11px", marginTop: "4px" }, children: "댓글을 작성할 수 없습니다." })
789
807
  ]
790
808
  }
791
- ) : /* @__PURE__ */ n(k, { children: [
809
+ ) : /* @__PURE__ */ l(z, { children: [
792
810
  /* @__PURE__ */ e("div", { style: { marginBottom: "8px" }, children: /* @__PURE__ */ e(
793
811
  et,
794
812
  {
795
813
  rows: 2,
796
- placeholder: o ? "댓글 처리 중..." : "댓글을 입력하세요...",
814
+ placeholder: c ? "댓글 처리 중..." : "댓글을 입력하세요...",
797
815
  value: P,
798
- onChange: (t) => le(t.target.value),
816
+ onChange: (t) => ne(t.target.value),
799
817
  maxLength: 300,
800
- disabled: o,
818
+ disabled: c,
801
819
  style: {
802
820
  borderRadius: "6px",
803
821
  border: "1px solid #d9d9d9",
804
822
  resize: "none",
805
823
  fontSize: "13px",
806
- backgroundColor: o ? "#f5f5f5" : "#ffffff",
807
- color: o ? "#8c8c8c" : "#000000"
824
+ backgroundColor: c ? "#f5f5f5" : "#ffffff",
825
+ color: c ? "#8c8c8c" : "#000000"
808
826
  },
809
827
  onFocus: (t) => {
810
- o || (t.target.style.borderColor = "#1890ff", t.target.style.boxShadow = "0 0 0 2px rgba(24, 144, 255, 0.05)");
828
+ c || (t.target.style.borderColor = "#1890ff", t.target.style.boxShadow = "0 0 0 2px rgba(24, 144, 255, 0.05)");
811
829
  },
812
830
  onBlur: (t) => {
813
831
  t.target.style.borderColor = "#d9d9d9", t.target.style.boxShadow = "none";
814
832
  }
815
833
  }
816
834
  ) }),
817
- /* @__PURE__ */ n(
835
+ /* @__PURE__ */ l(
818
836
  "div",
819
837
  {
820
838
  style: {
@@ -823,14 +841,14 @@ const { TextArea: et } = a, U = [
823
841
  alignItems: "center"
824
842
  },
825
843
  children: [
826
- /* @__PURE__ */ e("span", { style: { fontSize: "11px", color: "#8c8c8c" }, children: o ? "처리 중..." : `${P.length} / 300자` }),
844
+ /* @__PURE__ */ e("span", { style: { fontSize: "11px", color: "#8c8c8c" }, children: c ? "처리 중..." : `${P.length} / 300자` }),
827
845
  /* @__PURE__ */ e(
828
- z,
846
+ O,
829
847
  {
830
848
  type: "primary",
831
- onClick: Ne,
849
+ onClick: Ee,
832
850
  size: "small",
833
- loading: o,
851
+ loading: c,
834
852
  style: {
835
853
  borderRadius: "4px",
836
854
  fontSize: "12px",
@@ -838,8 +856,8 @@ const { TextArea: et } = a, U = [
838
856
  padding: "0 16px",
839
857
  fontWeight: "500"
840
858
  },
841
- disabled: !P.trim() || o,
842
- children: o ? "등록 중..." : "등록"
859
+ disabled: !P.trim() || c,
860
+ children: c ? "등록 중..." : "등록"
843
861
  }
844
862
  )
845
863
  ]
@@ -851,7 +869,7 @@ const { TextArea: et } = a, U = [
851
869
  ]
852
870
  }
853
871
  ) })
854
- ] }), Fe = () => /* @__PURE__ */ e(L, { children: /* @__PURE__ */ n(
872
+ ] }), Fe = () => /* @__PURE__ */ e(k, { children: /* @__PURE__ */ l(
855
873
  Ze,
856
874
  {
857
875
  form: i,
@@ -863,22 +881,24 @@ const { TextArea: et } = a, U = [
863
881
  labelCol: { flex: "100px" },
864
882
  style: { height: "100%", display: "flex", flexDirection: "column" },
865
883
  children: [
866
- /* @__PURE__ */ n(x, { gutter: [16, 8], children: [
867
- /* @__PURE__ */ e(l, { span: 8, children: /* @__PURE__ */ e(
868
- V,
884
+ /* @__PURE__ */ l(x, { gutter: [16, 8], children: [
885
+ /* @__PURE__ */ e(n, { span: 8, children: /* @__PURE__ */ e(
886
+ L,
869
887
  {
870
888
  itemProps: {
871
889
  name: "type",
872
890
  label: "구분",
873
891
  rules: [{ required: !0, message: "구분을 선택해주세요." }]
874
892
  },
875
- selectProps: { options: U }
893
+ selectProps: {
894
+ options: [...V].filter((t) => t.value !== "")
895
+ }
876
896
  }
877
897
  ) }),
878
- /* @__PURE__ */ n(l, { span: 16, children: [
879
- /* @__PURE__ */ e(C, { label: "화면 정보", name: void 0, children: /* @__PURE__ */ n(D.Compact, { style: { width: "100%" }, children: [
898
+ /* @__PURE__ */ l(n, { span: 16, children: [
899
+ /* @__PURE__ */ e(I, { label: "화면 정보", name: void 0, children: /* @__PURE__ */ l(D.Compact, { style: { width: "100%" }, children: [
880
900
  /* @__PURE__ */ e(
881
- d.Item,
901
+ s.Item,
882
902
  {
883
903
  name: "menuId",
884
904
  style: {
@@ -888,27 +908,27 @@ const { TextArea: et } = a, U = [
888
908
  },
889
909
  validateStatus: "",
890
910
  help: "",
891
- children: /* @__PURE__ */ e(a, { readOnly: !0 })
911
+ children: /* @__PURE__ */ e(d, { readOnly: !0 })
892
912
  }
893
913
  ),
894
914
  /* @__PURE__ */ e(
895
- d.Item,
915
+ s.Item,
896
916
  {
897
917
  name: "menuNm",
898
918
  style: { width: "60%", marginBottom: 0 },
899
- children: /* @__PURE__ */ e(a, { readOnly: !0 })
919
+ children: /* @__PURE__ */ e(d, { readOnly: !0 })
900
920
  }
901
921
  )
902
922
  ] }) }),
903
- /* @__PURE__ */ e(d.Item, { name: "scrnId", style: { width: "100%" }, hidden: !0, children: /* @__PURE__ */ e(a, { readOnly: !0 }) })
923
+ /* @__PURE__ */ e(s.Item, { name: "scrnId", style: { width: "100%" }, hidden: !0, children: /* @__PURE__ */ e(d, { readOnly: !0 }) })
904
924
  ] })
905
925
  ] }),
906
- /* @__PURE__ */ n(x, { gutter: [16, 8], children: [
907
- /* @__PURE__ */ e(l, { span: 8, children: /* @__PURE__ */ e(C, { label: "작성자", name: void 0, children: /* @__PURE__ */ n(D.Compact, { style: { width: "100%" }, children: [
926
+ /* @__PURE__ */ l(x, { gutter: [16, 8], children: [
927
+ /* @__PURE__ */ e(n, { span: 8, children: /* @__PURE__ */ e(I, { label: "작성자", name: void 0, children: /* @__PURE__ */ l(D.Compact, { style: { width: "100%" }, children: [
908
928
  /* @__PURE__ */ e(
909
- d.Item,
929
+ s.Item,
910
930
  {
911
- name: "rgstUserNm",
931
+ name: "rgstUserDeptNm",
912
932
  style: {
913
933
  width: "40%",
914
934
  marginBottom: 0,
@@ -916,51 +936,53 @@ const { TextArea: et } = a, U = [
916
936
  },
917
937
  validateStatus: "",
918
938
  help: "",
919
- children: /* @__PURE__ */ e(a, { readOnly: !0 })
939
+ children: /* @__PURE__ */ e(d, { readOnly: !0 })
920
940
  }
921
941
  ),
942
+ /* @__PURE__ */ e(s.Item, { name: "rgstUserId", hidden: !0 }),
922
943
  /* @__PURE__ */ e(
923
- d.Item,
944
+ s.Item,
924
945
  {
925
- name: "rgstUserDeptNm",
946
+ name: "rgstUserNm",
926
947
  style: { width: "60%", marginBottom: 0 },
927
- children: /* @__PURE__ */ e(a, { readOnly: !0 })
948
+ children: /* @__PURE__ */ e(d, { readOnly: !0 })
928
949
  }
929
950
  )
930
951
  ] }) }) }),
931
- /* @__PURE__ */ e(l, { span: 6, children: /* @__PURE__ */ e(
932
- C,
952
+ /* @__PURE__ */ e(n, { span: 6, children: /* @__PURE__ */ e(
953
+ I,
933
954
  {
934
955
  label: "작성일자",
935
956
  name: "rgstDt",
936
957
  style: { width: "100%" },
937
- children: /* @__PURE__ */ e(de, { disabled: !0 })
958
+ children: /* @__PURE__ */ e(oe, { disabled: !0 })
938
959
  }
939
960
  ) }),
940
- /* @__PURE__ */ e(l, { span: 6, children: /* @__PURE__ */ e(
941
- C,
961
+ /* @__PURE__ */ e(n, { span: 6, children: /* @__PURE__ */ e(
962
+ I,
942
963
  {
943
964
  label: "마감요청일",
944
965
  name: "dueDate",
945
966
  style: { width: "100%" },
946
- children: /* @__PURE__ */ e(de, {})
967
+ children: /* @__PURE__ */ e(oe, { disabled: !0 })
947
968
  }
948
969
  ) }),
949
- /* @__PURE__ */ e(l, { span: 4, children: /* @__PURE__ */ e(
970
+ /* @__PURE__ */ e(n, { span: 4, children: /* @__PURE__ */ e(
950
971
  me,
951
972
  {
952
- itemProps: { name: "urgentYn", label: "긴급여부" }
973
+ itemProps: { name: "urgentYn", label: "긴급여부" },
974
+ inputProps: { disabled: !0 }
953
975
  }
954
976
  ) })
955
977
  ] }),
956
- /* @__PURE__ */ e(x, { gutter: [16, 8], children: /* @__PURE__ */ e(l, { span: 24, children: /* @__PURE__ */ e(
957
- C,
978
+ /* @__PURE__ */ e(x, { gutter: [16, 8], children: /* @__PURE__ */ e(n, { span: 24, children: /* @__PURE__ */ e(
979
+ I,
958
980
  {
959
981
  label: "제목",
960
982
  name: "title",
961
983
  style: { width: "100%" },
962
984
  rules: [{ required: !0, message: "제목을 입력해주세요." }],
963
- children: /* @__PURE__ */ e(a, {})
985
+ children: /* @__PURE__ */ e(d, {})
964
986
  }
965
987
  ) }) }),
966
988
  /* @__PURE__ */ e(
@@ -971,14 +993,14 @@ const { TextArea: et } = a, U = [
971
993
  editorProps: {
972
994
  isEditing: te,
973
995
  title: {
974
- title: /* @__PURE__ */ n(k, { children: [
975
- /* @__PURE__ */ e(Ve, { style: { marginRight: "5px" } }),
996
+ title: /* @__PURE__ */ l(z, { children: [
997
+ /* @__PURE__ */ e(Le, { style: { marginRight: "5px" } }),
976
998
  " 상세내용 작성"
977
999
  ] }),
978
1000
  children: /* @__PURE__ */ e(
979
- z,
1001
+ O,
980
1002
  {
981
- icon: /* @__PURE__ */ e(Le, {}),
1003
+ icon: /* @__PURE__ */ e(ke, {}),
982
1004
  onClick: () => re(!te),
983
1005
  children: "미리보기"
984
1006
  }
@@ -991,60 +1013,60 @@ const { TextArea: et } = a, U = [
991
1013
  }
992
1014
  ) });
993
1015
  M(() => {
994
- c === "new" && (re(!0), i.setFieldsValue({
1016
+ m === "new" && (re(!0), i.setFieldsValue({
995
1017
  type: "INQR",
996
1018
  // 기본값: 문의
997
- menuId: m?.menuId,
998
- menuNm: m?.menuNm,
999
- scrnId: m?.scrnId,
1019
+ menuId: o?.menuId,
1020
+ menuNm: o?.menuNm,
1021
+ scrnId: o?.scrnId,
1000
1022
  rgstUserId: B?.userId,
1001
1023
  rgstUserNm: B?.userNm,
1002
1024
  rgstUserDeptNm: he?.deptNm,
1003
- rgstDt: je(),
1025
+ rgstDt: Ge(),
1004
1026
  // 오늘 날짜 자동 설정
1005
1027
  content: ""
1006
1028
  // 에디터 초기화
1007
1029
  }));
1008
- }, [c, i, m, B]), M(() => {
1009
- if (c === "detail" && !y) {
1030
+ }, [m, i, o, B]), M(() => {
1031
+ if (m === "detail" && !y) {
1010
1032
  const t = setInterval(() => {
1011
- G((r) => r <= 1 ? (console.log("🔄 댓글 자동 갱신 실행 (카운트다운 완료)"), u.SCMBoardDtls0001(i.getFieldValue("boardMstrId")), 15) : r - 1);
1033
+ j((r) => r <= 1 ? (console.log("🔄 댓글 자동 갱신 실행 (카운트다운 완료)"), u.SCMBoardDtls0001(i.getFieldValue("boardMstrId")), 15) : r - 1);
1012
1034
  }, 1e3);
1013
1035
  return u.SCMBoardDtls0001(i.getFieldValue("boardMstrId")), () => {
1014
1036
  console.log("🧹 댓글 인터벌 정리"), clearInterval(t);
1015
1037
  };
1016
- } else c === "detail" && y && (console.log("📋 완료된 게시글 - 댓글 조회만"), u.SCMBoardDtls0001(i.getFieldValue("boardMstrId")));
1017
- }, [c, y, i]), M(() => () => {
1038
+ } else m === "detail" && y && (console.log("📋 완료된 게시글 - 댓글 조회만"), u.SCMBoardDtls0001(i.getFieldValue("boardMstrId")));
1039
+ }, [m, y, i]), M(() => () => {
1018
1040
  console.log("🧹 컴포넌트 언마운트 - 모든 인터벌 정리"), A.current && (clearInterval(A.current), A.current = null);
1019
1041
  }, []), M(() => {
1020
- c === "list" && m && (S?.current?.setFormData({
1021
- menuId: m?.menuId,
1022
- menuNm: m?.menuNm
1042
+ m === "list" && o && (w?.current?.setFormData({
1043
+ menuId: o?.menuId,
1044
+ menuNm: o?.menuNm
1023
1045
  }), u.SCMBoardMstr0001(1, 20));
1024
- }, [c, m]), M(() => {
1025
- E && m && S?.current?.setFormData({
1026
- menuId: m?.menuId,
1027
- menuNm: m?.menuNm
1046
+ }, [m, o]), M(() => {
1047
+ N && o && w?.current?.setFormData({
1048
+ menuId: o?.menuId,
1049
+ menuNm: o?.menuNm
1028
1050
  });
1029
- }, [E, m]);
1051
+ }, [N, o]);
1030
1052
  const u = {
1031
1053
  SCMBoardMstr0001: async (t, r) => {
1032
- const s = t || N.current?.currentPage || 1, p = r || N.current?.pageSize || 20, h = {
1033
- ...S?.current?.getFormData(),
1034
- pageNum: s,
1054
+ const a = t || E.current?.currentPage || 1, p = r || E.current?.pageSize || 20, h = {
1055
+ ...w?.current?.getFormData(),
1056
+ pageNum: a,
1035
1057
  // 1-based
1036
1058
  pageCount: p
1037
1059
  };
1038
1060
  console.log("🔍 서버 모드 페이징 요청:", h);
1039
1061
  try {
1040
- const f = await w("SCMBoardMstr0001", h, {
1062
+ const f = await S("SCMBoardMstr0001", h, {
1041
1063
  isPopup: !0
1042
1064
  });
1043
1065
  if (f && f.pageList) {
1044
1066
  const R = f.pageCnt || 0;
1045
- N.current?.setTotalData(R), q.current?.addAllData(f.pageList);
1067
+ E.current?.setTotalData(R), q.current?.addAllData(f.pageList);
1046
1068
  } else
1047
- N.current?.setTotalData(0), q.current?.addAllData([]), console.log("📭 서버 모드 페이징 데이터 없음");
1069
+ E.current?.setTotalData(0), q.current?.addAllData([]), console.log("📭 서버 모드 페이징 데이터 없음");
1048
1070
  } catch (f) {
1049
1071
  console.error("❌ SCMBoardMstr0001 호출 실패:", f), g.error("데이터 조회 중 오류가 발생했습니다.");
1050
1072
  }
@@ -1054,7 +1076,7 @@ const { TextArea: et } = a, U = [
1054
1076
  * @param values
1055
1077
  */
1056
1078
  SCMBoardMstr0003: (t) => {
1057
- w(
1079
+ S(
1058
1080
  "SCMBoardMstr0003",
1059
1081
  {
1060
1082
  ...t,
@@ -1072,7 +1094,7 @@ const { TextArea: et } = a, U = [
1072
1094
  * @param values
1073
1095
  */
1074
1096
  SCMBoardMstr0004: (t) => {
1075
- w(
1097
+ S(
1076
1098
  "SCMBoardMstr0004",
1077
1099
  {
1078
1100
  boardMstrId: i.getFieldValue("boardMstrId"),
@@ -1086,7 +1108,7 @@ const { TextArea: et } = a, U = [
1086
1108
  });
1087
1109
  },
1088
1110
  SCMBoardMstr0005: () => {
1089
- w(
1111
+ S(
1090
1112
  "SCMBoardMstr0005",
1091
1113
  { boardMstrId: i.getFieldValue("boardMstrId") },
1092
1114
  { isPopup: !0 }
@@ -1100,7 +1122,7 @@ const { TextArea: et } = a, U = [
1100
1122
  * @returns 댓글 목록
1101
1123
  */
1102
1124
  SCMBoardDtls0001: (t) => {
1103
- v(!0), w(
1125
+ v(!0), S(
1104
1126
  "SCMBoardDtls0001",
1105
1127
  {
1106
1128
  boardMstrId: t
@@ -1108,20 +1130,20 @@ const { TextArea: et } = a, U = [
1108
1130
  { isPopup: !0, showLoading: !1 }
1109
1131
  ).then((r) => {
1110
1132
  if (r && r.subList) {
1111
- const s = r.subList.map((p) => ({
1133
+ const a = r.subList.map((p) => ({
1112
1134
  id: p.seq,
1113
1135
  author: p.userNm || p.regUserId,
1114
1136
  regUserId: p.regUserId,
1115
1137
  content: p.content,
1116
1138
  regDt: p.regDt
1117
1139
  }));
1118
- ne(s);
1140
+ le(a);
1119
1141
  } else
1120
- ne([]);
1142
+ le([]);
1121
1143
  }).catch((r) => {
1122
1144
  console.error("게시글 댓글 목록 조회 실패:", r), g.error("댓글 목록 조회 중 오류가 발생했습니다.");
1123
1145
  }).finally(() => {
1124
- v(!1), G(15);
1146
+ v(!1), j(15);
1125
1147
  });
1126
1148
  },
1127
1149
  /**
@@ -1132,16 +1154,16 @@ const { TextArea: et } = a, U = [
1132
1154
  * @returns
1133
1155
  */
1134
1156
  SCMBoardDtls0002: (t, r) => {
1135
- v(!0), w(
1157
+ v(!0), S(
1136
1158
  "SCMBoardDtls0002",
1137
1159
  {
1138
1160
  boardMstrId: t,
1139
1161
  content: r
1140
1162
  },
1141
1163
  { isPopup: !0, showLoading: !1 }
1142
- ).then((s) => {
1143
- s && s.result === 1 ? (g.success("댓글이 등록되었습니다."), u.SCMBoardDtls0001(t)) : g.error("댓글 등록에 실패했습니다.");
1144
- }).catch((s) => {
1164
+ ).then((a) => {
1165
+ a && a.result === 1 ? (g.success("댓글이 등록되었습니다."), u.SCMBoardDtls0001(t)) : g.error("댓글 등록에 실패했습니다.");
1166
+ }).catch((a) => {
1145
1167
  g.error("댓글 등록 중 오류가 발생했습니다.");
1146
1168
  }).finally(() => {
1147
1169
  v(!1);
@@ -1154,23 +1176,23 @@ const { TextArea: et } = a, U = [
1154
1176
  * @returns
1155
1177
  */
1156
1178
  SCMBoardDtls0003: (t, r) => {
1157
- v(!0), w(
1179
+ v(!0), S(
1158
1180
  "SCMBoardDtls0003",
1159
1181
  {
1160
1182
  boardMstrId: t,
1161
1183
  seq: r
1162
1184
  },
1163
1185
  { isPopup: !0, showLoading: !1 }
1164
- ).then((s) => {
1165
- s && s.result === 1 ? (g.success("댓글이 삭제되었습니다."), u.SCMBoardDtls0001(t)) : g.error("댓글 삭제에 실패했습니다.");
1166
- }).catch((s) => {
1186
+ ).then((a) => {
1187
+ a && a.result === 1 ? (g.success("댓글이 삭제되었습니다."), u.SCMBoardDtls0001(t)) : g.error("댓글 삭제에 실패했습니다.");
1188
+ }).catch((a) => {
1167
1189
  g.error("댓글 삭제 중 오류가 발생했습니다.");
1168
1190
  }).finally(() => {
1169
1191
  v(!1);
1170
1192
  });
1171
1193
  }
1172
- }, ke = () => {
1173
- switch (c) {
1194
+ }, ze = () => {
1195
+ switch (m) {
1174
1196
  case "list":
1175
1197
  return [
1176
1198
  {
@@ -1229,18 +1251,18 @@ const { TextArea: et } = a, U = [
1229
1251
  default:
1230
1252
  return [];
1231
1253
  }
1232
- }, ze = {};
1233
- return /* @__PURE__ */ n(
1254
+ }, Oe = {};
1255
+ return /* @__PURE__ */ l(
1234
1256
  Qe,
1235
1257
  {
1236
- popup: E,
1237
- buttons: ke(),
1238
- popupEvent: ze,
1258
+ popup: N,
1259
+ buttons: ze(),
1260
+ popupEvent: Oe,
1239
1261
  onClose: ve,
1240
1262
  children: [
1241
- c === "list" && Re(),
1242
- c === "detail" && Te(),
1243
- c === "new" && Fe()
1263
+ m === "list" && Re(),
1264
+ m === "detail" && Te(),
1265
+ m === "new" && Fe()
1244
1266
  ]
1245
1267
  }
1246
1268
  );