@adyen/adyen-web 5.67.1 → 5.68.1
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/adyen.css +1 -1
- package/dist/adyen.css.map +1 -1
- package/dist/adyen.js +1 -1
- package/dist/adyen.js.map +1 -1
- package/dist/cjs/adyen.css +1 -1
- package/dist/cjs/adyen.css.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/es/adyen.css +1 -1
- package/dist/es/adyen.css.map +1 -1
- package/dist/es/index.js +1 -1
- package/dist/es.modern/adyen.css +1 -1
- package/dist/es.modern/adyen.css.map +1 -1
- package/dist/es.modern/index.js +1 -1
- package/dist/types/components/Card/components/CardInput/types.d.ts +1 -0
- package/dist/types/components/Dropin/components/DropinComponent.d.ts +4 -0
- package/dist/types/components/Dropin/components/PaymentMethod/OrderPaymentMethods.d.ts +8 -5
- package/dist/types/components/internal/Address/validate.d.ts +1 -0
- package/dist/types/types/index.d.ts +3 -1
- package/package.json +1 -1
|
@@ -6,6 +6,10 @@ export declare class DropinComponent extends Component<DropinComponentProps, Dro
|
|
|
6
6
|
state: DropinComponentState;
|
|
7
7
|
componentDidMount(): void;
|
|
8
8
|
prepareDropinData: () => void;
|
|
9
|
+
get analyticConfigData(): {
|
|
10
|
+
openFirstStoredPaymentMethod: boolean;
|
|
11
|
+
showStoredPaymentMethods: boolean;
|
|
12
|
+
};
|
|
9
13
|
setStatus: (status: UIElementStatus, props?: DropinStatusProps) => void;
|
|
10
14
|
private setActivePaymentMethod;
|
|
11
15
|
componentDidUpdate(prevProps: any, prevState: any): void;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { h } from 'preact';
|
|
2
2
|
import './OrderPaymentMethods.scss';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
import './OrderPaymentMethods.scss';
|
|
4
|
+
import { Order, OrderStatus } from '../../../../types';
|
|
5
|
+
type OrderPaymentMethodsProps = {
|
|
6
|
+
order: Order;
|
|
7
|
+
orderStatus: OrderStatus;
|
|
8
|
+
onOrderCancel: (order: any) => void;
|
|
7
9
|
brandLogoConfiguration: any;
|
|
8
|
-
}
|
|
10
|
+
};
|
|
11
|
+
export declare const OrderPaymentMethods: ({ order, orderStatus, onOrderCancel, brandLogoConfiguration }: OrderPaymentMethodsProps) => h.JSX.Element;
|
|
9
12
|
export default OrderPaymentMethods;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ValidatorRules } from '../../../utils/Validator/types';
|
|
2
|
+
export declare const validatePostalCode: (val: string, countryCode: string, validatorRules: ValidatorRules) => any;
|
|
2
3
|
/**
|
|
3
4
|
* Validates only postalCode property. As the partial address form does not have the country selector, the country value
|
|
4
5
|
* must be informed beforehand and can't be picked up from the form context
|
|
@@ -199,8 +199,10 @@ export interface OrderStatus {
|
|
|
199
199
|
expiresAt: string;
|
|
200
200
|
paymentMethods: {
|
|
201
201
|
amount?: PaymentAmount;
|
|
202
|
-
lastFour
|
|
202
|
+
lastFour?: string;
|
|
203
203
|
type: string;
|
|
204
|
+
name?: string;
|
|
205
|
+
label?: string;
|
|
204
206
|
}[];
|
|
205
207
|
pspReference: string;
|
|
206
208
|
reference: string;
|
package/package.json
CHANGED