sales-frontend-components 0.0.155 → 0.0.156
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 +14 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +12 -1
- package/dist/index.esm.js +13 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +11 -11
package/dist/index.cjs.js
CHANGED
|
@@ -633,7 +633,17 @@ const useAddressComponent = () => {
|
|
|
633
633
|
};
|
|
634
634
|
};
|
|
635
635
|
|
|
636
|
-
const
|
|
636
|
+
const BANK_STOCK_SEARCH_MODAL_TABS = [
|
|
637
|
+
{
|
|
638
|
+
value: "bank",
|
|
639
|
+
label: "\uC740\uD589"
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
value: "stock",
|
|
643
|
+
label: "\uC99D\uAD8C\uC0AC"
|
|
644
|
+
}
|
|
645
|
+
];
|
|
646
|
+
const BANK_STOCK_ICON_LIST = [
|
|
637
647
|
{
|
|
638
648
|
codeVal: "002",
|
|
639
649
|
codeName: "\uC0B0\uC5C5\uC740\uD589",
|
|
@@ -974,7 +984,7 @@ function BankStockSearchModal({ open, onClose, onSelect }) {
|
|
|
974
984
|
const chunkedList = chunk(list, 5);
|
|
975
985
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$1["list-container"], children: chunkedList.map((chunk2, chunkIndex) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: styles$1.row, children: [
|
|
976
986
|
chunk2.map((item) => {
|
|
977
|
-
const findItem =
|
|
987
|
+
const findItem = BANK_STOCK_ICON_LIST.find((icon) => icon.codeVal === item.codeVal);
|
|
978
988
|
const convertedItem = findItem ? findItem : {
|
|
979
989
|
icon: /* @__PURE__ */ jsxRuntime.jsx(salesFrontendAssets.IconGraphicsStockHochulEopsum, {}),
|
|
980
990
|
replaceName: item.codeName
|
|
@@ -4419,6 +4429,8 @@ const useDownloader = () => {
|
|
|
4419
4429
|
};
|
|
4420
4430
|
|
|
4421
4431
|
exports.Attachment = Attachment;
|
|
4432
|
+
exports.BANK_STOCK_ICON_LIST = BANK_STOCK_ICON_LIST;
|
|
4433
|
+
exports.BANK_STOCK_SEARCH_MODAL_TABS = BANK_STOCK_SEARCH_MODAL_TABS;
|
|
4422
4434
|
exports.BankStockSearchModal = BankStockSearchModal;
|
|
4423
4435
|
exports.CODES = CODES;
|
|
4424
4436
|
exports.CustomerSearch = CustomerSearch;
|