@bootpay/client-js 5.3.0 → 5.4.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 +9 -0
- package/dist/index.mjs +1028 -974
- package/dist/index.umd.js +34 -20
- package/dist/src/lib/template/payment.d.ts +6 -0
- package/dist/src/types/bootpay-interface.d.ts +7 -0
- package/package.json +1 -1
|
@@ -17,6 +17,7 @@ declare class TemplatePaymentManager extends TemplateManager {
|
|
|
17
17
|
$env: any;
|
|
18
18
|
$popup?: any;
|
|
19
19
|
$popupWatcher?: any;
|
|
20
|
+
$themeColor?: string;
|
|
20
21
|
mode: string;
|
|
21
22
|
modeApiUrl: any;
|
|
22
23
|
constructor();
|
|
@@ -169,6 +170,11 @@ declare class TemplatePaymentManager extends TemplateManager {
|
|
|
169
170
|
*/
|
|
170
171
|
moveToUrl(url: string): void;
|
|
171
172
|
apiUrl(): any;
|
|
173
|
+
/**
|
|
174
|
+
* Progress 창을 보여준다 — 결제 요청 extra.theme_color 가 있으면 로딩 점 색을 그 색으로 바꾼다
|
|
175
|
+
* 값이 없거나 CSS 색상이 아니면 alfred-progress 기본색(--bootpay-progress-accent)을 쓴다
|
|
176
|
+
*/
|
|
177
|
+
showProgress(message: string): void;
|
|
172
178
|
/**
|
|
173
179
|
* Form 설정 공통 메서드
|
|
174
180
|
* Comment by GOSOMI
|
|
@@ -232,12 +232,19 @@ export interface ExtraModel {
|
|
|
232
232
|
webhook_delay_duration?: number // webhook delay duration ( sec )
|
|
233
233
|
|
|
234
234
|
force_browser_mode?: 'pc' | 'mobile' // 강제로 브라우저 모드 지정 옵션 ( 현재 미구현 PG사마다 정책이 달라서 확인 이후에 업데이트 될 예정 )
|
|
235
|
+
card_interest_merchant_share?: boolean // 가맹점 분담 무이자 사용 여부
|
|
236
|
+
|
|
237
|
+
theme_color?: string // 부트페이 결제창(카드 등록 등) 강조색 — 버튼 배경 · 입력 focus, CSS 색상값 ( 비우면 기본색 #3182F6, 이니시스는 결제창 SKIN 으로도 쓴다 )
|
|
238
|
+
theme_text_color?: string // theme_color 배경 위 글자색, CSS 색상값 ( 비우면 기본색 #FFFFFF )
|
|
235
239
|
}
|
|
236
240
|
|
|
237
241
|
export interface WidgetExtraModel extends Partial<ExtraModel> {
|
|
238
242
|
card_quota?: string | string[] | number[] // 카드 할부 개월수 노출 설정
|
|
239
243
|
direct_card_company?: string
|
|
240
244
|
direct_card_quota?: string
|
|
245
|
+
// true 면 카드사 바로 호출을 지원하는 PG(나이스페이 · KCP 등)라도 위젯이 카드사 목록을 그리지 않고
|
|
246
|
+
// PG 결제창(카드사 선택 화면)을 띄운다 — PG 심사처럼 PG 전용 창이 필요한 경우에 쓴다. 기본 false
|
|
247
|
+
use_pg_card_window?: boolean
|
|
241
248
|
|
|
242
249
|
hide_title?: boolean
|
|
243
250
|
hide_divider_line?: boolean
|