sales-frontend-components 0.0.71 → 0.0.73

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
@@ -5,14 +5,15 @@ var reactHookForm = require('react-hook-form');
5
5
  var salesFrontendDesignSystem = require('sales-frontend-design-system');
6
6
  var React = require('react');
7
7
  var method = require('sales-frontend-api/method');
8
+ var salesFrontendAssets = require('sales-frontend-assets');
8
9
  var styles = require('./modal/pre-standard/job-search-modal/job-search-modal.module.scss');
9
10
  var styles$1 = require('./step-indicator/step-indicator.module.scss');
10
11
  var styles$2 = require('./camera/camera.module.scss');
11
12
  var styles$3 = require('./modal/standard/address-search/select-address.module.scss');
12
13
  var styles$4 = require('./modal/standard/bank-stock-search/bank-stock-search-modal.module.scss');
13
- var salesFrontendAssets = require('sales-frontend-assets');
14
14
  var styles$5 = require('./modal/pre-standard/job-vehicle-search-modal/job-vehicle-search-modal.module.scss');
15
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');
16
17
 
17
18
  const FormCheckboxButton = ({
18
19
  name,
@@ -210,7 +211,7 @@ function requireBind () {
210
211
  var bindExports = requireBind();
211
212
  var classNames = /*@__PURE__*/getDefaultExportFromCjs(bindExports);
212
213
 
213
- const highlightOnSearchKeyword = (originalText, targetString) => {
214
+ const highlightOnSearchKeyword$1 = (originalText, targetString) => {
214
215
  if (originalText?.includes(targetString)) {
215
216
  const replacedText = [];
216
217
  const splitText = originalText.split(targetString);
@@ -225,22 +226,22 @@ const highlightOnSearchKeyword = (originalText, targetString) => {
225
226
  return originalText;
226
227
  };
227
228
 
228
- const cx$9 = classNames.bind(styles);
229
+ const cx$a = classNames.bind(styles);
229
230
  function JobSearchCategory({ filteredJobs, onJobSelect, searchTerm }) {
230
- return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$9("category-section"), children: [
231
- /* @__PURE__ */ jsxRuntime.jsxs("p", { className: cx$9("result-title"), children: [
231
+ return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$a("category-section"), children: [
232
+ /* @__PURE__ */ jsxRuntime.jsxs("p", { className: cx$a("result-title"), children: [
232
233
  "\uCD1D ",
233
234
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary", children: filteredJobs.length }),
234
235
  "\uAC74\uC758 \uAC80\uC0C9\uACB0\uACFC"
235
236
  ] }),
236
- /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Accordion.Root, { children: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Radio.Root, { name: "job-selection", size: "small", className: cx$9("job-radio-root"), onToggle: () => {
237
+ /* @__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: () => {
237
238
  }, children: filteredJobs.map((job, index) => /* @__PURE__ */ jsxRuntime.jsxs(
238
239
  salesFrontendDesignSystem.Accordion.Item,
239
240
  {
240
241
  id: `item-${job.occupationIndustryCode}-${index}-accordion`,
241
242
  children: [
242
243
  /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Accordion.HeaderDiv, { children: /* @__PURE__ */ jsxRuntime.jsx("div", { style: { flex: 1 }, children: /* @__PURE__ */ jsxRuntime.jsxs(salesFrontendDesignSystem.Radio.Item, { size: "small", value: job.occupationIndustryCode, onChange: () => onJobSelect(job), children: [
243
- highlightOnSearchKeyword(job.occupationIndustryName, searchTerm),
244
+ highlightOnSearchKeyword$1(job.occupationIndustryName, searchTerm),
244
245
  "(",
245
246
  job.occupationIndustryCode,
246
247
  ")"
@@ -273,23 +274,23 @@ function JobSearchCategory({ filteredJobs, onJobSelect, searchTerm }) {
273
274
  ] }) });
274
275
  }
275
276
 
276
- const cx$8 = classNames.bind(styles);
277
+ const cx$9 = classNames.bind(styles);
277
278
  function JobSearchFavorite({ filteredJobs, onJobSelect }) {
278
- return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$8("popular-jobs"), children: [
279
+ return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$9("popular-jobs"), children: [
279
280
  /* @__PURE__ */ jsxRuntime.jsx("p", { children: "\uB9CE\uC774 \uCC3E\uB294 \uC9C1\uC885" }),
280
- /* @__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, index) => /* @__PURE__ */ jsxRuntime.jsxs(
281
+ /* @__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(
281
282
  salesFrontendDesignSystem.Accordion.Item,
282
283
  {
283
284
  id: `item-${job.occupationIndustryCode}-${index}`,
284
- className: cx$8("accordion-item"),
285
+ className: cx$9("accordion-item"),
285
286
  children: [
286
- /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Accordion.HeaderDiv, { className: cx$8("accordion-header-item"), children: /* @__PURE__ */ jsxRuntime.jsxs(
287
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Accordion.HeaderDiv, { className: cx$9("accordion-header-item"), children: /* @__PURE__ */ jsxRuntime.jsxs(
287
288
  salesFrontendDesignSystem.Radio.Item,
288
289
  {
289
290
  size: "small",
290
291
  value: job.occupationIndustryCode,
291
292
  onChange: () => onJobSelect(job),
292
- className: cx$8("radio-item"),
293
+ className: cx$9("radio-item"),
293
294
  children: [
294
295
  job.occupationIndustryName,
295
296
  "(",
@@ -306,15 +307,15 @@ function JobSearchFavorite({ filteredJobs, onJobSelect }) {
306
307
  ] }) });
307
308
  }
308
309
 
309
- const cx$7 = classNames.bind(styles);
310
+ const cx$8 = classNames.bind(styles);
310
311
  function JobSearchResult({ filteredJobs, onJobSelect, searchTerm }) {
311
- return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$7("popular-jobs"), children: [
312
- /* @__PURE__ */ jsxRuntime.jsxs("p", { className: cx$7("result-title"), children: [
312
+ return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$8("popular-jobs"), children: [
313
+ /* @__PURE__ */ jsxRuntime.jsxs("p", { className: cx$8("result-title"), children: [
313
314
  "\uCD1D ",
314
315
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary", children: filteredJobs.length }),
315
316
  "\uAC74\uC758 \uAC80\uC0C9\uACB0\uACFC"
316
317
  ] }),
317
- /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Accordion.Root, { children: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Radio.Root, { name: "job-selection", size: "small", className: cx$7("job-radio-root"), children: filteredJobs.map((job) => /* @__PURE__ */ jsxRuntime.jsxs(
318
+ /* @__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(
318
319
  salesFrontendDesignSystem.Accordion.Item,
319
320
  {
320
321
  id: `item-${job.occupationIndustryCode}`,
@@ -328,7 +329,7 @@ function JobSearchResult({ filteredJobs, onJobSelect, searchTerm }) {
328
329
  onChange: () => {
329
330
  onJobSelect(job);
330
331
  },
331
- children: highlightOnSearchKeyword(job.occupationIndustryName, searchTerm)
332
+ children: highlightOnSearchKeyword$1(job.occupationIndustryName, searchTerm)
332
333
  }
333
334
  ) }) }),
334
335
  /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Accordion.Content, { variant: "text", children: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Table, { variant: "horizontal", children: /* @__PURE__ */ jsxRuntime.jsxs("tbody", { children: [
@@ -360,7 +361,7 @@ function JobSearchResult({ filteredJobs, onJobSelect, searchTerm }) {
360
361
  }
361
362
 
362
363
  const { TextField } = salesFrontendDesignSystem.FormField;
363
- const cx$6 = classNames.bind(styles);
364
+ const cx$7 = classNames.bind(styles);
364
365
  const { Option } = salesFrontendDesignSystem.Select;
365
366
  function JobSearch({
366
367
  activeTab,
@@ -397,7 +398,7 @@ function JobSearch({
397
398
  }
398
399
  ),
399
400
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
400
- activeTab === "jobName" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$6("favorite-jobs-section"), children: [
401
+ activeTab === "jobName" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$7("favorite-jobs-section"), children: [
401
402
  /* @__PURE__ */ jsxRuntime.jsx(
402
403
  TextField,
403
404
  {
@@ -408,7 +409,7 @@ function JobSearch({
408
409
  className: styles.searchInput,
409
410
  size: "medium",
410
411
  rootProps: {
411
- endElement: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Icon, { name: "sub-ui/search", onClick: () => setSearchTerm(searchInput) }),
412
+ endElement: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconMainUiSearch, { onClick: () => setSearchTerm(searchInput) }),
412
413
  onClear: () => {
413
414
  setSearchTerm("");
414
415
  setSearchInput("");
@@ -419,8 +420,8 @@ function JobSearch({
419
420
  !searchTerm && /* @__PURE__ */ jsxRuntime.jsx(JobSearchFavorite, { filteredJobs, onJobSelect }),
420
421
  searchTerm && /* @__PURE__ */ jsxRuntime.jsx(JobSearchResult, { filteredJobs, onJobSelect, searchTerm })
421
422
  ] }),
422
- activeTab === "jobCode" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$6("select-jobs-section"), children: [
423
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$6("category-section"), children: [
423
+ activeTab === "jobCode" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$7("select-jobs-section"), children: [
424
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$7("category-section"), children: [
424
425
  /* @__PURE__ */ jsxRuntime.jsx(
425
426
  salesFrontendDesignSystem.Select,
426
427
  {
@@ -802,7 +803,7 @@ const FormTextField = ({
802
803
  );
803
804
  };
804
805
 
805
- const cx$5 = classNames.bind(styles$1);
806
+ const cx$6 = classNames.bind(styles$1);
806
807
  const StepIndicator = ({
807
808
  items,
808
809
  onClickItem,
@@ -837,26 +838,26 @@ const StepIndicator = ({
837
838
  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");
838
839
  }
839
840
  };
840
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$5("stepper-layout", { loading: isLoading }), children: [
841
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$5("stepper"), children: steps.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsxs(React.Fragment, { children: [
841
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$6("stepper-layout", { loading: isLoading }), children: [
842
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$6("stepper"), children: steps.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsxs(React.Fragment, { children: [
842
843
  /* @__PURE__ */ jsxRuntime.jsx(
843
844
  "div",
844
845
  {
845
- className: cx$5(
846
+ className: cx$6(
846
847
  "circle",
847
848
  { completed: item.isCompleted ?? false },
848
849
  { active: defaultValue === item.value || current === idx }
849
850
  ),
850
851
  onClick: () => handleClickStep?.(item),
851
- children: item.isCompleted ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$5("completed-icon") }) : idx + 1
852
+ children: item.isCompleted ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$6("completed-icon") }) : idx + 1
852
853
  }
853
854
  ),
854
- idx < steps.length - 1 && Array.from({ length: dotCount }).map((_, dotIdx) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$5("dot") }, `dot-${idx}-${dotIdx}`))
855
+ idx < steps.length - 1 && Array.from({ length: dotCount }).map((_, dotIdx) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$6("dot") }, `dot-${idx}-${dotIdx}`))
855
856
  ] }, `num-${idx}`)) }),
856
- /* @__PURE__ */ jsxRuntime.jsx("ul", { className: cx$5("step-labels"), children: steps.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsx(
857
+ /* @__PURE__ */ jsxRuntime.jsx("ul", { className: cx$6("step-labels"), children: steps.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsx(
857
858
  "li",
858
859
  {
859
- className: cx$5(
860
+ className: cx$6(
860
861
  { completed: steps[idx < 1 ? idx : idx - 1]?.isCompleted ?? false },
861
862
  { active: defaultValue === item.value || current === idx }
862
863
  ),
@@ -868,7 +869,7 @@ const StepIndicator = ({
868
869
  ] });
869
870
  };
870
871
 
871
- const cx$4 = classNames.bind(styles$2);
872
+ const cx$5 = classNames.bind(styles$2);
872
873
  function Attachment({
873
874
  photos,
874
875
  onAddPhoto,
@@ -885,14 +886,14 @@ function Attachment({
885
886
  };
886
887
  const renderPhotoSingle = () => {
887
888
  if (photos.length === 0) {
888
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$4("single-photo-item", "add-photo-item"), children: /* @__PURE__ */ jsxRuntime.jsxs("button", { className: cx$4("add-photo-button-single"), onClick: handleAddPhoto, children: [
889
+ 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: [
889
890
  /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Icon, { name: "illust/camera" }),
890
891
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: buttonText || "\uC0AC\uC9C4 \uCCA8\uBD80\uD558\uAE30" })
891
892
  ] }) });
892
893
  }
893
- return photos.map((photo) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$4("single-photo-item"), children: [
894
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$4("photo-placeholder"), children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: photo.src, alt: photo.name, className: cx$4("photo-image") }) }),
895
- /* @__PURE__ */ jsxRuntime.jsx("button", { className: cx$4("remove-button"), onClick: () => handleRemovePhoto(photo.id), "aria-label": "\uC0AC\uC9C4 \uC0AD\uC81C", children: "\xD7" })
894
+ return photos.map((photo) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$5("single-photo-item"), children: [
895
+ /* @__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") }) }),
896
+ /* @__PURE__ */ jsxRuntime.jsx("button", { className: cx$5("remove-button"), onClick: () => handleRemovePhoto(photo.id), "aria-label": "\uC0AC\uC9C4 \uC0AD\uC81C", children: "\xD7" })
896
897
  ] }, photo.id));
897
898
  };
898
899
  const renderPhotoGrid = () => {
@@ -900,12 +901,12 @@ function Attachment({
900
901
  const gridItems = [];
901
902
  if (photos.length < maxPhotos) {
902
903
  gridItems.push(
903
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$4("photo-item", "add-photo-item"), children: /* @__PURE__ */ jsxRuntime.jsxs("button", { className: cx$4("add-photo-button"), onClick: handleAddPhoto, children: [
904
+ /* @__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: [
904
905
  /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Icon, { name: "illust/camera" }),
905
906
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: buttonText || "\uCCA8\uBD80\uD558\uAE30" }),
906
- /* @__PURE__ */ jsxRuntime.jsxs("span", { className: cx$4("photo-count"), children: [
907
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: cx$5("photo-count"), children: [
907
908
  "(",
908
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$4("photo-count-number"), children: photos.length }),
909
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$5("photo-count-number"), children: photos.length }),
909
910
  "/",
910
911
  maxPhotos,
911
912
  ")"
@@ -915,9 +916,9 @@ function Attachment({
915
916
  }
916
917
  photos.forEach((photo) => {
917
918
  gridItems.push(
918
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$4("photo-item"), children: [
919
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$4("photo-placeholder"), children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: photo.src, alt: photo.name, className: cx$4("photo-image") }) }),
920
- /* @__PURE__ */ jsxRuntime.jsx("button", { className: cx$4("remove-button"), onClick: () => handleRemovePhoto(photo.id), "aria-label": "\uC0AC\uC9C4 \uC0AD\uC81C", children: "\xD7" })
919
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$5("photo-item"), children: [
920
+ /* @__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") }) }),
921
+ /* @__PURE__ */ jsxRuntime.jsx("button", { className: cx$5("remove-button"), onClick: () => handleRemovePhoto(photo.id), "aria-label": "\uC0AC\uC9C4 \uC0AD\uC81C", children: "\xD7" })
921
922
  ] }, photo.id)
922
923
  );
923
924
  });
@@ -928,9 +929,9 @@ function Attachment({
928
929
  return null;
929
930
  }
930
931
  if (type === "single") {
931
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$4("photo-single"), children: renderPhotoSingle() });
932
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$5("photo-single"), children: renderPhotoSingle() });
932
933
  }
933
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$4("photo-grid", { linear: type === "linear" }), children: renderPhotoGrid() });
934
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$5("photo-grid", { linear: type === "linear" }), children: renderPhotoGrid() });
934
935
  }
935
936
 
936
937
  const maxImageSize = 3 * 1024 * 1024;
@@ -1377,12 +1378,12 @@ function useCanvasPaint(paintProps = {}) {
1377
1378
 
1378
1379
  const testSignatureBase64Data = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAABkCAYAAACoy2Z3AAAQAElEQVR4AeydV6g2ORnHj733smvBiliws9jbhYoFREVQsYIFVBBRUBQRvbCgKIgFCyqoCCqiXiioN/ZesKEXYlkVXV11Xdde/z+/L/u95z0zSeadlmT+h+RkJvMkeZ5/kudJm3kveeQ/I1AvAncX67+S/+8B/glKM6X7uzIbwofI7YxA3QjYgNRdf1vl/p4S/Dz5L8qfLT/UfVkJLpSfymE8LjtVZs7HCNSCgA1ILTVlPkHg4/r3Z/nPy19XPteh4En7ICW4sjwzl48qHOMwQP9RBsw6h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UU+Vfjw51hNeiLLJh9Djohnh9BQgnTOYtkdo8p+MQAwjuepRp+MXKPzLcNIUD7pK7RY+xFNSRaHaIAfB2cmsulEeCHcFDCtBE6KS+AoaSX5mO3PMpHabARzDFO+AoePjGAu/S+bhMBNtWpd9pnmxJWIhWdbiVWXWxlCOyuT9N5dz3rzYz+UfBDxIIegxA2tnfz7LqmvaI02Ic4a0hBpq0OgdA2GCzst4WSDjFUB+yUDNMhp8zPeW0TAU68MPqnPe139tg99BiEsRvbS6Mek6nGZ7w9jqLGmKO4l8aTMik77GOAYWgbDBaW5sflZSJAJWWSmswIGIFWENiTg895oKgx5ugEFPiSnjIp2/sYexVT+i0VVzqP5s8IGAEjYAQKRMAGpMBKMUtGwAgYgRoQsAE5pJacxggYASNgBI5sQNwIjIARMAJG4CAEbEAOgs2JjIARWAkBF1sQAjYgBVWGWTECRsAI1ISADUhNtWVejYARMAIFIWADUlBlLMGKyzACRsAITIWADchUSDofI2AEjMDGELAB2ViFW1wjYATWQqC9cm1A2qtTS2QEjIARWAQBG5BFYHYhRsAIGIH2ELABaa9OW5XIchkBI1AYAjYghVWI2TECRsAI1IKADUgtNWU+jYARMAJrIdBTrg1IDzCONgJGwAgYgTgCNiBxfPzUCBgBI2AEehCwAekBxtFGYDoEnJMRaBMBG5A269VSGQEjYARmR8AGZHaIXYARMAJGoE0EajAgbSJvqYyAETAClSNgA1J5BZp9I2AEjMBaCNiArIW8yzUCNSBgHo1ABAEbkAg4fmQEjIARMAL9CNiA9GPjJ0bACBgBIxBBwAYkAs74R87BCBgBI9AuAjYg7datJTMCRsAIzIqADcis8DpzI2AE1kLA5c6PwP8AAAD//+3/3TsAAAAGSURBVAMAJI6e9smFlTAAAAAASUVORK5CYII=";
1379
1380
 
1380
- const cx$3 = classNames.bind(styles$3);
1381
- const { InputBox, Input } = salesFrontendDesignSystem.FormCore;
1381
+ const cx$4 = classNames.bind(styles$3);
1382
+ const { InputBox: InputBox$1, Input: Input$1 } = salesFrontendDesignSystem.FormCore;
1382
1383
  const AddressSearchInitialText = () => {
1383
1384
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
1384
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: cx$3("guide-title"), children: "\uC774\uB807\uAC8C \uAC80\uC0C9\uD574 \uBCF4\uC138\uC694." }),
1385
- /* @__PURE__ */ jsxRuntime.jsxs("ul", { className: cx$3("guide"), children: [
1385
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: cx$4("guide-title"), children: "\uC774\uB807\uAC8C \uAC80\uC0C9\uD574 \uBCF4\uC138\uC694." }),
1386
+ /* @__PURE__ */ jsxRuntime.jsxs("ul", { className: cx$4("guide"), children: [
1386
1387
  /* @__PURE__ */ jsxRuntime.jsx("li", { children: "\uB3C4\uB85C\uBA85/\uC9C0\uBA85\uACFC \uAC74\uBB3C\uBC88\uD638\uB97C \uD568\uAED8 \uC785\uB825\uD574\uC8FC\uC138\uC694" }),
1387
1388
  /* @__PURE__ */ jsxRuntime.jsx("li", { children: "\uC608) 63\uB85C 50, \uC5EC\uC758\uB3C4\uB3D9 60" }),
1388
1389
  /* @__PURE__ */ jsxRuntime.jsx("li", { children: "\uC9C0\uBA85\uC740 \uB3D9/\uC74D/\uBA74/\uB9AC\uB85C \uC785\uB825\uD574\uC8FC\uC138\uC694" }),
@@ -1406,7 +1407,7 @@ const AddressSearchResult = ({
1406
1407
  setFilterList(filterList2);
1407
1408
  }, [addressSearchList, searchKeyword]);
1408
1409
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
1409
- /* @__PURE__ */ jsxRuntime.jsxs("p", { className: cx$3("guide-title"), children: [
1410
+ /* @__PURE__ */ jsxRuntime.jsxs("p", { className: cx$4("guide-title"), children: [
1410
1411
  "\uCD1D ",
1411
1412
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary", children: filterList.length }),
1412
1413
  "\uAC74\uC758 \uAC80\uC0C9\uACB0\uACFC"
@@ -1417,20 +1418,20 @@ const AddressSearchResult = ({
1417
1418
  items: filterList.map((item) => ({
1418
1419
  value: item.address,
1419
1420
  select: item.address === selectedAddress?.address && item.zipCode === selectedAddress?.zipCode,
1420
- label: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$3("search-result"), children: [
1421
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$3("zipcode"), children: [
1421
+ label: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$4("search-result"), children: [
1422
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$4("zipcode"), children: [
1422
1423
  " ",
1423
- highlightOnSearchKeyword(item.zipCode, searchKeyword)
1424
+ highlightOnSearchKeyword$1(item.zipCode, searchKeyword)
1424
1425
  ] }),
1425
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$3("divider") }),
1426
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$3("address-info"), children: [
1427
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$3("address"), children: highlightOnSearchKeyword(item.address, searchKeyword) }),
1428
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$3("old-address"), children: highlightOnSearchKeyword(item.oldAddress, searchKeyword) })
1426
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$4("divider") }),
1427
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$4("address-info"), children: [
1428
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$4("address"), children: highlightOnSearchKeyword$1(item.address, searchKeyword) }),
1429
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$4("old-address"), children: highlightOnSearchKeyword$1(item.oldAddress, searchKeyword) })
1429
1430
  ] })
1430
1431
  ] }),
1431
1432
  id: item.address
1432
1433
  })),
1433
- className: cx$3("radio-group"),
1434
+ className: cx$4("radio-group"),
1434
1435
  name: "address-search",
1435
1436
  size: "medium",
1436
1437
  defaultValue: "",
@@ -1464,7 +1465,7 @@ const AddressSearchDetailInput = ({
1464
1465
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
1465
1466
  /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.FormField.Label, { id: "detail", style: { width: "90px" }, children: "\uC0C1\uC138\uC8FC\uC18C" }),
1466
1467
  /* @__PURE__ */ jsxRuntime.jsx(
1467
- Input,
1468
+ Input$1,
1468
1469
  {
1469
1470
  placeholder: "\uC0C1\uC138\uC8FC\uC18C \uC785\uB825",
1470
1471
  onChange: onDetailChange,
@@ -1502,25 +1503,17 @@ function AddressComponent({ isOpen, onClose, setValue }) {
1502
1503
  /* @__PURE__ */ jsxRuntime.jsxs(salesFrontendDesignSystem.Modal.Content, { children: [
1503
1504
  /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Modal.Header, { headerTitle: "\uC8FC\uC18C \uAC80\uC0C9", showCloseButton: true }),
1504
1505
  /* @__PURE__ */ jsxRuntime.jsxs(salesFrontendDesignSystem.Modal.Body, { children: [
1505
- /* @__PURE__ */ jsxRuntime.jsx(
1506
- InputBox,
1506
+ /* @__PURE__ */ jsxRuntime.jsx(InputBox$1, { clearable: true, endElement: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconMainUiSearch, { onClick: search }), onClear: onAddressSearchClear, children: /* @__PURE__ */ jsxRuntime.jsx(
1507
+ Input$1,
1507
1508
  {
1508
- clearable: true,
1509
- endElement: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Icon, { name: "sub-ui/search", onClick: search }),
1510
- onClear: onAddressSearchClear,
1511
- children: /* @__PURE__ */ jsxRuntime.jsx(
1512
- Input,
1513
- {
1514
- ...addressSearchStep !== "detail-input" && { autoFocus: true },
1515
- onChange: onSearch,
1516
- onKeyUp,
1517
- value: searchInput,
1518
- placeholder: "\uC9C0\uBC88, \uB3C4\uB85C\uBA85, \uAC74\uBB3C\uBA85, \uC6B0\uD3B8\uBC88\uD638 \uC785\uB825",
1519
- size: "large"
1520
- }
1521
- )
1509
+ ...addressSearchStep !== "detail-input" && { autoFocus: true },
1510
+ onChange: onSearch,
1511
+ onKeyUp,
1512
+ value: searchInput,
1513
+ placeholder: "\uC9C0\uBC88, \uB3C4\uB85C\uBA85, \uAC74\uBB3C\uBA85, \uC6B0\uD3B8\uBC88\uD638 \uC785\uB825",
1514
+ size: "large"
1522
1515
  }
1523
- ),
1516
+ ) }),
1524
1517
  addressSearchStep === "initial" && /* @__PURE__ */ jsxRuntime.jsx(AddressSearchInitialText, {}),
1525
1518
  addressSearchStep === "search-result" && /* @__PURE__ */ jsxRuntime.jsx(
1526
1519
  AddressSearchResult,
@@ -1771,20 +1764,20 @@ function BankStockSearchModal({ open, onClose, onSelect }) {
1771
1764
  ] });
1772
1765
  }
1773
1766
 
1774
- const cx$2 = classNames.bind(styles$5);
1767
+ const cx$3 = classNames.bind(styles$5);
1775
1768
  const JobVehicleSearchGrade = ({ riskGrade, hospitalizationGrade }) => {
1776
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$2("grade-section"), children: [
1777
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$2("icon-title"), children: [
1778
- /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Icon, { name: "illust/grade" }),
1769
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$3("grade-section"), children: [
1770
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$3("icon-title"), children: [
1771
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconIllustGrade, {}),
1779
1772
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "typo-title5 text-body", children: "\uB4F1\uAE09" })
1780
1773
  ] }),
1781
1774
  /* @__PURE__ */ jsxRuntime.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." }),
1782
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$2("grade-list"), children: [
1783
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$2("grade"), children: [
1775
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$3("grade-list"), children: [
1776
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$3("grade"), children: [
1784
1777
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: "\uC704\uD5D8\uB4F1\uAE09" }),
1785
1778
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary typo-subtitle3", children: riskGrade || "-" })
1786
1779
  ] }),
1787
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$2("grade"), children: [
1780
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$3("grade"), children: [
1788
1781
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: "\uC785\uC6D0\uB4F1\uAE09" }),
1789
1782
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary typo-subtitle3", children: hospitalizationGrade || "-" })
1790
1783
  ] })
@@ -1792,11 +1785,11 @@ const JobVehicleSearchGrade = ({ riskGrade, hospitalizationGrade }) => {
1792
1785
  ] });
1793
1786
  };
1794
1787
 
1795
- const cx$1 = classNames.bind(styles$6);
1788
+ const cx$2 = classNames.bind(styles$6);
1796
1789
  function VehicleSearch({ vehicles, onVehicleSelect }) {
1797
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$1("vehicle-search-section"), children: [
1790
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$2("vehicle-search-section"), children: [
1798
1791
  /* @__PURE__ */ jsxRuntime.jsx("p", { children: "\uC6B4\uC804 \uCC28\uC885" }),
1799
- /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Radio.Root, { name: "vehicle-selection", size: "small", className: cx$1("vehicle-radio-root"), children: vehicles.map((vehicle, index) => /* @__PURE__ */ jsxRuntime.jsxs(
1792
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Radio.Root, { name: "vehicle-selection", size: "small", className: cx$2("vehicle-radio-root"), children: vehicles.map((vehicle, index) => /* @__PURE__ */ jsxRuntime.jsxs(
1800
1793
  salesFrontendDesignSystem.Radio.Item,
1801
1794
  {
1802
1795
  id: `item-${vehicle.integrationCodeValue}`,
@@ -1810,7 +1803,7 @@ function VehicleSearch({ vehicles, onVehicleSelect }) {
1810
1803
  onVehicleSelect(selected);
1811
1804
  }
1812
1805
  },
1813
- className: cx$1("item"),
1806
+ className: cx$2("item"),
1814
1807
  children: [
1815
1808
  vehicle.integrationCodeValueName,
1816
1809
  "(",
@@ -1858,7 +1851,7 @@ const useJobVehicleSearch = () => {
1858
1851
  };
1859
1852
  };
1860
1853
 
1861
- const cx = classNames.bind(styles$5);
1854
+ const cx$1 = classNames.bind(styles$5);
1862
1855
  function useJobVehicleSearchModal() {
1863
1856
  const {
1864
1857
  selectedVehicle,
@@ -1904,19 +1897,19 @@ function useJobVehicleSearchModal() {
1904
1897
  /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Modal.Overlay, {}),
1905
1898
  /* @__PURE__ */ jsxRuntime.jsxs(salesFrontendDesignSystem.Modal.Content, { style: { height: "697px" }, children: [
1906
1899
  /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Modal.Header, { headerTitle: "\uC9C1\uC885\xB7\uC6B4\uC804\uCC28\uC885 \uAC80\uC0C9", showCloseButton: true }),
1907
- /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Modal.Body, { className: cx("job-vehicle-search-modal"), raw: true, children: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1908
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx("left-panel"), children: [
1909
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx("card-section"), children: [
1900
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Modal.Body, { className: cx$1("job-vehicle-search-modal"), raw: true, children: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1901
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$1("left-panel"), children: [
1902
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$1("card-section"), children: [
1910
1903
  /* @__PURE__ */ jsxRuntime.jsxs(
1911
1904
  "div",
1912
1905
  {
1913
- className: cx("card-menu", { "card-selected": rightPanelView === "jobSearch" }),
1906
+ className: cx$1("card-menu", { "card-selected": rightPanelView === "jobSearch" }),
1914
1907
  onClick: () => setRightPanelView("jobSearch"),
1915
1908
  children: [
1916
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx("card-title"), children: [
1917
- /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Icon, { name: "illust/job", className: cx("card-icon") }),
1918
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx("card-text", "typo-title5", "text-body"), children: "\uC9C1\uC885" }),
1919
- /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Icon, { name: "sub-ui/arrow/right" })
1909
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$1("card-title"), children: [
1910
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconIllustJob, { className: cx$1("card-icon") }),
1911
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$1("card-text", "typo-title5", "text-body"), children: "\uC9C1\uC885" }),
1912
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconSubUiArrowRight, {})
1920
1913
  ] }),
1921
1914
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "typo-body2 text-body_2", children: selectedJob ? selectedJob.occupationIndustryName : "\uBBF8\uC120\uD0DD" })
1922
1915
  ]
@@ -1925,13 +1918,13 @@ function useJobVehicleSearchModal() {
1925
1918
  /* @__PURE__ */ jsxRuntime.jsxs(
1926
1919
  "div",
1927
1920
  {
1928
- className: cx("card-menu", { "card-selected": rightPanelView === "vehicleSelection" }),
1921
+ className: cx$1("card-menu", { "card-selected": rightPanelView === "vehicleSelection" }),
1929
1922
  onClick: () => setRightPanelView("vehicleSelection"),
1930
1923
  children: [
1931
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx("card-title"), children: [
1932
- /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Icon, { name: "illust/vehicle", className: cx("card-icon") }),
1933
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx("card-text", "typo-title5", "text-body"), children: "\uC6B4\uC804 \uC5EC\uBD80\xB7\uCC28\uC885" }),
1934
- /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Icon, { name: "sub-ui/arrow/right" })
1924
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$1("card-title"), children: [
1925
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconIllustVehicle, { className: cx$1("card-icon") }),
1926
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$1("card-text", "typo-title5", "text-body"), children: "\uC6B4\uC804 \uC5EC\uBD80\xB7\uCC28\uC885" }),
1927
+ /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconSubUiArrowRight, {})
1935
1928
  ] }),
1936
1929
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "typo-body2 text-body_2", children: [
1937
1930
  selectedVehicle?.integrationCodeValueName,
@@ -1943,7 +1936,7 @@ function useJobVehicleSearchModal() {
1943
1936
  ] }),
1944
1937
  /* @__PURE__ */ jsxRuntime.jsx(JobVehicleSearchGrade, { riskGrade, hospitalizationGrade })
1945
1938
  ] }),
1946
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx("right-panel"), children: rightPanelView === "jobSearch" ? JobSearch : VehicleSearch })
1939
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$1("right-panel"), children: rightPanelView === "jobSearch" ? JobSearch : VehicleSearch })
1947
1940
  ] }) }),
1948
1941
  /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Modal.Footer, { style: { marginTop: 0 }, children: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Button, { variant: "primary", size: "medium", appearance: "filled", width: "full", onClick: validate, children: "\uD655\uC778" }) })
1949
1942
  ] })
@@ -1963,8 +1956,148 @@ const JobSearchModal = ({ onClose }) => {
1963
1956
  ] });
1964
1957
  };
1965
1958
 
1959
+ const mockCustomers = [
1960
+ { customerId: "1", customerName: "\uAE40\uD55C\uD654", birthDate: "1999.01.01", genderCode: "\uB0A8\uC131" },
1961
+ {
1962
+ customerId: "2",
1963
+ customerName: "\uAE40\uD55C\uD654\uC0DD\uBA85",
1964
+ birthDate: "1989.01.01",
1965
+ genderCode: "\uC5EC\uC131",
1966
+ baseAddress: "\uC11C\uC6B8\uC2DC \uB9C8\uD3EC\uAD6C"
1967
+ },
1968
+ {
1969
+ customerId: "3",
1970
+ customerName: "\uAE40\uD55C\uD654\uC190\uD574\uBCF4\uD5D8",
1971
+ birthDate: "1999.01.01",
1972
+ genderCode: "\uB0A8\uC131",
1973
+ baseAddress: "\uC11C\uC6B8\uC2DC \uB9C8\uD3EC\uAD6C"
1974
+ }
1975
+ ];
1976
+ const useCustomerSearch = (onSelect) => {
1977
+ const { triggerRef, isOpen, setIsOpen, DropDown } = salesFrontendDesignSystem.useDropDown();
1978
+ const [searchKeyword, setSearchKeyword] = React.useState("");
1979
+ const [searchInput, setSearchInput] = React.useState("");
1980
+ const [customerList, setCustomerList] = React.useState([]);
1981
+ const [selectedCustomer, setSelectedCustomer] = React.useState(null);
1982
+ const search = () => {
1983
+ if (searchInput.length >= 2) {
1984
+ setSearchKeyword(searchInput);
1985
+ const filtered = mockCustomers.filter((c) => c.customerName?.toLowerCase().includes(searchInput.toLowerCase()));
1986
+ setCustomerList(filtered);
1987
+ setIsOpen(true);
1988
+ } else {
1989
+ setCustomerList([]);
1990
+ setSearchKeyword("");
1991
+ setIsOpen(false);
1992
+ }
1993
+ };
1994
+ const onKeyUp = (e) => {
1995
+ if (e.key === "Enter") {
1996
+ search();
1997
+ }
1998
+ };
1999
+ const onSearchInputChange = (e) => {
2000
+ setSearchInput(e.target.value);
2001
+ if (e.target.value.length < 2) {
2002
+ setCustomerList([]);
2003
+ setSearchKeyword("");
2004
+ setIsOpen(false);
2005
+ }
2006
+ };
2007
+ const onClear = () => {
2008
+ setSearchInput("");
2009
+ setSearchKeyword("");
2010
+ setCustomerList([]);
2011
+ setSelectedCustomer(null);
2012
+ setIsOpen(false);
2013
+ };
2014
+ const handleSelectItem = (customer) => {
2015
+ setSelectedCustomer(customer);
2016
+ setSearchInput(customer.customerName || "");
2017
+ setCustomerList([]);
2018
+ setIsOpen(false);
2019
+ if (onSelect) {
2020
+ onSelect(customer);
2021
+ }
2022
+ };
2023
+ return {
2024
+ triggerRef,
2025
+ isOpen,
2026
+ DropDown,
2027
+ searchInput,
2028
+ customerList,
2029
+ searchKeyword,
2030
+ onSearchInputChange,
2031
+ onKeyUp,
2032
+ search,
2033
+ onClear,
2034
+ handleSelectItem,
2035
+ selectedCustomer
2036
+ };
2037
+ };
2038
+
2039
+ const cx = classNames.bind(styles$7);
2040
+ const highlightOnSearchKeyword = (originalText, targetString) => {
2041
+ if (!targetString || !originalText?.includes(targetString)) {
2042
+ return originalText;
2043
+ }
2044
+ const replacedText = [];
2045
+ const splitText = originalText.split(targetString);
2046
+ for (let i = 0; i < splitText.length; i++) {
2047
+ replacedText.push(splitText[i] || "");
2048
+ if (i < splitText.length - 1) {
2049
+ replacedText.push(
2050
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary", children: targetString }, i)
2051
+ );
2052
+ }
2053
+ }
2054
+ return replacedText;
2055
+ };
2056
+ const { InputBox, Input } = salesFrontendDesignSystem.FormCore;
2057
+ const CustomerSearch = ({ onSelect }) => {
2058
+ const {
2059
+ triggerRef,
2060
+ isOpen,
2061
+ DropDown,
2062
+ searchInput,
2063
+ customerList,
2064
+ searchKeyword,
2065
+ onSearchInputChange,
2066
+ onKeyUp,
2067
+ search,
2068
+ onClear,
2069
+ handleSelectItem
2070
+ } = useCustomerSearch(onSelect);
2071
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx("container"), children: [
2072
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx("search-bar"), children: /* @__PURE__ */ jsxRuntime.jsx(InputBox, { endElement: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconMainUiSearch, { onClick: search }), onClear, clearable: true, children: /* @__PURE__ */ jsxRuntime.jsx(
2073
+ Input,
2074
+ {
2075
+ onChange: onSearchInputChange,
2076
+ onKeyUp,
2077
+ value: searchInput,
2078
+ placeholder: "\uACE0\uAC1D\uBA85\uC744 \uB450 \uAE00\uC790 \uC774\uC0C1 \uC785\uB825\uD574\uC8FC\uC138\uC694.",
2079
+ size: "large",
2080
+ ref: triggerRef
2081
+ }
2082
+ ) }) }),
2083
+ isOpen && /* @__PURE__ */ jsxRuntime.jsx(DropDown, { children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx("result-container"), children: customerList.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.List, { rootProps: { style: { width: "100%" } }, children: customerList.map((customer) => /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.ListItem, { onClick: () => handleSelectItem(customer), selectable: true, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx("customer-item"), children: [
2084
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx("name"), children: highlightOnSearchKeyword(customer.customerName || "", searchKeyword) }),
2085
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx("details"), children: [
2086
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: customer.birthDate }),
2087
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx("separator"), children: "|" }),
2088
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: customer.genderCode }),
2089
+ customer.baseAddress && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2090
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx("separator"), children: "|" }),
2091
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: customer.baseAddress })
2092
+ ] })
2093
+ ] })
2094
+ ] }) }, customer.customerId)) }) }) })
2095
+ ] });
2096
+ };
2097
+
1966
2098
  exports.Attachment = Attachment;
1967
2099
  exports.BankStockSearchModal = BankStockSearchModal;
2100
+ exports.CustomerSearch = CustomerSearch;
1968
2101
  exports.FormCheckbox = FormCheckbox;
1969
2102
  exports.FormCheckboxButton = FormCheckboxButton;
1970
2103
  exports.FormDatePicker = FormDatePicker;