sales-frontend-components 0.0.77 → 0.0.79

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.cjs.js CHANGED
@@ -11,9 +11,11 @@ var styles$1 = require('./step-indicator/step-indicator.module.scss');
11
11
  var styles$2 = require('./camera/camera.module.scss');
12
12
  var styles$3 = require('./modal/standard/address-search/select-address.module.scss');
13
13
  var styles$4 = require('./modal/standard/bank-stock-search/bank-stock-search-modal.module.scss');
14
- var styles$5 = require('./modal/pre-standard/job-vehicle-search-modal/job-vehicle-search-modal.module.scss');
15
- var styles$6 = require('./modal/pre-standard/vehicle-search-modal/vehicle-search-modal.module.scss');
16
- var styles$7 = require('./modal/standard/customer-search/customer-search.module.scss');
14
+ var styles$5 = require('./modal/pre-standard/organization-search-modal/organization-search-modal.module.scss');
15
+ var styles$6 = require('./modal/pre-standard/employee-search-modal/employee-search-modal.module.scss');
16
+ var styles$7 = require('./modal/pre-standard/job-vehicle-search-modal/job-vehicle-search-modal.module.scss');
17
+ var styles$8 = require('./modal/pre-standard/vehicle-search-modal/vehicle-search-modal.module.scss');
18
+ var styles$9 = require('./modal/standard/customer-search/customer-search.module.scss');
17
19
 
