sales-frontend-components 0.0.115 → 0.0.117

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
@@ -221,19 +221,33 @@ function requireBind () {
221
221
  var bindExports = requireBind();
222
222
  var classNames = /*@__PURE__*/getDefaultExportFromCjs(bindExports);
223
223
 
224
- const highlightOnSearchKeyword$1 = (originalText, targetString) => {
225
- if (originalText?.includes(targetString)) {
226
- const replacedText = [];
227
- const splitText = originalText.split(targetString);
228
- for (let i = 0; i < splitText.length; i++) {
229
- replacedText.push(splitText[i]);
230
- if (i !== splitText.length - 1) {
231
- replacedText.push(/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary", children: targetString }));
232
- }
224
+ const highlightOnSearchKeyword = (originalText, targetString) => {
225
+ if (!targetString || !originalText?.includes(targetString)) {
226
+ return originalText;
227
+ }
228
+ const replacedText = [];
229
+ const splitText = originalText.split(targetString);
230
+ for (let i = 0; i < splitText.length; i++) {
231
+ replacedText.push(splitText[i] || "");
232
+ if (i < splitText.length - 1) {
233
+ replacedText.push(
234
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary", children: targetString }, `search-keyword-highlight-${i}-${Math.random()}`)
235
+ );
233
236
  }
234
- return replacedText;
235
237
  }
236
- return originalText;
238
+ return replacedText;
239
+ };
240
+ const getGenderName = (genderCode) => {
241
+ switch (genderCode) {
242
+ case "1":
243
+ case "3":
244
+ return "\uB0A8\uC131";
245
+ case "2":
246
+ case "4":
247
+ return "\uC5EC\uC131";
248
+ default:
249
+ return "";
250
+ }
237
251
  };
238
252
 
239
253
  const cx$k = classNames.bind(styles);
@@ -271,14 +285,14 @@ const AddressSearchResult = ({
271
285
  value: JSON.stringify(item),
272
286
  select: item.roadNameBaseAddress === selectedAddress?.roadNameBaseAddress && item.roadNameDetailAddress === selectedAddress?.roadNameDetailAddress && item.mainBuildingName === selectedAddress?.mainBuildingName,
273
287
  label: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$k("search-result"), children: [
274
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$k("zipcode"), children: highlightOnSearchKeyword$1(`${item.firstPostalCode}${item.secondPostalCode}`, searchKeyword) }),
288
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$k("zipcode"), children: highlightOnSearchKeyword(`${item.firstPostalCode}${item.secondPostalCode}`, searchKeyword) }),
275
289
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$k("divider") }),
276
290
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$k("address-info"), children: [
277
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$k("address"), children: highlightOnSearchKeyword$1(
291
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$k("address"), children: highlightOnSearchKeyword(
278
292
  `${item.roadNameBaseAddress} ${item.roadNameDetailAddress} ${item.mainBuildingName}`,
279
293
  searchKeyword
280
294
  ) }),
281
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$k("old-address"), children: highlightOnSearchKeyword$1(
295
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$k("old-address"), children: highlightOnSearchKeyword(
282
296
  `${item.landNumberBaseAddress} ${item.landNumberDetailAddress}`,
283
297
  searchKeyword
284
298
  ) })
@@ -970,7 +984,7 @@ function BankStockSearchModal({ open, onClose, onSelect }) {
970
984
  " ",
971
985
  convertedItem?.replaceName
972
986
  ] })
973
- ] }, item.codeVal);
987
+ ] }, `${item.codeVal}-${chunkIndex}`);
974
988
  }),
975
989
  chunk2.length < 5 && Array.from({ length: 5 - chunk2.length }).map((_, i) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$1.item, style: { visibility: "hidden" } }, `placeholder-${chunkIndex}-${i}`))
976
990
  ] }, chunkIndex)) });
