@mychoice/mychoice-sdk-modules 2.1.68 → 2.1.69
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/cjs/index.js +242 -123
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/insurances/car/pages/quote/sections/VehicleOfferCoverage.d.ts +3 -0
- package/dist/cjs/insurances/car/pages/quote/sections/blocks/VehicleOfferCoverage.d.ts +9 -0
- package/dist/cjs/insurances/car/pages/quote/sections/blocks/VehicleOfferCoverages.d.ts +7 -0
- package/dist/cjs/shared/boxes/SelectFormBox/interface.d.ts +2 -1
- package/dist/cjs/shared/sections/quotes/interfaces.d.ts +3 -0
- package/dist/esm/index.js +244 -125
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/insurances/car/pages/quote/sections/VehicleOfferCoverage.d.ts +3 -0
- package/dist/esm/insurances/car/pages/quote/sections/blocks/VehicleOfferCoverage.d.ts +9 -0
- package/dist/esm/insurances/car/pages/quote/sections/blocks/VehicleOfferCoverages.d.ts +7 -0
- package/dist/esm/shared/boxes/SelectFormBox/interface.d.ts +2 -1
- package/dist/esm/shared/sections/quotes/interfaces.d.ts +3 -0
- package/dist/index.d.ts +5 -1
- package/package.json +4 -4
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SdkFC } from '@mychoice/mychoice-sdk-components';
|
|
2
|
+
export type VehicleOfferCoverageProps = {
|
|
3
|
+
annualPremium: number;
|
|
4
|
+
code: string;
|
|
5
|
+
deductible: string;
|
|
6
|
+
limit1: string;
|
|
7
|
+
limit2: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const VehicleOfferCoverage: SdkFC<VehicleOfferCoverageProps>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SdkFC } from '@mychoice/mychoice-sdk-components';
|
|
2
|
+
import { CarQuoteCoverageInterface, CarQuoteItemInterface } from '@mychoice/mychoice-sdk-store';
|
|
3
|
+
export type VehicleOfferCoverageProps = {
|
|
4
|
+
coverages: CarQuoteCoverageInterface[];
|
|
5
|
+
nonStandardCoverages?: CarQuoteItemInterface['nonStandardCoverages'];
|
|
6
|
+
};
|
|
7
|
+
export declare const VehicleOfferCoverages: SdkFC<VehicleOfferCoverageProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DefaultInputProps, OnChangeEventInterface, SelectOptionGroupInterface, SelectOptionInterface } from '@mychoice/mychoice-sdk-components';
|
|
1
|
+
import { DefaultInputProps, OnChangeEventInterface, SelectOptionGroupInterface, SelectOptionInterface, SizeTypes } from '@mychoice/mychoice-sdk-components';
|
|
2
2
|
import { LabelFormBoxProps } from '../LabelFormBox/interface';
|
|
3
3
|
export type SelectFormBoxProps = DefaultInputProps & LabelFormBoxProps & {
|
|
4
4
|
name: string;
|
|
@@ -9,4 +9,5 @@ export type SelectFormBoxProps = DefaultInputProps & LabelFormBoxProps & {
|
|
|
9
9
|
errorMessage?: any;
|
|
10
10
|
hintMessage?: string;
|
|
11
11
|
autoSelectIfValueIsOutOfOptions?: boolean;
|
|
12
|
+
size?: SizeTypes;
|
|
12
13
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OfferDetailInfoProps, OfferDetailTitleProps, OperationHoursInfoProps, PriceInterface } from '@mychoice/mychoice-sdk-components';
|
|
2
2
|
import { PhoneObjectInterface } from '../../../insurances';
|
|
3
|
+
import { CarQuoteCoverageInterface, CarQuoteItemInterface } from '@mychoice/mychoice-sdk-store';
|
|
3
4
|
export type OfferSectionProps = {
|
|
4
5
|
phoneNumber?: PhoneObjectInterface;
|
|
5
6
|
offerCompany?: OfferDetailTitleProps & OfferDetailInfoProps;
|
|
@@ -9,4 +10,6 @@ export type OfferSectionProps = {
|
|
|
9
10
|
operationHours?: OperationHoursInfoProps;
|
|
10
11
|
redirectUrl?: string;
|
|
11
12
|
fulfillmentUrl?: string;
|
|
13
|
+
coverages?: CarQuoteCoverageInterface[];
|
|
14
|
+
nonStandardCoverages?: CarQuoteItemInterface['nonStandardCoverages'];
|
|
12
15
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as _mychoice_mychoice_sdk_components from '@mychoice/mychoice-sdk-components';
|
|
2
|
-
import { AppTypes, InsuranceTypes, SdkFC, SelectOptionInterface, DefaultInputProps, OnChangeEventInterface, InputTypes, ValidationStatusTypes, SdkElement, SelectOptionGroupInterface, DateTypes, OfferDetailTitleProps, OfferDetailInfoProps, PriceInterface, OperationHoursInfoProps, NavigationItemInterface, ValidationHookInterface } from '@mychoice/mychoice-sdk-components';
|
|
2
|
+
import { AppTypes, InsuranceTypes, SdkFC, SelectOptionInterface, DefaultInputProps, OnChangeEventInterface, InputTypes, ValidationStatusTypes, SdkElement, SelectOptionGroupInterface, SizeTypes, DateTypes, OfferDetailTitleProps, OfferDetailInfoProps, PriceInterface, OperationHoursInfoProps, NavigationItemInterface, ValidationHookInterface } from '@mychoice/mychoice-sdk-components';
|
|
3
|
+
import { CarQuoteCoverageInterface, CarQuoteItemInterface } from '@mychoice/mychoice-sdk-store';
|
|
3
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
5
|
import * as react from 'react';
|
|
5
6
|
|
|
@@ -98,6 +99,7 @@ type SelectFormBoxProps$1 = DefaultInputProps & LabelFormBoxProps & {
|
|
|
98
99
|
errorMessage?: any;
|
|
99
100
|
hintMessage?: string;
|
|
100
101
|
autoSelectIfValueIsOutOfOptions?: boolean;
|
|
102
|
+
size?: SizeTypes;
|
|
101
103
|
};
|
|
102
104
|
|
|
103
105
|
declare const SelectFormBox: SdkFC<SelectFormBoxProps$1>;
|
|
@@ -146,6 +148,8 @@ type OfferSectionProps = {
|
|
|
146
148
|
operationHours?: OperationHoursInfoProps;
|
|
147
149
|
redirectUrl?: string;
|
|
148
150
|
fulfillmentUrl?: string;
|
|
151
|
+
coverages?: CarQuoteCoverageInterface[];
|
|
152
|
+
nonStandardCoverages?: CarQuoteItemInterface['nonStandardCoverages'];
|
|
149
153
|
};
|
|
150
154
|
|
|
151
155
|
declare const OfferSection: SdkFC<OfferSectionProps>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mychoice/mychoice-sdk-modules",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.69",
|
|
4
4
|
"description": "Now I’m the model of a modern major general / The venerated Virginian veteran whose men are all / Lining up, to put me up on a pedestal / Writin’ letters to relatives / Embellishin’ my elegance and eloquence / But the elephant is in the room / The truth is in ya face when ya hear the British cannons go / BOOM",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "GogMes",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
},
|
|
31
31
|
"homepage": "https://github.com/hexdivision/mychoice-sdk#readme",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@mychoice/mychoice-sdk-components": "^2.1.
|
|
34
|
-
"@mychoice/mychoice-sdk-store": "^2.1.
|
|
33
|
+
"@mychoice/mychoice-sdk-components": "^2.1.69",
|
|
34
|
+
"@mychoice/mychoice-sdk-store": "^2.1.69",
|
|
35
35
|
"@types/react-gtm-module": "^2.0.1",
|
|
36
36
|
"@types/react-places-autocomplete": "7.2.9",
|
|
37
37
|
"react-error-boundary": "^4.0.11",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"react-helmet": "^6.1.0",
|
|
41
41
|
"react-router-dom": "^6.3.0"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "5a1d1df451d8d75830db95bc7622603acfe6d245"
|
|
44
44
|
}
|