18
20
  const FormCheckboxButton = ({
19
21
  name,
@@ -233,15 +235,15 @@ const highlightOnSearchKeyword$1 = (originalText, targetString) => {
233
235
  return originalText;
234
236
  };
235
237
 
236
- const cx$a = classNames.bind(styles);
238
+ const cx$e = classNames.bind(styles);
237
239
  function JobSearchCategory({ filteredJobs, onJobSelect, searchTerm }) {
238
- return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$a("category-section"), children: [
239
- /* @__PURE__ */ jsxRuntime.jsxs("p", { className: cx$a("result-title"), children: [
240
+ return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$e("category-section"), children: [
241
+ /* @__PURE__ */ jsxRuntime.jsxs("p", { className: cx$e("result-title"), children: [
240
242
  "\uCD1D ",
241
243
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary", children: filteredJobs.length }),
242
244
  "\uAC74\uC758 \uAC80\uC0C9\uACB0\uACFC"
243
245
  ] }),
244
- /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Accordion.Root, { children: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Radio.Root, { name: "job-selection", size: "small", className: cx$a("job-radio-root"), onToggle: () => {
246
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Accordion.Root, { children: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Radio.Root, { name: "job-selection", size: "small", className: cx$e("job-radio-root"), onToggle: () => {
245
247
  }, children: filteredJobs.map((job, index) => /* @__PURE__ */ jsxRuntime.jsxs(
246
248
  salesFrontendDesignSystem.Accordion.Item,
247
249
  {
@@ -281,23 +283,23 @@ function JobSearchCategory({ filteredJobs, onJobSelect, searchTerm }) {
281
283
  ] }) });
282
284
  }
283
285
 
284
- const cx$9 = classNames.bind(styles);
286
+ const cx$d = classNames.bind(styles);
285
287
  function JobSearchFavorite({ filteredJobs, onJobSelect }) {
286
- return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$9("popular-jobs"), children: [
288
+ return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$d("popular-jobs"), children: [
287
289
  /* @__PURE__ */ jsxRuntime.jsx("p", { children: "\uB9CE\uC774 \uCC3E\uB294 \uC9C1\uC885" }),
288
- /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Accordion.Root, { children: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Radio.Root, { name: "job-selection", size: "small", className: cx$9("job-radio-root"), children: filteredJobs.map((job, index) => /* @__PURE__ */ jsxRuntime.jsxs(
290
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Accordion.Root, { children: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Radio.Root, { name: "job-selection", size: "small", className: cx$d("job-radio-root"), children: filteredJobs.map((job, index) => /* @__PURE__ */ jsxRuntime.jsxs(
289
291
  salesFrontendDesignSystem.Accordion.Item,
290
292
  {
291
293
  id: `item-${job.occupationIndustryCode}-${index}`,
292
- className: cx$9("accordion-item"),
294
+ className: cx$d("accordion-item"),
293
295
  children: [
294
- /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Accordion.HeaderDiv, { className: cx$9("accordion-header-item"), children: /* @__PURE__ */ jsxRuntime.jsxs(
296
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Accordion.HeaderDiv, { className: cx$d("accordion-header-item"), children: /* @__PURE__ */ jsxRuntime.jsxs(
295
297
  salesFrontendDesignSystem.Radio.Item,
296
298
  {
297
299
  size: "small",
298
300
  value: job.occupationIndustryCode,
299
301
  onChange: () => onJobSelect(job),
300
- className: cx$9("radio-item"),
302
+ className: cx$d("radio-item"),
301
303
  children: [
302
304
  job.occupationIndustryName,
303
305
  "(",
@@ -314,15 +316,15 @@ function JobSearchFavorite({ filteredJobs, onJobSelect }) {
314
316
  ] }) });
315
317
  }
316
318
 
317
- const cx$8 = classNames.bind(styles);
319
+ const cx$c = classNames.bind(styles);
318
320
  function JobSearchResult({ filteredJobs, onJobSelect, searchTerm }) {
319
- return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$8("popular-jobs"), children: [
320
- /* @__PURE__ */ jsxRuntime.jsxs("p", { className: cx$8("result-title"), children: [
321
+ return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$c("popular-jobs"), children: [
322
+ /* @__PURE__ */ jsxRuntime.jsxs("p", { className: cx$c("result-title"), children: [
321
323
  "\uCD1D ",
322
324
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary", children: filteredJobs.length }),
323
325
  "\uAC74\uC758 \uAC80\uC0C9\uACB0\uACFC"
324
326
  ] }),
325
- /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Accordion.Root, { children: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Radio.Root, { name: "job-selection", size: "small", className: cx$8("job-radio-root"), children: filteredJobs.map((job) => /* @__PURE__ */ jsxRuntime.jsxs(
327
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Accordion.Root, { children: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Radio.Root, { name: "job-selection", size: "small", className: cx$c("job-radio-root"), children: filteredJobs.map((job) => /* @__PURE__ */ jsxRuntime.jsxs(
326
328
  salesFrontendDesignSystem.Accordion.Item,
327
329
  {
328
330
  id: `item-${job.occupationIndustryCode}`,
@@ -367,8 +369,8 @@ function JobSearchResult({ filteredJobs, onJobSelect, searchTerm }) {
367
369
  ] }) });
368
370
  }
369
371
 
370
- const { TextField } = salesFrontendDesignSystem.FormField;
371
- const cx$7 = classNames.bind(styles);
372
+ const { TextField: TextField$2 } = salesFrontendDesignSystem.FormField;
373
+ const cx$b = classNames.bind(styles);
372
374
  const { Option } = salesFrontendDesignSystem.Select;
373
375
  function JobSearch({
374
376
  activeTab,
@@ -405,9 +407,9 @@ function JobSearch({
405
407
  }
406
408
  ),
407
409
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
408
- activeTab === "jobName" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$7("favorite-jobs-section"), children: [
410
+ activeTab === "jobName" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$b("favorite-jobs-section"), children: [
409
411
  /* @__PURE__ */ jsxRuntime.jsx(
410
- TextField,
412
+ TextField$2,
411
413
  {
412
414
  placeholder: "\uC9C1\uC885\uBA85 \uAC80\uC0C9",
413
415
  value: searchInput,
@@ -427,8 +429,8 @@ function JobSearch({
427
429
  !searchTerm && /* @__PURE__ */ jsxRuntime.jsx(JobSearchFavorite, { filteredJobs, onJobSelect }),
428
430
  searchTerm && /* @__PURE__ */ jsxRuntime.jsx(JobSearchResult, { filteredJobs, onJobSelect, searchTerm })
429
431
  ] }),
430
- activeTab === "jobCode" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$7("select-jobs-section"), children: [
431
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$7("category-section"), children: [
432
+ activeTab === "jobCode" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$b("select-jobs-section"), children: [
433
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$b("category-section"), children: [
432
434
  /* @__PURE__ */ jsxRuntime.jsx(
433
435
  salesFrontendDesignSystem.Select,
434
436
  {
@@ -810,7 +812,7 @@ const FormTextField = ({
810
812
  );
811
813
  };
812
814
 
813
- const cx$6 = classNames.bind(styles$1);
815
+ const cx$a = classNames.bind(styles$1);
814
816
  const StepIndicator = ({
815
817
  items,
816
818
  onClickItem,
@@ -845,26 +847,26 @@ const StepIndicator = ({
845
847
  salesFrontendDesignSystem.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");
846
848
  }
847
849
  };
848
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$6("stepper-layout", { loading: isLoading }), children: [
849
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$6("stepper"), children: steps.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsxs(React.Fragment, { children: [
850
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$a("stepper-layout", { loading: isLoading }), children: [
851
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$a("stepper"), children: steps.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsxs(React.Fragment, { children: [
850
852
  /* @__PURE__ */ jsxRuntime.jsx(
851
853
  "div",
852
854
  {
853
- className: cx$6(
855
+ className: cx$a(
854
856
  "circle",
855
857
  { completed: item.isCompleted ?? false },
856
858
  { active: defaultValue === item.value || current === idx }
857
859
  ),
858
860
  onClick: () => handleClickStep?.(item),
859
- children: item.isCompleted ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$6("completed-icon") }) : idx + 1
861
+ children: item.isCompleted ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$a("completed-icon") }) : idx + 1
860
862
  }
861
863
  ),
862
- idx < steps.length - 1 && Array.from({ length: dotCount }).map((_, dotIdx) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$6("dot") }, `dot-${idx}-${dotIdx}`))
864
+ idx < steps.length - 1 && Array.from({ length: dotCount }).map((_, dotIdx) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$a("dot") }, `dot-${idx}-${dotIdx}`))
863
865
  ] }, `num-${idx}`)) }),
864
- /* @__PURE__ */ jsxRuntime.jsx("ul", { className: cx$6("step-labels"), children: steps.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsx(
866
+ /* @__PURE__ */ jsxRuntime.jsx("ul", { className: cx$a("step-labels"), children: steps.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsx(
865
867
  "li",
866
868
  {
867
- className: cx$6(
869
+ className: cx$a(
868
870
  { completed: steps[idx < 1 ? idx : idx - 1]?.isCompleted ?? false },
869
871
  { active: defaultValue === item.value || current === idx }
870
872
  ),
@@ -876,7 +878,7 @@ const StepIndicator = ({
876
878
  ] });
877
879
  };
878
880
 
879
- const cx$5 = classNames.bind(styles$2);
881
+ const cx$9 = classNames.bind(styles$2);
880
882
  function Attachment({
881
883
  photos,
882
884
  onAddPhoto,
@@ -893,14 +895,14 @@ function Attachment({
893
895
  };
894
896
  const renderPhotoSingle = () => {
895
897
  if (photos.length === 0) {
896
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$5("single-photo-item", "add-photo-item"), children: /* @__PURE__ */ jsxRuntime.jsxs("button", { className: cx$5("add-photo-button-single"), onClick: handleAddPhoto, children: [
898
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$9("single-photo-item", "add-photo-item"), children: /* @__PURE__ */ jsxRuntime.jsxs("button", { className: cx$9("add-photo-button-single"), onClick: handleAddPhoto, children: [
897
899
  /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconIllustCamera, {}),
898
900
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: buttonText || "\uC0AC\uC9C4 \uCCA8\uBD80\uD558\uAE30" })
899
901
  ] }) });
900
902
  }
901
- return photos.map((photo) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$5("single-photo-item"), children: [
902
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$5("photo-placeholder"), children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: photo.src, alt: photo.name, className: cx$5("photo-image") }) }),
903
- /* @__PURE__ */ jsxRuntime.jsx("button", { className: cx$5("remove-button"), onClick: () => handleRemovePhoto(photo.id), "aria-label": "\uC0AC\uC9C4 \uC0AD\uC81C", children: "\xD7" })
903
+ return photos.map((photo) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$9("single-photo-item"), children: [
904
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$9("photo-placeholder"), children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: photo.src, alt: photo.name, className: cx$9("photo-image") }) }),
905
+ /* @__PURE__ */ jsxRuntime.jsx("button", { className: cx$9("remove-button"), onClick: () => handleRemovePhoto(photo.id), "aria-label": "\uC0AC\uC9C4 \uC0AD\uC81C", children: "\xD7" })
904
906
  ] }, photo.id));
905
907
  };
906
908
  const renderPhotoGrid = () => {
@@ -908,12 +910,12 @@ function Attachment({
908
910
  const gridItems = [];
909
911
  if (photos.length < maxPhotos) {
910
912
  gridItems.push(
911
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$5("photo-item", "add-photo-item"), children: /* @__PURE__ */ jsxRuntime.jsxs("button", { className: cx$5("add-photo-button"), onClick: handleAddPhoto, children: [
913
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$9("photo-item", "add-photo-item"), children: /* @__PURE__ */ jsxRuntime.jsxs("button", { className: cx$9("add-photo-button"), onClick: handleAddPhoto, children: [
912
914
  /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconIllustCamera, {}),
913
915
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: buttonText || "\uCCA8\uBD80\uD558\uAE30" }),
914
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: cx$5("photo-count"), children: [
916
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: cx$9("photo-count"), children: [
915
917
  "(",
916
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$5("photo-count-number"), children: photos.length }),
918
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$9("photo-count-number"), children: photos.length }),
917
919
  "/",
918
920
  maxPhotos,
919
921
  ")"
@@ -923,9 +925,9 @@ function Attachment({
923
925
  }
924
926
  photos.forEach((photo) => {
925
927
  gridItems.push(
926
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$5("photo-item"), children: [
927
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$5("photo-placeholder"), children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: photo.src, alt: photo.name, className: cx$5("photo-image") }) }),
928
- /* @__PURE__ */ jsxRuntime.jsx("button", { className: cx$5("remove-button"), onClick: () => handleRemovePhoto(photo.id), "aria-label": "\uC0AC\uC9C4 \uC0AD\uC81C", children: "\xD7" })
928
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$9("photo-item"), children: [
929
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$9("photo-placeholder"), children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: photo.src, alt: photo.name, className: cx$9("photo-image") }) }),
930
+ /* @__PURE__ */ jsxRuntime.jsx("button", { className: cx$9("remove-button"), onClick: () => handleRemovePhoto(photo.id), "aria-label": "\uC0AC\uC9C4 \uC0AD\uC81C", children: "\xD7" })
929
931
  ] }, photo.id)
930
932
  );
931
933
  });
@@ -936,9 +938,9 @@ function Attachment({
936
938
  return null;
937
939
  }
938
940
  if (type === "single") {
939
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$5("photo-single"), children: renderPhotoSingle() });
941
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$9("photo-single"), children: renderPhotoSingle() });
940
942
  }
941
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$5("photo-grid", { linear: type === "linear" }), children: renderPhotoGrid() });
943
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$9("photo-grid", { linear: type === "linear" }), children: renderPhotoGrid() });
942
944
  }
943
945
 
944
946
  const maxImageSize = 3 * 1024 * 1024;
@@ -1385,12 +1387,12 @@ function useCanvasPaint(paintProps = {}) {
1385
1387
 
1386
1388
  const testSignatureBase64Data = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAABkCAYAAACoy2Z3AAAQAElEQVR4AeydV6g2ORnHj733smvBiliws9jbhYoFREVQsYIFVBBRUBQRvbCgKIgFCyqoCCqiXiioN/ZesKEXYlkVXV11Xdde/z+/L/u95z0zSeadlmT+h+RkJvMkeZ5/kudJm3kveeQ/I1AvAncX67+S/+8B/glKM6X7uzIbwofI7YxA3QjYgNRdf1vl/p4S/Dz5L8qfLT/UfVkJLpSfymE8LjtVZs7HCNSCgA1ILTVlPkHg4/r3Z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4KRC/n48KBuRzvyOpWJ/5eCAAME9kOo6yV/b6UU+Vfjw51hNeiLLJh9Djohnh9BQgnTOYtkdo8p+MQAwjuepRp+MXKPzLcNIUD7pK7RY+xFNSRaHaIAfB2cmsulEeCHcFDCtBE6KS+AoaSX5mO3PMpHabARzDFO+AoePjGAu/S+bhMBNtWpd9pnmxJWIhWdbiVWXWxlCOyuT9N5dz3rzYz+UfBDxIIegxA2tnfz7LqmvaI02Ic4a0hBpq0OgdA2GCzst4WSDjFUB+yUDNMhp8zPeW0TAU68MPqnPe139tg99BiEsRvbS6Mek6nGZ7w9jqLGmKO4l8aTMik77GOAYWgbDBaW5sflZSJAJWWSmswIGIFWENiTg895oKgx5ugEFPiSnjIp2/sYexVT+i0VVzqP5s8IGAEjYAQKRMAGpMBKMUtGwAgYgRoQsAE5pJacxggYASNgBI5sQNwIjIARMAJG4CAEbEAOgs2JjIARWAkBF1sQAjYgBVWGWTECRsAI1ISADUhNtWVejYARMAIFIWADUlBlLMGKyzACRsAITIWADchUSDofI2AEjMDGELAB2ViFW1wjYATWQqC9cm1A2qtTS2QEjIARWAQBG5BFYHYhRsAIGIH2ELABaa9OW5XIchkBI1AYAjYghVWI2TECRsAI1IKADUgtNWU+jYARMAJrIdBTrg1IDzCONgJGwAgYgTgCNiBxfPzUCBgBI2AEehCwAekBxtFGYDoEnJMRaBMBG5A269VSGQEjYARmR8AGZHaIXYARMAJGoE0EajAgbSJvqYyAETAClSNgA1J5BZp9I2AEjMBaCNiArIW8yzUCNSBgHo1ABAEbkAg4fmQEjIARMAL9CNiA9GPjJ0bACBgBIxBBwAYkAs74R87BCBgBI9AuAjYg7datJTMCRsAIzIqADcis8DpzI2AE1kLA5c6PwP8AAAD//+3/3TsAAAAGSURBVAMAJI6e9smFlTAAAAAASUVORK5CYII=";
1387
1389
 
1388
- const cx$4 = classNames.bind(styles$3);
1390
+ const cx$8 = classNames.bind(styles$3);
1389
1391
  const { InputBox: InputBox$1, Input: Input$1 } = salesFrontendDesignSystem.FormCore;
1390
1392
  const AddressSearchInitialText = () => {
1391
1393
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
1392
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: cx$4("guide-title"), children: "\uC774\uB807\uAC8C \uAC80\uC0C9\uD574 \uBCF4\uC138\uC694." }),
1393
- /* @__PURE__ */ jsxRuntime.jsxs("ul", { className: cx$4("guide"), children: [
1394
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: cx$8("guide-title"), children: "\uC774\uB807\uAC8C \uAC80\uC0C9\uD574 \uBCF4\uC138\uC694." }),
1395
+ /* @__PURE__ */ jsxRuntime.jsxs("ul", { className: cx$8("guide"), children: [
1394
1396
  /* @__PURE__ */ jsxRuntime.jsx("li", { children: "\uB3C4\uB85C\uBA85/\uC9C0\uBA85\uACFC \uAC74\uBB3C\uBC88\uD638\uB97C \uD568\uAED8 \uC785\uB825\uD574\uC8FC\uC138\uC694" }),
1395
1397
  /* @__PURE__ */ jsxRuntime.jsx("li", { children: "\uC608) 63\uB85C 50, \uC5EC\uC758\uB3C4\uB3D9 60" }),
1396
1398
  /* @__PURE__ */ jsxRuntime.jsx("li", { children: "\uC9C0\uBA85\uC740 \uB3D9/\uC74D/\uBA74/\uB9AC\uB85C \uC785\uB825\uD574\uC8FC\uC138\uC694" }),
@@ -1414,7 +1416,7 @@ const AddressSearchResult = ({
1414
1416
  setFilterList(filterList2);
1415
1417
  }, [addressSearchList, searchKeyword]);
1416
1418
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
1417
- /* @__PURE__ */ jsxRuntime.jsxs("p", { className: cx$4("guide-title"), children: [
1419
+ /* @__PURE__ */ jsxRuntime.jsxs("p", { className: cx$8("guide-title"), children: [
1418
1420
  "\uCD1D ",
1419
1421
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary", children: filterList.length }),
1420
1422
  "\uAC74\uC758 \uAC80\uC0C9\uACB0\uACFC"
@@ -1425,20 +1427,20 @@ const AddressSearchResult = ({
1425
1427
  items: filterList.map((item) => ({
1426
1428
  value: item.address,
1427
1429
  select: item.address === selectedAddress?.address && item.zipCode === selectedAddress?.zipCode,
1428
- label: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$4("search-result"), children: [
1429
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$4("zipcode"), children: [
1430
+ label: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$8("search-result"), children: [
1431
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$8("zipcode"), children: [
1430
1432
  " ",
1431
1433
  highlightOnSearchKeyword$1(item.zipCode, searchKeyword)
1432
1434
  ] }),
1433
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$4("divider") }),
1434
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$4("address-info"), children: [
1435
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$4("address"), children: highlightOnSearchKeyword$1(item.address, searchKeyword) }),
1436
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$4("old-address"), children: highlightOnSearchKeyword$1(item.oldAddress, searchKeyword) })
1435
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$8("divider") }),
1436
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$8("address-info"), children: [
1437
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$8("address"), children: highlightOnSearchKeyword$1(item.address, searchKeyword) }),
1438
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$8("old-address"), children: highlightOnSearchKeyword$1(item.oldAddress, searchKeyword) })
1437
1439
  ] })
1438
1440
  ] }),
1439
1441
  id: item.address
1440
1442
  })),
1441
- className: cx$4("radio-group"),
1443
+ className: cx$8("radio-group"),
1442
1444
  name: "address-search",
1443
1445
  size: "medium",
1444
1446
  defaultValue: "",
@@ -1771,7 +1773,352 @@ function BankStockSearchModal({ open, onClose, onSelect }) {
1771
1773
  ] });
1772
1774
  }
1773
1775
 
1774
- const cx$3 = classNames.bind(styles$5);
1776
+ const cx$7 = classNames.bind(styles$5);
1777
+ function OrganizationSearchResult({
1778
+ filteredOrganizations,
1779
+ onOrganizationSelect
1780
+ }) {
1781
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$7("result-section"), children: [
1782
+ /* @__PURE__ */ jsxRuntime.jsxs("p", { className: cx$7("result-title"), children: [
1783
+ "\uCD1D ",
1784
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary", children: filteredOrganizations.length }),
1785
+ "\uAC74\uC758 \uAC80\uC0C9\uACB0\uACFC"
1786
+ ] }),
1787
+ filteredOrganizations.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(salesFrontendDesignSystem.Table, { variant: "horizontal", children: [
1788
+ /* @__PURE__ */ jsxRuntime.jsx("thead", { children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
1789
+ /* @__PURE__ */ jsxRuntime.jsx("th", { className: cx$7("th-padding"), children: "\uC120\uD0DD" }),
1790
+ /* @__PURE__ */ jsxRuntime.jsx("th", { className: cx$7("th-padding"), children: "\uAE30\uAD00\uCF54\uB4DC" }),
1791
+ /* @__PURE__ */ jsxRuntime.jsx("th", { className: cx$7("th-padding"), children: "\uAE30\uAD00\uBA85" })
1792
+ ] }) }),
1793
+ /* @__PURE__ */ jsxRuntime.jsx("tbody", { children: filteredOrganizations.map((organization) => {
1794
+ return /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
1795
+ /* @__PURE__ */ jsxRuntime.jsx("td", { children: /* @__PURE__ */ jsxRuntime.jsx(
1796
+ "input",
1797
+ {
1798
+ type: "radio",
1799
+ name: "organization",
1800
+ value: organization.organizationCode || "",
1801
+ onChange: () => onOrganizationSelect(organization)
1802
+ }
1803
+ ) }),
1804
+ /* @__PURE__ */ jsxRuntime.jsx("td", { children: organization.organizationCode }),
1805
+ /* @__PURE__ */ jsxRuntime.jsx("td", { children: organization.organizationName })
1806
+ ] }, organization.organizationCode);
1807
+ }) })
1808
+ ] }) : /* @__PURE__ */ jsxRuntime.jsxs(salesFrontendDesignSystem.Table, { variant: "horizontal", children: [
1809
+ /* @__PURE__ */ jsxRuntime.jsx("thead", { children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
1810
+ /* @__PURE__ */ jsxRuntime.jsx("th", { className: cx$7("th-padding"), children: "\uC120\uD0DD" }),
1811
+ /* @__PURE__ */ jsxRuntime.jsx("th", { className: cx$7("th-padding"), children: "\uAE30\uAD00\uCF54\uB4DC" }),
1812
+ /* @__PURE__ */ jsxRuntime.jsx("th", { className: cx$7("th-padding"), children: "\uAE30\uAD00\uBA85" })
1813
+ ] }) }),
1814
+ /* @__PURE__ */ jsxRuntime.jsx("tbody", { children: /* @__PURE__ */ jsxRuntime.jsx("tr", { children: /* @__PURE__ */ jsxRuntime.jsx("td", { colSpan: 3, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$7("no-result"), children: [
1815
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconGraphicsFeedbackEmpty, {}),
1816
+ /* @__PURE__ */ jsxRuntime.jsx("p", { children: "\uC870\uD68C \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }),
1817
+ /* @__PURE__ */ jsxRuntime.jsx("p", { children: "\uC785\uB825\uD55C \uC815\uBCF4\uB97C \uB2E4\uC2DC \uD655\uC778\uD574\uC8FC\uC138\uC694." })
1818
+ ] }) }) }) })
1819
+ ] })
1820
+ ] });
1821
+ }
1822
+
1823
+ const { TextField: TextField$1 } = salesFrontendDesignSystem.FormField;
1824
+ const cx$6 = classNames.bind(styles$5);
1825
+ function OrganizationSearch({
1826
+ searchTerm,
1827
+ setSearchTerm,
1828
+ searchInput,
1829
+ setSearchInput,
1830
+ organizationList,
1831
+ onOrganizationSelect
1832
+ }) {
1833
+ const handleSearch = () => {
1834
+ setSearchTerm(searchInput);
1835
+ };
1836
+ const handleReset = () => {
1837
+ setSearchTerm("");
1838
+ setSearchInput("");
1839
+ };
1840
+ return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1841
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$6("search-section"), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$6("search-filters"), children: [
1842
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$6("search-filter-section"), children: [
1843
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.FormField.Label, { className: "subtitle3 text-body-1", children: "\uAE30\uAD00\uBA85/\uCF54\uB4DC" }),
1844
+ /* @__PURE__ */ jsxRuntime.jsx(
1845
+ TextField$1,
1846
+ {
1847
+ value: searchInput,
1848
+ onChange: (e) => setSearchInput(e.target.value),
1849
+ size: "medium",
1850
+ onKeyUp: (e) => e.key === "Enter" && handleSearch(),
1851
+ rootProps: {
1852
+ className: cx$6("search-input"),
1853
+ clearable: true,
1854
+ onClear: handleReset
1855
+ }
1856
+ }
1857
+ )
1858
+ ] }),
1859
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$6("search-buttons"), children: [
1860
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Button, { appearance: "outline", size: "medium", variant: "secondary", onClick: handleReset, children: "\uCD08\uAE30\uD654" }),
1861
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Button, { appearance: "filled", size: "medium", variant: "primary", onClick: handleSearch, children: "\uC870\uD68C" })
1862
+ ] })
1863
+ ] }) }),
1864
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$6("divider") }),
1865
+ searchTerm && /* @__PURE__ */ jsxRuntime.jsx(
1866
+ OrganizationSearchResult,
1867
+ {
1868
+ filteredOrganizations: organizationList,
1869
+ onOrganizationSelect,
1870
+ searchTerm
1871
+ }
1872
+ )
1873
+ ] });
1874
+ }
1875
+
1876
+ const OrganizationSearchModal = ({ isOpen, onClose, onSelect }) => {
1877
+ const [selectedOrganization, setSelectedOrganization] = React.useState(null);
1878
+ const [searchTerm, setSearchTerm] = React.useState("");
1879
+ const [searchInput, setSearchInput] = React.useState("");
1880
+ const { data } = method.useSearchOrganizationQuery({
1881
+ searchWord: searchTerm
1882
+ });
1883
+ const [organizationList, setOrganizationList] = React.useState([]);
1884
+ React.useEffect(() => {
1885
+ if (data?.data) {
1886
+ setOrganizationList(data.data);
1887
+ } else {
1888
+ setOrganizationList([]);
1889
+ }
1890
+ }, [data]);
1891
+ const handleOrganizationSelect = (organization) => {
1892
+ setSelectedOrganization(organization);
1893
+ };
1894
+ const handleSelect = () => {
1895
+ if (selectedOrganization) {
1896
+ onSelect(selectedOrganization);
1897
+ onClose();
1898
+ }
1899
+ };
1900
+ return /* @__PURE__ */ jsxRuntime.jsxs(salesFrontendDesignSystem.Modal.Root, { isOpen, onClose, modalSize: "xlarge", children: [
1901
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Modal.Overlay, {}),
1902
+ /* @__PURE__ */ jsxRuntime.jsxs(salesFrontendDesignSystem.Modal.Content, { style: { height: "697px" }, children: [
1903
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Modal.Header, { headerTitle: "\uAE30\uAD00 \uAC80\uC0C9", showCloseButton: true }),
1904
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Modal.Body, { children: /* @__PURE__ */ jsxRuntime.jsx(
1905
+ OrganizationSearch,
1906
+ {
1907
+ searchTerm,
1908
+ setSearchTerm,
1909
+ searchInput,
1910
+ setSearchInput,
1911
+ organizationList,
1912
+ onOrganizationSelect: handleOrganizationSelect
1913
+ }
1914
+ ) }),
1915
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Modal.Footer, { children: /* @__PURE__ */ jsxRuntime.jsx(
1916
+ salesFrontendDesignSystem.Button,
1917
+ {
1918
+ variant: "primary",
1919
+ size: "medium",
1920
+ appearance: "filled",
1921
+ width: "full",
1922
+ onClick: handleSelect,
1923
+ disabled: !selectedOrganization,
1924
+ children: "\uC800\uC7A5\uD558\uAE30"
1925
+ }
1926
+ ) })
1927
+ ] })
1928
+ ] });
1929
+ };
1930
+
1931
+ const EMPLOYEE_SEARCH_TABS = [
1932
+ { value: "WHOL", label: "\uC804\uCCB4" },
1933
+ { value: "FP", label: "FP" },
1934
+ { value: "WKIS", label: "\uB0B4\uADFC" }
1935
+ ];
1936
+
1937
+ const cx$5 = classNames.bind(styles$6);
1938
+ function EmployeeSearchResult({ filteredEmployees, onEmployeeSelect }) {
1939
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$5("result-section"), children: [
1940
+ /* @__PURE__ */ jsxRuntime.jsxs("p", { className: cx$5("result-title"), children: [
1941
+ "\uCD1D ",
1942
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary", children: filteredEmployees.length }),
1943
+ "\uAC74\uC758 \uAC80\uC0C9\uACB0\uACFC"
1944
+ ] }),
1945
+ filteredEmployees.length > 0 ? /* @__PURE__ */ jsxRuntime.jsxs(salesFrontendDesignSystem.Table, { variant: "horizontal", children: [
1946
+ /* @__PURE__ */ jsxRuntime.jsx("thead", { children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
1947
+ /* @__PURE__ */ jsxRuntime.jsx("th", { className: cx$5("th-padding"), children: "\uC120\uD0DD" }),
1948
+ /* @__PURE__ */ jsxRuntime.jsx("th", { className: cx$5("th-padding"), children: "\uC0AC\uC6D0\uBC88\uD638" }),
1949
+ /* @__PURE__ */ jsxRuntime.jsx("th", { className: cx$5("th-padding"), children: "\uC0AC\uC6D0\uBA85" }),
1950
+ /* @__PURE__ */ jsxRuntime.jsx("th", { className: cx$5("th-padding"), children: "\uC18C\uC18D\uAE30\uAD00\uBA85" }),
1951
+ /* @__PURE__ */ jsxRuntime.jsx("th", { className: cx$5("th-padding"), children: "\uC0AC\uC6D0\uAD6C\uBD84" })
1952
+ ] }) }),
1953
+ /* @__PURE__ */ jsxRuntime.jsx("tbody", { children: filteredEmployees.map((employee) => {
1954
+ return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
1955
+ /* @__PURE__ */ jsxRuntime.jsx("td", { children: /* @__PURE__ */ jsxRuntime.jsx(
1956
+ "input",
1957
+ {
1958
+ type: "radio",
1959
+ name: "employee",
1960
+ value: employee.employeeNumber || "",
1961
+ onChange: (e) => {
1962
+ onEmployeeSelect(employee);
1963
+ }
1964
+ }
1965
+ ) }),
1966
+ /* @__PURE__ */ jsxRuntime.jsx("td", { children: employee.employeeNumber }),
1967
+ /* @__PURE__ */ jsxRuntime.jsx("td", { children: employee.employeeName }),
1968
+ /* @__PURE__ */ jsxRuntime.jsx("td", { children: employee.organizationName }),
1969
+ /* @__PURE__ */ jsxRuntime.jsx("td", { children: employee.employeeDivisionCode })
1970
+ ] }) });
1971
+ }) })
1972
+ ] }) : /* @__PURE__ */ jsxRuntime.jsxs(salesFrontendDesignSystem.Table, { variant: "horizontal", children: [
1973
+ /* @__PURE__ */ jsxRuntime.jsx("thead", { children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
1974
+ /* @__PURE__ */ jsxRuntime.jsx("th", { className: cx$5("th-padding"), children: "\uC120\uD0DD" }),
1975
+ /* @__PURE__ */ jsxRuntime.jsx("th", { className: cx$5("th-padding"), children: "\uC0AC\uC6D0\uBC88\uD638" }),
1976
+ /* @__PURE__ */ jsxRuntime.jsx("th", { className: cx$5("th-padding"), children: "\uC0AC\uC6D0\uBA85" }),
1977
+ /* @__PURE__ */ jsxRuntime.jsx("th", { className: cx$5("th-padding"), children: "\uC18C\uC18D\uAE30\uAD00\uBA85" }),
1978
+ /* @__PURE__ */ jsxRuntime.jsx("th", { className: cx$5("th-padding"), children: "\uC0AC\uC6D0\uAD6C\uBD84" })
1979
+ ] }) }),
1980
+ /* @__PURE__ */ jsxRuntime.jsx("tbody", { children: /* @__PURE__ */ jsxRuntime.jsx("tr", { children: /* @__PURE__ */ jsxRuntime.jsx("td", { colSpan: 5, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$5("no-result"), children: [
1981
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconGraphicsFeedbackEmpty, {}),
1982
+ /* @__PURE__ */ jsxRuntime.jsx("p", { children: "\uC870\uD68C \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }),
1983
+ /* @__PURE__ */ jsxRuntime.jsx("p", { children: "\uC785\uB825\uD55C \uC815\uBCF4\uB97C \uB2E4\uC2DC \uD655\uC778\uD574\uC8FC\uC138\uC694." })
1984
+ ] }) }) }) })
1985
+ ] })
1986
+ ] });
1987
+ }
1988
+
1989
+ const { TextField } = salesFrontendDesignSystem.FormField;
1990
+ const cx$4 = classNames.bind(styles$6);
1991
+ function EmployeeSearch({
1992
+ activeTab,
1993
+ onTabChange,
1994
+ searchTerm,
1995
+ setSearchTerm,
1996
+ searchInput,
1997
+ setSearchInput,
1998
+ employeeList,
1999
+ onEmployeeSelect
2000
+ }) {
2001
+ const handleSearch = () => {
2002
+ setSearchTerm(searchInput);
2003
+ };
2004
+ const handleReset = () => {
2005
+ setSearchTerm("");
2006
+ setSearchInput("");
2007
+ };
2008
+ return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2009
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$4("search-section"), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$4("search-filters"), children: [
2010
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$4("search-filter-section"), children: [
2011
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.FormField.Label, { className: "subtitle3 text-body-1", children: "\uC131\uBA85/\uC0AC\uBC88" }),
2012
+ /* @__PURE__ */ jsxRuntime.jsx(
2013
+ TextField,
2014
+ {
2015
+ value: searchInput,
2016
+ onChange: (e) => setSearchInput(e.target.value),
2017
+ className: styles$6.searchInput,
2018
+ size: "medium",
2019
+ onKeyUp: (e) => e.key === "Enter" && handleSearch(),
2020
+ rootProps: {
2021
+ onClear: handleReset,
2022
+ clearable: true
2023
+ }
2024
+ }
2025
+ )
2026
+ ] }),
2027
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$4("search-filter-section"), children: [
2028
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.FormField.Label, { className: "subtitle3 text-body-1", children: "\uC0AC\uC6D0 \uAD6C\uBD84" }),
2029
+ /* @__PURE__ */ jsxRuntime.jsx(
2030
+ salesFrontendDesignSystem.Select,
2031
+ {
2032
+ value: activeTab,
2033
+ onChange: (value) => onTabChange(value),
2034
+ className: styles$6.select,
2035
+ size: "medium",
2036
+ children: EMPLOYEE_SEARCH_TABS.map((option) => /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Select.Option, { value: option.value, children: option.label }, option.value))
2037
+ }
2038
+ )
2039
+ ] }),
2040
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$4("search-buttons"), children: [
2041
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Button, { appearance: "outline", size: "medium", variant: "secondary", onClick: handleReset, children: "\uCD08\uAE30\uD654" }),
2042
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Button, { appearance: "filled", size: "medium", variant: "primary", onClick: handleSearch, children: "\uC870\uD68C" })
2043
+ ] })
2044
+ ] }) }),
2045
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$4("divider") }),
2046
+ searchTerm && /* @__PURE__ */ jsxRuntime.jsx(
2047
+ EmployeeSearchResult,
2048
+ {
2049
+ filteredEmployees: employeeList,
2050
+ onEmployeeSelect,
2051
+ searchTerm
2052
+ }
2053
+ )
2054
+ ] });
2055
+ }
2056
+
2057
+ const EmployeeSearchModal = ({ isOpen, onClose, onSelect }) => {
2058
+ const [activeTab, setActiveTab] = React.useState("WHOL");
2059
+ const [selectedEmployee, setSelectedEmployee] = React.useState(null);
2060
+ const [searchTerm, setSearchTerm] = React.useState("");
2061
+ const [searchInput, setSearchInput] = React.useState("");
2062
+ const { data } = method.useSearchEmployeeProfileQuery({
2063
+ searchWord: searchTerm,
2064
+ employeeDivisionCode: activeTab
2065
+ });
2066
+ const [employeeList, setEmployeeList] = React.useState([]);
2067
+ React.useEffect(() => {
2068
+ if (data?.data) {
2069
+ setEmployeeList(data.data);
2070
+ } else {
2071
+ setEmployeeList([]);
2072
+ }
2073
+ }, [data]);
2074
+ const handleEmployeeSelect = (employee) => {
2075
+ setSelectedEmployee(employee);
2076
+ };
2077
+ const handleSelect = () => {
2078
+ if (selectedEmployee) {
2079
+ onSelect(selectedEmployee);
2080
+ onClose();
2081
+ }
2082
+ };
2083
+ const onTabChange = (value) => {
2084
+ setSearchTerm("");
2085
+ setSearchInput("");
2086
+ setActiveTab(value);
2087
+ };
2088
+ return /* @__PURE__ */ jsxRuntime.jsxs(salesFrontendDesignSystem.Modal.Root, { isOpen, onClose, modalSize: "xlarge", children: [
2089
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Modal.Overlay, {}),
2090
+ /* @__PURE__ */ jsxRuntime.jsxs(salesFrontendDesignSystem.Modal.Content, { style: { height: "697px" }, children: [
2091
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Modal.Header, { headerTitle: "\uC0AC\uC6D0 \uAC80\uC0C9", showCloseButton: true }),
2092
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Modal.Body, { children: /* @__PURE__ */ jsxRuntime.jsx(
2093
+ EmployeeSearch,
2094
+ {
2095
+ activeTab,
2096
+ onTabChange,
2097
+ searchTerm,
2098
+ setSearchTerm,
2099
+ searchInput,
2100
+ setSearchInput,
2101
+ employeeList,
2102
+ onEmployeeSelect: handleEmployeeSelect
2103
+ }
2104
+ ) }),
2105
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Modal.Footer, { children: /* @__PURE__ */ jsxRuntime.jsx(
2106
+ salesFrontendDesignSystem.Button,
2107
+ {
2108
+ variant: "primary",
2109
+ size: "medium",
2110
+ appearance: "filled",
2111
+ width: "full",
2112
+ onClick: handleSelect,
2113
+ disabled: !selectedEmployee,
2114
+ children: "\uC800\uC7A5\uD558\uAE30"
2115
+ }
2116
+ ) })
2117
+ ] })
2118
+ ] });
2119
+ };
2120
+
2121
+ const cx$3 = classNames.bind(styles$7);
1775
2122
  const JobVehicleSearchGrade = ({ riskGrade, hospitalizationGrade }) => {
1776
2123
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$3("grade-section"), children: [
1777
2124
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$3("icon-title"), children: [
@@ -1792,7 +2139,7 @@ const JobVehicleSearchGrade = ({ riskGrade, hospitalizationGrade }) => {
1792
2139
  ] });
1793
2140
  };