@@ -1003,10 +1017,6 @@ const useCustomerSearch = (onSelect) => {
1003
1017
  const search = () => {
1004
1018
  if (searchInput.length >= 2) {
1005
1019
  setSearchKeyword(searchInput);
1006
- const filtered = data?.data?.custList?.filter(
1007
- (c) => c.customerName?.toLowerCase().includes(searchInput.toLowerCase())
1008
- );
1009
- setCustomerList(filtered || []);
1010
1020
  setIsOpen(true);
1011
1021
  } else {
1012
1022
  setCustomerList([]);
@@ -1043,6 +1053,12 @@ const useCustomerSearch = (onSelect) => {
1043
1053
  onSelect(customer);
1044
1054
  }
1045
1055
  };
1056
+ React.useEffect(() => {
1057
+ const filtered = data?.data?.custList?.filter(
1058
+ (c) => c.customerName?.toLowerCase().includes(searchInput.toLowerCase())
1059
+ );
1060
+ setCustomerList(filtered || []);
1061
+ }, [data, searchInput]);
1046
1062
  return {
1047
1063
  triggerRef,
1048
1064
  isOpen,
@@ -1064,22 +1080,6 @@ const useCustomerSearch = (onSelect) => {
1064
1080
  };
1065
1081
 
1066
1082
  const cx$j = classNames.bind(styles$2);
1067
- const highlightOnSearchKeyword = (originalText, targetString) => {
1068
- if (!targetString || !originalText?.includes(targetString)) {
1069
- return originalText;
1070
- }
1071
- const replacedText = [];
1072
- const splitText = originalText.split(targetString);
1073
- for (let i = 0; i < splitText.length; i++) {
1074
- replacedText.push(splitText[i] || "");
1075
- if (i < splitText.length - 1) {
1076
- replacedText.push(
1077
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary", children: targetString }, i)
1078
- );
1079
- }
1080
- }
1081
- return replacedText;
1082
- };
1083
1083
  const { InputBox: InputBox$3, Input: Input$3 } = salesFrontendDesignSystem.FormCore;
1084
1084
  const CustomerSearch = ({ onSelectCustomer, placeholder, rootProps, ...props }) => {
1085
1085
  const {
@@ -1108,18 +1108,30 @@ const CustomerSearch = ({ onSelectCustomer, placeholder, rootProps, ...props })
1108
1108
  ref: triggerRef
1109
1109
  }
1110
1110
  ) }) }),
1111
- isOpen && customerList.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(DropDown, { children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$j("result-container"), children: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.List, { children: customerList.map((customer) => /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.ListItem, { onClick: () => handleSelectItem(customer), selectable: true, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$j("customer-item"), children: [
1112
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$j("name"), children: highlightOnSearchKeyword(customer.customerName || "", searchKeyword) }),
1113
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$j("details"), children: [
1114
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: customer.birthDate }),
1115
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$j("separator"), children: "|" }),
1116
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: customer.genderCode }),
1117
- customer.baseAddress && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1118
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$j("separator"), children: "|" }),
1119
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: customer.baseAddress })
1111
+ isOpen && customerList.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(DropDown, { children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$j("result-container"), children: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.List, { children: customerList.map((customer, index) => /* @__PURE__ */ jsxRuntime.jsx(
1112
+ salesFrontendDesignSystem.ListItem,
1113
+ {
1114
+ onClick: () => handleSelectItem(customer),
1115
+ selectable: true,
1116
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$j("customer-item"), children: [
1117
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$j("name"), children: highlightOnSearchKeyword(customer.customerName || "", searchKeyword) }),
1118
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$j("details"), children: [
1119
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: customer.birthDate && salesFrontendDesignSystem.convertDateString({
1120
+ dateString: customer.birthDate,
1121
+ fromFormat: "YYYYMMDD",
1122
+ toFormat: "YYYY.MM.DD"
1123
+ }) }),
1124
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$j("separator"), children: "|" }),
1125
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: getGenderName(customer.genderCode) }),
1126
+ customer.baseAddress && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1127
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$j("separator"), children: "|" }),
1128
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: customer.baseAddress })
1129
+ ] })
1130
+ ] })
1120
1131
  ] })
1121
- ] })
1122
- ] }) }, customer.customerId)) }) }) })
1132
+ },
1133
+ `cust-item-${customer.customerId}-${index}`
1134
+ )) }) }) })
1123
1135
  ] });
1124
1136
  };
1125
1137
 
