sales-frontend-components 0.0.88 → 0.0.90

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.
package/dist/index.esm.js CHANGED
@@ -2,8 +2,8 @@ import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
2
2
  import { useController } from 'react-hook-form';
3
3
  import { CheckboxButton, Checkbox, DatePicker, DateRangePicker, Table, Accordion, Radio, FormField, Select, Tab, useModalState, Modal, Button, SegmentGroup, ModalUtils, FormCore, RadioGroup, useDropDown, List, ListItem, Loading } from 'sales-frontend-design-system';
4
4
  import React, { useState, useEffect, useRef, useCallback, useMemo } from 'react';
5
- import { useSearchOccupationDetailQuery, useSearchOccupationQuery, useSearchAddressQuery, useSearchPostalCodeQuery, useSearchAddressStandardizationQuery, useSearchOrganizationQuery, useSearchEmployeeProfileQuery, useSearchVehicleQuery, useSearchRiskGradeQuery, useSearchCustomerListQuery, getRemoteIdentityVerificationSystemToken } from 'sales-frontend-api/method';
6
- import { IconMainUiSearch, IconIllustCamera, IconGraphicsBankHsbc, IconGraphicsBankKebHana, IconGraphicsBankScJeil, IconGraphicsBankGyeongnam, IconGraphicsBankGwangju, IconGraphicsBankKukmin, IconGraphicsBankKiup, IconGraphicsBankJiyeokNonghyeop, IconGraphicsBankNhNonghyeop, IconGraphicsBankDaegu, IconGraphicsBankBusan, IconGraphicsBankSanlim, IconGraphicsBankSaneop, IconGraphicsBankSaemaulGeumgo, IconGraphicsBankSuhyeop, IconGraphicsBankSinhan, IconGraphicsBankSinhyeop, IconGraphicsBankOehwan, IconGraphicsBankWoori, IconGraphicsBankPost, IconGraphicsBankJeochuk, IconGraphicsBankJeonbuk, IconGraphicsBankJeju, IconGraphicsBankKakaoBank, IconGraphicsBankKBank, IconGraphicsBankHankookCity, IconGraphicsStockDbGeumyungTujajeungkwon, IconGraphicsStockKbJeungkwon, IconGraphicsStockNhWooriTujajeungkwon, IconGraphicsStockNhTujajeungkwon, IconGraphicsStockSkJeungkwon, IconGraphicsStockGyoboJeungkwon, IconGraphicsStockDaesinJeungkwon, IconGraphicsStockMeritzJeungkwon, IconGraphicsStockMiraeAssetJeungkwon, IconGraphicsStockBugukJeungkwon, IconGraphicsStockSamsungJeungkwon, IconGraphicsStockSinyeongJeungkwon, IconGraphicsStockSinhanTujajeungkwon, IconGraphicsStockYuantaJeungkwon, IconGraphicsStockYujinTujajeungkwon, IconGraphicsStockKiwoomJeungkwon, IconGraphicsStockHanaGeumyungTujajeungkwon, IconGraphicsStockHiTujajeungkwon, IconGraphicsStockHankookJeungkwonGeumyung, IconGraphicsStockHankookTujajeungkwon, IconGraphicsStockHanwhaTujajeungkwon, IconGraphicsStockHyundaiChaJeungkwon, IconGraphicsStockHochulEopsum, IconGraphicsFeedbackEmpty, IconIllustGrade, IconIllustJob, IconSubUiArrowRight, IconIllustVehicle } from 'sales-frontend-assets';
5
+ import { useSearchOccupationDetailQuery, useSearchOccupationQuery, useSearchAddressQuery, useSearchPostalCodeQuery, useSearchAddressStandardizationQuery, useSearchCommonCodeQuery, useSearchOrganizationQuery, useSearchEmployeeProfileQuery, useSearchVehicleQuery, useSearchRiskGradeQuery, getDspCustomerListMethod, useSearchCustomerListQuery, getRemoteIdentityVerificationSystemToken } from 'sales-frontend-api/method';
6
+ import { IconMainUiSearch, IconIllustCamera, IconGraphicsBankSaneop, IconGraphicsBankKiup, IconGraphicsBankKukmin, IconGraphicsBankSuhyeop, IconGraphicsBankJangGiSinYong, IconGraphicsBankNhNonghyeop, IconGraphicsBankJiyeokNonghyeop, IconGraphicsBankWoori, IconGraphicsBankScJeil, IconGraphicsBankSinhan, IconGraphicsBankHankookCity, IconGraphicsBankDaegu, IconGraphicsBankBusan, IconGraphicsBankGwangju, IconGraphicsBankJeju, IconGraphicsBankJeonbuk, IconGraphicsBankGyeongnam, IconGraphicsBankSaemaulGeumgo, IconGraphicsBankSinhyeop, IconGraphicsBankJeochuk, IconGraphicsBankHsbc, IconGraphicsBankABNAMRO, IconGraphicsBankSanlim, IconGraphicsBankPost, IconGraphicsBankKebHana, IconGraphicsBankKBank, IconGraphicsBankKakaoBank, IconGraphicsBankTossBank, IconGraphicsStockYuantaJeungkwon, IconGraphicsStockKbJeungkwon, IconGraphicsStockMiraeAssetJeungkwon, IconGraphicsStockSamsungJeungkwon, IconGraphicsStockHankookTujajeungkwon, IconGraphicsStockNhWooriTujajeungkwon, IconGraphicsStockGyoboJeungkwon, IconGraphicsStockHiTujajeungkwon, IconGraphicsStockHyundaiChaJeungkwon, IconGraphicsStockKiwoomJeungkwon, IconGraphicsStockSkJeungkwon, IconGraphicsStockDaesinJeungkwon, IconGraphicsStockHanwhaTujajeungkwon, IconGraphicsStockHanaGeumyungTujajeungkwon, IconGraphicsStockSinhanTujajeungkwon, IconGraphicsStockDbGeumyungTujajeungkwon, IconGraphicsStockYujinTujajeungkwon, IconGraphicsStockMeritzJeungkwon, IconGraphicsStockKakaoPayJeungkwon, IconGraphicsStockNhTujajeungkwon, IconGraphicsStockBugukJeungkwon, IconGraphicsStockSinyeongJeungkwon, IconGraphicsStockHochulEopsum, IconGraphicsFeedbackEmpty, IconIllustGrade, IconIllustJob, IconSubUiArrowRight, IconIllustVehicle } from 'sales-frontend-assets';
7
7
  import styles from './modal/pre-standard/job-search-modal/job-search-modal.module.scss';
8
8
  import styles$1 from './step-indicator/step-indicator.module.scss';
9
9
  import styles$2 from './camera/camera.module.scss';
@@ -13,7 +13,9 @@ import styles$5 from './modal/pre-standard/organization-search-modal/organizatio
13
13
  import styles$6 from './modal/pre-standard/employee-search-modal/employee-search-modal.module.scss';
14
14
  import styles$7 from './modal/pre-standard/job-vehicle-search-modal/job-vehicle-search-modal.module.scss';
15
15
  import styles$8 from './modal/pre-standard/vehicle-search-modal/vehicle-search-modal.module.scss';
16
- import styles$9 from './modal/standard/customer-search/customer-search.module.scss';
16
+ import { useQuery } from '@tanstack/react-query';
17
+ import styles$9 from './modal/pre-standard/dea-customer-search-modal/dea-customer-search-modal.module.scss';
18
+ import styles$a from './modal/standard/customer-search/customer-search.module.scss';
17
19
  import { MessageEventManager } from 'sales-frontend-utils';
18
20
 
19
21
  const FormCheckboxButton = ({
@@ -303,15 +305,15 @@ function JobSearchDetail({ occupationTypeCode, occupationIndustryCode }) {
303
305
  ] }) }) });
304
306
  }
305
307
 
