sales-frontend-components 0.0.140 → 0.0.142
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 +21 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +24 -4
- package/dist/index.esm.js +21 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +14 -14
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { CheckboxButtonProps, CheckboxProps, DatePickerSingleHtmlProps, DatePick
|
|
|
4
4
|
import * as React$1 from 'react';
|
|
5
5
|
import React__default from 'react';
|
|
6
6
|
import * as sales_frontend_api_method from 'sales-frontend-api/method';
|
|
7
|
-
import { AddressStandardizationResponseDto, AddressResponseDto, CodeDto, CustomerSearchProps, CustomerDto, NationalityResponseDto, VisaStatusResponseDto, PersonalCustomerProfileResponseDto, EmployeeProfileResponseDto, OccupationResponseDto, OrganizationProfileResponse, RemoteIdentityVerificationSystemTokenRequestDto, ApiConfig } from 'sales-frontend-api/method';
|
|
7
|
+
import { AddressStandardizationResponseDto, AddressResponseDto, CodeDto, CustomerSearchProps, CustomerDto, NationalityResponseDto, VisaStatusResponseDto, PersonalCustomerProfileResponseDto, EmployeeProfileResponseDto, OccupationResponseDto, OccupationDetailResponseDto, OrganizationProfileResponse, RemoteIdentityVerificationSystemTokenRequestDto, ApiConfig } from 'sales-frontend-api/method';
|
|
8
8
|
|
|
9
9
|
declare const FormCheckboxButton: <TFormValues extends FieldValues>({ name, control, disabled, children, ...props }: Pick<UseControllerProps<TFormValues>, "name" | "control" | "disabled"> & Omit<CheckboxButtonProps, "id">) => react_jsx_runtime.JSX.Element;
|
|
10
10
|
|
|
@@ -460,14 +460,14 @@ declare function useJobSearchModal(): {
|
|
|
460
460
|
openJobSearchModal: () => void;
|
|
461
461
|
closeJobSearchModal: () => void;
|
|
462
462
|
selectedJob: OccupationResponseDto | null;
|
|
463
|
-
selectedJobDetail:
|
|
463
|
+
selectedJobDetail: OccupationDetailResponseDto | undefined;
|
|
464
464
|
resetJobSearch: () => void;
|
|
465
465
|
setSelectedJob: React$1.Dispatch<React$1.SetStateAction<OccupationResponseDto | null>>;
|
|
466
466
|
};
|
|
467
467
|
|
|
468
468
|
declare function useJobVehicleSearchModal(): {
|
|
469
469
|
selectedJob: sales_frontend_api_method.OccupationResponseDto | null;
|
|
470
|
-
selectedJobDetail:
|
|
470
|
+
selectedJobDetail: sales_frontend_api_method.OccupationDetailResponseDto | undefined;
|
|
471
471
|
selectedVehicle: sales_frontend_api_method.VehicleTypeResponseDto | undefined;
|
|
472
472
|
riskGrade: string;
|
|
473
473
|
hospitalizationGrade: string;
|
|
@@ -521,6 +521,26 @@ interface UseRemoteIdentityVerificationProps {
|
|
|
521
521
|
onCancel?: (result: VerificationResponse['args']) => void;
|
|
522
522
|
}
|
|
523
523
|
|
|
524
|
+
declare const RIV_SEARCH_PARAM_MAP: {
|
|
525
|
+
readonly NATIONALITY_TYPE: {
|
|
526
|
+
/** 내국인 */
|
|
527
|
+
readonly DOMESTIC: "D";
|
|
528
|
+
/** 외국인 */
|
|
529
|
+
readonly FOREIGN: "F";
|
|
530
|
+
};
|
|
531
|
+
readonly DOCUMENT_FORMAT: {
|
|
532
|
+
/** 일반 주민등록증 */
|
|
533
|
+
readonly GENERAL: "NC202001";
|
|
534
|
+
/** 외국인등록증 */
|
|
535
|
+
readonly FOREIGN_REGISTRATION: "NC020048";
|
|
536
|
+
};
|
|
537
|
+
readonly DOCUMENT_TYPE: {
|
|
538
|
+
/** 일반 주민등록증 */
|
|
539
|
+
readonly GENERAL: "IT148";
|
|
540
|
+
/** 외국인등록증 */
|
|
541
|
+
readonly FOREIGN_REGISTRATION: "IT321";
|
|
542
|
+
};
|
|
543
|
+
};
|
|
524
544
|
/**
|
|
525
545
|
* 비대면인증시스템 기본 로직
|
|
526
546
|
* @param config
|
|
@@ -567,5 +587,5 @@ declare function DudUpload(): react_jsx_runtime.JSX.Element;
|
|
|
567
587
|
|
|
568
588
|
declare function DudDownload(): react_jsx_runtime.JSX.Element;
|
|
569
589
|
|
|
570
|
-
export { Attachment, BankStockSearchModal, CODES, CustomerSearch, CustomerSearchModal, DeaCustomerSearchModal, DudDownload, DudUpload, EmployeeSearchModal, FormCheckbox, FormCheckboxButton, FormDatePicker, FormDateRangePicker, FormSearchJobField, FormSegmentGroup, FormSelect, FormTextField, JobVehicleSearchModal, OrganizationSearchModal, StepIndicator, resize, testSignatureBase64Data, useAddressComponent, useBankStockSearch, useCamera, useCanvasPaint, useJobSearchModal, useJobVehicleSearchModal, useNationalityComponent, useNxlOneModal, useRemoteIdentityVerification, useRemoteIdentityVerificationIframe, useRemoteIdentityVerificationPopup, useSearchAddress, useSearchNationality, useSearchVisa, useVisaComponent };
|
|
590
|
+
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, useJobSearchModal, useJobVehicleSearchModal, useNationalityComponent, useNxlOneModal, useRemoteIdentityVerification, useRemoteIdentityVerificationIframe, useRemoteIdentityVerificationPopup, useSearchAddress, useSearchNationality, useSearchVisa, useVisaComponent };
|
|
571
591
|
export type { AttachedPhoto, AttachmentProps, BankStockSearchModalProps, CodeSet, DownloadProps, FormSegmentGroupProps, NxlOneProps, NxlOneResponse, PaintProps, Pen, RemoteIdentityVerificationSuccess, RivUrlParams, Step, StepIndicatorProps, StepItem, UseRemoteIdentityVerificationProps, VerificationResponse, cameraItemType, cameraOptions };
|
package/dist/index.esm.js
CHANGED
|
@@ -4144,6 +4144,26 @@ const VERIFICATION_CODES = {
|
|
|
4144
4144
|
ATTEMPT_EXCEEDED: "9003",
|
|
4145
4145
|
SERVER_ERROR: "9999"
|
|
4146
4146
|
};
|
|
4147
|
+
const RIV_SEARCH_PARAM_MAP = {
|
|
4148
|
+
NATIONALITY_TYPE: {
|
|
4149
|
+
/** 내국인 */
|
|
4150
|
+
DOMESTIC: "D",
|
|
4151
|
+
/** 외국인 */
|
|
4152
|
+
FOREIGN: "F"
|
|
4153
|
+
},
|
|
4154
|
+
DOCUMENT_FORMAT: {
|
|
4155
|
+
/** 일반 주민등록증 */
|
|
4156
|
+
GENERAL: "NC202001",
|
|
4157
|
+
/** 외국인등록증 */
|
|
4158
|
+
FOREIGN_REGISTRATION: "NC020048"
|
|
4159
|
+
},
|
|
4160
|
+
DOCUMENT_TYPE: {
|
|
4161
|
+
/** 일반 주민등록증 */
|
|
4162
|
+
GENERAL: "IT148",
|
|
4163
|
+
/** 외국인등록증 */
|
|
4164
|
+
FOREIGN_REGISTRATION: "IT321"
|
|
4165
|
+
}
|
|
4166
|
+
};
|
|
4147
4167
|
const useRemoteIdentityVerification = ({
|
|
4148
4168
|
rivEnv,
|
|
4149
4169
|
rivOrigin,
|
|
@@ -4400,5 +4420,5 @@ function DudDownload() {
|
|
|
4400
4420
|
] });
|
|
4401
4421
|
}
|
|
4402
4422
|
|
|
4403
|
-
export { Attachment, BankStockSearchModal, CODES, CustomerSearch, CustomerSearchModal, DeaCustomerSearchModal, DudDownload, DudUpload, EmployeeSearchModal, FormCheckbox, FormCheckboxButton, FormDatePicker, FormDateRangePicker, FormSearchJobField, FormSegmentGroup, FormSelect, FormTextField, JobVehicleSearchModal, OrganizationSearchModal, StepIndicator, resize, testSignatureBase64Data, useAddressComponent, useBankStockSearch, useCamera, useCanvasPaint, useJobSearchModal, useJobVehicleSearchModal, useNationalityComponent, useNxlOneModal, useRemoteIdentityVerification, useRemoteIdentityVerificationIframe, useRemoteIdentityVerificationPopup, useSearchAddress, useSearchNationality, useSearchVisa, useVisaComponent };
|
|
4423
|
+
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, useJobSearchModal, useJobVehicleSearchModal, useNationalityComponent, useNxlOneModal, useRemoteIdentityVerification, useRemoteIdentityVerificationIframe, useRemoteIdentityVerificationPopup, useSearchAddress, useSearchNationality, useSearchVisa, useVisaComponent };
|
|
4404
4424
|
//# sourceMappingURL=index.esm.js.map
|