sales-frontend-components 0.0.88 → 0.0.89

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,7 +2,7 @@ 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';
5
+ import { useSearchOccupationDetailQuery, useSearchOccupationQuery, useSearchAddressQuery, useSearchPostalCodeQuery, useSearchAddressStandardizationQuery, useSearchOrganizationQuery, useSearchEmployeeProfileQuery, useSearchVehicleQuery, useSearchRiskGradeQuery, getDspCustomerListMethod, useSearchCustomerListQuery, getRemoteIdentityVerificationSystemToken } from 'sales-frontend-api/method';
6
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';
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';
@@ -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/uXhzvkagCgSGdJwqBDKTiyDA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g1IDzCONgJGwAgYgTgCNiBxfPzUCBgBI2AEehCwAekBxtFGYDoEnJMRaBMBG5A269VSGQEjYARmR8AGZHaIXYARMAJGoE0EajAgbSJvqYyAETAClSNgA1J5BZp9I2AEjMBaCNiArIW8yzUCNSBgHo1ABAEbkAg4fmQEjIARMAL9CNiA9GPjJ0bACBgBIxBBwAYkAs74R87BCBgBI9AuAjYg7datJTMCRsAIzIqADcis8DpzI2AE1kLA5c6PwP8AAAD//+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 = () => {
@@ -1946,22 +1965,22 @@ function BankStockSearchModal({ open, onClose, onSelect }) {
1946
1965
  ] });
1947
1966
  }
1948
1967
 