@@ -1166,7 +1178,7 @@ function CustomerSearchModal({ isOpen, closeModal, onSelect }) {
1166
1178
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary", children: searchKeyword }),
1167
1179
  "`\uC5D0 \uB300\uD55C \uAC80\uC0C9\uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4."
1168
1180
  ] }),
1169
- searchKeyword && customerList.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { children: customerList.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.List, { rootProps: { style: { width: "100%" } }, children: customerList.map((customer) => /* @__PURE__ */ jsxRuntime.jsx(
1181
+ searchKeyword && customerList.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { children: customerList.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.List, { rootProps: { style: { width: "100%" } }, children: customerList.map((customer, index) => /* @__PURE__ */ jsxRuntime.jsx(
1170
1182
  salesFrontendDesignSystem.ListItem,
1171
1183
  {
1172
1184
  onClick: () => {
@@ -1178,11 +1190,15 @@ function CustomerSearchModal({ isOpen, closeModal, onSelect }) {
1178
1190
  },
1179
1191
  selectable: true,
1180
1192
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$i("customer-item", "modal"), children: [
1181
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$i("name"), children: highlightOnSearchKeyword$1(customer.customerName || "", searchKeyword) }),
1193
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$i("name"), children: highlightOnSearchKeyword(customer.customerName || "", searchKeyword) }),
1182
1194
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$i("details", "modal"), children: [
1183
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: customer.birthDate }),
1195
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: customer.birthDate && salesFrontendDesignSystem.convertDateString({
1196
+ dateString: customer.birthDate,
1197
+ fromFormat: "YYYYMMDD",
1198
+ toFormat: "YYYY.MM.DD"
1199
+ }) }),
1184
1200
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$i("separator"), children: "|" }),
1185
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: customer.genderCode }),
1201
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: getGenderName(customer.genderCode) }),
1186
1202
  customer.baseAddress && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1187
1203
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$i("separator"), children: "|" }),
1188
1204
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: customer.baseAddress })
@@ -1190,7 +1206,7 @@ function CustomerSearchModal({ isOpen, closeModal, onSelect }) {
1190
1206
  ] })
1191
1207
  ] })
1192
1208
  },
1193
- customer.customerId
1209
+ `cust-item-${customer.customerId}-${index}`
1194
1210
  )) }) })
1195
1211
  ] })
1196
1212
  ] })
@@ -1241,7 +1257,7 @@ const NationalitySearchInitialText = ({
1241
1257
  };
1242
1258
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$h("favorite-container"), children: [
1243
1259
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: cx$h("favorite-title"), children: "\uB9CE\uC774 \uCC3E\uB294 \uAD6D\uC801" }),
1244
- /* @__PURE__ */ jsxRuntime.jsx("ul", { className: cx$h("favorite"), children: favoriteList.map((item) => /* @__PURE__ */ jsxRuntime.jsx("li", { onClick: () => set(item.nationalityCodeName), children: /* @__PURE__ */ jsxRuntime.jsx("button", { children: item.nationalityCodeName }) }, item.nationalityCode)) })
1260
+ /* @__PURE__ */ jsxRuntime.jsx("ul", { className: cx$h("favorite"), children: favoriteList.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx("li", { onClick: () => set(item.nationalityCodeName), children: /* @__PURE__ */ jsxRuntime.jsx("button", { children: item.nationalityCodeName }) }, `${item.nationalityCode}-${index}`)) })
1245
1261
  ] });
1246
1262
  };
1247
1263
  const NationalitySearchResult = ({ nationalityList, searchKeyWord, onSelect }) => {
@@ -1257,7 +1273,7 @@ const NationalitySearchResult = ({ nationalityList, searchKeyWord, onSelect }) =
1257
1273
  "\uAC74\uC758 \uAC80\uC0C9\uACB0\uACFC"
1258
1274
  ] }),
