@mychoice/mychoice-sdk-components 2.1.67 → 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/components/quotes/OfferCoverage/OfferCoverage.d.ts +3 -0
- package/dist/cjs/components/quotes/OfferCoverage/index.d.ts +1 -0
- package/dist/cjs/components/quotes/VehicleOfferCoverage/VehicleOfferCoverage.d.ts +3 -0
- package/dist/cjs/components/quotes/VehicleOfferCoverage/index.d.ts +1 -0
- package/dist/cjs/components/quotes/interfaces.d.ts +1 -1
- package/dist/cjs/constants/insurances/car/pages/driver.d.ts +12 -0
- package/dist/cjs/constants/insurances/car/pages/vehicle.d.ts +4 -1
- package/dist/cjs/constants/ui/sizes.d.ts +1 -0
- package/dist/cjs/index.js +51 -10
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/quotes/OfferCoverage/OfferCoverage.d.ts +3 -0
- package/dist/esm/components/quotes/OfferCoverage/index.d.ts +1 -0
- package/dist/esm/components/quotes/VehicleOfferCoverage/VehicleOfferCoverage.d.ts +3 -0
- package/dist/esm/components/quotes/VehicleOfferCoverage/index.d.ts +1 -0
- package/dist/esm/components/quotes/interfaces.d.ts +1 -1
- package/dist/esm/constants/insurances/car/pages/driver.d.ts +12 -0
- package/dist/esm/constants/insurances/car/pages/vehicle.d.ts +4 -1
- package/dist/esm/constants/ui/sizes.d.ts +1 -0
- package/dist/esm/index.js +49 -11
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +19 -3
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -52,7 +52,10 @@ declare enum VehiclePrimaryUseTypes {
|
|
|
52
52
|
declare enum CoverageTypes {
|
|
53
53
|
Comprehensive = "comprehensive",
|
|
54
54
|
Collision = "collision",
|
|
55
|
-
Liability = "liability"
|
|
55
|
+
Liability = "liability",
|
|
56
|
+
LossOfUse = "lossofuse",
|
|
57
|
+
LiabilityForDamage = "liabilityfordamage",
|
|
58
|
+
LimitedWaiverOfDepreciation = "limitedwaiverofdepreciation"
|
|
56
59
|
}
|
|
57
60
|
|
|
58
61
|
declare enum DriverLicenceTypes {
|
|
@@ -107,6 +110,18 @@ declare const liabilityOptions: {
|
|
|
107
110
|
name: string;
|
|
108
111
|
value: number;
|
|
109
112
|
}[];
|
|
113
|
+
declare const lossOfUseOptions: {
|
|
114
|
+
name: string;
|
|
115
|
+
value: number;
|
|
116
|
+
}[];
|
|
117
|
+
declare const liabilityForDamageOptions: {
|
|
118
|
+
name: string;
|
|
119
|
+
value: number;
|
|
120
|
+
}[];
|
|
121
|
+
declare const limitedWaiverOfDepreciationOptions: {
|
|
122
|
+
name: string;
|
|
123
|
+
value: number;
|
|
124
|
+
}[];
|
|
110
125
|
declare const trafficTicketsGroupOptions: {
|
|
111
126
|
label: string;
|
|
112
127
|
options: {
|
|
@@ -305,6 +320,7 @@ declare enum ValidationStatusTypes {
|
|
|
305
320
|
}
|
|
306
321
|
|
|
307
322
|
declare enum SizeTypes {
|
|
323
|
+
VerySmall = "very-small",
|
|
308
324
|
Small = "small",
|
|
309
325
|
Medium = "medium",
|
|
310
326
|
Large = "large"
|
|
@@ -712,7 +728,7 @@ type OperationHoursInfoProps = {
|
|
|
712
728
|
};
|
|
713
729
|
type QuoteEditProps = {
|
|
714
730
|
className?: string;
|
|
715
|
-
editClick?: (
|
|
731
|
+
editClick?: (index: number) => () => void;
|
|
716
732
|
title?: string;
|
|
717
733
|
items?: string[][];
|
|
718
734
|
link?: string;
|
|
@@ -787,4 +803,4 @@ declare const getInsuranceType: () => InsuranceTypes;
|
|
|
787
803
|
|
|
788
804
|
declare const useEffectOnce: (effect: () => void | (() => void)) => void;
|
|
789
805
|
|
|
790
|
-
export { API_APP, API_AUTH, API_FORM_CAR, API_FORM_HOME, API_FORM_LIFE, API_ROOT, AlignTypes, AppTypes, ApplicantListTypes, ButtonArrow, ButtonArrowProps, ButtonBase, ButtonBaseProps, ButtonForm, ButtonFormProps, ButtonMenu, ButtonMenuProps, ButtonTab, ButtonTabArrow, ButtonTabArrowProps, ButtonTabMobile, ButtonTypes, ButtonVariantTypes, CategoryTypes, CheckboxForm, CheckboxProps, ColorTypes, ColorVariablesTypes, CompanyRoleTypes, CoverageTypes, DateTypes, DefaultInputProps, DeviceTypeWidthList, DeviceTypes, DirectionTypes, DriverLicenceTypes, DriverListTypes, DriverPriorityTypes, DwellingInfoTypes, EmailInputProps, GenderTypes, HeaderDropDown, HeaderDropDownProps, HeaderNavGroup, HeaderNavGroupProps, HttpRequestHeaderTypes, IconArrow, IconChecked, IconClock, IconDecline, IconDelete, IconDropdownArrow, IconLoaderPrimary, IconLoaderSecondary, IconSuccess, IconTabArrow, IconTooltip, InfoMessage, InputForm, InputFormEmail, InputFormLicence, InputFormPhone, InputProps, InputTypes, InputValueType, InsuranceTypes, MAX_LOCAL_STORAGE_HOURS, MAX_LOCAL_STORAGE_HOURS_THEBIG, ModalTypes, MychoiceStep, NavItemInterface, NavigationAddress, NavigationBase, NavigationCar, NavigationDiscount, NavigationItemInterface, NavigationPerson, NavigationProperty, NavigationQuotes, NavigationTabProps, OccupationTypes, OfferDetail, OfferDetailInfoProps, OfferDetailProps, OfferDetailTitle, OfferDetailTitleProps, OfferHeader, OfferHeaderProps, OfferPrice, OfferPriceProps, OnChangeEventInterface, OperationHoursInfo, OperationHoursInfoProps, PROFILE_API, PriceInterface, QuoteEdit, QuoteEditProps, RequestStatusTypes, RequestTypes, ScreenBPList, ScreenBPTypes, SdkChildren, SdkElement, SdkFC, SdkNode, SdkTooltip, SelectDateErrorInterface, SelectDateInterface, SelectForm, SelectOptionGroupInterface, SelectOptionInterface, SelectProps, SizeTypes, StartEndDatesInterface, Step, StepProps, TitleForm, TitleProps, TooltipForm, TooltipProps, UseReducerType, ValidationHookInterface, ValidationOptionsInterface, ValidationStatusTypes, VehicleConditionTypes, VehicleMakeInterface, VehicleModelInterface, VehiclePrimaryUseTypes, addDaysToDate, addMonthsToDate, addYearsToDate, applicantRelationshipOptions, auxHeatingTypeOptions, carCondition, carKeepPlace, carStatus, carUsagePurpose, carWinterTiresCheck, checkDateIsSpecial, claimTypeOptions, collisionCoverage, compareDates, comprehensiveCoverage, comprehensiveCoverages, condoBuildingStructureOptions, constructionTypeOptions, coverageOptions, dailyDriveBusinessDistanceList, deepClone, defaultBrokerPhone, defaultLocalIndex, exteriorFinishOptions, fireHallDistanceOptions, fireHydrantDistanceOptions, firstDriveDistanceList, formatPostalCode, garageTypeOptions, genderOptions, getDateOptions, getDayStartEndDates, getDaysOfMonth, getDifferenceInHours, getDifferenceInMonths, getDifferenceInYears, getDisabledLicenceTypes, getEndOfMonth, getEndOfYear, getFormattedDate, getInsuranceType, getInsuranceYearsOptions, getLicenceMaxDate, getLicenceMinDate, getLicenceTypeOptions, getMinDate, getMinDateByYears, getMonthStartEndDates, getNumericOptions, getStartOfMonth, getStartOfYear, getValueIndexInOptions, getValuesFromNumbers, getYearIntervalOptions, getYearStartEndDates, homeBuildingStructureOptions, homeCoverageOptions, homeLiabilityOptions, homeOwnerTypeOptions, insuranceCancellationReasonOptions, insuredYearsOptions, isDateValid, isValueInOptions, liabilityOptions, licenceSuspensionsReasonOptions, lifeCoverageOptions, lifeInsuranceOntarioTypeOptions, lifeInsuranceTypeOptions, lifeProvinceOptions, lifeProvinceOptionsMC, maritalStatusOptions, numberWithCommas, occupationOptions, optionsIsEqual, postalCodeFormat, ppOptions, primaryHeatingTypeOptions, residentsOptions, smokerOptions, subDaysFromDate, subMonthsFromDate, subYearsFromDate, supportedProvinceCodes, tenantBuildingStructureOptions, trafficTicketsGroupOptions, useEffectOnce, yearlyDriveDistanceList, yesNoOptions };
|
|
806
|
+
export { API_APP, API_AUTH, API_FORM_CAR, API_FORM_HOME, API_FORM_LIFE, API_ROOT, AlignTypes, AppTypes, ApplicantListTypes, ButtonArrow, ButtonArrowProps, ButtonBase, ButtonBaseProps, ButtonForm, ButtonFormProps, ButtonMenu, ButtonMenuProps, ButtonTab, ButtonTabArrow, ButtonTabArrowProps, ButtonTabMobile, ButtonTypes, ButtonVariantTypes, CategoryTypes, CheckboxForm, CheckboxProps, ColorTypes, ColorVariablesTypes, CompanyRoleTypes, CoverageTypes, DateTypes, DefaultInputProps, DeviceTypeWidthList, DeviceTypes, DirectionTypes, DriverLicenceTypes, DriverListTypes, DriverPriorityTypes, DwellingInfoTypes, EmailInputProps, GenderTypes, HeaderDropDown, HeaderDropDownProps, HeaderNavGroup, HeaderNavGroupProps, HttpRequestHeaderTypes, IconArrow, IconChecked, IconClock, IconDecline, IconDelete, IconDropdownArrow, IconLoaderPrimary, IconLoaderSecondary, IconSuccess, IconTabArrow, IconTooltip, InfoMessage, InputForm, InputFormEmail, InputFormLicence, InputFormPhone, InputProps, InputTypes, InputValueType, InsuranceTypes, MAX_LOCAL_STORAGE_HOURS, MAX_LOCAL_STORAGE_HOURS_THEBIG, ModalTypes, MychoiceStep, NavItemInterface, NavigationAddress, NavigationBase, NavigationCar, NavigationDiscount, NavigationItemInterface, NavigationPerson, NavigationProperty, NavigationQuotes, NavigationTabProps, OccupationTypes, OfferDetail, OfferDetailInfoProps, OfferDetailProps, OfferDetailTitle, OfferDetailTitleProps, OfferHeader, OfferHeaderProps, OfferPrice, OfferPriceProps, OnChangeEventInterface, OperationHoursInfo, OperationHoursInfoProps, PROFILE_API, PriceInterface, QuoteEdit, QuoteEditProps, RequestStatusTypes, RequestTypes, ScreenBPList, ScreenBPTypes, SdkChildren, SdkElement, SdkFC, SdkNode, SdkTooltip, SelectDateErrorInterface, SelectDateInterface, SelectForm, SelectOptionGroupInterface, SelectOptionInterface, SelectProps, SizeTypes, StartEndDatesInterface, Step, StepProps, TitleForm, TitleProps, TooltipForm, TooltipProps, UseReducerType, ValidationHookInterface, ValidationOptionsInterface, ValidationStatusTypes, VehicleConditionTypes, VehicleMakeInterface, VehicleModelInterface, VehiclePrimaryUseTypes, addDaysToDate, addMonthsToDate, addYearsToDate, applicantRelationshipOptions, auxHeatingTypeOptions, carCondition, carKeepPlace, carStatus, carUsagePurpose, carWinterTiresCheck, checkDateIsSpecial, claimTypeOptions, collisionCoverage, compareDates, comprehensiveCoverage, comprehensiveCoverages, condoBuildingStructureOptions, constructionTypeOptions, coverageOptions, dailyDriveBusinessDistanceList, deepClone, defaultBrokerPhone, defaultLocalIndex, exteriorFinishOptions, fireHallDistanceOptions, fireHydrantDistanceOptions, firstDriveDistanceList, formatPostalCode, garageTypeOptions, genderOptions, getDateOptions, getDayStartEndDates, getDaysOfMonth, getDifferenceInHours, getDifferenceInMonths, getDifferenceInYears, getDisabledLicenceTypes, getEndOfMonth, getEndOfYear, getFormattedDate, getInsuranceType, getInsuranceYearsOptions, getLicenceMaxDate, getLicenceMinDate, getLicenceTypeOptions, getMinDate, getMinDateByYears, getMonthStartEndDates, getNumericOptions, getStartOfMonth, getStartOfYear, getValueIndexInOptions, getValuesFromNumbers, getYearIntervalOptions, getYearStartEndDates, homeBuildingStructureOptions, homeCoverageOptions, homeLiabilityOptions, homeOwnerTypeOptions, insuranceCancellationReasonOptions, insuredYearsOptions, isDateValid, isValueInOptions, liabilityForDamageOptions, liabilityOptions, licenceSuspensionsReasonOptions, lifeCoverageOptions, lifeInsuranceOntarioTypeOptions, lifeInsuranceTypeOptions, lifeProvinceOptions, lifeProvinceOptionsMC, limitedWaiverOfDepreciationOptions, lossOfUseOptions, maritalStatusOptions, numberWithCommas, occupationOptions, optionsIsEqual, postalCodeFormat, ppOptions, primaryHeatingTypeOptions, residentsOptions, smokerOptions, subDaysFromDate, subMonthsFromDate, subYearsFromDate, supportedProvinceCodes, tenantBuildingStructureOptions, trafficTicketsGroupOptions, useEffectOnce, yearlyDriveDistanceList, yesNoOptions };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mychoice/mychoice-sdk-components",
|
|
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",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"rc-tooltip": "^5.2.2",
|
|
35
35
|
"react-phone-input-2": "^2.15.0"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "5a1d1df451d8d75830db95bc7622603acfe6d245"
|
|
38
38
|
}
|