1949
- const cx$7 = classNames.bind(styles$5);
1968
+ const cx$9 = classNames.bind(styles$5);
1950
1969
  function OrganizationSearchResult({
1951
1970
  filteredOrganizations,
1952
1971
  onOrganizationSelect
1953
1972
  }) {
1954
- return /* @__PURE__ */ jsxs("div", { className: cx$7("result-section"), children: [
1955
- /* @__PURE__ */ jsxs("p", { className: cx$7("result-title"), children: [
1973
+ return /* @__PURE__ */ jsxs("div", { className: cx$9("result-section"), children: [
1974
+ /* @__PURE__ */ jsxs("p", { className: cx$9("result-title"), children: [
1956
1975
  "\uCD1D ",
1957
1976
  /* @__PURE__ */ jsx("span", { className: "text-primary", children: filteredOrganizations.length }),
1958
1977
  "\uAC74\uC758 \uAC80\uC0C9\uACB0\uACFC"
1959
1978
  ] }),
1960
1979
  filteredOrganizations.length > 0 ? /* @__PURE__ */ jsxs(Table, { variant: "horizontal", children: [
1961
1980
  /* @__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" })
1981
+ /* @__PURE__ */ jsx("th", { className: cx$9("th-padding"), children: "\uC120\uD0DD" }),
1982
+ /* @__PURE__ */ jsx("th", { className: cx$9("th-padding"), children: "\uAE30\uAD00\uCF54\uB4DC" }),
1983
+ /* @__PURE__ */ jsx("th", { className: cx$9("th-padding"), children: "\uAE30\uAD00\uBA85" })
1965
1984
  ] }) }),
1966
1985
  /* @__PURE__ */ jsx("tbody", { children: filteredOrganizations.map((organization) => {
1967
1986
  return /* @__PURE__ */ jsxs("tr", { children: [
@@ -1980,11 +1999,11 @@ function OrganizationSearchResult({
1980
1999
  }) })
1981
2000
  ] }) : /* @__PURE__ */ jsxs(Table, { variant: "horizontal", children: [
1982
2001
  /* @__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" })
2002
+ /* @__PURE__ */ jsx("th", { className: cx$9("th-padding"), children: "\uC120\uD0DD" }),
2003
+ /* @__PURE__ */ jsx("th", { className: cx$9("th-padding"), children: "\uAE30\uAD00\uCF54\uB4DC" }),
2004
+ /* @__PURE__ */ jsx("th", { className: cx$9("th-padding"), children: "\uAE30\uAD00\uBA85" })
1986
2005
  ] }) }),
1987
- /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx("td", { colSpan: 3, children: /* @__PURE__ */ jsxs("div", { className: cx$7("no-result"), children: [
2006
+ /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx("td", { colSpan: 3, children: /* @__PURE__ */ jsxs("div", { className: cx$9("no-result"), children: [
1988
2007
  /* @__PURE__ */ jsx(IconGraphicsFeedbackEmpty, {}),
1989
2008
  /* @__PURE__ */ jsx("p", { children: "\uC870\uD68C \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }),
1990
2009
  /* @__PURE__ */ jsx("p", { children: "\uC785\uB825\uD55C \uC815\uBCF4\uB97C \uB2E4\uC2DC \uD655\uC778\uD574\uC8FC\uC138\uC694." })
@@ -1993,8 +2012,8 @@ function OrganizationSearchResult({
1993
2012
  ] });
1994
2013
  }
1995
2014
 
1996
- const { TextField: TextField$1 } = FormField;
1997
- const cx$6 = classNames.bind(styles$5);
2015
+ const { TextField: TextField$2 } = FormField;
2016
+ const cx$8 = classNames.bind(styles$5);
1998
2017
  function OrganizationSearch({
1999
2018
  searchTerm,
2000
2019
  setSearchTerm,
@@ -2011,30 +2030,30 @@ function OrganizationSearch({
2011
2030
  setSearchInput("");
2012
2031
  };
2013
2032
  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: [
2033
+ /* @__PURE__ */ jsx("div", { className: cx$8("search-section"), children: /* @__PURE__ */ jsxs("div", { className: cx$8("search-filters"), children: [
2034
+ /* @__PURE__ */ jsxs("div", { className: cx$8("search-filter-section"), children: [
2016
2035
  /* @__PURE__ */ jsx(FormField.Label, { className: "subtitle3 text-body-1", children: "\uAE30\uAD00\uBA85/\uCF54\uB4DC" }),
2017
2036
  /* @__PURE__ */ jsx(
2018
- TextField$1,
2037
+ TextField$2,
2019
2038
  {
2020
2039
  value: searchInput,
2021
2040
  onChange: (e) => setSearchInput(e.target.value),
2022
2041
  size: "medium",
2023
2042
  onKeyUp: (e) => e.key === "Enter" && handleSearch(),
2024
2043
  rootProps: {
2025
- className: cx$6("search-input"),
2044
+ className: cx$8("search-input"),
2026
2045
  clearable: true,
2027
2046
  onClear: handleReset
2028
2047
  }
2029
2048
  }
2030
2049
  )
2031
2050
  ] }),
2032
- /* @__PURE__ */ jsxs("div", { className: cx$6("search-buttons"), children: [
2051
+ /* @__PURE__ */ jsxs("div", { className: cx$8("search-buttons"), children: [
2033
2052
  /* @__PURE__ */ jsx(Button, { appearance: "outline", size: "medium", variant: "secondary", onClick: handleReset, children: "\uCD08\uAE30\uD654" }),
2034
2053
  /* @__PURE__ */ jsx(Button, { appearance: "filled", size: "medium", variant: "primary", onClick: handleSearch, children: "\uC870\uD68C" })
2035
2054
  ] })
2036
2055
  ] }) }),
2037
- /* @__PURE__ */ jsx("div", { className: cx$6("divider") }),
2056
+ /* @__PURE__ */ jsx("div", { className: cx$8("divider") }),
2038
2057
  searchTerm && /* @__PURE__ */ jsx(
2039
2058
  OrganizationSearchResult,
2040
2059
  {
@@ -2107,21 +2126,21 @@ const EMPLOYEE_SEARCH_TABS = [
2107
2126
  { value: "WKIS", label: "\uB0B4\uADFC" }
2108
2127
  ];
2109
2128
 
2110
- const cx$5 = classNames.bind(styles$6);
2129
+ const cx$7 = classNames.bind(styles$6);
2111
2130
  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: [
2131
+ return /* @__PURE__ */ jsxs("div", { className: cx$7("result-section"), children: [
2132
+ /* @__PURE__ */ jsxs("p", { className: cx$7("result-title"), children: [
2114
2133
  "\uCD1D ",
2115
2134
  /* @__PURE__ */ jsx("span", { className: "text-primary", children: filteredEmployees.length }),
2116
2135
  "\uAC74\uC758 \uAC80\uC0C9\uACB0\uACFC"
2117
2136
  ] }),
2118
2137
  filteredEmployees.length > 0 ? /* @__PURE__ */ jsxs(Table, { variant: "horizontal", children: [
2119
2138
  /* @__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" })
2139
+ /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uC120\uD0DD" }),
2140
+ /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uC0AC\uC6D0\uBC88\uD638" }),
2141
+ /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uC0AC\uC6D0\uBA85" }),
2142
+ /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uC18C\uC18D\uAE30\uAD00\uBA85" }),
2143
+ /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uC0AC\uC6D0\uAD6C\uBD84" })
2125
2144
  ] }) }),
2126
2145
  /* @__PURE__ */ jsx("tbody", { children: filteredEmployees.map((employee) => {
2127
2146
  return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsxs("tr", { children: [
@@ -2144,13 +2163,13 @@ function EmployeeSearchResult({ filteredEmployees, onEmployeeSelect }) {
2144
2163
  }) })
2145
2164
  ] }) : /* @__PURE__ */ jsxs(Table, { variant: "horizontal", children: [
2146
2165
  /* @__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" })
2166
+ /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uC120\uD0DD" }),
2167
+ /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uC0AC\uC6D0\uBC88\uD638" }),
2168
+ /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uC0AC\uC6D0\uBA85" }),
2169
+ /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uC18C\uC18D\uAE30\uAD00\uBA85" }),
2170
+ /* @__PURE__ */ jsx("th", { className: cx$7("th-padding"), children: "\uC0AC\uC6D0\uAD6C\uBD84" })
2152
2171
  ] }) }),
2153
- /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx("td", { colSpan: 5, children: /* @__PURE__ */ jsxs("div", { className: cx$5("no-result"), children: [
2172
+ /* @__PURE__ */ jsx("tbody", { children: /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx("td", { colSpan: 5, children: /* @__PURE__ */ jsxs("div", { className: cx$7("no-result"), children: [
2154
2173
  /* @__PURE__ */ jsx(IconGraphicsFeedbackEmpty, {}),
2155
2174
  /* @__PURE__ */ jsx("p", { children: "\uC870\uD68C \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }),
2156
2175
  /* @__PURE__ */ jsx("p", { children: "\uC785\uB825\uD55C \uC815\uBCF4\uB97C \uB2E4\uC2DC \uD655\uC778\uD574\uC8FC\uC138\uC694." })
@@ -2159,8 +2178,8 @@ function EmployeeSearchResult({ filteredEmployees, onEmployeeSelect }) {
2159
2178
  ] });
2160
2179
  }
2161
2180
 
2162
- const { TextField } = FormField;
2163
- const cx$4 = classNames.bind(styles$6);
2181
+ const { TextField: TextField$1 } = FormField;
2182
+ const cx$6 = classNames.bind(styles$6);
2164
2183
  function EmployeeSearch({
2165
2184
  activeTab,
2166
2185
  onTabChange,
@@ -2179,11 +2198,11 @@ function EmployeeSearch({
2179
2198
  setSearchInput("");
2180
2199
  };
2181
2200
  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: [
2201
+ /* @__PURE__ */ jsx("div", { className: cx$6("search-section"), children: /* @__PURE__ */ jsxs("div", { className: cx$6("search-filters"), children: [
2202
+ /* @__PURE__ */ jsxs("div", { className: cx$6("search-filter-section"), children: [
2184
2203
  /* @__PURE__ */ jsx(FormField.Label, { className: "subtitle3 text-body-1", children: "\uC131\uBA85/\uC0AC\uBC88" }),
2185
2204
  /* @__PURE__ */ jsx(
2186
- TextField,
2205
+ TextField$1,
2187
2206
  {
2188
2207
  value: searchInput,
2189
2208
  onChange: (e) => setSearchInput(e.target.value),
@@ -2197,7 +2216,7 @@ function EmployeeSearch({
2197
2216
  }
2198
2217
  )
2199
2218
  ] }),
2200
- /* @__PURE__ */ jsxs("div", { className: cx$4("search-filter-section"), children: [
2219
+ /* @__PURE__ */ jsxs("div", { className: cx$6("search-filter-section"), children: [
2201
2220
  /* @__PURE__ */ jsx(FormField.Label, { className: "subtitle3 text-body-1", children: "\uC0AC\uC6D0 \uAD6C\uBD84" }),
2202
2221
  /* @__PURE__ */ jsx(
2203
2222
  Select,
@@ -2210,12 +2229,12 @@ function EmployeeSearch({
2210
2229
  }
2211
2230
  )
2212
2231
  ] }),
2213
- /* @__PURE__ */ jsxs("div", { className: cx$4("search-buttons"), children: [
2232
+ /* @__PURE__ */ jsxs("div", { className: cx$6("search-buttons"), children: [
2214
2233
  /* @__PURE__ */ jsx(Button, { appearance: "outline", size: "medium", variant: "secondary", onClick: handleReset, children: "\uCD08\uAE30\uD654" }),
2215
2234
  /* @__PURE__ */ jsx(Button, { appearance: "filled", size: "medium", variant: "primary", onClick: handleSearch, children: "\uC870\uD68C" })
2216
2235
  ] })
2217
2236
  ] }) }),
2218
- /* @__PURE__ */ jsx("div", { className: cx$4("divider") }),
2237
+ /* @__PURE__ */ jsx("div", { className: cx$6("divider") }),
2219
2238
  searchTerm && /* @__PURE__ */ jsx(
2220
2239
  EmployeeSearchResult,
2221
2240
  {
@@ -2291,20 +2310,20 @@ const EmployeeSearchModal = ({ isOpen, onClose, onSelect }) => {
2291
2310
  ] });
2292
2311
  };
2293
2312
 
2294
- const cx$3 = classNames.bind(styles$7);
2313
+ const cx$5 = classNames.bind(styles$7);
2295
2314
  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: [
2315
+ return /* @__PURE__ */ jsxs("div", { className: cx$5("grade-section"), children: [
2316
+ /* @__PURE__ */ jsxs("div", { className: cx$5("icon-title"), children: [
2298
2317
  /* @__PURE__ */ jsx(IconIllustGrade, {}),
2299
2318
  /* @__PURE__ */ jsx("span", { className: "typo-title5 text-body", children: "\uB4F1\uAE09" })
2300
2319
  ] }),
2301
2320
  /* @__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: [
2321
+ /* @__PURE__ */ jsxs("div", { className: cx$5("grade-list"), children: [
2322
+ /* @__PURE__ */ jsxs("div", { className: cx$5("grade"), children: [
2304
2323
  /* @__PURE__ */ jsx("span", { children: "\uC704\uD5D8\uB4F1\uAE09" }),
2305
2324
  /* @__PURE__ */ jsx("span", { className: "text-primary typo-subtitle3", children: riskGrade || "-" })
2306
2325
  ] }),
2307
- /* @__PURE__ */ jsxs("div", { className: cx$3("grade"), children: [
2326
+ /* @__PURE__ */ jsxs("div", { className: cx$5("grade"), children: [
2308
2327
  /* @__PURE__ */ jsx("span", { children: "\uC785\uC6D0\uB4F1\uAE09" }),
2309
2328
  /* @__PURE__ */ jsx("span", { className: "text-primary typo-subtitle3", children: hospitalizationGrade || "-" })
2310
2329
  ] })
@@ -2312,16 +2331,16 @@ const JobVehicleSearchGrade = ({ riskGrade, hospitalizationGrade }) => {
2312
2331
  ] });
2313
2332
  };
2314
2333
 
2315
- const cx$2 = classNames.bind(styles$8);
2334
+ const cx$4 = classNames.bind(styles$8);
2316
2335
  function VehicleSearch({ vehicles, onVehicleSelect, selectedVehicle }) {
2317
- return /* @__PURE__ */ jsxs("div", { className: cx$2("vehicle-search-section"), children: [
2336
+ return /* @__PURE__ */ jsxs("div", { className: cx$4("vehicle-search-section"), children: [
2318
2337
  /* @__PURE__ */ jsx("p", { children: "\uC6B4\uC804 \uCC28\uC885" }),
2319
2338
  /* @__PURE__ */ jsx(
2320
2339
  Radio.Root,
2321
2340
  {
2322
2341
  name: "vehicle-selection",
2323
2342
  size: "small",
2324
- className: cx$2("vehicle-radio-root"),
2343
+ className: cx$4("vehicle-radio-root"),
2325
2344
  defaultValue: selectedVehicle?.integrationCodeValue || "",
2326
2345
  children: vehicles.map((vehicle, index) => /* @__PURE__ */ jsxs(
2327
2346
  Radio.Item,
@@ -2336,7 +2355,7 @@ function VehicleSearch({ vehicles, onVehicleSelect, selectedVehicle }) {
2336
2355
  onVehicleSelect(selected);
2337
2356
  }
2338
2357
  },
2339
- className: cx$2("item"),
2358
+ className: cx$4("item"),
2340
2359
  children: [
2341
2360
  vehicle.integrationCodeValueName,
2342
2361
  "(",
@@ -2413,7 +2432,7 @@ const useJobVehicleSearch = () => {
2413
2432
  };
2414
2433
  };
2415
2434
 
2416
- const cx$1 = classNames.bind(styles$7);
2435
+ const cx$3 = classNames.bind(styles$7);
2417
2436
  function useJobVehicleSearchModal() {
2418
2437
  const {
2419
2438
  selectedVehicle,
@@ -2463,18 +2482,18 @@ function useJobVehicleSearchModal() {
2463
2482
  /* @__PURE__ */ jsx(Modal.Overlay, {}),
2464
2483
  /* @__PURE__ */ jsxs(Modal.Content, { style: { height: "697px" }, children: [
2465
2484
  /* @__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: [
2485
+ /* @__PURE__ */ jsx(Modal.Body, { className: cx$3("job-vehicle-search-modal"), raw: true, children: /* @__PURE__ */ jsxs(Fragment, { children: [
2486
+ /* @__PURE__ */ jsxs("div", { className: cx$3("left-panel"), children: [
2487
+ /* @__PURE__ */ jsxs("div", { className: cx$3("card-section"), children: [
2469
2488
  /* @__PURE__ */ jsxs(
2470
2489
  "div",
2471
2490
  {
2472
- className: cx$1("card-menu", { "card-selected": rightPanelView === "jobSearch" }),
2491
+ className: cx$3("card-menu", { "card-selected": rightPanelView === "jobSearch" }),
2473
2492
  onClick: () => setRightPanelView("jobSearch"),
2474
2493
  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" }),
2494
+ /* @__PURE__ */ jsxs("div", { className: cx$3("card-title"), children: [
2495
+ /* @__PURE__ */ jsx(IconIllustJob, { className: cx$3("card-icon") }),
2496
+ /* @__PURE__ */ jsx("span", { className: cx$3("card-text", "typo-title5", "text-body"), children: "\uC9C1\uC885" }),
2478
2497
  /* @__PURE__ */ jsx(IconSubUiArrowRight, {})
2479
2498
  ] }),
2480
2499
  /* @__PURE__ */ jsx("div", { className: "typo-body2 text-body_2", children: selectedJob ? selectedJob.occupationIndustryName : "\uBBF8\uC120\uD0DD" })
@@ -2484,12 +2503,12 @@ function useJobVehicleSearchModal() {
2484
2503
  /* @__PURE__ */ jsxs(
2485
2504
  "div",
2486
2505
  {
2487
- className: cx$1("card-menu", { "card-selected": rightPanelView === "vehicleSelection" }),
2506
+ className: cx$3("card-menu", { "card-selected": rightPanelView === "vehicleSelection" }),
2488
2507
  onClick: () => setRightPanelView("vehicleSelection"),
2489
2508
  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" }),
2509
+ /* @__PURE__ */ jsxs("div", { className: cx$3("card-title"), children: [
2510
+ /* @__PURE__ */ jsx(IconIllustVehicle, { className: cx$3("card-icon") }),
2511
+ /* @__PURE__ */ jsx("span", { className: cx$3("card-text", "typo-title5", "text-body"), children: "\uC6B4\uC804 \uC5EC\uBD80\xB7\uCC28\uC885" }),
2493
2512
  /* @__PURE__ */ jsx(IconSubUiArrowRight, {})
2494
2513
  ] }),
2495
2514
  /* @__PURE__ */ jsxs("div", { className: "typo-body2 text-body_2", children: [
@@ -2502,7 +2521,7 @@ function useJobVehicleSearchModal() {
2502
2521
  ] }),
2503
2522
  /* @__PURE__ */ jsx(JobVehicleSearchGrade, { riskGrade, hospitalizationGrade })
2504
2523
  ] }),
2505
- /* @__PURE__ */ jsx("div", { className: cx$1("right-panel"), children: rightPanelView === "jobSearch" ? JobSearch : VehicleSearch })
2524
+ /* @__PURE__ */ jsx("div", { className: cx$3("right-panel"), children: rightPanelView === "jobSearch" ? JobSearch : VehicleSearch })
2506
2525
  ] }) }),
2507
2526
  /* @__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
2527
  ] })
@@ -2510,6 +2529,201 @@ function useJobVehicleSearchModal() {
2510
2529
  };
2511
2530
  }
2512
2531
 
2532
+ const cx$2 = classNames.bind(styles$9);
2533
+ function DeaCustomerSearchResult({
2534
+ customerList,
2535
+ onCustomerSelect,
2536
+ selectedCustomer
2537
+ }) {
2538
+ return /* @__PURE__ */ jsxs("div", { className: cx$2("result-section"), children: [
2539
+ /* @__PURE__ */ jsxs("p", { className: cx$2("result-title"), children: [
2540
+ "\uCD1D ",
2541
+ /* @__PURE__ */ jsx("span", { className: "text-primary", children: customerList.length }),
2542
+ "\uAC74\uC758 \uAC80\uC0C9\uACB0\uACFC"
2543
+ ] }),
2544
+ /* @__PURE__ */ jsxs(Table, { variant: "horizontal", children: [
2545
+ /* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { children: [
2546
+ /* @__PURE__ */ jsx("th", { className: cx$2("th-padding"), children: "\uC120\uD0DD" }),
2547
+ /* @__PURE__ */ jsx("th", { className: cx$2("th-padding"), children: "\uACE0\uAC1DID" }),
2548
+ /* @__PURE__ */ jsx("th", { className: cx$2("th-padding"), children: "\uACE0\uAC1D\uBA85" }),
2549
+ /* @__PURE__ */ jsx("th", { className: cx$2("th-padding"), children: "\uC8FC\uBBFC\uB4F1\uB85D\uBC88\uD638" }),
2550
+ /* @__PURE__ */ jsx("th", { className: cx$2("th-padding"), children: "\uC9C1\uC885\uC5C5\uC885\uBA85" }),
2551
+ /* @__PURE__ */ jsx("th", { className: cx$2("th-padding"), children: "\uC804\uD654\uBC88\uD638" }),
2552
+ /* @__PURE__ */ jsx("th", { className: cx$2("th-padding"), children: "\uC8FC\uC18C" })
2553
+ ] }) }),
2554
+ /* @__PURE__ */ jsx("tbody", { children: customerList.length > 0 ? customerList.map((customer) => /* @__PURE__ */ jsxs("tr", { children: [
2555
+ /* @__PURE__ */ jsx("td", { children: /* @__PURE__ */ jsx(
2556
+ "input",
2557
+ {
2558
+ type: "radio",
2559
+ name: "customer",
2560
+ value: customer.customerId || "",
2561
+ checked: selectedCustomer?.customerId === customer.customerId,
2562
+ onChange: () => onCustomerSelect(customer)
2563
+ }
2564
+ ) }),
2565
+ /* @__PURE__ */ jsx("td", { children: customer.customerId }),
2566
+ /* @__PURE__ */ jsx("td", { children: customer.customerName }),
2567
+ /* @__PURE__ */ jsx("td", { children: customer.residentNumber }),
2568
+ /* @__PURE__ */ jsx("td", { children: customer.occupationKindName }),
2569
+ /* @__PURE__ */ jsx("td", { children: customer.mobilePhoneNumber }),
2570
+ /* @__PURE__ */ jsx("td", { children: customer.address })
2571
+ ] }, customer.customerId)) : /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx("td", { colSpan: 7, children: /* @__PURE__ */ jsxs("div", { className: cx$2("no-result"), children: [
2572
+ /* @__PURE__ */ jsx(IconGraphicsFeedbackEmpty, {}),
2573
+ /* @__PURE__ */ jsx("p", { children: "\uC870\uD68C \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }),
2574
+ /* @__PURE__ */ jsx("p", { children: "\uC785\uB825\uD55C \uC815\uBCF4\uB97C \uB2E4\uC2DC \uD655\uC778\uD574\uC8FC\uC138\uC694." })
2575
+ ] }) }) }) })
2576
+ ] })
2577
+ ] });
2578
+ }
2579
+
2580
+ const { TextField } = FormField;
2581
+ const cx$1 = classNames.bind(styles$9);
2582
+ function DeaCustomerSearch({
2583
+ setSearchParams,
2584
+ customerList,
2585
+ onCustomerSelect,
2586
+ selectedCustomer
2587
+ }) {
2588
+ const [residentNumber1, setResidentNumber1] = useState("");
2589
+ const [residentNumber2, setResidentNumber2] = useState("");
2590
+ const handleSearch = () => {
2591
+ setSearchParams({ residentNumber: `${residentNumber1}${residentNumber2}` });
2592
+ };
2593
+ const handleReset = () => {
2594
+ setResidentNumber1("");
2595
+ setResidentNumber2("");
2596
+ setSearchParams({});
2597
+ };
2598
+ const onKeyUp = (e) => {
2599
+ e.key === "Enter" && handleSearch();
2600
+ };
2601
+ const onKeyDown = (e) => {
2602
+ if (!(e.key === "Backspace" || !isNaN(parseInt(e.key)))) {
2603
+ e.preventDefault();
2604
+ }
2605
+ };
2606
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
2607
+ /* @__PURE__ */ jsx("div", { className: cx$1("search-section"), children: /* @__PURE__ */ jsxs("div", { className: cx$1("search-filters"), children: [
2608
+ /* @__PURE__ */ jsxs("div", { className: cx$1("search-filter-section"), children: [
2609
+ /* @__PURE__ */ jsx(FormField.Label, { className: "subtitle3 text-body-1", children: "\uACE0\uAC1D \uAD6C\uBD84" }),
2610
+ /* @__PURE__ */ jsx(Select, { value: "personal", placeholder: "\uAC1C\uC778", disabled: true, style: { width: "100px" }, children: /* @__PURE__ */ jsx(Select.Option, { value: "personal", children: "\uAC1C\uC778" }) }),
2611
+ /* @__PURE__ */ jsx(FormField.Label, { className: "subtitle3 text-body-1", children: "\uC8FC\uBBFC\uB4F1\uB85D\uBC88\uD638" }),
2612
+ /* @__PURE__ */ jsx(
2613
+ TextField,
2614
+ {
2615
+ value: residentNumber1,
2616
+ maxLength: 6,
2617
+ placeholder: "\uC55E 6\uC790\uB9AC \uC785\uB825",
2618
+ onChange: (e) => setResidentNumber1(e.target.value),
2619
+ size: "medium",
2620
+ onKeyUp,
2621
+ onKeyDown,
2622
+ rootProps: {
2623
+ className: cx$1("search-input"),
2624
+ onClear: () => {
2625
+ setResidentNumber1("");
2626
+ }
2627
+ }
2628
+ }
2629
+ ),
2630
+ "-",
2631
+ /* @__PURE__ */ jsx(
2632
+ TextField,
2633
+ {
2634
+ value: residentNumber2,
2635
+ maxLength: 7,
2636
+ placeholder: "\uB4A4 7\uC790\uB9AC \uC785\uB825",
2637
+ onChange: (e) => setResidentNumber2(e.target.value),
2638
+ size: "medium",
2639
+ onKeyDown,
2640
+ onKeyUp,
2641
+ rootProps: {
2642
+ className: cx$1("search-input"),
2643
+ onClear: () => {
2644
+ setResidentNumber2("");
2645
+ }
2646
+ }
2647
+ }
2648
+ )
2649
+ ] }),
2650
+ /* @__PURE__ */ jsxs("div", { className: cx$1("search-buttons"), children: [
2651
+ /* @__PURE__ */ jsx(Button, { appearance: "outline", size: "medium", variant: "secondary", onClick: handleReset, children: "\uCD08\uAE30\uD654" }),
2652
+ /* @__PURE__ */ jsx(Button, { appearance: "filled", size: "medium", variant: "primary", onClick: handleSearch, children: "\uC870\uD68C" })
2653
+ ] })
2654
+ ] }) }),
2655
+ /* @__PURE__ */ jsx("div", { className: cx$1("divider") }),
2656
+ /* @__PURE__ */ jsx(
2657
+ DeaCustomerSearchResult,
2658
+ {
2659
+ customerList,
2660
+ onCustomerSelect,
2661
+ selectedCustomer
2662
+ }
2663
+ )
2664
+ ] });
2665
+ }
2666
+
2667
+ const DeaCustomerSearchModal = ({ isOpen, onClose, onSave }) => {
2668
+ const [selectedCustomer, setSelectedCustomer] = useState(null);
2669
+ const [searchParams, setSearchParams] = useState({});
2670
+ const canSearch = useMemo(() => !!(searchParams.customerName || searchParams.residentNumber), [searchParams]);
2671
+ const { data, isFetching } = useQuery({
2672
+ queryKey: ["deaCustomerSearch", searchParams],
2673
+ queryFn: () => getDspCustomerListMethod(searchParams),
2674
+ enabled: canSearch,
2675
+ retry: false
2676
+ });
2677
+ const [customerList, setCustomerList] = useState([]);
2678
+ useEffect(() => {
2679
+ if (data?.data) {
2680
+ setCustomerList(data.data);
2681
+ } else {
2682
+ setCustomerList([]);
2683
+ }
2684
+ }, [data]);
2685
+ useEffect(() => {
2686
+ setSelectedCustomer(null);
2687
+ }, [customerList]);
2688
+ const handleCustomerSelect = (customer) => {
2689
+ setSelectedCustomer(customer);
2690
+ };
2691
+ const handleSave = () => {
2692
+ if (selectedCustomer) {
2693
+ onSave(selectedCustomer);
2694
+ onClose();
2695
+ }
2696
+ };
2697
+ return /* @__PURE__ */ jsxs(Modal.Root, { isOpen, onClose, modalSize: "xlarge", children: [
2698
+ /* @__PURE__ */ jsx(Modal.Overlay, {}),
2699
+ /* @__PURE__ */ jsxs(Modal.Content, { style: { height: "697px" }, children: [
2700
+ /* @__PURE__ */ jsx(Modal.Header, { headerTitle: "\uACE0\uAC1D \uAC80\uC0C9", showCloseButton: true }),
2701
+ /* @__PURE__ */ jsx(Modal.Body, { children: /* @__PURE__ */ jsx(
2702
+ DeaCustomerSearch,
2703
+ {
2704
+ setSearchParams,
2705
+ customerList,
2706
+ onCustomerSelect: handleCustomerSelect,
2707
+ selectedCustomer,
2708
+ isLoading: isFetching
2709
+ }
2710
+ ) }),
2711
+ /* @__PURE__ */ jsx(Modal.Footer, { children: /* @__PURE__ */ jsx(
2712
+ Button,
2713
+ {
2714
+ variant: "primary",
2715
+ size: "medium",
2716
+ appearance: "filled",
2717
+ width: "full",
2718
+ onClick: handleSave,
2719
+ disabled: !selectedCustomer,
2720
+ children: "\uC800\uC7A5\uD558\uAE30"
2721
+ }
2722
+ ) })
2723
+ ] })
2724
+ ] });
2725
+ };
2726
+
2513
2727
  const useCustomerSearch = (onSelect) => {
2514
2728
  const { triggerRef, isOpen, setIsOpen, DropDown } = useDropDown();
2515
2729
  const [searchKeyword, setSearchKeyword] = useState("");
@@ -2580,7 +2794,7 @@ const useCustomerSearch = (onSelect) => {
2580
2794
  };
2581
2795
  };
2582
2796
 
2583
- const cx = classNames.bind(styles$9);
2797
+ const cx = classNames.bind(styles$a);
2584
2798
  const highlightOnSearchKeyword = (originalText, targetString) => {
2585
2799
  if (!targetString || !originalText?.includes(targetString)) {
2586
2800
  return originalText;
@@ -2849,5 +3063,5 @@ const useRemoteIdentityVerificationPopup = (config) => {
2849
3063
  };
2850
3064
  };
2851
3065
 
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 };
3066
+ 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
3067
  //# sourceMappingURL=index.esm.js.map