1259
1275
  /* @__PURE__ */ jsxRuntime.jsx("ul", { className: cx$h("favorite"), children: filterList.length > 0 && filterList.map((item, index) => {
1260
- return /* @__PURE__ */ jsxRuntime.jsx("li", { onClick: () => onSelect(item.nationalityCodeName), children: /* @__PURE__ */ jsxRuntime.jsx("button", { children: highlightOnSearchKeyword$1(item.nationalityCodeName, searchKeyWord) }) }, `${index}-${item.nationalityCode}`);
1276
+ return /* @__PURE__ */ jsxRuntime.jsx("li", { onClick: () => onSelect(item.nationalityCodeName), children: /* @__PURE__ */ jsxRuntime.jsx("button", { children: highlightOnSearchKeyword(item.nationalityCodeName, searchKeyWord) }) }, `${index}-${item.nationalityCode}`);
1261
1277
  }) }),
1262
1278
  filterList.length === 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$h("search-result"), children: [
1263
1279
  "`",
@@ -1681,7 +1697,7 @@ const VisaSearchResult = ({ visaList, searchKeyword, onSelect }) => {
1681
1697
  "\uAC74\uC758 \uAC80\uC0C9\uACB0\uACFC"
1682
1698
  ] }),
1683
1699
  /* @__PURE__ */ jsxRuntime.jsx("ul", { className: cx$g("favorite"), children: filterList.length > 0 && filterList.map((item, index) => {
1684
- return /* @__PURE__ */ jsxRuntime.jsx("li", { onClick: () => onSelect(item), children: /* @__PURE__ */ jsxRuntime.jsx("button", { children: highlightOnSearchKeyword$1(`${item.integrationCodeValueName}`, searchKeyword) }) }, `${index}-${item.integrationCodeValueName}`);
1700
+ return /* @__PURE__ */ jsxRuntime.jsx("li", { onClick: () => onSelect(item), children: /* @__PURE__ */ jsxRuntime.jsx("button", { children: highlightOnSearchKeyword(`${item.integrationCodeValueName}`, searchKeyword) }) }, `${index}-${item.integrationCodeValueName}`);
1685
1701
  }) }),
1686
1702
  filterList.length === 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$g("search-result"), children: [
1687
1703
  "`",
@@ -1815,7 +1831,7 @@ function DeaCustomerSearchResult({
1815
1831
  /* @__PURE__ */ jsxRuntime.jsx("th", { className: cx$f("th-padding"), children: "\uC804\uD654\uBC88\uD638" }),
1816
1832
  /* @__PURE__ */ jsxRuntime.jsx("th", { className: cx$f("th-padding"), children: "\uC8FC\uC18C" })
1817
1833
  ] }) }),
