sales-frontend-components 0.0.76 → 0.0.78

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