@ehfuse/mui-form-controls 3.2.10 → 3.3.0

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/README.md CHANGED
@@ -8,6 +8,7 @@ MUI 기반 폼 컨트롤과 텍스트 필드 컴포넌트 모음
8
8
  | ----------------------------- | ---------------------------------------------------------------- | ------------------------------------------------- |
9
9
  | **AddressTextField** | 다음 우편번호 API 연동 주소 검색 필드 | [API](./docs/ko/api.md#addresstextfield) |
10
10
  | **Autocomplete** | 자동완성 기능이 있는 입력 필드 | [API](./docs/ko/api.md#autocomplete) |
11
+ | **BankAccountTextField** | 계좌번호 입력 (은행별 하이픈 포맷, 실명조회 버튼) | [API](./docs/ko/api.md#bankaccounttextfield) |
11
12
  | **BizNumTextField** | 사업자등록번호 입력 필드 (검증, 복사 기능) | [API](./docs/ko/api.md#biznumtextfield) |
12
13
  | **CardNumTextField** | 카드번호 4-4-4-4 입력 (2·3칸 마스킹, 브랜드 로고, 키보드 UX) | [API](./docs/ko/api.md#cardnumtextfield) |
13
14
  | **ClearTextField** | 클리어 버튼이 있는 기본 텍스트 필드 | [API](./docs/ko/api.md#cleartextfield) |
@@ -0,0 +1,17 @@
1
+ /**
2
+ * BankAccountTextField.tsx
3
+ *
4
+ * 계좌번호 단일 입력 필드.
5
+ * `bank`(은행 코드·이름)와 자리수에 맞춰 하이픈을 자동 삽입하고,
6
+ * `verify` 를 주면 조회 버튼으로 예금주 실명조회 결과를 표시한다.
7
+ *
8
+ * 실명조회는 금융결제원 오픈뱅킹·팝빌 등 외부 API 키가 필요해 브라우저에서 직접 부를 수 없다.
9
+ * 이 컴포넌트는 조회 UI 만 담당하고, 실제 조회는 소비처가 서버 API 를 부르는 `verify` 로 넘긴다.
10
+ *
11
+ * @license MIT
12
+ * @copyright 2025 김영진 (Kim Young Jin)
13
+ * @author 김영진 (ehfuse@gmail.com)
14
+ */
15
+ import React from "react";
16
+ import type { BankAccountTextFieldProps } from "./types";
17
+ export declare const BankAccountTextField: React.ForwardRefExoticComponent<Omit<BankAccountTextFieldProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
package/dist/index.d.ts CHANGED
@@ -39,9 +39,12 @@ export { DateTimeTextField } from "./DateTimeTextField";
39
39
  export { BizNumTextField } from "./BizNumTextField";
40
40
  export { CorpNumTextField } from "./CorpNumTextField";
41
41
  export { CardNumTextField } from "./CardNumTextField";
42
+ export { BankAccountTextField } from "./BankAccountTextField";
43
+ export { BANKS, BANK_ACCOUNT_MAX_LENGTH, resolveBank, sanitizeBankAccount, formatBankAccount, getBankAccountGroups, getBankAccountLengths, isBankAccountLengthValid, } from "./utils/bankAccount";
44
+ export type { BankInfo } from "./utils/bankAccount";
42
45
  export { useKoreanHolidays, useKoreanHolidaysRange } from "./hooks";
43
46
  export { ReadonlyDisplay } from "./components/ReadonlyDisplay";
44
47
  export type { ReadonlyDisplayProps } from "./components/ReadonlyDisplay";
45
48
  export { ReadonlyField, shouldRenderReadonlyBox, } from "./components/ReadonlyField";
46
49
  export { CardIcon, VisaIcon, MastercardIcon, AmexIcon, JcbIcon, DinersIcon, DiscoverIcon, UnionPayIcon, BcIcon, } from "./icons";
47
- export type { SearchTextFieldProps, ClearTextFieldProps, TagsTextFieldProps, PasswordTextFieldProps, TextFieldProps, TextAreaProps, CheckboxProps, SwitchProps, RadioGroupProps, RadioOption, DateRangeProps, SliderProps, RatingProps, ToggleButtonProps, ToggleButtonGroupProps, ToggleButtonGroupOption, ButtonGroupProps, StepperProps, AutocompleteProps, AutocompleteOption, SelectProps, SelectOption, LabelSelectProps, LabelSelectOption, AddressTextFieldProps, DaumPostcodeData, PasswordValidationRules, PasswordValidationResult, PhoneTextFieldProps, PhoneFormat, NumberTextFieldProps, JuminTextFieldProps, JuminInfo, VerificationCodeTextFieldProps, VerificationCodeType, EmailTextFieldProps, CustomDomain, DateTextFieldProps, DateFormat, TimeTextFieldProps, TimeFormat, DateTimeTextFieldProps, DateTimeFormat, BizNumTextFieldProps, CorpNumTextFieldProps, CardNumTextFieldProps, CardNumTextFieldHandle, SelectChangeEvent, } from "./types";
50
+ export type { SearchTextFieldProps, ClearTextFieldProps, TagsTextFieldProps, PasswordTextFieldProps, TextFieldProps, TextAreaProps, CheckboxProps, SwitchProps, RadioGroupProps, RadioOption, DateRangeProps, SliderProps, RatingProps, ToggleButtonProps, ToggleButtonGroupProps, ToggleButtonGroupOption, ButtonGroupProps, StepperProps, AutocompleteProps, AutocompleteOption, SelectProps, SelectOption, LabelSelectProps, LabelSelectOption, AddressTextFieldProps, DaumPostcodeData, PasswordValidationRules, PasswordValidationResult, PhoneTextFieldProps, PhoneFormat, NumberTextFieldProps, JuminTextFieldProps, JuminInfo, VerificationCodeTextFieldProps, VerificationCodeType, EmailTextFieldProps, CustomDomain, DateTextFieldProps, DateFormat, TimeTextFieldProps, TimeFormat, DateTimeTextFieldProps, DateTimeFormat, BizNumTextFieldProps, CorpNumTextFieldProps, CardNumTextFieldProps, CardNumTextFieldHandle, BankAccountTextFieldProps, BankAccountVerifyRequest, BankAccountVerifyResult, BankAccountVerifyStatus, SelectChangeEvent, } from "./types";