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.d.ts
CHANGED
|
@@ -279,6 +279,17 @@ declare function useBankStockSearch({ onSelect }: {
|
|
|
279
279
|
handleSelect: (item: CodeDto) => void;
|
|
280
280
|
};
|
|
281
281
|
|
|
282
|
+
declare const BANK_STOCK_SEARCH_MODAL_TABS: {
|
|
283
|
+
value: string;
|
|
284
|
+
label: string;
|
|
285
|
+
}[];
|
|
286
|
+
declare const BANK_STOCK_ICON_LIST: {
|
|
287
|
+
codeVal: string;
|
|
288
|
+
codeName: string;
|
|
289
|
+
replaceName: string;
|
|
290
|
+
icon: react_jsx_runtime.JSX.Element;
|
|
291
|
+
}[];
|
|
292
|
+
|
|
282
293
|
declare const CustomerSearch: ({ onSelectCustomer, placeholder, rootProps, ...props }: CustomerSearchProps) => react_jsx_runtime.JSX.Element;
|
|
283
294
|
|
|
284
295
|
interface Props$3 {
|
|
@@ -607,5 +618,5 @@ declare const useDownloader: () => {
|
|
|
607
618
|
isError: boolean;
|
|
608
619
|
};
|
|
609
620
|
|
|
610
|
-
export { Attachment, BankStockSearchModal, CODES, CustomerSearch, CustomerSearchModal, DeaCustomerSearchModal, DudDownload, DudUpload, EmployeeSearchModal, FormCheckbox, FormCheckboxButton, FormDatePicker, FormDateRangePicker, FormSearchJobField, FormSegmentGroup, FormSelect, FormTextField, JobVehicleSearchModal, OrganizationSearchModal, RIV_SEARCH_PARAM_MAP, StepIndicator, resize, testSignatureBase64Data, useAddressComponent, useBankStockSearch, useCamera, useCanvasPaint, useDownloader, useJobSearchModal, useJobVehicleSearchModal, useNationalityComponent, useNxlOneModal, useRemoteIdentityVerification, useRemoteIdentityVerificationIframe, useRemoteIdentityVerificationPopup, useSearchAddress, useSearchNationality, useSearchVisa, useVisaComponent };
|
|
621
|
+
export { Attachment, BANK_STOCK_ICON_LIST, BANK_STOCK_SEARCH_MODAL_TABS, BankStockSearchModal, CODES, CustomerSearch, CustomerSearchModal, DeaCustomerSearchModal, DudDownload, DudUpload, EmployeeSearchModal, FormCheckbox, FormCheckboxButton, FormDatePicker, FormDateRangePicker, FormSearchJobField, FormSegmentGroup, FormSelect, FormTextField, JobVehicleSearchModal, OrganizationSearchModal, RIV_SEARCH_PARAM_MAP, StepIndicator, resize, testSignatureBase64Data, useAddressComponent, useBankStockSearch, useCamera, useCanvasPaint, useDownloader, useJobSearchModal, useJobVehicleSearchModal, useNationalityComponent, useNxlOneModal, useRemoteIdentityVerification, useRemoteIdentityVerificationIframe, useRemoteIdentityVerificationPopup, useSearchAddress, useSearchNationality, useSearchVisa, useVisaComponent };
|
|
611
622
|
export type { AttachedPhoto, AttachmentProps, BankStockSearchModalProps, CodeSet, DownloadProps, DownloadTargetInfo, DownloaderProps, FormSegmentGroupProps, PaintProps, Pen, RemoteIdentityVerificationSuccess, RivUrlParams, Step, StepIndicatorProps, StepItem, UseRemoteIdentityVerificationProps, VerificationResponse, cameraItemType, cameraOptions };
|
package/dist/index.esm.js
CHANGED
|
@@ -631,7 +631,17 @@ const useAddressComponent = () => {
|
|
|
631
631
|
};
|
|
632
632
|
};
|
|
633
633
|
|
|
634
|
-
const
|
|
634
|
+
const BANK_STOCK_SEARCH_MODAL_TABS = [
|
|
635
|
+
{
|
|
636
|
+
value: "bank",
|
|
637
|
+
label: "\uC740\uD589"
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
value: "stock",
|
|
641
|
+
label: "\uC99D\uAD8C\uC0AC"
|
|
642
|
+
}
|
|
643
|
+
];
|
|
644
|
+
const BANK_STOCK_ICON_LIST = [
|
|
635
645
|
{
|
|
636
646
|
codeVal: "002",
|
|
637
647
|
codeName: "\uC0B0\uC5C5\uC740\uD589",
|
|
@@ -972,7 +982,7 @@ function BankStockSearchModal({ open, onClose, onSelect }) {
|
|
|
972
982
|
const chunkedList = chunk(list, 5);
|
|
973
983
|
return /* @__PURE__ */ jsx("div", { className: styles$1["list-container"], children: chunkedList.map((chunk2, chunkIndex) => /* @__PURE__ */ jsxs("div", { className: styles$1.row, children: [
|
|
974
984
|
chunk2.map((item) => {
|
|
975
|
-
const findItem =
|
|
985
|
+
const findItem = BANK_STOCK_ICON_LIST.find((icon) => icon.codeVal === item.codeVal);
|
|
976
986
|
const convertedItem = findItem ? findItem : {
|
|
977
987
|
icon: /* @__PURE__ */ jsx(IconGraphicsStockHochulEopsum, {}),
|
|
978
988
|
replaceName: item.codeName
|
|
@@ -4416,5 +4426,5 @@ const useDownloader = () => {
|
|
|
4416
4426
|
};
|
|
4417
4427
|
};
|
|
4418
4428
|
|
|
4419
|
-
export { Attachment, BankStockSearchModal, CODES, CustomerSearch, CustomerSearchModal, DeaCustomerSearchModal, DudDownload, DudUpload, EmployeeSearchModal, FormCheckbox, FormCheckboxButton, FormDatePicker, FormDateRangePicker, FormSearchJobField, FormSegmentGroup, FormSelect, FormTextField, JobVehicleSearchModal, OrganizationSearchModal, RIV_SEARCH_PARAM_MAP, StepIndicator, resize, testSignatureBase64Data, useAddressComponent, useBankStockSearch, useCamera, useCanvasPaint, useDownloader, useJobSearchModal, useJobVehicleSearchModal, useNationalityComponent, useNxlOneModal, useRemoteIdentityVerification, useRemoteIdentityVerificationIframe, useRemoteIdentityVerificationPopup, useSearchAddress, useSearchNationality, useSearchVisa, useVisaComponent };
|
|
4429
|
+
export { Attachment, BANK_STOCK_ICON_LIST, BANK_STOCK_SEARCH_MODAL_TABS, BankStockSearchModal, CODES, CustomerSearch, CustomerSearchModal, DeaCustomerSearchModal, DudDownload, DudUpload, EmployeeSearchModal, FormCheckbox, FormCheckboxButton, FormDatePicker, FormDateRangePicker, FormSearchJobField, FormSegmentGroup, FormSelect, FormTextField, JobVehicleSearchModal, OrganizationSearchModal, RIV_SEARCH_PARAM_MAP, StepIndicator, resize, testSignatureBase64Data, useAddressComponent, useBankStockSearch, useCamera, useCanvasPaint, useDownloader, useJobSearchModal, useJobVehicleSearchModal, useNationalityComponent, useNxlOneModal, useRemoteIdentityVerification, useRemoteIdentityVerificationIframe, useRemoteIdentityVerificationPopup, useSearchAddress, useSearchNationality, useSearchVisa, useVisaComponent };
|
|
4420
4430
|
//# sourceMappingURL=index.esm.js.map
|