1818
- /* @__PURE__ */ jsxRuntime.jsx("tbody", { children: customerList.length > 0 ? customerList.map((customer) => /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
1834
+ /* @__PURE__ */ jsxRuntime.jsx("tbody", { children: customerList.length > 0 ? customerList.map((customer, index) => /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
1819
1835
  /* @__PURE__ */ jsxRuntime.jsx("td", { children: /* @__PURE__ */ jsxRuntime.jsx(
1820
1836
  "input",
1821
1837
  {
@@ -1832,7 +1848,7 @@ function DeaCustomerSearchResult({
1832
1848
  /* @__PURE__ */ jsxRuntime.jsx("td", { children: customer.occupationKindName }),
1833
1849
  /* @__PURE__ */ jsxRuntime.jsx("td", { children: customer.mobilePhoneNumber }),
1834
1850
  /* @__PURE__ */ jsxRuntime.jsx("td", { children: customer.address })
1835
- ] }, customer.customerId)) : /* @__PURE__ */ jsxRuntime.jsx("tr", { children: /* @__PURE__ */ jsxRuntime.jsx("td", { colSpan: 7, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$f("no-result"), children: [
1851
+ ] }, `cust-item-${customer.customerId}-${index}}`)) : /* @__PURE__ */ jsxRuntime.jsx("tr", { children: /* @__PURE__ */ jsxRuntime.jsx("td", { colSpan: 7, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cx$f("no-result"), children: [
1836
1852
  /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconGraphicsFeedbackEmpty, {}),
1837
1853
  /* @__PURE__ */ jsxRuntime.jsx("p", { children: "\uC870\uD68C \uACB0\uACFC\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4." }),
1838
1854
  /* @__PURE__ */ jsxRuntime.jsx("p", { children: "\uC785\uB825\uD55C \uC815\uBCF4\uB97C \uB2E4\uC2DC \uD655\uC778\uD574\uC8FC\uC138\uC694." })
@@ -2107,7 +2123,7 @@ function EmployeeSearch({
2107
2123
  onChange: (value) => onTabChange(value),
2108
2124
  className: styles$6.select,
2109
2125
  size: "medium",
2110
- children: EMPLOYEE_SEARCH_TABS.map((option) => /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Select.Option, { value: option.value, children: option.label }, option.value))
2126
+ children: EMPLOYEE_SEARCH_TABS.map((option, index) => /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Select.Option, { value: option.value, children: option.label }, `${option.value}-${index}`))
2111
2127
  }
2112
2128
  )
2113
2129
  ] }),
@@ -2279,7 +2295,7 @@ function JobSearchCategory({ filteredJobs, onJobSelect, searchTerm }) {
2279
2295
  id: `item-${job.occupationIndustryCode}-${index}-accordion`,
2280
2296
  children: [
2281
2297
  /* @__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: [
2282
- highlightOnSearchKeyword$1(job.occupationIndustryName, searchTerm),
2298
+ highlightOnSearchKeyword(job.occupationIndustryName, searchTerm),
2283
2299
  "(",
2284
2300
  job.occupationIndustryCode,
2285
2301
  ")"
@@ -2364,7 +2380,7 @@ function JobSearchResult({ filteredJobs, onJobSelect, searchTerm }) {
2364
2380
  onChange: () => {
2365
2381
  onJobSelect(job);
2366
2382
  },
2367
- children: highlightOnSearchKeyword$1(job.occupationIndustryName, searchTerm)
2383
+ children: highlightOnSearchKeyword(job.occupationIndustryName, searchTerm)
2368
2384
  }
2369
2385
  ) }) }),
2370
2386
  /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Accordion.Content, { variant: "text", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -2421,7 +2437,7 @@ function JobSearch({
2421
2437
  size: "small",
2422
2438
  variant: "sub",
2423
2439
  style: { gap: 0, overflow: "visible" },
2424
- children: JOB_SEARCH_TABS.map((tab) => /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Tab.Item, { value: tab.value, children: tab.label }, tab.value))
2440
+ children: JOB_SEARCH_TABS.map((tab, index) => /* @__PURE__ */ jsxRuntime.jsx(salesFrontendDesignSystem.Tab.Item, { value: tab.value, children: tab.label }, `${tab.value}-${index}`))
2425
2441
  }
2426
2442
  ),
2427
2443
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
@@ -2962,7 +2978,7 @@ function OrganizationSearchResult({
2962
2978
  /* @__PURE__ */ jsxRuntime.jsx("th", { className: cx$4("th-padding"), children: "\uAE30\uAD00\uCF54\uB4DC" }),
2963
2979
  /* @__PURE__ */ jsxRuntime.jsx("th", { className: cx$4("th-padding"), children: "\uAE30\uAD00\uBA85" })
2964
2980
  ] }) }),
2965
- /* @__PURE__ */ jsxRuntime.jsx("tbody", { children: filteredOrganizations.map((organization) => {
2981
+ /* @__PURE__ */ jsxRuntime.jsx("tbody", { children: filteredOrganizations.map((organization, index) => {
2966
2982
  return /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [
2967
2983
  /* @__PURE__ */ jsxRuntime.jsx("td", { children: /* @__PURE__ */ jsxRuntime.jsx(
2968
2984
  "input",
@@ -2975,7 +2991,7 @@ function OrganizationSearchResult({
2975
2991
  ) }),
2976
2992
  /* @__PURE__ */ jsxRuntime.jsx("td", { children: organization.organizationCode }),
2977
2993
  /* @__PURE__ */ jsxRuntime.jsx("td", { children: organization.organizationName })
2978
- ] }, organization.organizationCode);
2994
+ ] }, `${organization.organizationCode}-${index}`);
2979
2995
  }) })
2980
2996
  ] }) : /* @__PURE__ */ jsxRuntime.jsxs(salesFrontendDesignSystem.Table, { variant: "horizontal", children: [
2981
2997
  /* @__PURE__ */ jsxRuntime.jsx("thead", { children: /* @__PURE__ */ jsxRuntime.jsxs("tr", { children: [