@bizzsv/bizz-payment 1.5.2-dev → 1.5.4-dev
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 +34 -19
- package/dist/index.d.ts +7 -1
- package/dist/index.global.js +34 -19
- package/dist/index.js +495 -410
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -30,7 +30,8 @@ export declare class BizzPaymentForm {
|
|
|
30
30
|
on<E extends keyof PaymentFormEventMap>(event: E, listener: (data: PaymentFormEventMap[E]) => void): void;
|
|
31
31
|
setup(): Promise<void>;
|
|
32
32
|
/**
|
|
33
|
-
* When loading configuration by order template (`paymentRequestCode`),
|
|
33
|
+
* When loading configuration by order (`paymentOrderCode`) or template (`paymentRequestCode`),
|
|
34
|
+
* the amount is fixed from `amount_cents` and input is locked.
|
|
34
35
|
*/
|
|
35
36
|
private applyFixedAmountFromOrderTemplate;
|
|
36
37
|
private renderForm;
|
|
@@ -108,6 +109,11 @@ export declare interface PaymentFormFieldOverride {
|
|
|
108
109
|
export declare interface PaymentFormI18n {
|
|
109
110
|
fields?: PaymentFormFieldOverride[];
|
|
110
111
|
submitButton?: PaymentFormSubmitButton;
|
|
112
|
+
loading?: PaymentFormLoading;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
declare interface PaymentFormLoading {
|
|
116
|
+
message?: string;
|
|
111
117
|
}
|
|
112
118
|
|
|
113
119
|
export declare type PaymentFormMessage = {
|