sales-frontend-components 0.0.238 → 0.0.240
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 +22 -21
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +7 -4
- package/dist/index.esm.js +22 -21
- package/dist/index.esm.js.map +1 -1
- package/package.json +12 -12
package/dist/index.cjs.js
CHANGED
|
@@ -1232,7 +1232,7 @@ const BANK_STOCK_ICON_LIST = [
|
|
|
1232
1232
|
{
|
|
1233
1233
|
codeVal: "045",
|
|
1234
1234
|
codeName: "\uC0C8\uB9C8\uC744\uAE08\uACE0\uC911\uC559\uD68C",
|
|
1235
|
-
replaceName: "\uC0C8\uB9C8\uC744\uAE08\uACE0\uC911\uC559\uD68C",
|
|
1235
|
+
replaceName: "\uC0C8\uB9C8\uC744\uAE08\uACE0\n\uC911\uC559\uD68C",
|
|
1236
1236
|
icon: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconGraphicsBankSaemaulGeumgo, {}),
|
|
1237
1237
|
className: "dsp-icons-graphics-bank-saemaul-geumgo",
|
|
1238
1238
|
iconName: "bank/\uC0C8\uB9C8\uC744\uAE08\uACE0"
|
|
@@ -1264,7 +1264,7 @@ const BANK_STOCK_ICON_LIST = [
|
|
|
1264
1264
|
{
|
|
1265
1265
|
codeVal: "056",
|
|
1266
1266
|
codeName: "\uC5D0\uC774\uBE44\uC5D4\uC554\uB85C\uC740\uD589",
|
|
1267
|
-
replaceName: "\uC5D0\uC774\uBE44\uC5D4\uC554\uB85C",
|
|
1267
|
+
replaceName: "\uC5D0\uC774\uBE44\uC5D4\n\uC554\uB85C",
|
|
1268
1268
|
icon: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconGraphicsBankABNAMRO, {}),
|
|
1269
1269
|
className: "dsp-icons-graphics-bank-abn-amro",
|
|
1270
1270
|
iconName: "bank/ABN-AMRO"
|
|
@@ -1328,7 +1328,7 @@ const BANK_STOCK_ICON_LIST = [
|
|
|
1328
1328
|
{
|
|
1329
1329
|
codeVal: "209",
|
|
1330
1330
|
codeName: "\uC720\uC548\uD0C0\uC99D\uAD8C",
|
|
1331
|
-
replaceName: "\uC720\uC548\uD0C0\uC99D\uAD8C",
|
|
1331
|
+
replaceName: "\uC720\uC548\uD0C0\n\uC99D\uAD8C",
|
|
1332
1332
|
icon: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconGraphicsStockYuantaJeungkwon, {}),
|
|
1333
1333
|
className: "dsp-icons-graphics-stock-yuanta-jeungkwon",
|
|
1334
1334
|
iconName: "stock/\uC720\uC548\uD0C0\uC99D\uAD8C"
|
|
@@ -1344,7 +1344,7 @@ const BANK_STOCK_ICON_LIST = [
|
|
|
1344
1344
|
{
|
|
1345
1345
|
codeVal: "230",
|
|
1346
1346
|
codeName: "\uBBF8\uB798\uC5D0\uC14B\uC99D\uAD8C",
|
|
1347
|
-
replaceName: "\uBBF8\uB798\uC5D0\uC14B\uC99D\uAD8C",
|
|
1347
|
+
replaceName: "\uBBF8\uB798\uC5D0\uC14B\n\uC99D\uAD8C",
|
|
1348
1348
|
icon: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconGraphicsStockMiraeAssetJeungkwon, {}),
|
|
1349
1349
|
className: "dsp-icons-graphics-stock-mirae-asset-jeungkwon",
|
|
1350
1350
|
iconName: "stock/\uBBF8\uB798\uC5D0\uC14B\uC99D\uAD8C"
|
|
@@ -1368,7 +1368,7 @@ const BANK_STOCK_ICON_LIST = [
|
|
|
1368
1368
|
{
|
|
1369
1369
|
codeVal: "243",
|
|
1370
1370
|
codeName: "\uD55C\uAD6D\uD22C\uC790\uC99D\uAD8C",
|
|
1371
|
-
replaceName: "\uD55C\uAD6D\uD22C\uC790\uC99D\uAD8C",
|
|
1371
|
+
replaceName: "\uD55C\uAD6D\n\uD22C\uC790\uC99D\uAD8C",
|
|
1372
1372
|
icon: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconGraphicsStockHankookTujajeungkwon, {}),
|
|
1373
1373
|
className: "dsp-icons-graphics-stock-hankook-tujajeungkwon",
|
|
1374
1374
|
iconName: "stock/\uD55C\uAD6D\uD22C\uC790\uC99D\uAD8C"
|
|
@@ -1376,7 +1376,7 @@ const BANK_STOCK_ICON_LIST = [
|
|
|
1376
1376
|
{
|
|
1377
1377
|
codeVal: "247",
|
|
1378
1378
|
codeName: "\uC6B0\uB9AC\uD22C\uC790\uC99D\uAD8C",
|
|
1379
|
-
replaceName: "NH(\uC6B0\uB9AC)\uD22C\uC790\uC99D\uAD8C",
|
|
1379
|
+
replaceName: "NH(\uC6B0\uB9AC)\n\uD22C\uC790\uC99D\uAD8C",
|
|
1380
1380
|
icon: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconGraphicsStockNhWooriTujajeungkwon, {}),
|
|
1381
1381
|
className: "dsp-icons-graphics-stock-nh-woori-tujajeungkwon",
|
|
1382
1382
|
iconName: "stock/NH(\uC6B0\uB9AC)\uD22C\uC790\uC99D\uAD8C"
|
|
@@ -1392,7 +1392,7 @@ const BANK_STOCK_ICON_LIST = [
|
|
|
1392
1392
|
{
|
|
1393
1393
|
codeVal: "262",
|
|
1394
1394
|
codeName: "\uD558\uC774\uD22C\uC790\uC99D\uAD8C",
|
|
1395
|
-
replaceName: "\uD558\uC774\uD22C\uC790\uC99D\uAD8C",
|
|
1395
|
+
replaceName: "\uD558\uC774\n\uD22C\uC790\uC99D\uAD8C",
|
|
1396
1396
|
icon: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconGraphicsStockHiTujajeungkwon, {}),
|
|
1397
1397
|
className: "dsp-icons-graphics-stock-hi-tujajeungkwon",
|
|
1398
1398
|
iconName: "stock/\uD558\uC774\uD22C\uC790\uC99D\uAD8C"
|
|
@@ -1400,7 +1400,7 @@ const BANK_STOCK_ICON_LIST = [
|
|
|
1400
1400
|
{
|
|
1401
1401
|
codeVal: "263",
|
|
1402
1402
|
codeName: "\uD604\uB300\uCC28\uD22C\uC790\uC99D\uAD8C",
|
|
1403
|
-
replaceName: "\uD604\uB300\uCC28\uC99D\uAD8C",
|
|
1403
|
+
replaceName: "\uD604\uB300\uCC28\n\uC99D\uAD8C",
|
|
1404
1404
|
icon: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconGraphicsStockHyundaiChaJeungkwon, {}),
|
|
1405
1405
|
className: "dsp-icons-graphics-stock-hyundai-cha-jeungkwon",
|
|
1406
1406
|
iconName: "stock/\uD604\uB300\uCC28\uC99D\uAD8C"
|
|
@@ -1432,7 +1432,7 @@ const BANK_STOCK_ICON_LIST = [
|
|
|
1432
1432
|
{
|
|
1433
1433
|
codeVal: "269",
|
|
1434
1434
|
codeName: "\uD55C\uD654\uC99D\uAD8C",
|
|
1435
|
-
replaceName: "\uD55C\uD654\uD22C\uC790\uC99D\uAD8C",
|
|
1435
|
+
replaceName: "\uD55C\uD654\n\uD22C\uC790\uC99D\uAD8C",
|
|
1436
1436
|
icon: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconGraphicsStockHanwhaTujajeungkwon, {}),
|
|
1437
1437
|
className: "dsp-icons-graphics-stock-hanwha-tujajeungkwon",
|
|
1438
1438
|
iconName: "stock/\uD55C\uD654\uD22C\uC790\uC99D\uAD8C"
|
|
@@ -1440,7 +1440,7 @@ const BANK_STOCK_ICON_LIST = [
|
|
|
1440
1440
|
{
|
|
1441
1441
|
codeVal: "270",
|
|
1442
1442
|
codeName: "\uD558\uB098\uB300\uD22C\uC99D\uAD8C",
|
|
1443
|
-
replaceName: "\uD558\uB098\uAE08\uC735\uD22C\uC790\uC99D\uAD8C",
|
|
1443
|
+
replaceName: "\uD558\uB098\uAE08\uC735\n\uD22C\uC790\uC99D\uAD8C",
|
|
1444
1444
|
icon: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconGraphicsStockHanaGeumyungTujajeungkwon, {}),
|
|
1445
1445
|
className: "dsp-icons-graphics-stock-hana-geumyung-tujajeungkwon",
|
|
1446
1446
|
iconName: "stock/\uD558\uB098\uAE08\uC735\uD22C\uC790\uC99D\uAD8C"
|
|
@@ -1448,7 +1448,7 @@ const BANK_STOCK_ICON_LIST = [
|
|
|
1448
1448
|
{
|
|
1449
1449
|
codeVal: "278",
|
|
1450
1450
|
codeName: "\uC2E0\uD55C\uAE08\uC735\uD22C\uC790",
|
|
1451
|
-
replaceName: "\uC2E0\uD55C\uAE08\uC735\uD22C\uC790\uC99D\uAD8C",
|
|
1451
|
+
replaceName: "\uC2E0\uD55C\uAE08\uC735\n\uD22C\uC790\uC99D\uAD8C",
|
|
1452
1452
|
icon: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconGraphicsStockSinhanTujajeungkwon, {}),
|
|
1453
1453
|
className: "dsp-icons-graphics-stock-sinhan-tujajeungkwon",
|
|
1454
1454
|
iconName: "stock/\uC2E0\uD55C\uD22C\uC790\uC99D\uAD8C"
|
|
@@ -1456,7 +1456,7 @@ const BANK_STOCK_ICON_LIST = [
|
|
|
1456
1456
|
{
|
|
1457
1457
|
codeVal: "279",
|
|
1458
1458
|
codeName: "\uB3D9\uBD80\uC99D\uAD8C",
|
|
1459
|
-
replaceName: "DB\uAE08\uC735\uD22C\uC790\uC99D\uAD8C",
|
|
1459
|
+
replaceName: "DB\uAE08\uC735\n\uD22C\uC790\uC99D\uAD8C",
|
|
1460
1460
|
icon: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconGraphicsStockDbGeumyungTujajeungkwon, {}),
|
|
1461
1461
|
className: "dsp-icons-graphics-stock-db-geumyung-tujajeungkwon",
|
|
1462
1462
|
iconName: "stock/DB\uAE08\uC735\uD22C\uC790\uC99D\uAD8C"
|
|
@@ -1464,7 +1464,7 @@ const BANK_STOCK_ICON_LIST = [
|
|
|
1464
1464
|
{
|
|
1465
1465
|
codeVal: "280",
|
|
1466
1466
|
codeName: "\uC720\uC9C4\uD22C\uC790\uC99D\uAD8C",
|
|
1467
|
-
replaceName: "\uC720\uC9C4\uD22C\uC790\uC99D\uAD8C",
|
|
1467
|
+
replaceName: "\uC720\uC9C4\n\uD22C\uC790\uC99D\uAD8C",
|
|
1468
1468
|
icon: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconGraphicsStockYujinTujajeungkwon, {}),
|
|
1469
1469
|
className: "dsp-icons-graphics-stock-yujin-tujajeungkwon",
|
|
1470
1470
|
iconName: "stock/\uC720\uC9C4\uD22C\uC790\uC99D\uAD8C"
|
|
@@ -1472,7 +1472,7 @@ const BANK_STOCK_ICON_LIST = [
|
|
|
1472
1472
|
{
|
|
1473
1473
|
codeVal: "287",
|
|
1474
1474
|
codeName: "\uBA54\uB9AC\uCE20\uC99D\uAD8C",
|
|
1475
|
-
replaceName: "\uBA54\uB9AC\uCE20\uC99D\uAD8C",
|
|
1475
|
+
replaceName: "\uBA54\uB9AC\uCE20\n\uC99D\uAD8C",
|
|
1476
1476
|
icon: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconGraphicsStockMeritzJeungkwon, {}),
|
|
1477
1477
|
className: "dsp-icons-graphics-stock-meritz-jeungkwon",
|
|
1478
1478
|
iconName: "stock/\uBA54\uB9AC\uCE20\uC99D\uAD8C"
|
|
@@ -1480,7 +1480,7 @@ const BANK_STOCK_ICON_LIST = [
|
|
|
1480
1480
|
{
|
|
1481
1481
|
codeVal: "288",
|
|
1482
1482
|
codeName: "\uCE74\uCE74\uC624\uD398\uC774\uC99D\uAD8C",
|
|
1483
|
-
replaceName: "\uCE74\uCE74\uC624\uD398\uC774\uC99D\uAD8C",
|
|
1483
|
+
replaceName: "\uCE74\uCE74\uC624\uD398\uC774\n\uC99D\uAD8C",
|
|
1484
1484
|
icon: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconGraphicsStockKakaoPayJeungkwon, {}),
|
|
1485
1485
|
className: "dsp-icons-graphics-stock-kakao-pay-jeungkwon",
|
|
1486
1486
|
iconName: "stock/\uCE74\uCE74\uC624\uD398\uC774\uC99D\uAD8C"
|
|
@@ -1488,7 +1488,7 @@ const BANK_STOCK_ICON_LIST = [
|
|
|
1488
1488
|
{
|
|
1489
1489
|
codeVal: "289",
|
|
1490
1490
|
codeName: "NH\uD22C\uC790\uC99D\uAD8C",
|
|
1491
|
-
replaceName: "NH\uD22C\uC790\uC99D\uAD8C",
|
|
1491
|
+
replaceName: "NH\n\uD22C\uC790\uC99D\uAD8C",
|
|
1492
1492
|
icon: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconGraphicsStockNhTujajeungkwon, {}),
|
|
1493
1493
|
className: "dsp-icons-graphics-stock-nh-tujajeungkwon",
|
|
1494
1494
|
iconName: "stock/NH\uD22C\uC790\uC99D\uAD8C"
|
|
@@ -1511,8 +1511,8 @@ const BANK_STOCK_ICON_LIST = [
|
|
|
1511
1511
|
}
|
|
1512
1512
|
];
|
|
1513
1513
|
|
|
1514
|
-
function useBankStockSearch({ onSelect }) {
|
|
1515
|
-
const { data } = method.useSearchCommonCodeQuery({ commonCodeId: "BANK_ORGN_DVSN_CODE" });
|
|
1514
|
+
function useBankStockSearch({ onSelect, commonCodeId }) {
|
|
1515
|
+
const { data } = method.useSearchCommonCodeQuery({ commonCodeId: commonCodeId || "BANK_ORGN_DVSN_CODE" });
|
|
1516
1516
|
const bankStockList = data?.data?.commonCodeList?.[0]?.codeList;
|
|
1517
1517
|
const handleSelect = (item) => {
|
|
1518
1518
|
onSelect(item);
|
|
@@ -1527,9 +1527,10 @@ function useBankStockSearch({ onSelect }) {
|
|
|
1527
1527
|
}
|
|
1528
1528
|
|
|
1529
1529
|
const cx$l = classNames.bind(styles$1);
|
|
1530
|
-
function BankStockSearchModal({ open, onClose, onSelect }) {
|
|
1530
|
+
function BankStockSearchModal({ open, onClose, onSelect, commonCodeId }) {
|
|
1531
1531
|
const { bankList, stockList, handleSelect } = useBankStockSearch({
|
|
1532
|
-
onSelect
|
|
1532
|
+
onSelect,
|
|
1533
|
+
commonCodeId
|
|
1533
1534
|
});
|
|
1534
1535
|
const renderItems = (list) => {
|
|
1535
1536
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cx$l("grid-container"), children: list.map((item) => {
|
|
@@ -1537,7 +1538,7 @@ function BankStockSearchModal({ open, onClose, onSelect }) {
|
|
|
1537
1538
|
const convertedItem = findItem ? findItem : {
|
|
1538
1539
|
replaceName: item.codeName
|
|
1539
1540
|
};
|
|
1540
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("button", { className: cx$l("grid-item"), onClick: () => handleSelect(item), children: [
|
|
1541
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("button", { className: cx$l("grid-item", "text-pre-line"), onClick: () => handleSelect(item), children: [
|
|
1541
1542
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: cx$l("icon-box"), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1542
1543
|
"span",
|
|
1543
1544
|
{
|