gotrip-fx-transaction-form 1.0.197-dev → 1.0.199-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/index.js +12462 -12324
- package/package.json +1 -1
- package/types/components/Insurance/InsurancePlans/InsurancePlanFilter.d.ts +11 -0
- package/types/components/Insurance/InsurancePlans/index.d.ts +1 -0
- package/types/components/Insurance/StepTwoPlans.d.ts +9 -1
- package/types/components/Insurance/types.d.ts +2 -0
package/package.json
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EInsuranceProviderType } from '../../../types/insurance';
|
|
2
|
+
export type SortOrder = 'asc' | 'desc';
|
|
3
|
+
interface InsurancePlanFilterProps {
|
|
4
|
+
selectedProviders: EInsuranceProviderType[];
|
|
5
|
+
onProviderChange: (providers: EInsuranceProviderType[]) => void;
|
|
6
|
+
sortOrder: SortOrder;
|
|
7
|
+
onSortChange: (order: SortOrder) => void;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const InsurancePlanFilter: ({ selectedProviders, onProviderChange, sortOrder, onSortChange, disabled, }: InsurancePlanFilterProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { SortOrder } from './InsurancePlans';
|
|
2
|
+
import { EInsuranceProviderType } from '../../types/insurance';
|
|
1
3
|
import { CoveragePlanPremium, CalculatePremiumRequest, TravelPlanFormValues } from './types';
|
|
2
4
|
interface StepTwoPlansProps {
|
|
3
5
|
requestPayload: CalculatePremiumRequest | null;
|
|
@@ -5,6 +7,12 @@ interface StepTwoPlansProps {
|
|
|
5
7
|
onPlanSelect: (plan: CoveragePlanPremium) => void;
|
|
6
8
|
insuranceType?: 'travel' | 'car' | 'motorcycle' | string;
|
|
7
9
|
travelPlan?: TravelPlanFormValues | null;
|
|
10
|
+
allowDiscount?: boolean;
|
|
11
|
+
onScrollToTop?: () => void;
|
|
12
|
+
selectedProviders: EInsuranceProviderType[];
|
|
13
|
+
onProviderChange: (providers: EInsuranceProviderType[]) => void;
|
|
14
|
+
sortOrder: SortOrder;
|
|
15
|
+
onSortChange: (sortOrder: SortOrder) => void;
|
|
8
16
|
}
|
|
9
|
-
export declare const StepTwoPlans: ({ requestPayload, selectedPlanId, onPlanSelect, insuranceType, travelPlan, }: StepTwoPlansProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare const StepTwoPlans: ({ requestPayload, selectedPlanId, onPlanSelect, insuranceType, travelPlan, allowDiscount, onScrollToTop, selectedProviders, onProviderChange, sortOrder, onSortChange, }: StepTwoPlansProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
18
|
export {};
|