306
- const cx$e = classNames.bind(styles);
308
+ const cx$g = classNames.bind(styles);
307
309
  function JobSearchCategory({ filteredJobs, onJobSelect, searchTerm }) {
308
- return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs("div", { className: cx$e("category-section"), children: [
309
- /* @__PURE__ */ jsxs("p", { className: cx$e("result-title"), children: [
310
+ return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs("div", { className: cx$g("category-section"), children: [
311
+ /* @__PURE__ */ jsxs("p", { className: cx$g("result-title"), children: [
310
312
  "\uCD1D ",
311
313
  /* @__PURE__ */ jsx("span", { className: "text-primary", children: filteredJobs.length }),
312
314
  "\uAC74\uC758 \uAC80\uC0C9\uACB0\uACFC"
313
315
  ] }),
314
- /* @__PURE__ */ jsx(Accordion.Root, { children: /* @__PURE__ */ jsx(Radio.Root, { name: "job-selection", size: "small", className: cx$e("job-radio-root"), onToggle: () => {
316
+ /* @__PURE__ */ jsx(Accordion.Root, { children: /* @__PURE__ */ jsx(Radio.Root, { name: "job-selection", size: "small", className: cx$g("job-radio-root"), onToggle: () => {
315
317
  }, children: filteredJobs.map((job, index) => /* @__PURE__ */ jsxs(
316
318
  Accordion.Item,
317
319
  {
@@ -342,23 +344,23 @@ function JobSearchCategory({ filteredJobs, onJobSelect, searchTerm }) {
342
344
  ] }) });
343
345
  }
344
346
 
345
- const cx$d = classNames.bind(styles);
347
+ const cx$f = classNames.bind(styles);
346
348
  function JobSearchFavorite({ filteredJobs, onJobSelect }) {
347
- return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs("div", { className: cx$d("popular-jobs"), children: [
349
+ return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs("div", { className: cx$f("popular-jobs"), children: [
348
350
  /* @__PURE__ */ jsx("p", { children: "\uB9CE\uC774 \uCC3E\uB294 \uC9C1\uC885" }),
349
- /* @__PURE__ */ jsx(Accordion.Root, { children: /* @__PURE__ */ jsx(Radio.Root, { name: "job-selection", size: "small", className: cx$d("job-radio-root"), children: filteredJobs.map((job, index) => /* @__PURE__ */ jsxs(
351
+ /* @__PURE__ */ jsx(Accordion.Root, { children: /* @__PURE__ */ jsx(Radio.Root, { name: "job-selection", size: "small", className: cx$f("job-radio-root"), children: filteredJobs.map((job, index) => /* @__PURE__ */ jsxs(
350
352
  Accordion.Item,
351
353
  {
352
354
  id: `item-${job.occupationIndustryCode}-${index}`,
353
- className: cx$d("accordion-item"),
355
+ className: cx$f("accordion-item"),
354
356
  children: [
355
- /* @__PURE__ */ jsx(Accordion.HeaderDiv, { className: cx$d("accordion-header-item"), children: /* @__PURE__ */ jsxs(
357
+ /* @__PURE__ */ jsx(Accordion.HeaderDiv, { className: cx$f("accordion-header-item"), children: /* @__PURE__ */ jsxs(
356
358
  Radio.Item,
357
359
  {
358
360
  size: "small",
359
361
  value: job.occupationIndustryCode,
360
362
  onChange: () => onJobSelect(job),
361
- className: cx$d("radio-item"),
363
+ className: cx$f("radio-item"),
362
364
  children: [
363
365
  job.occupationIndustryName,
364
366
  "(",
@@ -381,15 +383,15 @@ function JobSearchFavorite({ filteredJobs, onJobSelect }) {
381
383
  ] }) });
382
384
  }
383
385
 
384
- const cx$c = classNames.bind(styles);
386
+ const cx$e = classNames.bind(styles);
385
387
  function JobSearchResult({ filteredJobs, onJobSelect, searchTerm }) {
386
- return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs("div", { className: cx$c("popular-jobs"), children: [
387
- /* @__PURE__ */ jsxs("p", { className: cx$c("result-title"), children: [
388
+ return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs("div", { className: cx$e("popular-jobs"), children: [
389
+ /* @__PURE__ */ jsxs("p", { className: cx$e("result-title"), children: [
388
390
  "\uCD1D ",
389
391
  /* @__PURE__ */ jsx("span", { className: "text-primary", children: filteredJobs.length }),
390
392
  "\uAC74\uC758 \uAC80\uC0C9\uACB0\uACFC"
391
393
  ] }),
392
- /* @__PURE__ */ jsx(Accordion.Root, { children: /* @__PURE__ */ jsx(Radio.Root, { name: "job-selection", size: "small", className: cx$c("job-radio-root"), children: filteredJobs.map((job) => /* @__PURE__ */ jsxs(
394
+ /* @__PURE__ */ jsx(Accordion.Root, { children: /* @__PURE__ */ jsx(Radio.Root, { name: "job-selection", size: "small", className: cx$e("job-radio-root"), children: filteredJobs.map((job) => /* @__PURE__ */ jsxs(
393
395
  Accordion.Item,
394
396
  {
395
397
  id: `item-${job.occupationIndustryCode}`,
@@ -425,8 +427,8 @@ function JobSearchResult({ filteredJobs, onJobSelect, searchTerm }) {
425
427
  ] }) });
426
428
  }
427
429
 
428
- const { TextField: TextField$2 } = FormField;
429
- const cx$b = classNames.bind(styles);
430
+ const { TextField: TextField$3 } = FormField;
431
+ const cx$d = classNames.bind(styles);
430
432
  const { Option } = Select;
431
433
  function JobSearch({
432
434
  activeTab,
@@ -464,9 +466,9 @@ function JobSearch({
464
466
  }
465
467
  ),
466
468
  /* @__PURE__ */ jsxs("div", { children: [
467
- activeTab === "jobName" && /* @__PURE__ */ jsxs("div", { className: cx$b("favorite-jobs-section"), children: [
469
+ activeTab === "jobName" && /* @__PURE__ */ jsxs("div", { className: cx$d("favorite-jobs-section"), children: [
468
470
  /* @__PURE__ */ jsx(
469
- TextField$2,
471
+ TextField$3,
470
472
  {
471
473
  placeholder: "\uC9C1\uC885\uBA85 \uAC80\uC0C9",
472
474
  value: searchInput,
@@ -486,8 +488,8 @@ function JobSearch({
486
488
  !searchTerm && /* @__PURE__ */ jsx(JobSearchFavorite, { filteredJobs, onJobSelect }),
487
489
  searchTerm && !isLoading && /* @__PURE__ */ jsx(JobSearchResult, { filteredJobs, onJobSelect, searchTerm })
488
490
  ] }),
489
- activeTab === "jobCode" && /* @__PURE__ */ jsxs("div", { className: cx$b("select-jobs-section"), children: [
490
- /* @__PURE__ */ jsxs("div", { className: cx$b("category-section"), children: [
491
+ activeTab === "jobCode" && /* @__PURE__ */ jsxs("div", { className: cx$d("select-jobs-section"), children: [
492
+ /* @__PURE__ */ jsxs("div", { className: cx$d("category-section"), children: [
491
493
  /* @__PURE__ */ jsx(
492
494
  Select,
493
495
  {
@@ -909,7 +911,7 @@ const FormTextField = ({
909
911
  );
910
912
  };
911
913
 
912
- const cx$a = classNames.bind(styles$1);
914
+ const cx$c = classNames.bind(styles$1);
913
915
  const StepIndicator = ({
914
916
  items,
915
917
  onClickItem,
@@ -944,26 +946,26 @@ const StepIndicator = ({
944
946
  ModalUtils.alert("\uC774\uC804 \uB2E8\uACC4\uB97C \uBAA8\uB450 \uC644\uB8CC\uD574\uC57C \uC120\uD0DD\uD55C \uB2E8\uACC4\uB85C\n\uC774\uB3D9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.", "\uC774\uC804 \uB2E8\uACC4\uB97C \uBA3C\uC800 \uC9C4\uD589\uD574\uC8FC\uC138\uC694");
945
947
  }
946
948
  };
947
- return /* @__PURE__ */ jsxs("div", { className: cx$a("stepper-layout", { loading: isLoading }), children: [
948
- /* @__PURE__ */ jsx("div", { className: cx$a("stepper"), children: steps.map((item, idx) => /* @__PURE__ */ jsxs(React.Fragment, { children: [
949
+ return /* @__PURE__ */ jsxs("div", { className: cx$c("stepper-layout", { loading: isLoading }), children: [
950
+ /* @__PURE__ */ jsx("div", { className: cx$c("stepper"), children: steps.map((item, idx) => /* @__PURE__ */ jsxs(React.Fragment, { children: [
949
951
  /* @__PURE__ */ jsx(
950
952
  "div",
951
953
  {
952
- className: cx$a(
954
+ className: cx$c(
953
955
  "circle",
954
956
  { completed: item.isCompleted ?? false },
955
957
  { active: defaultValue === item.value || current === idx }
956
958
  ),
957
959
  onClick: () => handleClickStep?.(item),
958
- children: item.isCompleted ? /* @__PURE__ */ jsx("span", { className: cx$a("completed-icon") }) : idx + 1
960
+ children: item.isCompleted ? /* @__PURE__ */ jsx("span", { className: cx$c("completed-icon") }) : idx + 1
959
961
  }
960
962
  ),
961
- idx < steps.length - 1 && Array.from({ length: dotCount }).map((_, dotIdx) => /* @__PURE__ */ jsx("span", { className: cx$a("dot") }, `dot-${idx}-${dotIdx}`))
963
+ idx < steps.length - 1 && Array.from({ length: dotCount }).map((_, dotIdx) => /* @__PURE__ */ jsx("span", { className: cx$c("dot") }, `dot-${idx}-${dotIdx}`))
962
964
  ] }, `num-${idx}`)) }),
963
- /* @__PURE__ */ jsx("ul", { className: cx$a("step-labels"), children: steps.map((item, idx) => /* @__PURE__ */ jsx(
965
+ /* @__PURE__ */ jsx("ul", { className: cx$c("step-labels"), children: steps.map((item, idx) => /* @__PURE__ */ jsx(
964
966
  "li",
965
967
  {
966
- className: cx$a(
968
+ className: cx$c(
967
969
  { completed: steps[idx < 1 ? idx : idx - 1]?.isCompleted ?? false },
968
970
  { active: defaultValue === item.value || current === idx }
969
971
  ),
@@ -975,7 +977,7 @@ const StepIndicator = ({
975
977
  ] });
976
978
  };
977
979
 
978
- const cx$9 = classNames.bind(styles$2);
980
+ const cx$b = classNames.bind(styles$2);
979
981
  function Attachment({
980
982
  photos,
981
983
  onAddPhoto,
@@ -992,14 +994,14 @@ function Attachment({
992
994
  };
993
995
  const renderPhotoSingle = () => {
994
996
  if (photos.length === 0) {
995
- return /* @__PURE__ */ jsx("div", { className: cx$9("single-photo-item", "add-photo-item"), children: /* @__PURE__ */ jsxs("button", { className: cx$9("add-photo-button-single"), onClick: handleAddPhoto, children: [
997
+ return /* @__PURE__ */ jsx("div", { className: cx$b("single-photo-item", "add-photo-item"), children: /* @__PURE__ */ jsxs("button", { className: cx$b("add-photo-button-single"), onClick: handleAddPhoto, children: [
996
998
  /* @__PURE__ */ jsx(IconIllustCamera, {}),
997
999
  /* @__PURE__ */ jsx("span", { children: buttonText || "\uC0AC\uC9C4 \uCCA8\uBD80\uD558\uAE30" })
998
1000
  ] }) });
999
1001
  }
1000
- return photos.map((photo) => /* @__PURE__ */ jsxs("div", { className: cx$9("single-photo-item"), children: [
1001
- /* @__PURE__ */ jsx("div", { className: cx$9("photo-placeholder"), children: /* @__PURE__ */ jsx("img", { src: photo.src, alt: photo.name, className: cx$9("photo-image") }) }),
1002
- /* @__PURE__ */ jsx("button", { className: cx$9("remove-button"), onClick: () => handleRemovePhoto(photo.id), "aria-label": "\uC0AC\uC9C4 \uC0AD\uC81C", children: "\xD7" })
1002
+ return photos.map((photo) => /* @__PURE__ */ jsxs("div", { className: cx$b("single-photo-item"), children: [
1003
+ /* @__PURE__ */ jsx("div", { className: cx$b("photo-placeholder"), children: /* @__PURE__ */ jsx("img", { src: photo.src, alt: photo.name, className: cx$b("photo-image") }) }),
1004
+ /* @__PURE__ */ jsx("button", { className: cx$b("remove-button"), onClick: () => handleRemovePhoto(photo.id), "aria-label": "\uC0AC\uC9C4 \uC0AD\uC81C", children: "\xD7" })
1003
1005
  ] }, photo.id));
1004
1006
  };
1005
1007
  const renderPhotoGrid = () => {
@@ -1007,12 +1009,12 @@ function Attachment({
1007
1009
  const gridItems = [];
1008
1010
  if (photos.length < maxPhotos) {
1009
1011
  gridItems.push(
1010
- /* @__PURE__ */ jsx("div", { className: cx$9("photo-item", "add-photo-item"), children: /* @__PURE__ */ jsxs("button", { className: cx$9("add-photo-button"), onClick: handleAddPhoto, children: [
1012
+ /* @__PURE__ */ jsx("div", { className: cx$b("photo-item", "add-photo-item"), children: /* @__PURE__ */ jsxs("button", { className: cx$b("add-photo-button"), onClick: handleAddPhoto, children: [
1011
1013
  /* @__PURE__ */ jsx(IconIllustCamera, {}),
1012
1014
  /* @__PURE__ */ jsx("span", { children: buttonText || "\uCCA8\uBD80\uD558\uAE30" }),
1013
- /* @__PURE__ */ jsxs("span", { className: cx$9("photo-count"), children: [
1015
+ /* @__PURE__ */ jsxs("span", { className: cx$b("photo-count"), children: [
1014
1016
  "(",
1015
- /* @__PURE__ */ jsx("span", { className: cx$9("photo-count-number"), children: photos.length }),
1017
+ /* @__PURE__ */ jsx("span", { className: cx$b("photo-count-number"), children: photos.length }),
1016
1018
  "/",
1017
1019
  maxPhotos,
1018
1020
  ")"
@@ -1022,9 +1024,9 @@ function Attachment({
1022
1024
  }
1023
1025
  photos.forEach((photo) => {
1024
1026
  gridItems.push(
1025
- /* @__PURE__ */ jsxs("div", { className: cx$9("photo-item"), children: [
1026
- /* @__PURE__ */ jsx("div", { className: cx$9("photo-placeholder"), children: /* @__PURE__ */ jsx("img", { src: photo.src, alt: photo.name, className: cx$9("photo-image") }) }),
1027
- /* @__PURE__ */ jsx("button", { className: cx$9("remove-button"), onClick: () => handleRemovePhoto(photo.id), "aria-label": "\uC0AC\uC9C4 \uC0AD\uC81C", children: "\xD7" })
1027
+ /* @__PURE__ */ jsxs("div", { className: cx$b("photo-item"), children: [
1028
+ /* @__PURE__ */ jsx("div", { className: cx$b("photo-placeholder"), children: /* @__PURE__ */ jsx("img", { src: photo.src, alt: photo.name, className: cx$b("photo-image") }) }),
1029
+ /* @__PURE__ */ jsx("button", { className: cx$b("remove-button"), onClick: () => handleRemovePhoto(photo.id), "aria-label": "\uC0AC\uC9C4 \uC0AD\uC81C", children: "\xD7" })
1028
1030
  ] }, photo.id)
1029
1031
  );
1030
1032
  });
@@ -1035,9 +1037,9 @@ function Attachment({
1035
1037
  return null;
1036
1038
  }
1037
1039
  if (type === "single") {
1038
- return /* @__PURE__ */ jsx("div", { className: cx$9("photo-single"), children: renderPhotoSingle() });
1040
+ return /* @__PURE__ */ jsx("div", { className: cx$b("photo-single"), children: renderPhotoSingle() });
1039
1041
  }
1040
- return /* @__PURE__ */ jsx("div", { className: cx$9("photo-grid", { linear: type === "linear" }), children: renderPhotoGrid() });
1042
+ return /* @__PURE__ */ jsx("div", { className: cx$b("photo-grid", { linear: type === "linear" }), children: renderPhotoGrid() });
1041
1043
  }
1042
1044
 
1043
1045
  const maxImageSize = 3 * 1024 * 1024;
@@ -1484,12 +1486,12 @@ function useCanvasPaint(paintProps = {}) {
1484
1486
 
1485
1487
  const testSignatureBase64Data = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAABkCAYAAACoy2Z3AAAQAElEQVR4AeydV6g2ORnHj733smvBiliws9jbhYoFREVQsYIFVBBRUBQRvbCgKIgFCyqoCCqiXiioN/ZesKEXYlkVXV11Xdde/z+/L/u95z0zSeadlmT+h+RkJvMkeZ5/kudJm3kveeQ/I1AvAncX67+S/+8B/glKM6X7uzIbwofI7YxA3QjYgNRdf1vl/p4S/Dz5L8qfLT/UfVkJLpSfymE8LjtVZs7HCNSCgA1ILTVlPkHg4/r3Z/nPy19XPteh4En7ICW4sjwzl48qHOMwQP9RBsw6hhoP0h0dKbGdEagZARuQmmuvfd6fLhF/Kv9veRT1gxVeUT7HMUN5nwjvKn95+YfKf0IeA6RglIOfqyiHS8jnun+IEHr8pXRtZwSqR8AGpPoqbE6Ar0miv8pjMN6q8Mbyue30t6J9vjxKmqWtx+n6q/JTOWYy8JXDz67BgJ/LTcWE8zECpSCQ0xFK4XWPD982gsBLJMfv5VHM+HN0zYxBQbY7V5S3l2dZ6zUKp3bMWuAtd6nqn2LABkMg2LWNgA1I2/VbqnTvFmP/kkcpv0zhNeQPcT9SolvIM0v5rsKpXTAcuctmyMPMI9fQTM2v8zMCiyJgA7Io3JstjKUolpcYmaNkOUJ76D4A6X8oJK8vj/HAiOhyUjfUcDCDYpmK/rSJmcekaDuzahGgwVfLvBkvFoEPiTNOGqHs8WyGX1txl5Y/xGF4vqWEN5Knzd5aIe9/KJjUYdTgd8iMA8NxrUm5cGZGoBIE6IyVsGo2K0DgXeIRBfxIhShWBQc7Nqw/otTkw5LQnXX9c/k5HKeq4Jtltdz84c/9Jxct0zWJgDvAGtXaXpm/kUgo4CcrHONYCnqeMsBosJH+CF3P5cJJL/ge0g8wHIG/uXhzvkagCgSGd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YARMAJrIdBTrg1IDzCONgJGwAgYgTgCNiBxfPzUCBgBI2AEehCwAekBxtFGYDoEnJMRaBMBG5A269VSGQEjYARmR8AGZHaIXYARMAJGoE0EajAgbSJvqYyAETAClSNgA1J5BZp9I2AEjMBaCNiArIW8yzUCNSBgHo1ABAEbkAg4fmQEjIARMAL9CNiA9GPjJ0bACBgBIxBBwAYkAs74R87BCBgBI9AuAjYg7datJTMCRsAIzIqADcis8DpzI2AE1kLA5c6PwP8AAAD//+3/3TsAAAAGSURBVAMAJI6e9smFlTAAAAAASUVORK5CYII=";
1486
1488
 
1487
- const cx$8 = classNames.bind(styles$3);
1489
+ const cx$a = classNames.bind(styles$3);
1488
1490
  const { InputBox: InputBox$1, Input: Input$1 } = FormCore;
1489
1491
  const AddressSearchInitialText = () => {
1490
- return /* @__PURE__ */ jsxs("div", { className: cx$8("search-result-list"), children: [
1491
- /* @__PURE__ */ jsx("p", { className: cx$8("guide-title"), children: "\uC774\uB807\uAC8C \uAC80\uC0C9\uD574 \uBCF4\uC138\uC694." }),
1492
- /* @__PURE__ */ jsxs("ul", { className: cx$8("guide"), children: [
1492
+ return /* @__PURE__ */ jsxs("div", { className: cx$a("search-result-list"), children: [
1493
+ /* @__PURE__ */ jsx("p", { className: cx$a("guide-title"), children: "\uC774\uB807\uAC8C \uAC80\uC0C9\uD574 \uBCF4\uC138\uC694." }),
1494
+ /* @__PURE__ */ jsxs("ul", { className: cx$a("guide"), children: [
1493
1495
  /* @__PURE__ */ jsx("li", { children: "\uB3C4\uB85C\uBA85/\uC9C0\uBA85\uACFC \uAC74\uBB3C\uBC88\uD638\uB97C \uD568\uAED8 \uC785\uB825\uD574\uC8FC\uC138\uC694" }),
1494
1496
  /* @__PURE__ */ jsx("li", { children: "\uC608) 63\uB85C 50, \uC5EC\uC758\uB3C4\uB3D9 60" }),
1495
1497
  /* @__PURE__ */ jsx("li", { children: "\uC9C0\uBA85\uC740 \uB3D9/\uC74D/\uBA74/\uB9AC\uB85C \uC785\uB825\uD574\uC8FC\uC138\uC694" }),
@@ -1505,8 +1507,8 @@ const AddressSearchResult = ({
1505
1507
  searchKeyword,
1506
1508
  selectedAddress
1507
1509
  }) => {
1508
- return /* @__PURE__ */ jsxs("div", { className: cx$8("search-result-list"), children: [
1509
- /* @__PURE__ */ jsxs("p", { className: cx$8("guide-title"), children: [
1510
+ return /* @__PURE__ */ jsxs("div", { className: cx$a("search-result-list"), children: [
1511
+ /* @__PURE__ */ jsxs("p", { className: cx$a("guide-title"), children: [
1510
1512
  "\uCD1D ",
1511
1513
  /* @__PURE__ */ jsx("span", { className: "text-primary", children: addressSearchList.length }),
1512
1514
  "\uAC74\uC758 \uAC80\uC0C9\uACB0\uACFC"
@@ -1518,15 +1520,15 @@ const AddressSearchResult = ({
1518
1520
  return {
1519
1521
  value: JSON.stringify(item),
1520
1522
  select: item.roadNameBaseAddress === selectedAddress?.roadNameBaseAddress && item.roadNameDetailAddress === selectedAddress?.roadNameDetailAddress && item.mainBuildingName === selectedAddress?.mainBuildingName,
1521
- label: /* @__PURE__ */ jsxs("div", { className: cx$8("search-result"), children: [
1522
- /* @__PURE__ */ jsx("div", { className: cx$8("zipcode"), children: highlightOnSearchKeyword$1(`${item.firstPostalCode}${item.secondPostalCode}`, searchKeyword) }),
1523
- /* @__PURE__ */ jsx("div", { className: cx$8("divider") }),
1524
- /* @__PURE__ */ jsxs("div", { className: cx$8("address-info"), children: [
1525
- /* @__PURE__ */ jsx("span", { className: cx$8("address"), children: highlightOnSearchKeyword$1(
1523
+ label: /* @__PURE__ */ jsxs("div", { className: cx$a("search-result"), children: [
1524
+ /* @__PURE__ */ jsx("div", { className: cx$a("zipcode"), children: highlightOnSearchKeyword$1(`${item.firstPostalCode}${item.secondPostalCode}`, searchKeyword) }),
1525
+ /* @__PURE__ */ jsx("div", { className: cx$a("divider") }),
1526
+ /* @__PURE__ */ jsxs("div", { className: cx$a("address-info"), children: [
1527
+ /* @__PURE__ */ jsx("span", { className: cx$a("address"), children: highlightOnSearchKeyword$1(
1526
1528
  `${item.roadNameBaseAddress} ${item.roadNameDetailAddress} ${item.mainBuildingName}`,
1527
1529
  searchKeyword
1528
1530
  ) }),
1529
- /* @__PURE__ */ jsx("span", { className: cx$8("old-address"), children: highlightOnSearchKeyword$1(
1531
+ /* @__PURE__ */ jsx("span", { className: cx$a("old-address"), children: highlightOnSearchKeyword$1(
1530
1532
  `${item.landNumberBaseAddress} ${item.landNumberDetailAddress}`,
1531
1533
  searchKeyword
1532
1534
  ) })
@@ -1535,7 +1537,7 @@ const AddressSearchResult = ({
1535
1537
  id: JSON.stringify(item)
1536
1538
  };
1537
1539
  }),
1538
- className: cx$8("radio-group"),
1540
+ className: cx$a("radio-group"),
1539
1541
  name: "address-search",
1540
1542
  size: "medium",
1541
1543
  defaultValue: "",
@@ -1550,36 +1552,42 @@ const AddressSearchResult = ({
1550
1552
  ] });
1551
1553
  };
1552
1554
  const AddressSearchDetailInput = ({
1553
- addressStandardizationList,
1555
+ selectedStandardizationAddress,
1554
1556
  onDetailChange,
1555
- onStandardizationChange,
1556
1557
  step,
1558
+ onStandardizationChange,
1557
1559
  detailAddressInput
1558
1560
  }) => {
1559
- return /* @__PURE__ */ jsxs("div", { className: cx$8("search-result-list"), children: [
1561
+ const { land, road } = selectedStandardizationAddress;
1562
+ return /* @__PURE__ */ jsxs("div", { className: cx$a("search-result-list"), children: [
1560
1563
  /* @__PURE__ */ jsx(
1561
- RadioGroup,
1564
+ Radio.Root,
1562
1565
  {
1563
- items: addressStandardizationList.map((item) => {
1564
- return {
1565
- value: JSON.stringify(item),
1566
- select: true,
1567
- label: /* @__PURE__ */ jsxs("div", { className: cx$8("search-result"), children: [
1568
- /* @__PURE__ */ jsx("div", { className: cx$8("zipcode"), children: `${item.firstPostalCode}${item.secondPostalCode}` }),
1569
- /* @__PURE__ */ jsx("div", { className: cx$8("divider") }),
1570
- /* @__PURE__ */ jsxs("div", { className: cx$8("address-info"), children: [
1571
- /* @__PURE__ */ jsx("span", { className: cx$8("address"), children: `${item.baseAddress} ${item.detailAddress}` }),
1572
- /* @__PURE__ */ jsx("span", { className: cx$8("old-address"), children: `${item.baseAddress} ${item.detailAddress}` })
1573
- ] })
1574
- ] }),
1575
- id: JSON.stringify(item)
1576
- };
1577
- }),
1578
- className: cx$8("radio-group"),
1579
1566
  name: "address-search-standardization",
1580
1567
  size: "medium",
1581
- defaultValue: "",
1582
- onChange: onStandardizationChange
1568
+ defaultValue: JSON.stringify(selectedStandardizationAddress),
1569
+ children: /* @__PURE__ */ jsx(
1570
+ Radio.Item,
1571
+ {
1572
+ className: cx$a("radio-group"),
1573
+ value: JSON.stringify(selectedStandardizationAddress),
1574
+ onChange: onStandardizationChange,
1575
+ children: /* @__PURE__ */ jsxs("div", { className: cx$a("search-result"), children: [
1576
+ /* @__PURE__ */ jsx(
1577
+ "div",
1578
+ {
1579
+ className: cx$a("zipcode"),
1580
+ children: `${selectedStandardizationAddress.land?.firstPostalCode}${land?.secondPostalCode}`
1581
+ }
1582
+ ),
1583
+ /* @__PURE__ */ jsx("div", { className: cx$a("divider") }),
1584
+ /* @__PURE__ */ jsxs("div", { className: cx$a("address-info"), children: [
1585
+ /* @__PURE__ */ jsx("span", { className: cx$a("address"), children: `${road?.baseAddress} ${road?.detailAddress}` }),
1586
+ /* @__PURE__ */ jsx("span", { className: cx$a("old-address"), children: `${land?.baseAddress} ${land?.detailAddress}` })
1587
+ ] })
1588
+ ] })
1589
+ }
1590
+ )
1583
1591
  }
1584
1592
  ),
1585
1593
  /* @__PURE__ */ jsxs("div", { className: "d-flex gap-medium items-center", children: [
@@ -1620,7 +1628,8 @@ function AddressComponent({ isOpen, onClose, setValue }) {
1620
1628
  searchInput,
1621
1629
  selectedAddress,
1622
1630
  onStandardizationChange,
1623
- addressStandardizationList
1631
+ selectedStandardizationAddress,
1632
+ isLoading
1624
1633
  } = useSearchAddress({
1625
1634
  setValue,
1626
1635
  onClose,
@@ -1643,7 +1652,7 @@ function AddressComponent({ isOpen, onClose, setValue }) {
1643
1652
  }
1644
1653
  ) }),
1645
1654
  addressSearchStep === "initial" && /* @__PURE__ */ jsx(AddressSearchInitialText, {}),
1646
- addressSearchStep === "search-result" && /* @__PURE__ */ jsx(
1655
+ !isLoading && addressSearchStep === "search-result" && /* @__PURE__ */ jsx(
1647
1656
  AddressSearchResult,
1648
1657
  {
1649
1658
  onChange: onSelectChange,
@@ -1652,10 +1661,10 @@ function AddressComponent({ isOpen, onClose, setValue }) {
1652
1661
  selectedAddress
1653
1662
  }
1654
1663
  ),
1655
- addressSearchStep === "detail-input" && selectedAddress && /* @__PURE__ */ jsx(
1664
+ !isLoading && addressSearchStep === "detail-input" && selectedAddress && selectedStandardizationAddress && /* @__PURE__ */ jsx(
1656
1665
  AddressSearchDetailInput,
1657
1666
  {
1658
- addressStandardizationList,
1667
+ selectedStandardizationAddress,
1659
1668
  onStandardizationChange,
1660
1669
  onDetailChange: setDetail,
1661
1670
  step: addressSearchStep,
@@ -1698,11 +1707,11 @@ function useSearchAddress({ setValue, onClose, isOpen }) {
1698
1707
  detailAddress: "",
1699
1708
  roadNameYn: "Y"
1700
1709
  });
1701
- const { data: addressData } = useSearchAddressQuery(
1710
+ const { data: addressData, isLoading: isLoadingAddress } = useSearchAddressQuery(
1702
1711
  { searchKeyWord: searchKeyword },
1703
1712
  { enabled: !!searchKeyword && searchType === "address" }
1704
1713
  );
1705
- const { data: postalData } = useSearchPostalCodeQuery(
1714
+ const { data: postalData, isLoading: isLoadingPostalCode } = useSearchPostalCodeQuery(
1706
1715
  { searchWordName: searchKeyword },
1707
1716
  { enabled: !!searchKeyword && searchType === "postalcode" }
1708
1717
  );
@@ -1810,8 +1819,17 @@ function useSearchAddress({ setValue, onClose, isOpen }) {
1810
1819
  setSearchKeyword("");
1811
1820
  }
1812
1821
  }, [isOpen]);
1822
+ useEffect(() => {
1823
+ const road = standardizedData?.data?.addressStandardizationList[1];
1824
+ const land = standardizedData?.data?.addressStandardizationList[2];
1825
+ if (road && land) {
1826
+ setSelectedStandardizationAddress({
1827
+ land,
1828
+ road
1829
+ });
1830
+ }
1831
+ }, [standardizedData]);
1813
1832
  return {
1814
- addressStandardizationList: standardizedData?.data?.addressStandardizationList || [],
1815
1833
  selectedStandardizationAddress,
1816
1834
  onStandardizationChange,
1817
1835
  onAddressSearchClear: onClear,
@@ -1828,7 +1846,8 @@ function useSearchAddress({ setValue, onClose, isOpen }) {
1828
1846
  onSelectChange,
1829
1847
  setDetail,
1830
1848
  search,
1831
- searchInput
1849
+ searchInput,
1850
+ isLoading: isLoadingAddress || isLoadingPostalCode
1832
1851
  };
1833
1852
  }
1834
1853
  const useAddressComponent = () => {
@@ -1842,69 +1861,330 @@ const useAddressComponent = () => {
1842
1861
  };
1843
1862
  };
1844
1863
 
1845
- const BANK_LIST = [
1846
- { label: "HSBC", value: "HSBC", Icon: IconGraphicsBankHsbc },
1847
- { label: "KEB\uD558\uB098", value: "KEB\uD558\uB098", Icon: IconGraphicsBankKebHana },
1848
- { label: "SC\uC81C\uC77C", value: "SC\uC81C\uC77C", Icon: IconGraphicsBankScJeil },
1849
- { label: "\uACBD\uB0A8", value: "\uACBD\uB0A8", Icon: IconGraphicsBankGyeongnam },
1850
- { label: "\uAD11\uC8FC", value: "\uAD11\uC8FC", Icon: IconGraphicsBankGwangju },
1851
- { label: "\uAD6D\uBBFC", value: "\uAD6D\uBBFC", Icon: IconGraphicsBankKukmin },
1852
- { label: "\uAE30\uC5C5", value: "\uAE30\uC5C5", Icon: IconGraphicsBankKiup },
1853
- { label: "\uC9C0\uC5ED\uB18D\uD611", value: "\uC9C0\uC5ED\uB18D\uD611", Icon: IconGraphicsBankJiyeokNonghyeop },
1854
- { label: "NH\uB18D\uD611", value: "NH\uB18D\uD611", Icon: IconGraphicsBankNhNonghyeop },
1855
- { label: "\uB300\uAD6C", value: "\uB300\uAD6C", Icon: IconGraphicsBankDaegu },
1856
- { label: "\uBD80\uC0B0", value: "\uBD80\uC0B0", Icon: IconGraphicsBankBusan },
1857
- { label: "\uC0B0\uB9BC\uC870\uD569", value: "\uC0B0\uB9BC\uC870\uD569", Icon: IconGraphicsBankSanlim },
1858
- { label: "\uC0B0\uC5C5", value: "\uC0B0\uC5C5", Icon: IconGraphicsBankSaneop },
1859
- { label: "\uC0C8\uB9C8\uC744\uAE08\uACE0", value: "\uC0C8\uB9C8\uC744\uAE08\uACE0", Icon: IconGraphicsBankSaemaulGeumgo },
1860
- { label: "\uC218\uD611", value: "\uC218\uD611", Icon: IconGraphicsBankSuhyeop },
1861
- { label: "\uC2E0\uD55C", value: "\uC2E0\uD55C", Icon: IconGraphicsBankSinhan },
1862
- { label: "\uC2E0\uD611", value: "\uC2E0\uD611", Icon: IconGraphicsBankSinhyeop },
1863
- { label: "\uC678\uD658", value: "\uC678\uD658", Icon: IconGraphicsBankOehwan },
1864
- { label: "\uC6B0\uB9AC", value: "\uC6B0\uB9AC", Icon: IconGraphicsBankWoori },
1865
- { label: "\uC6B0\uCCB4\uAD6D", value: "\uC6B0\uCCB4\uAD6D", Icon: IconGraphicsBankPost },
1866
- { label: "\uC800\uCD95", value: "\uC800\uCD95", Icon: IconGraphicsBankJeochuk },
1867
- { label: "\uC804\uBD81", value: "\uC804\uBD81", Icon: IconGraphicsBankJeonbuk },
1868
- { label: "\uC81C\uC8FC", value: "\uC81C\uC8FC", Icon: IconGraphicsBankJeju },
1869
- { label: "\uCE74\uCE74\uC624\uBC45\uD06C", value: "\uCE74\uCE74\uC624\uBC45\uD06C", Icon: IconGraphicsBankKakaoBank },
1870
- { label: "\uCF00\uC774\uBC45\uD06C", value: "\uCF00\uC774\uBC45\uD06C", Icon: IconGraphicsBankKBank },
1871
- { label: "\uD55C\uAD6D\uC528\uD2F0", value: "\uD55C\uAD6D\uC528\uD2F0", Icon: IconGraphicsBankHankookCity }
1872
- ];
1873
- const STOCK_LIST = [
1874
- { label: "DB\uAE08\uC735\n\uD22C\uC790\uC99D\uAD8C", value: "DB\uAE08\uC735\uD22C\uC790", Icon: IconGraphicsStockDbGeumyungTujajeungkwon },
1875
- { label: "KB\uC99D\uAD8C", value: "KB\uC99D\uAD8C", Icon: IconGraphicsStockKbJeungkwon },
1876
- { label: "NH(\uC6B0\uB9AC)\n\uD22C\uC790\uC99D\uAD8C", value: "NH(\uC6B0\uB9AC)\uD22C\uC790\uC99D\uAD8C", Icon: IconGraphicsStockNhWooriTujajeungkwon },
1877
- { label: "NH\n\uD22C\uC790\uC99D\uAD8C", value: "NH\uD22C\uC790\uC99D\uAD8C", Icon: IconGraphicsStockNhTujajeungkwon },
1878
- { label: "SK\uC99D\uAD8C", value: "SK\uC99D\uAD8C", Icon: IconGraphicsStockSkJeungkwon },
1879
- { label: "\uAD50\uBCF4\uC99D\uAD8C", value: "\uAD50\uBCF4\uC99D\uAD8C", Icon: IconGraphicsStockGyoboJeungkwon },
1880
- { label: "\uB300\uC2E0\uC99D\uAD8C", value: "\uB300\uC2E0\uC99D\uAD8C", Icon: IconGraphicsStockDaesinJeungkwon },
1881
- { label: "\uBA54\uB9AC\uCE20\uC99D\uAD8C", value: "\uBA54\uB9AC\uCE20\uC99D\uAD8C", Icon: IconGraphicsStockMeritzJeungkwon },
1882
- { label: "\uBBF8\uB798\uC5D0\uC14B\n\uC99D\uAD8C", value: "\uBBF8\uB798\uC5D0\uC14B\uC99D\uAD8C", Icon: IconGraphicsStockMiraeAssetJeungkwon },
1883
- { label: "\uBD80\uAD6D\uC99D\uAD8C", value: "\uBD80\uAD6D\uC99D\uAD8C", Icon: IconGraphicsStockBugukJeungkwon },
1884
- { label: "\uC0BC\uC131\uC99D\uAD8C", value: "\uC0BC\uC131\uC99D\uAD8C", Icon: IconGraphicsStockSamsungJeungkwon },
1885
- { label: "\uC2E0\uC601\uC99D\uAD8C", value: "\uC2E0\uC601\uC99D\uAD8C", Icon: IconGraphicsStockSinyeongJeungkwon },
1886
- { label: "\uC2E0\uD55C\uAE08\uC735\n\uD22C\uC790\uC99D\uAD8C", value: "\uC2E0\uD55C\uAE08\uC735\uD22C\uC790\uC99D\uAD8C", Icon: IconGraphicsStockSinhanTujajeungkwon },
1887
- { label: "\uC720\uC548\uD0C0\uC99D\uAD8C", value: "\uC720\uC548\uD0C0\uC99D\uAD8C", Icon: IconGraphicsStockYuantaJeungkwon },
1888
- { label: "\uC720\uC9C4\n\uD22C\uC790\uC99D\uAD8C", value: "\uC720\uC9C4\uD22C\uC790\uC99D\uAD8C", Icon: IconGraphicsStockYujinTujajeungkwon },
1889
- { label: "\uD0A4\uC6C0\uC99D\uAD8C", value: "\uD0A4\uC6C0\uC99D\uAD8C", Icon: IconGraphicsStockKiwoomJeungkwon },
1890
- { label: "\uD558\uB098\uAE08\uC735\n\uD22C\uC790\uC99D\uAD8C", value: "\uD558\uB098\uAE08\uC735\uD22C\uC790\uC99D\uAD8C", Icon: IconGraphicsStockHanaGeumyungTujajeungkwon },
1891
- { label: "\uD558\uC774\n\uD22C\uC790\uC99D\uAD8C", value: "\uD558\uC774\uD22C\uC790\uC99D\uAD8C", Icon: IconGraphicsStockHiTujajeungkwon },
1892
- { label: "\uD55C\uAD6D\uC99D\uAD8C\n\uAE08\uC735", value: "\uD55C\uAD6D\uC99D\uAD8C\uAE08\uC735", Icon: IconGraphicsStockHankookJeungkwonGeumyung },
1893
- { label: "\uD55C\uAD6D\n\uD22C\uC790\uC99D\uAD8C", value: "\uD55C\uAD6D\uD22C\uC790\uC99D\uAD8C", Icon: IconGraphicsStockHankookTujajeungkwon },
1894
- { label: "\uD55C\uD654\n\uD22C\uC790\uC99D\uAD8C", value: "\uD55C\uD654\uD22C\uC790\uC99D\uAD8C", Icon: IconGraphicsStockHanwhaTujajeungkwon },
1895
- { label: "\uD604\uB300\uCC28\uC99D\uAD8C", value: "\uD604\uB300\uCC28\uC99D\uAD8C", Icon: IconGraphicsStockHyundaiChaJeungkwon },
1896
- { label: "\uD638\uCD9C\uC5C6\uC74C", value: "\uD638\uCD9C\uC5C6\uC74C", Icon: IconGraphicsStockHochulEopsum }
1864
+ const CODE_ICON_LIST = [
1865
+ {
1866
+ codeVal: "002",
1867
+ codeName: "\uC0B0\uC5C5\uC740\uD589",
1868
+ replaceName: "\uC0B0\uC5C5",
1869
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankSaneop, {})
1870
+ },
1871
+ {
1872
+ codeVal: "003",
1873
+ codeName: "\uAE30\uC5C5\uC740\uD589",
1874
+ replaceName: "\uAE30\uC5C5",
1875
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankKiup, {})
1876
+ },
1877
+ {
1878
+ codeVal: "004",
1879
+ codeName: "\uAD6D\uBBFC\uC740\uD589",
1880
+ replaceName: "\uAD6D\uBBFC",
1881
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankKukmin, {})
1882
+ },
1883
+ {
1884
+ codeVal: "007",
1885
+ codeName: "\uC218\uD611\uC740\uD589",
1886
+ replaceName: "\uC218\uD611",
1887
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankSuhyeop, {})
1888
+ },
1889
+ {
1890
+ codeVal: "009",
1891
+ codeName: "\uC7A5\uAE30\uC2E0\uC6A9\uC740\uD589",
1892
+ replaceName: "\uC7A5\uAE30\uC2E0\uC6A9",
1893
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankJangGiSinYong, {})
1894
+ },
1895
+ {
1896
+ codeVal: "011",
1897
+ codeName: "\uB18D\uD611\uC740\uD589",
1898
+ replaceName: "NH\uB18D\uD611",
1899
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankNhNonghyeop, {})
1900
+ },
1901
+ {
1902
+ codeVal: "012",
1903
+ codeName: "\uB18D\uC870",
1904
+ replaceName: "\uC9C0\uC5ED\uB18D\uD611",
1905
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankJiyeokNonghyeop, {})
1906
+ },
1907
+ {
1908
+ codeVal: "020",
1909
+ codeName: "\uC6B0\uB9AC\uC740\uD589",
1910
+ replaceName: "\uC6B0\uB9AC",
1911
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankWoori, {})
1912
+ },
1913
+ {
1914
+ codeVal: "023",
1915
+ codeName: "\uC2A4\uD0E0\uB2E4\uB4DC\uCC28\uD0C0\uB4DC",
1916
+ replaceName: "SC\uC81C\uC77C",
1917
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankScJeil, {})
1918
+ },
1919
+ {
1920
+ codeVal: "026",
1921
+ codeName: "(\uAD6C)\uC2E0\uD55C\uC740\uD589",
1922
+ replaceName: "\uC2E0\uD55C",
1923
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankSinhan, {})
1924
+ },
1925
+ {
1926
+ codeVal: "027",
1927
+ codeName: "\uD55C\uAD6D\uC528\uD2F0\uC740\uD589",
1928
+ replaceName: "\uD55C\uAD6D\uC528\uD2F0",
1929
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankHankookCity, {})
1930
+ },
1931
+ {
1932
+ codeVal: "031",
1933
+ codeName: "iM(\uB300\uAD6C)\uBC45\uD06C",
1934
+ replaceName: "\uB300\uAD6C",
1935
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankDaegu, {})
1936
+ },
1937
+ {
1938
+ codeVal: "032",
1939
+ codeName: "\uBD80\uC0B0\uC740\uD589",
1940
+ replaceName: "\uBD80\uC0B0",
1941
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankBusan, {})
1942
+ },
1943
+ {
1944
+ codeVal: "034",
1945
+ codeName: "\uAD11\uC8FC\uC740\uD589",
1946
+ replaceName: "\uAD11\uC8FC",
1947
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankGwangju, {})
1948
+ },
1949
+ {
1950
+ codeVal: "035",
1951
+ codeName: "\uC81C\uC8FC\uC740\uD589",
1952
+ replaceName: "\uC81C\uC8FC",
1953
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankJeju, {})
1954
+ },
1955
+ {
1956
+ codeVal: "037",
1957
+ codeName: "\uC804\uBD81\uC740\uD589",
1958
+ replaceName: "\uC804\uBD81",
1959
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankJeonbuk, {})
1960
+ },
1961
+ {
1962
+ codeVal: "039",
1963
+ codeName: "\uACBD\uB0A8\uC740\uD589",
1964
+ replaceName: "\uACBD\uB0A8",
1965
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankGyeongnam, {})
1966
+ },
1967
+ {
1968
+ codeVal: "045",
1969
+ codeName: "\uC0C8\uB9C8\uC744\uAE08\uACE0\uC911\uC559\uD68C",
1970
+ replaceName: "\uC0C8\uB9C8\uC744\uAE08\uACE0",
1971
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankSaemaulGeumgo, {})
1972
+ },
1973
+ {
1974
+ codeVal: "048",
1975
+ codeName: "\uC2E0\uD611",
1976
+ replaceName: "\uC2E0\uD611",
1977
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankSinhyeop, {})
1978
+ },
1979
+ {
1980
+ codeVal: "050",
1981
+ codeName: "\uC800\uCD95\uC740\uD589",
1982
+ replaceName: "\uC800\uCD95",
1983
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankJeochuk, {})
1984
+ },
1985
+ {
1986
+ codeVal: "054",
1987
+ codeName: "HSBC\uC740\uD589",
1988
+ replaceName: "HSBC",
1989
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankHsbc, {})
1990
+ },
1991
+ {
1992
+ codeVal: "056",
1993
+ codeName: "\uC5D0\uC774\uBE44\uC5D4\uC554\uB85C\uC740\uD589",
1994
+ replaceName: "\uC5D0\uC774\uBE44\uC5D4\uC554\uB85C",
1995
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankABNAMRO, {})
1996
+ },
1997
+ {
1998
+ codeVal: "064",
1999
+ codeName: "\uC0B0\uB9BC\uC870\uD569\uC911\uC559\uD68C",
2000
+ replaceName: "\uC0B0\uB9BC\uC870\uD569",
2001
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankSanlim, {})
2002
+ },
2003
+ {
2004
+ codeVal: "071",
2005
+ codeName: "\uC6B0\uCCB4\uAD6D",
2006
+ replaceName: "\uC6B0\uCCB4\uAD6D",
2007
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankPost, {})
2008
+ },
2009
+ {
2010
+ codeVal: "081",
2011
+ codeName: "KEB\uD558\uB098\uC740\uD589",
2012
+ replaceName: "KEB\uD558\uB098",
2013
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankKebHana, {})
2014
+ },
2015
+ {
2016
+ codeVal: "088",
2017
+ codeName: "\uC2E0\uD55C\uC740\uD589",
2018
+ replaceName: "\uC2E0\uD55C",
2019
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankSinhan, {})
2020
+ },
2021
+ {
2022
+ codeVal: "089",
2023
+ codeName: "\uCF00\uC774\uBC45\uD06C",
2024
+ replaceName: "\uCF00\uC774\uBC45\uD06C",
2025
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankKBank, {})
2026
+ },
2027
+ {
2028
+ codeVal: "090",
2029
+ codeName: "\uCE74\uCE74\uC624\uBC45\uD06C",
2030
+ replaceName: "\uCE74\uCE74\uC624\uBC45\uD06C",
2031
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankKakaoBank, {})
2032
+ },
2033
+ {
2034
+ codeVal: "092",
2035
+ codeName: "\uD1A0\uC2A4\uBC45\uD06C",
2036
+ replaceName: "\uD1A0\uC2A4\uBC45\uD06C",
2037
+ icon: /* @__PURE__ */ jsx(IconGraphicsBankTossBank, {})
2038
+ },
2039
+ {
2040
+ codeVal: "209",
2041
+ codeName: "\uC720\uC548\uD0C0\uC99D\uAD8C",
2042
+ replaceName: "\uC720\uC548\uD0C0\uC99D\uAD8C",
2043
+ icon: /* @__PURE__ */ jsx(IconGraphicsStockYuantaJeungkwon, {})
2044
+ },
2045
+ {
2046
+ codeVal: "218",
2047
+ codeName: "KB\uC99D\uAD8C",
2048
+ replaceName: "KB\uC99D\uAD8C",
2049
+ icon: /* @__PURE__ */ jsx(IconGraphicsStockKbJeungkwon, {})
2050
+ },
2051
+ {
2052
+ codeVal: "230",
2053
+ codeName: "\uBBF8\uB798\uC5D0\uC14B\uC99D\uAD8C",
2054
+ replaceName: "\uBBF8\uB798\uC5D0\uC14B\uC99D\uAD8C",
2055
+ icon: /* @__PURE__ */ jsx(IconGraphicsStockMiraeAssetJeungkwon, {})
2056
+ },
2057
+ {
2058
+ codeVal: "238",
2059
+ codeName: "\uB300\uC6B0\uC99D\uAD8C",
2060
+ replaceName: "\uB300\uC6B0\uC99D\uAD8C",
2061
+ icon: /* @__PURE__ */ jsx(IconGraphicsStockMiraeAssetJeungkwon, {})
2062
+ },
2063
+ {
2064
+ codeVal: "240",
2065
+ codeName: "\uC0BC\uC131\uC99D\uAD8C",
2066
+ replaceName: "\uC0BC\uC131\uC99D\uAD8C",
2067
+ icon: /* @__PURE__ */ jsx(IconGraphicsStockSamsungJeungkwon, {})
2068
+ },
2069
+ {
2070
+ codeVal: "243",
2071
+ codeName: "\uD55C\uAD6D\uD22C\uC790\uC99D\uAD8C",
2072
+ replaceName: "\uD55C\uAD6D\uD22C\uC790\uC99D\uAD8C",
2073
+ icon: /* @__PURE__ */ jsx(IconGraphicsStockHankookTujajeungkwon, {})
2074
+ },
2075
+ {
2076
+ codeVal: "247",
2077
+ codeName: "\uC6B0\uB9AC\uD22C\uC790\uC99D\uAD8C",
2078
+ replaceName: "NH(\uC6B0\uB9AC)\uD22C\uC790\uC99D\uAD8C",
2079
+ icon: /* @__PURE__ */ jsx(IconGraphicsStockNhWooriTujajeungkwon, {})
2080
+ },
2081
+ {
2082
+ codeVal: "261",
2083
+ codeName: "\uAD50\uBCF4\uC99D\uAD8C",
2084
+ replaceName: "\uAD50\uBCF4\uC99D\uAD8C",
2085
+ icon: /* @__PURE__ */ jsx(IconGraphicsStockGyoboJeungkwon, {})
2086
+ },
2087
+ {
2088
+ codeVal: "262",
2089
+ codeName: "\uD558\uC774\uD22C\uC790\uC99D\uAD8C",
2090
+ replaceName: "\uD558\uC774\uD22C\uC790\uC99D\uAD8C",
2091
+ icon: /* @__PURE__ */ jsx(IconGraphicsStockHiTujajeungkwon, {})
2092
+ },
2093
+ {
2094
+ codeVal: "263",
2095
+ codeName: "\uD604\uB300\uCC28\uD22C\uC790\uC99D\uAD8C",
2096
+ replaceName: "\uD604\uB300\uCC28\uC99D\uAD8C",
2097
+ icon: /* @__PURE__ */ jsx(IconGraphicsStockHyundaiChaJeungkwon, {})
2098
+ },
2099
+ {
2100
+ codeVal: "264",
2101
+ codeName: "\uD0A4\uC6C0\uC99D\uAD8C",
2102
+ replaceName: "\uD0A4\uC6C0\uC99D\uAD8C",
2103
+ icon: /* @__PURE__ */ jsx(IconGraphicsStockKiwoomJeungkwon, {})
2104
+ },
2105
+ {
2106
+ codeVal: "266",
2107
+ codeName: "SK\uC99D\uAD8C",
2108
+ replaceName: "SK\uC99D\uAD8C",
2109
+ icon: /* @__PURE__ */ jsx(IconGraphicsStockSkJeungkwon, {})
2110
+ },
2111
+ {
2112
+ codeVal: "267",
2113
+ codeName: "\uB300\uC2E0\uC99D\uAD8C",
2114
+ replaceName: "\uB300\uC2E0\uC99D\uAD8C",
2115
+ icon: /* @__PURE__ */ jsx(IconGraphicsStockDaesinJeungkwon, {})
2116
+ },
2117
+ {
2118
+ codeVal: "269",
2119
+ codeName: "\uD55C\uD654\uC99D\uAD8C",
2120
+ replaceName: "\uD55C\uD654\uD22C\uC790\uC99D\uAD8C",
2121
+ icon: /* @__PURE__ */ jsx(IconGraphicsStockHanwhaTujajeungkwon, {})
2122
+ },
2123
+ {
2124
+ codeVal: "270",
2125
+ codeName: "\uD558\uB098\uB300\uD22C\uC99D\uAD8C",
2126
+ replaceName: "\uD558\uB098\uAE08\uC735\uD22C\uC790\uC99D\uAD8C",
2127
+ icon: /* @__PURE__ */ jsx(IconGraphicsStockHanaGeumyungTujajeungkwon, {})
2128
+ },
2129
+ {
2130
+ codeVal: "278",
2131
+ codeName: "\uC2E0\uD55C\uAE08\uC735\uD22C\uC790",
2132
+ replaceName: "\uC2E0\uD55C\uAE08\uC735\uD22C\uC790\uC99D\uAD8C",
2133
+ icon: /* @__PURE__ */ jsx(IconGraphicsStockSinhanTujajeungkwon, {})
2134
+ },
2135
+ {
2136
+ codeVal: "279",
2137
+ codeName: "\uB3D9\uBD80\uC99D\uAD8C",
2138
+ replaceName: "DB\uAE08\uC735\uD22C\uC790\uC99D\uAD8C",
2139
+ icon: /* @__PURE__ */ jsx(IconGraphicsStockDbGeumyungTujajeungkwon, {})
2140
+ },
2141
+ {
2142
+ codeVal: "280",
2143
+ codeName: "\uC720\uC9C4\uD22C\uC790\uC99D\uAD8C",
2144
+ replaceName: "\uC720\uC9C4\uD22C\uC790\uC99D\uAD8C",
2145
+ icon: /* @__PURE__ */ jsx(IconGraphicsStockYujinTujajeungkwon, {})
2146
+ },
2147
+ {
2148
+ codeVal: "287",
2149
+ codeName: "\uBA54\uB9AC\uCE20\uC99D\uAD8C",
2150
+ replaceName: "\uBA54\uB9AC\uCE20\uC99D\uAD8C",
2151
+ icon: /* @__PURE__ */ jsx(IconGraphicsStockMeritzJeungkwon, {})
2152
+ },
2153
+ {
2154
+ codeVal: "288",
2155
+ codeName: "\uCE74\uCE74\uC624\uD398\uC774\uC99D\uAD8C",
2156
+ replaceName: "\uCE74\uCE74\uC624\uD398\uC774\uC99D\uAD8C",
2157
+ icon: /* @__PURE__ */ jsx(IconGraphicsStockKakaoPayJeungkwon, {})
2158
+ },
2159
+ {
2160
+ codeVal: "289",
2161
+ codeName: "NH\uD22C\uC790\uC99D\uAD8C",
2162
+ replaceName: "NH\uD22C\uC790\uC99D\uAD8C",
2163
+ icon: /* @__PURE__ */ jsx(IconGraphicsStockNhTujajeungkwon, {})
2164
+ },
2165
+ {
2166
+ codeVal: "290",
2167
+ codeName: "\uBD80\uAD6D\uC99D\uAD8C",
2168
+ replaceName: "\uBD80\uAD6D\uC99D\uAD8C",
2169
+ icon: /* @__PURE__ */ jsx(IconGraphicsStockBugukJeungkwon, {})
2170
+ },
2171
+ {
2172
+ codeVal: "291",
2173
+ codeName: "\uC2E0\uC601\uC99D\uAD8C",
2174
+ replaceName: "\uC2E0\uC601\uC99D\uAD8C",
2175
+ icon: /* @__PURE__ */ jsx(IconGraphicsStockSinyeongJeungkwon, {})
2176
+ }
1897
2177
  ];
2178
+
1898
2179
  function useBankStockSearch({ onSelect }) {
1899
- const [searchKeyword, setSearchKeyword] = useState("");
1900
- const bankList = useMemo(() => BANK_LIST.filter((bank) => bank.label.includes(searchKeyword)), [searchKeyword]);
1901
- const stockList = useMemo(() => STOCK_LIST.filter((stock) => stock.label.includes(searchKeyword)), [searchKeyword]);
2180
+ const { data } = useSearchCommonCodeQuery({ commonCodeId: "BANK_ORGN_DVSN_CODE" });
2181
+ const bankStockList = data?.data?.commonCodeList?.[0]?.codeList;
1902
2182
  const handleSelect = (item) => {
1903
2183
  onSelect(item);
1904
2184
  };
2185
+ const bankList = bankStockList?.filter((bank) => bank.codeVal?.startsWith("0"));
2186
+ const stockList = bankStockList?.filter((stock) => stock.codeVal?.startsWith("2"));
1905
2187
  return {
1906
- searchKeyword,
1907
- setSearchKeyword,
1908
2188
  bankList,
1909
2189
  stockList,
1910
2190
  handleSelect
@@ -1921,10 +2201,20 @@ function BankStockSearchModal({ open, onClose, onSelect }) {
1921
2201
  const renderItems = (list) => {
1922
2202
  const chunkedList = chunk(list, 5);
1923
2203
  return /* @__PURE__ */ jsx("div", { className: styles$4["list-container"], children: chunkedList.map((chunk2, chunkIndex) => /* @__PURE__ */ jsxs("div", { className: styles$4.row, children: [
1924
- chunk2.map((item) => /* @__PURE__ */ jsxs("div", { className: styles$4.item, onClick: () => handleSelect(item), children: [
1925
- /* @__PURE__ */ jsx("div", { className: styles$4["icon-wrapper"], children: /* @__PURE__ */ jsx(item.Icon, {}) }),
1926
- /* @__PURE__ */ jsx("span", { children: item.label })
1927
- ] }, item.value)),
2204
+ chunk2.map((item) => {
2205
+ const findItem = CODE_ICON_LIST.find((icon) => icon.codeVal === item.codeVal);
2206
+ const convertedItem = findItem ? findItem : {
2207
+ icon: /* @__PURE__ */ jsx(IconGraphicsStockHochulEopsum, {}),
2208
+ replaceName: item.codeName
2209
+ };
2210
+ return /* @__PURE__ */ jsxs("div", { className: styles$4.item, onClick: () => handleSelect(item), children: [
2211
+ /* @__PURE__ */ jsx("div", { className: styles$4["icon-wrapper"], children: convertedItem?.icon }),
2212
+ /* @__PURE__ */ jsxs("span", { children: [
2213
+ " ",
2214
+ convertedItem?.replaceName
2215
+ ] })
2216
+ ] }, item.codeVal);
2217
+ }),
1928
2218
  chunk2.length < 5 && Array.from({ length: 5 - chunk2.length }).map((_, i) => /* @__PURE__ */ jsx("div", { className: styles$4.item, style: { visibility: "hidden" } }, `placeholder-${chunkIndex}-${i}`))
1929
2219
  ] }, chunkIndex)) });
1930
2220
  };
@@ -1935,33 +2225,33 @@ function BankStockSearchModal({ open, onClose, onSelect }) {
1935
2225
  /* @__PURE__ */ jsx(Modal.Body, { children: /* @__PURE__ */ jsxs("div", { className: styles$4.container, children: [
1936
2226
  /* @__PURE__ */ jsxs("div", { className: styles$4.section, children: [
1937
2227
  /* @__PURE__ */ jsx("p", { className: styles$4["section-title"], children: "\uC740\uD589\uC0AC" }),
1938
- renderItems(bankList)
2228
+ renderItems(bankList || [])
1939
2229
  ] }),
1940
2230
  /* @__PURE__ */ jsxs("div", { className: styles$4.section, children: [
1941
2231
  /* @__PURE__ */ jsx("p", { className: styles$4["section-title"], children: "\uC99D\uAD8C\uC0AC" }),
1942
- renderItems(stockList)
2232
+ renderItems(stockList || [])
1943
2233
  ] })
1944
2234
  ] }) })
1945
2235
  ] })
1946
2236
  ] });
1947
2237
  }
1948
2238
 
1949
- const cx$7 = classNames.bind(styles$5);
2239
+ const cx$9 = classNames.bind(styles$5);
1950
2240
  function OrganizationSearchResult({
1951
2241
  filteredOrganizations,
1952
2242
  onOrganizationSelect
1953
2243
  }) {
1954
- return /* @__PURE__ */ jsxs("div", { className: cx$7("result-section"), children: [
1955
- /* @__PURE__ */ jsxs("p", { className: cx$7("result-title"), children: [
2244
+ return /* @__PURE__ */ jsxs("div", { className: cx$9("result-section"), children: [
2245
+ /* @__PURE__ */ jsxs("p", { className: cx$9("result-title"), children: [
1956
2246
  "\uCD1D ",
1957
2247
  /* @__PURE__ */ jsx("span", { className: "text-primary", children: filteredOrganizations.length }),
1958
2248
  "\uAC74\uC758 \uAC80\uC0C9\uACB0\uACFC"
1959
2249
  ] }),
1960
2250
  filteredOrganizations.length > 0 ? /* @__PURE__ */ jsxs(Table, { variant: "horizontal", children: [
1961
2251
  /* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { children: [
1962
- /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uC120\uD0DD" }),
1963
- /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uAE30\uAD00\uCF54\uB4DC" }),
1964
- /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uAE30\uAD00\uBA85" })
2252
+ /* @__PURE__ */ jsx("th", { className: cx$9("th-padding"), children: "\uC120\uD0DD" }),
2253
+ /* @__PURE__ */ jsx("th", { className: cx$9("th-padding"), children: "\uAE30\uAD00\uCF54\uB4DC" }),
2254
+ /* @__PURE__ */ jsx("th", { className: cx$9("th-padding"), children: "\uAE30\uAD00\uBA85" })
1965
2255
  ] }) }),
1966
2256
  /* @__PURE__ */ jsx("tbody", { children: filteredOrganizations.map((organization) => {
1967
2257
  return /* @__PURE__ */ jsxs("tr", { children: [
@@ -1980,11 +2270,11 @@ function OrganizationSearchResult({
1980
2270
  }) })
1981
2271
  ] }) : /* @__PURE__ */ jsxs(Table, { variant: "horizontal", children: [
1982
2272
  /* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { children: [
1983
- /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uC120\uD0DD" }),
1984
- /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uAE30\uAD00\uCF54\uB4DC" }),
1985
- /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uAE30\uAD00\uBA85" })
2273
+ /* @__PURE__ */ jsx("th", { className: cx$9("th-padding"), children: "\uC120\uD0DD" }),
2274
+ /* @__PURE__ */ jsx("th", { className: cx$9("th-padding"), children: "\uAE30\uAD00\uCF54\uB4DC" }),
2275
+ /* @__PURE__ */ jsx("th", { className: cx$9("th-padding"), children: "\uAE30\uAD00\uBA85" })
1986
2276
  ] }) }),
1987
- /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx("td", { colSpan: 3, children: /* @__PURE__ */ jsxs("div", { className: cx$7("no-result"), children: [
2277
+ /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx("td", { colSpan: 3, children: /* @__PURE__ */ jsxs("div", { className: cx$9("no-result"), children: [
1988
2278
  /* @__PURE__ */ jsx(IconGraphicsFeedbackEmpty, {}),
1989
2279
  /* @__PURE__ */ jsx("p", { children: "\uC870\uD68C \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }),
1990
2280
  /* @__PURE__ */ jsx("p", { children: "\uC785\uB825\uD55C \uC815\uBCF4\uB97C \uB2E4\uC2DC \uD655\uC778\uD574\uC8FC\uC138\uC694." })
@@ -1993,8 +2283,8 @@ function OrganizationSearchResult({
1993
2283
  ] });
1994
2284
  }
1995
2285
 
1996
- const { TextField: TextField$1 } = FormField;
1997
- const cx$6 = classNames.bind(styles$5);
2286
+ const { TextField: TextField$2 } = FormField;
2287
+ const cx$8 = classNames.bind(styles$5);
1998
2288
  function OrganizationSearch({
1999
2289
  searchTerm,
2000
2290
  setSearchTerm,
@@ -2011,30 +2301,30 @@ function OrganizationSearch({
2011
2301
  setSearchInput("");
2012
2302
  };
2013
2303
  return /* @__PURE__ */ jsxs(Fragment, { children: [
2014
- /* @__PURE__ */ jsx("div", { className: cx$6("search-section"), children: /* @__PURE__ */ jsxs("div", { className: cx$6("search-filters"), children: [
2015
- /* @__PURE__ */ jsxs("div", { className: cx$6("search-filter-section"), children: [
2304
+ /* @__PURE__ */ jsx("div", { className: cx$8("search-section"), children: /* @__PURE__ */ jsxs("div", { className: cx$8("search-filters"), children: [
2305
+ /* @__PURE__ */ jsxs("div", { className: cx$8("search-filter-section"), children: [
2016
2306
  /* @__PURE__ */ jsx(FormField.Label, { className: "subtitle3 text-body-1", children: "\uAE30\uAD00\uBA85/\uCF54\uB4DC" }),
2017
2307
  /* @__PURE__ */ jsx(
2018
- TextField$1,
2308
+ TextField$2,
2019
2309
  {
2020
2310
  value: searchInput,
2021
2311
  onChange: (e) => setSearchInput(e.target.value),
2022
2312
  size: "medium",
2023
2313
  onKeyUp: (e) => e.key === "Enter" && handleSearch(),
2024
2314
  rootProps: {
2025
- className: cx$6("search-input"),
2315
+ className: cx$8("search-input"),
2026
2316
  clearable: true,
2027
2317
  onClear: handleReset
2028
2318
  }
2029
2319
  }
2030
2320
  )
2031
2321
  ] }),
2032
- /* @__PURE__ */ jsxs("div", { className: cx$6("search-buttons"), children: [
2322
+ /* @__PURE__ */ jsxs("div", { className: cx$8("search-buttons"), children: [
2033
2323
  /* @__PURE__ */ jsx(Button, { appearance: "outline", size: "medium", variant: "secondary", onClick: handleReset, children: "\uCD08\uAE30\uD654" }),
2034
2324
  /* @__PURE__ */ jsx(Button, { appearance: "filled", size: "medium", variant: "primary", onClick: handleSearch, children: "\uC870\uD68C" })
2035
2325
  ] })
2036
2326
  ] }) }),
2037
- /* @__PURE__ */ jsx("div", { className: cx$6("divider") }),
2327
+ /* @__PURE__ */ jsx("div", { className: cx$8("divider") }),
2038
2328
  searchTerm && /* @__PURE__ */ jsx(
2039
2329
  OrganizationSearchResult,
2040
2330
  {
@@ -2107,21 +2397,21 @@ const EMPLOYEE_SEARCH_TABS = [
2107
2397
  { value: "WKIS", label: "\uB0B4\uADFC" }
2108
2398
  ];
2109
2399
 
2110
- const cx$5 = classNames.bind(styles$6);
2400
+ const cx$7 = classNames.bind(styles$6);
2111
2401
  function EmployeeSearchResult({ filteredEmployees, onEmployeeSelect }) {
2112
- return /* @__PURE__ */ jsxs("div", { className: cx$5("result-section"), children: [
2113
- /* @__PURE__ */ jsxs("p", { className: cx$5("result-title"), children: [
2402
+ return /* @__PURE__ */ jsxs("div", { className: cx$7("result-section"), children: [
2403
+ /* @__PURE__ */ jsxs("p", { className: cx$7("result-title"), children: [
2114
2404
  "\uCD1D ",
2115
2405
  /* @__PURE__ */ jsx("span", { className: "text-primary", children: filteredEmployees.length }),
2116
2406
  "\uAC74\uC758 \uAC80\uC0C9\uACB0\uACFC"
2117
2407
  ] }),
2118
2408
  filteredEmployees.length > 0 ? /* @__PURE__ */ jsxs(Table, { variant: "horizontal", children: [
2119
2409
  /* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { children: [
2120
- /* @__PURE__ */ jsx("th", { className: cx$5("th-padding"), children: "\uC120\uD0DD" }),
2121
- /* @__PURE__ */ jsx("th", { className: cx$5("th-padding"), children: "\uC0AC\uC6D0\uBC88\uD638" }),
2122
- /* @__PURE__ */ jsx("th", { className: cx$5("th-padding"), children: "\uC0AC\uC6D0\uBA85" }),
2123
- /* @__PURE__ */ jsx("th", { className: cx$5("th-padding"), children: "\uC18C\uC18D\uAE30\uAD00\uBA85" }),
2124
- /* @__PURE__ */ jsx("th", { className: cx$5("th-padding"), children: "\uC0AC\uC6D0\uAD6C\uBD84" })
2410
+ /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uC120\uD0DD" }),
2411
+ /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uC0AC\uC6D0\uBC88\uD638" }),
2412
+ /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uC0AC\uC6D0\uBA85" }),
2413
+ /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uC18C\uC18D\uAE30\uAD00\uBA85" }),
2414
+ /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uC0AC\uC6D0\uAD6C\uBD84" })
2125
2415
  ] }) }),
2126
2416
  /* @__PURE__ */ jsx("tbody", { children: filteredEmployees.map((employee) => {
2127
2417
  return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs("tr", { children: [
@@ -2144,13 +2434,13 @@ function EmployeeSearchResult({ filteredEmployees, onEmployeeSelect }) {
2144
2434
  }) })
2145
2435
  ] }) : /* @__PURE__ */ jsxs(Table, { variant: "horizontal", children: [
2146
2436
  /* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { children: [
2147
- /* @__PURE__ */ jsx("th", { className: cx$5("th-padding"), children: "\uC120\uD0DD" }),
2148
- /* @__PURE__ */ jsx("th", { className: cx$5("th-padding"), children: "\uC0AC\uC6D0\uBC88\uD638" }),
2149
- /* @__PURE__ */ jsx("th", { className: cx$5("th-padding"), children: "\uC0AC\uC6D0\uBA85" }),
2150
- /* @__PURE__ */ jsx("th", { className: cx$5("th-padding"), children: "\uC18C\uC18D\uAE30\uAD00\uBA85" }),
2151
- /* @__PURE__ */ jsx("th", { className: cx$5("th-padding"), children: "\uC0AC\uC6D0\uAD6C\uBD84" })
2437
+ /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uC120\uD0DD" }),
2438
+ /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uC0AC\uC6D0\uBC88\uD638" }),
2439
+ /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uC0AC\uC6D0\uBA85" }),
2440
+ /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uC18C\uC18D\uAE30\uAD00\uBA85" }),
2441
+ /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uC0AC\uC6D0\uAD6C\uBD84" })
2152
2442
  ] }) }),
2153
- /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx("td", { colSpan: 5, children: /* @__PURE__ */ jsxs("div", { className: cx$5("no-result"), children: [
2443
+ /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx("td", { colSpan: 5, children: /* @__PURE__ */ jsxs("div", { className: cx$7("no-result"), children: [
2154
2444
  /* @__PURE__ */ jsx(IconGraphicsFeedbackEmpty, {}),
2155
2445
  /* @__PURE__ */ jsx("p", { children: "\uC870\uD68C \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }),
2156
2446
  /* @__PURE__ */ jsx("p", { children: "\uC785\uB825\uD55C \uC815\uBCF4\uB97C \uB2E4\uC2DC \uD655\uC778\uD574\uC8FC\uC138\uC694." })
@@ -2159,8 +2449,8 @@ function EmployeeSearchResult({ filteredEmployees, onEmployeeSelect }) {
2159
2449
  ] });
2160
2450
  }
2161
2451
 
2162
- const { TextField } = FormField;
2163
- const cx$4 = classNames.bind(styles$6);
2452
+ const { TextField: TextField$1 } = FormField;
2453
+ const cx$6 = classNames.bind(styles$6);
2164
2454
  function EmployeeSearch({
2165
2455
  activeTab,
2166
2456
  onTabChange,
@@ -2179,11 +2469,11 @@ function EmployeeSearch({
2179
2469
  setSearchInput("");
2180
2470
  };
2181
2471
  return /* @__PURE__ */ jsxs(Fragment, { children: [
2182
- /* @__PURE__ */ jsx("div", { className: cx$4("search-section"), children: /* @__PURE__ */ jsxs("div", { className: cx$4("search-filters"), children: [
2183
- /* @__PURE__ */ jsxs("div", { className: cx$4("search-filter-section"), children: [
2472
+ /* @__PURE__ */ jsx("div", { className: cx$6("search-section"), children: /* @__PURE__ */ jsxs("div", { className: cx$6("search-filters"), children: [
2473
+ /* @__PURE__ */ jsxs("div", { className: cx$6("search-filter-section"), children: [
2184
2474
  /* @__PURE__ */ jsx(FormField.Label, { className: "subtitle3 text-body-1", children: "\uC131\uBA85/\uC0AC\uBC88" }),
2185
2475
  /* @__PURE__ */ jsx(
2186
- TextField,
2476
+ TextField$1,
2187
2477
  {
2188
2478
  value: searchInput,
2189
2479
  onChange: (e) => setSearchInput(e.target.value),
@@ -2197,7 +2487,7 @@ function EmployeeSearch({
2197
2487
  }
2198
2488
  )
2199
2489
  ] }),
2200
- /* @__PURE__ */ jsxs("div", { className: cx$4("search-filter-section"), children: [
2490
+ /* @__PURE__ */ jsxs("div", { className: cx$6("search-filter-section"), children: [
2201
2491
  /* @__PURE__ */ jsx(FormField.Label, { className: "subtitle3 text-body-1", children: "\uC0AC\uC6D0 \uAD6C\uBD84" }),
2202
2492
  /* @__PURE__ */ jsx(
2203
2493
  Select,
@@ -2210,12 +2500,12 @@ function EmployeeSearch({
2210
2500
  }
2211
2501
  )
2212
2502
  ] }),
2213
- /* @__PURE__ */ jsxs("div", { className: cx$4("search-buttons"), children: [
2503
+ /* @__PURE__ */ jsxs("div", { className: cx$6("search-buttons"), children: [
2214
2504
  /* @__PURE__ */ jsx(Button, { appearance: "outline", size: "medium", variant: "secondary", onClick: handleReset, children: "\uCD08\uAE30\uD654" }),
2215
2505
  /* @__PURE__ */ jsx(Button, { appearance: "filled", size: "medium", variant: "primary", onClick: handleSearch, children: "\uC870\uD68C" })
2216
2506
  ] })
2217
2507
  ] }) }),
2218
- /* @__PURE__ */ jsx("div", { className: cx$4("divider") }),
2508
+ /* @__PURE__ */ jsx("div", { className: cx$6("divider") }),
2219
2509
  searchTerm && /* @__PURE__ */ jsx(
2220
2510
  EmployeeSearchResult,
2221
2511
  {
@@ -2291,20 +2581,20 @@ const EmployeeSearchModal = ({ isOpen, onClose, onSelect }) => {
2291
2581
  ] });
2292
2582
  };
2293
2583
 
2294
- const cx$3 = classNames.bind(styles$7);
2584
+ const cx$5 = classNames.bind(styles$7);
2295
2585
  const JobVehicleSearchGrade = ({ riskGrade, hospitalizationGrade }) => {
2296
- return /* @__PURE__ */ jsxs("div", { className: cx$3("grade-section"), children: [
2297
- /* @__PURE__ */ jsxs("div", { className: cx$3("icon-title"), children: [
2586
+ return /* @__PURE__ */ jsxs("div", { className: cx$5("grade-section"), children: [
2587
+ /* @__PURE__ */ jsxs("div", { className: cx$5("icon-title"), children: [
2298
2588
  /* @__PURE__ */ jsx(IconIllustGrade, {}),
2299
2589
  /* @__PURE__ */ jsx("span", { className: "typo-title5 text-body", children: "\uB4F1\uAE09" })
2300
2590
  ] }),
2301
2591
  /* @__PURE__ */ jsx("p", { className: "typo-body2 text-body_3", children: "\uC9C1\uC885, \uC6B4\uC804 \uC5EC\uBD80 \uC120\uD0DD\uC2DC \uC790\uB3D9\uC73C\uB85C \uC0B0\uC815\uB429\uB2C8\uB2E4." }),
2302
- /* @__PURE__ */ jsxs("div", { className: cx$3("grade-list"), children: [
2303
- /* @__PURE__ */ jsxs("div", { className: cx$3("grade"), children: [
2592
+ /* @__PURE__ */ jsxs("div", { className: cx$5("grade-list"), children: [
2593
+ /* @__PURE__ */ jsxs("div", { className: cx$5("grade"), children: [
2304
2594
  /* @__PURE__ */ jsx("span", { children: "\uC704\uD5D8\uB4F1\uAE09" }),
2305
2595
  /* @__PURE__ */ jsx("span", { className: "text-primary typo-subtitle3", children: riskGrade || "-" })
2306
2596
  ] }),
2307
- /* @__PURE__ */ jsxs("div", { className: cx$3("grade"), children: [
2597
+ /* @__PURE__ */ jsxs("div", { className: cx$5("grade"), children: [
2308
2598
  /* @__PURE__ */ jsx("span", { children: "\uC785\uC6D0\uB4F1\uAE09" }),
2309
2599
  /* @__PURE__ */ jsx("span", { className: "text-primary typo-subtitle3", children: hospitalizationGrade || "-" })
2310
2600
  ] })
@@ -2312,16 +2602,16 @@ const JobVehicleSearchGrade = ({ riskGrade, hospitalizationGrade }) => {
2312
2602
  ] });
2313
2603
  };
2314
2604
 
2315
- const cx$2 = classNames.bind(styles$8);
2605
+ const cx$4 = classNames.bind(styles$8);
2316
2606
  function VehicleSearch({ vehicles, onVehicleSelect, selectedVehicle }) {
2317
- return /* @__PURE__ */ jsxs("div", { className: cx$2("vehicle-search-section"), children: [
2607
+ return /* @__PURE__ */ jsxs("div", { className: cx$4("vehicle-search-section"), children: [
2318
2608
  /* @__PURE__ */ jsx("p", { children: "\uC6B4\uC804 \uCC28\uC885" }),
2319
2609
  /* @__PURE__ */ jsx(
2320
2610
  Radio.Root,
2321
2611
  {
2322
2612
  name: "vehicle-selection",
2323
2613
  size: "small",
2324
- className: cx$2("vehicle-radio-root"),
2614
+ className: cx$4("vehicle-radio-root"),
2325
2615
  defaultValue: selectedVehicle?.integrationCodeValue || "",
2326
2616
  children: vehicles.map((vehicle, index) => /* @__PURE__ */ jsxs(
2327
2617
  Radio.Item,
@@ -2336,7 +2626,7 @@ function VehicleSearch({ vehicles, onVehicleSelect, selectedVehicle }) {
2336
2626
  onVehicleSelect(selected);
2337
2627
  }
2338
2628
  },
2339
- className: cx$2("item"),
2629
+ className: cx$4("item"),
2340
2630
  children: [
2341
2631
  vehicle.integrationCodeValueName,
2342
2632
  "(",
@@ -2413,7 +2703,7 @@ const useJobVehicleSearch = () => {
2413
2703
  };
2414
2704
  };
2415
2705
 
2416
- const cx$1 = classNames.bind(styles$7);
2706
+ const cx$3 = classNames.bind(styles$7);
2417
2707
  function useJobVehicleSearchModal() {
2418
2708
  const {
2419
2709
  selectedVehicle,
@@ -2463,18 +2753,18 @@ function useJobVehicleSearchModal() {
2463
2753
  /* @__PURE__ */ jsx(Modal.Overlay, {}),
2464
2754
  /* @__PURE__ */ jsxs(Modal.Content, { style: { height: "697px" }, children: [
2465
2755
  /* @__PURE__ */ jsx(Modal.Header, { headerTitle: "\uC9C1\uC885\xB7\uC6B4\uC804\uCC28\uC885 \uAC80\uC0C9", showCloseButton: true }),
2466
- /* @__PURE__ */ jsx(Modal.Body, { className: cx$1("job-vehicle-search-modal"), raw: true, children: /* @__PURE__ */ jsxs(Fragment, { children: [
2467
- /* @__PURE__ */ jsxs("div", { className: cx$1("left-panel"), children: [
2468
- /* @__PURE__ */ jsxs("div", { className: cx$1("card-section"), children: [
2756
+ /* @__PURE__ */ jsx(Modal.Body, { className: cx$3("job-vehicle-search-modal"), raw: true, children: /* @__PURE__ */ jsxs(Fragment, { children: [
2757
+ /* @__PURE__ */ jsxs("div", { className: cx$3("left-panel"), children: [
2758
+ /* @__PURE__ */ jsxs("div", { className: cx$3("card-section"), children: [
2469
2759
  /* @__PURE__ */ jsxs(
2470
2760
  "div",
2471
2761
  {
2472
- className: cx$1("card-menu", { "card-selected": rightPanelView === "jobSearch" }),
2762
+ className: cx$3("card-menu", { "card-selected": rightPanelView === "jobSearch" }),
2473
2763
  onClick: () => setRightPanelView("jobSearch"),
2474
2764
  children: [
2475
- /* @__PURE__ */ jsxs("div", { className: cx$1("card-title"), children: [
2476
- /* @__PURE__ */ jsx(IconIllustJob, { className: cx$1("card-icon") }),
2477
- /* @__PURE__ */ jsx("span", { className: cx$1("card-text", "typo-title5", "text-body"), children: "\uC9C1\uC885" }),
2765
+ /* @__PURE__ */ jsxs("div", { className: cx$3("card-title"), children: [
2766
+ /* @__PURE__ */ jsx(IconIllustJob, { className: cx$3("card-icon") }),
2767
+ /* @__PURE__ */ jsx("span", { className: cx$3("card-text", "typo-title5", "text-body"), children: "\uC9C1\uC885" }),
2478
2768
  /* @__PURE__ */ jsx(IconSubUiArrowRight, {})
2479
2769
  ] }),
2480
2770
  /* @__PURE__ */ jsx("div", { className: "typo-body2 text-body_2", children: selectedJob ? selectedJob.occupationIndustryName : "\uBBF8\uC120\uD0DD" })
@@ -2484,12 +2774,12 @@ function useJobVehicleSearchModal() {
2484
2774
  /* @__PURE__ */ jsxs(
2485
2775
  "div",
2486
2776
  {
2487
- className: cx$1("card-menu", { "card-selected": rightPanelView === "vehicleSelection" }),
2777
+ className: cx$3("card-menu", { "card-selected": rightPanelView === "vehicleSelection" }),
2488
2778
  onClick: () => setRightPanelView("vehicleSelection"),
2489
2779
  children: [
2490
- /* @__PURE__ */ jsxs("div", { className: cx$1("card-title"), children: [
2491
- /* @__PURE__ */ jsx(IconIllustVehicle, { className: cx$1("card-icon") }),
2492
- /* @__PURE__ */ jsx("span", { className: cx$1("card-text", "typo-title5", "text-body"), children: "\uC6B4\uC804 \uC5EC\uBD80\xB7\uCC28\uC885" }),
2780
+ /* @__PURE__ */ jsxs("div", { className: cx$3("card-title"), children: [
2781
+ /* @__PURE__ */ jsx(IconIllustVehicle, { className: cx$3("card-icon") }),
2782
+ /* @__PURE__ */ jsx("span", { className: cx$3("card-text", "typo-title5", "text-body"), children: "\uC6B4\uC804 \uC5EC\uBD80\xB7\uCC28\uC885" }),
2493
2783
  /* @__PURE__ */ jsx(IconSubUiArrowRight, {})
2494
2784
  ] }),
2495
2785
  /* @__PURE__ */ jsxs("div", { className: "typo-body2 text-body_2", children: [
@@ -2502,7 +2792,7 @@ function useJobVehicleSearchModal() {
2502
2792
  ] }),
2503
2793
  /* @__PURE__ */ jsx(JobVehicleSearchGrade, { riskGrade, hospitalizationGrade })
2504
2794
  ] }),
2505
- /* @__PURE__ */ jsx("div", { className: cx$1("right-panel"), children: rightPanelView === "jobSearch" ? JobSearch : VehicleSearch })
2795
+ /* @__PURE__ */ jsx("div", { className: cx$3("right-panel"), children: rightPanelView === "jobSearch" ? JobSearch : VehicleSearch })
2506
2796
  ] }) }),
2507
2797
  /* @__PURE__ */ jsx(Modal.Footer, { style: { marginTop: 0 }, children: /* @__PURE__ */ jsx(Button, { variant: "primary", size: "medium", appearance: "filled", width: "full", onClick: validate, children: "\uD655\uC778" }) })
2508
2798
  ] })
@@ -2510,6 +2800,201 @@ function useJobVehicleSearchModal() {
2510
2800
  };
2511
2801
  }
2512
2802
 
2803
+ const cx$2 = classNames.bind(styles$9);
2804
+ function DeaCustomerSearchResult({
2805
+ customerList,
2806
+ onCustomerSelect,
2807
+ selectedCustomer
2808
+ }) {
2809
+ return /* @__PURE__ */ jsxs("div", { className: cx$2("result-section"), children: [
2810
+ /* @__PURE__ */ jsxs("p", { className: cx$2("result-title"), children: [
2811
+ "\uCD1D ",
2812
+ /* @__PURE__ */ jsx("span", { className: "text-primary", children: customerList.length }),
2813
+ "\uAC74\uC758 \uAC80\uC0C9\uACB0\uACFC"
2814
+ ] }),
2815
+ /* @__PURE__ */ jsxs(Table, { variant: "horizontal", children: [
2816
+ /* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { children: [
2817
+ /* @__PURE__ */ jsx("th", { className: cx$2("th-padding"), children: "\uC120\uD0DD" }),
2818
+ /* @__PURE__ */ jsx("th", { className: cx$2("th-padding"), children: "\uACE0\uAC1DID" }),
2819
+ /* @__PURE__ */ jsx("th", { className: cx$2("th-padding"), children: "\uACE0\uAC1D\uBA85" }),
2820
+ /* @__PURE__ */ jsx("th", { className: cx$2("th-padding"), children: "\uC8FC\uBBFC\uB4F1\uB85D\uBC88\uD638" }),
2821
+ /* @__PURE__ */ jsx("th", { className: cx$2("th-padding"), children: "\uC9C1\uC885\uC5C5\uC885\uBA85" }),
2822
+ /* @__PURE__ */ jsx("th", { className: cx$2("th-padding"), children: "\uC804\uD654\uBC88\uD638" }),
2823
+ /* @__PURE__ */ jsx("th", { className: cx$2("th-padding"), children: "\uC8FC\uC18C" })
2824
+ ] }) }),
2825
+ /* @__PURE__ */ jsx("tbody", { children: customerList.length > 0 ? customerList.map((customer) => /* @__PURE__ */ jsxs("tr", { children: [
2826
+ /* @__PURE__ */ jsx("td", { children: /* @__PURE__ */ jsx(
2827
+ "input",
2828
+ {
2829
+ type: "radio",
2830
+ name: "customer",
2831
+ value: customer.customerId || "",
2832
+ checked: selectedCustomer?.customerId === customer.customerId,
2833
+ onChange: () => onCustomerSelect(customer)
2834
+ }
2835
+ ) }),
2836
+ /* @__PURE__ */ jsx("td", { children: customer.customerId }),
2837
+ /* @__PURE__ */ jsx("td", { children: customer.customerName }),
2838
+ /* @__PURE__ */ jsx("td", { children: customer.residentNumber }),
2839
+ /* @__PURE__ */ jsx("td", { children: customer.occupationKindName }),
2840
+ /* @__PURE__ */ jsx("td", { children: customer.mobilePhoneNumber }),
2841
+ /* @__PURE__ */ jsx("td", { children: customer.address })
2842
+ ] }, customer.customerId)) : /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx("td", { colSpan: 7, children: /* @__PURE__ */ jsxs("div", { className: cx$2("no-result"), children: [
2843
+ /* @__PURE__ */ jsx(IconGraphicsFeedbackEmpty, {}),
2844
+ /* @__PURE__ */ jsx("p", { children: "\uC870\uD68C \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }),
2845
+ /* @__PURE__ */ jsx("p", { children: "\uC785\uB825\uD55C \uC815\uBCF4\uB97C \uB2E4\uC2DC \uD655\uC778\uD574\uC8FC\uC138\uC694." })
2846
+ ] }) }) }) })
2847
+ ] })
2848
+ ] });
2849
+ }
2850
+
2851
+ const { TextField } = FormField;
2852
+ const cx$1 = classNames.bind(styles$9);
2853
+ function DeaCustomerSearch({
2854
+ setSearchParams,
2855
+ customerList,
2856
+ onCustomerSelect,
2857
+ selectedCustomer
2858
+ }) {
2859
+ const [residentNumber1, setResidentNumber1] = useState("");
2860
+ const [residentNumber2, setResidentNumber2] = useState("");
2861
+ const handleSearch = () => {
2862
+ setSearchParams({ residentNumber: `${residentNumber1}${residentNumber2}` });
2863
+ };
2864
+ const handleReset = () => {
2865
+ setResidentNumber1("");
2866
+ setResidentNumber2("");
2867
+ setSearchParams({});
2868
+ };
2869
+ const onKeyUp = (e) => {
2870
+ e.key === "Enter" && handleSearch();
2871
+ };
2872
+ const onKeyDown = (e) => {
2873
+ if (!(e.key === "Backspace" || !isNaN(parseInt(e.key)))) {
2874
+ e.preventDefault();
2875
+ }
2876
+ };
2877
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
2878
+ /* @__PURE__ */ jsx("div", { className: cx$1("search-section"), children: /* @__PURE__ */ jsxs("div", { className: cx$1("search-filters"), children: [
2879
+ /* @__PURE__ */ jsxs("div", { className: cx$1("search-filter-section"), children: [
2880
+ /* @__PURE__ */ jsx(FormField.Label, { className: "subtitle3 text-body-1", children: "\uACE0\uAC1D \uAD6C\uBD84" }),
2881
+ /* @__PURE__ */ jsx(Select, { value: "personal", placeholder: "\uAC1C\uC778", disabled: true, style: { width: "100px" }, children: /* @__PURE__ */ jsx(Select.Option, { value: "personal", children: "\uAC1C\uC778" }) }),
2882
+ /* @__PURE__ */ jsx(FormField.Label, { className: "subtitle3 text-body-1", children: "\uC8FC\uBBFC\uB4F1\uB85D\uBC88\uD638" }),
2883
+ /* @__PURE__ */ jsx(
2884
+ TextField,
2885
+ {
2886
+ value: residentNumber1,
2887
+ maxLength: 6,
2888
+ placeholder: "\uC55E 6\uC790\uB9AC \uC785\uB825",
2889
+ onChange: (e) => setResidentNumber1(e.target.value),
2890
+ size: "medium",
2891
+ onKeyUp,
2892
+ onKeyDown,
2893
+ rootProps: {
2894
+ className: cx$1("search-input"),
2895
+ onClear: () => {
2896
+ setResidentNumber1("");
2897
+ }
2898
+ }
2899
+ }
2900
+ ),
2901
+ "-",
2902
+ /* @__PURE__ */ jsx(
2903
+ TextField,
2904
+ {
2905
+ value: residentNumber2,
2906
+ maxLength: 7,
2907
+ placeholder: "\uB4A4 7\uC790\uB9AC \uC785\uB825",
2908
+ onChange: (e) => setResidentNumber2(e.target.value),
2909
+ size: "medium",
2910
+ onKeyDown,
2911
+ onKeyUp,
2912
+ rootProps: {
2913
+ className: cx$1("search-input"),
2914
+ onClear: () => {
2915
+ setResidentNumber2("");
2916
+ }
2917
+ }
2918
+ }
2919
+ )
2920
+ ] }),
2921
+ /* @__PURE__ */ jsxs("div", { className: cx$1("search-buttons"), children: [
2922
+ /* @__PURE__ */ jsx(Button, { appearance: "outline", size: "medium", variant: "secondary", onClick: handleReset, children: "\uCD08\uAE30\uD654" }),
2923
+ /* @__PURE__ */ jsx(Button, { appearance: "filled", size: "medium", variant: "primary", onClick: handleSearch, children: "\uC870\uD68C" })
2924
+ ] })
2925
+ ] }) }),
2926
+ /* @__PURE__ */ jsx("div", { className: cx$1("divider") }),
2927
+ /* @__PURE__ */ jsx(
2928
+ DeaCustomerSearchResult,
2929
+ {
2930
+ customerList,
2931
+ onCustomerSelect,
2932
+ selectedCustomer
2933
+ }
2934
+ )
2935
+ ] });
2936
+ }
2937
+
2938
+ const DeaCustomerSearchModal = ({ isOpen, onClose, onSave }) => {
2939
+ const [selectedCustomer, setSelectedCustomer] = useState(null);
2940
+ const [searchParams, setSearchParams] = useState({});
2941
+ const canSearch = useMemo(() => !!(searchParams.customerName || searchParams.residentNumber), [searchParams]);
2942
+ const { data, isFetching } = useQuery({
2943
+ queryKey: ["deaCustomerSearch", searchParams],
2944
+ queryFn: () => getDspCustomerListMethod(searchParams),
2945
+ enabled: canSearch,
2946
+ retry: false
2947
+ });
2948
+ const [customerList, setCustomerList] = useState([]);
2949
+ useEffect(() => {
2950
+ if (data?.data) {
2951
+ setCustomerList(data.data);
2952
+ } else {
2953
+ setCustomerList([]);
2954
+ }
2955
+ }, [data]);
2956
+ useEffect(() => {
2957
+ setSelectedCustomer(null);
2958
+ }, [customerList]);
2959
+ const handleCustomerSelect = (customer) => {
2960
+ setSelectedCustomer(customer);
2961
+ };
2962
+ const handleSave = () => {
2963
+ if (selectedCustomer) {
2964
+ onSave(selectedCustomer);
2965
+ onClose();
2966
+ }
2967
+ };
2968
+ return /* @__PURE__ */ jsxs(Modal.Root, { isOpen, onClose, modalSize: "xlarge", children: [
2969
+ /* @__PURE__ */ jsx(Modal.Overlay, {}),
2970
+ /* @__PURE__ */ jsxs(Modal.Content, { style: { height: "697px" }, children: [
2971
+ /* @__PURE__ */ jsx(Modal.Header, { headerTitle: "\uACE0\uAC1D \uAC80\uC0C9", showCloseButton: true }),
2972
+ /* @__PURE__ */ jsx(Modal.Body, { children: /* @__PURE__ */ jsx(
2973
+ DeaCustomerSearch,
2974
+ {
2975
+ setSearchParams,
2976
+ customerList,
2977
+ onCustomerSelect: handleCustomerSelect,
2978
+ selectedCustomer,
2979
+ isLoading: isFetching
2980
+ }
2981
+ ) }),
2982
+ /* @__PURE__ */ jsx(Modal.Footer, { children: /* @__PURE__ */ jsx(
2983
+ Button,
2984
+ {
2985
+ variant: "primary",
2986
+ size: "medium",
2987
+ appearance: "filled",
2988
+ width: "full",
2989
+ onClick: handleSave,
2990
+ disabled: !selectedCustomer,
2991
+ children: "\uC800\uC7A5\uD558\uAE30"
2992
+ }
2993
+ ) })
2994
+ ] })
2995
+ ] });
2996
+ };
2997
+
2513
2998
  const useCustomerSearch = (onSelect) => {
2514
2999
  const { triggerRef, isOpen, setIsOpen, DropDown } = useDropDown();
2515
3000
  const [searchKeyword, setSearchKeyword] = useState("");
@@ -2580,7 +3065,7 @@ const useCustomerSearch = (onSelect) => {
2580
3065
  };
2581
3066
  };
2582
3067
 
2583
- const cx = classNames.bind(styles$9);
3068
+ const cx = classNames.bind(styles$a);
2584
3069
  const highlightOnSearchKeyword = (originalText, targetString) => {
2585
3070
  if (!targetString || !originalText?.includes(targetString)) {
2586
3071
  return originalText;
@@ -2849,5 +3334,5 @@ const useRemoteIdentityVerificationPopup = (config) => {
2849
3334
  };
2850
3335
  };
2851
3336
 
2852
- export { Attachment, BankStockSearchModal, CustomerSearch, EmployeeSearchModal, FormCheckbox, FormCheckboxButton, FormDatePicker, FormDateRangePicker, FormSearchJobField, FormSegmentGroup, FormSelect, FormTextField, OrganizationSearchModal, StepIndicator, resize, testSignatureBase64Data, useAddressComponent, useBankStockSearch, useCamera, useCanvasPaint, useJobSearchModal, useJobVehicleSearchModal, useRemoteIdentityVerification, useRemoteIdentityVerificationIframe, useRemoteIdentityVerificationPopup, useSearchAddress };
3337
+ export { Attachment, BankStockSearchModal, CustomerSearch, DeaCustomerSearchModal, EmployeeSearchModal, FormCheckbox, FormCheckboxButton, FormDatePicker, FormDateRangePicker, FormSearchJobField, FormSegmentGroup, FormSelect, FormTextField, OrganizationSearchModal, StepIndicator, resize, testSignatureBase64Data, useAddressComponent, useBankStockSearch, useCamera, useCanvasPaint, useJobSearchModal, useJobVehicleSearchModal, useRemoteIdentityVerification, useRemoteIdentityVerificationIframe, useRemoteIdentityVerificationPopup, useSearchAddress };
2853
3338
  //# sourceMappingURL=index.esm.js.map