1794
2141
 
1795
- const cx$2 = classNames.bind(styles$6);
2142
+ const cx$2 = classNames.bind(styles$8);
1796
2143
  function VehicleSearch({ vehicles, onVehicleSelect }) {
1797
2144
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$2("vehicle-search-section"), children: [
1798
2145
  /* @__PURE__ */ jsxRuntime.jsx("p", { children: "\uC6B4\uC804 \uCC28\uC885" }),
@@ -1858,7 +2205,7 @@ const useJobVehicleSearch = () => {
1858
2205
  };
1859
2206
  };
1860
2207
 
1861
- const cx$1 = classNames.bind(styles$5);
2208
+ const cx$1 = classNames.bind(styles$7);
1862
2209
  function useJobVehicleSearchModal() {
1863
2210
  const {
1864
2211
  selectedVehicle,
@@ -2047,7 +2394,7 @@ const useCustomerSearch = (onSelect) => {
2047
2394
  };
2048
2395
  };
2049
2396
 
2050
- const cx = classNames.bind(styles$7);
2397
+ const cx = classNames.bind(styles$9);
2051
2398
  const highlightOnSearchKeyword = (originalText, targetString) => {
2052
2399
  if (!targetString || !originalText?.includes(targetString)) {
2053
2400
  return originalText;
@@ -2109,6 +2456,7 @@ const CustomerSearch = ({ onSelect }) => {
2109
2456
  exports.Attachment = Attachment;
2110
2457
  exports.BankStockSearchModal = BankStockSearchModal;
2111
2458
  exports.CustomerSearch = CustomerSearch;
2459
+ exports.EmployeeSearchModal = EmployeeSearchModal;
2112
2460
  exports.FormCheckbox = FormCheckbox;
2113
2461
  exports.FormCheckboxButton = FormCheckboxButton;
2114
2462
  exports.FormDatePicker = FormDatePicker;
@@ -2118,6 +2466,7 @@ exports.FormSegmentGroup = FormSegmentGroup;
2118
2466
  exports.FormSelect = FormSelect;
2119
2467
  exports.FormTextField = FormTextField;
2120
2468
  exports.JobSearchModal = JobSearchModal;
2469
+ exports.OrganizationSearchModal = OrganizationSearchModal;
2121
2470
  exports.StepIndicator = StepIndicator;
2122
2471
  exports.resize = resize;
2123
2472
  exports.testSignatureBase64Data = testSignatureBase64Data;