gotrip-fx-transaction-form 1.0.251-dev → 1.0.252-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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gotrip-fx-transaction-form",
3
- "version": "1.0.251-dev",
3
+ "version": "1.0.252-dev",
4
4
  "description": "FX Transaction Form ES6 module",
5
5
  "main": "index.js",
6
6
  "types": "types/index.d.ts",
@@ -4,7 +4,7 @@ type Props = {
4
4
  register: UseFormRegister<any>;
5
5
  agentIdentityFileInputRef: React.RefObject<HTMLInputElement>;
6
6
  isUploadingAgentIdentity: boolean;
7
- phoneNotice?: string | null;
7
+ phoneNotice?: string | string[] | null;
8
8
  agentNotes?: string[];
9
9
  };
10
10
  export declare const Agent: ({ errors, register, agentIdentityFileInputRef, isUploadingAgentIdentity, phoneNotice, agentNotes, }: Props) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ type Props = {
2
+ messages: string[];
3
+ };
4
+ export declare const SelectingBankMessageAlerts: ({ messages }: Props) => import("react/jsx-runtime").JSX.Element | null;
5
+ export {};
@@ -9,9 +9,11 @@ export interface BikeStepThreePaymentProps {
9
9
  onPaymentModeChange: (mode: EPaymentMethod) => void;
10
10
  isTermsAgreed: boolean;
11
11
  onTermsAgreedChange: (agreed: boolean) => void;
12
+ isPersonalDataConsentAgreed: boolean;
13
+ onPersonalDataConsentChange: (agreed: boolean) => void;
12
14
  onPayment: () => void;
13
15
  isProcessing: boolean;
14
16
  isGuest: boolean;
15
17
  onBack: () => void;
16
18
  }
17
- export declare const BikeStepThreePayment: ({ planValues, premiumSummary, vehicleInfo, isLoading, paymentMode, onPaymentModeChange, isTermsAgreed, onTermsAgreedChange, onPayment, isProcessing, isGuest, onBack, }: BikeStepThreePaymentProps) => import("react/jsx-runtime").JSX.Element;
19
+ export declare const BikeStepThreePayment: ({ planValues, premiumSummary, vehicleInfo, isLoading, paymentMode, onPaymentModeChange, isTermsAgreed, onTermsAgreedChange, isPersonalDataConsentAgreed, onPersonalDataConsentChange, onPayment, isProcessing, isGuest, onBack, }: BikeStepThreePaymentProps) => import("react/jsx-runtime").JSX.Element;
@@ -10,6 +10,8 @@ interface CarStepFourPaymentProps {
10
10
  onPaymentModeChange: (mode: EPaymentMethod) => void;
11
11
  isTermsAgreed: boolean;
12
12
  onTermsAgreedChange: (agreed: boolean) => void;
13
+ isPersonalDataConsentAgreed: boolean;
14
+ onPersonalDataConsentChange: (agreed: boolean) => void;
13
15
  onPayment: () => void;
14
16
  isProcessing: boolean;
15
17
  isGuest: boolean;
@@ -17,5 +19,5 @@ interface CarStepFourPaymentProps {
17
19
  getProviderLogoUrl: (providerCode?: string | null) => string | undefined;
18
20
  getTermsAgreeHtml: (providerCode?: string | null) => string | undefined;
19
21
  }
20
- export declare const CarStepFourPayment: ({ planValues, premiumSummary, vehicleInfo, buyerCertificateInfo, isLoading, paymentMode, onPaymentModeChange, isTermsAgreed, onTermsAgreedChange, onPayment, isProcessing, isGuest, onBack, getProviderLogoUrl, getTermsAgreeHtml, }: CarStepFourPaymentProps) => import("react/jsx-runtime").JSX.Element;
22
+ export declare const CarStepFourPayment: ({ planValues, premiumSummary, vehicleInfo, buyerCertificateInfo, isLoading, paymentMode, onPaymentModeChange, isTermsAgreed, onTermsAgreedChange, isPersonalDataConsentAgreed, onPersonalDataConsentChange, onPayment, isProcessing, isGuest, onBack, getProviderLogoUrl, getTermsAgreeHtml, }: CarStepFourPaymentProps) => import("react/jsx-runtime").JSX.Element;
21
23
  export {};
@@ -30,7 +30,7 @@ export interface IAppSettingsResponse {
30
30
  }
31
31
  export interface IBankFxTravellingMessages {
32
32
  invalid_time_range?: string | null;
33
- selecting_bank_message?: string | null;
33
+ selecting_bank_message?: string | string[] | null;
34
34
  singular_form_notes?: string[];
35
35
  currency_notes?: string[];
36
36
  currency_notes_by_currency_unit?: Record<string, string[]>;
@@ -0,0 +1 @@
1
+ export declare function normalizeSelectingBankMessages(config: string | string[] | null | undefined, fallback: string | null): string[];