@mychoice/mychoice-sdk-modules 1.0.2 → 2.0.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.
Files changed (132) hide show
  1. package/dist/cjs/index.js +3216 -2070
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/init/AppModal/interfaces.d.ts +1 -1
  4. package/dist/cjs/init/AppTitle/AppTitle.d.ts +6 -0
  5. package/dist/cjs/init/AppTitle/MetaFields.d.ts +5 -0
  6. package/dist/cjs/init/AppTitle/index.d.ts +1 -0
  7. package/dist/cjs/init/helper.d.ts +1 -1
  8. package/dist/cjs/init/index.d.ts +0 -1
  9. package/dist/cjs/insurances/car/pages/discount/helpers.d.ts +14 -0
  10. package/dist/cjs/insurances/car/pages/driver/helpers.d.ts +5 -0
  11. package/dist/cjs/insurances/car/pages/index.d.ts +0 -1
  12. package/dist/cjs/insurances/car/pages/interfaces.d.ts +1 -1
  13. package/dist/cjs/insurances/car/pages/quote/PageQuote.d.ts +1 -1
  14. package/dist/cjs/insurances/car/pages/quote/index.d.ts +1 -1
  15. package/dist/cjs/insurances/helpers.d.ts +2 -2
  16. package/dist/cjs/insurances/home/pages/index.d.ts +1 -0
  17. package/dist/cjs/insurances/home/pages/quote/PageQuote.d.ts +2 -0
  18. package/dist/cjs/insurances/home/pages/quote/index.d.ts +1 -0
  19. package/dist/cjs/insurances/home/pages/quote/sections/SectionQuoteEdit.d.ts +2 -0
  20. package/dist/cjs/insurances/home/pages/quote/sections/SectionQuoteRecalc.d.ts +2 -0
  21. package/dist/cjs/insurances/home/pages/quote/sections/SplashScreen.d.ts +2 -0
  22. package/dist/cjs/insurances/home/pages/quote/sections/blocks/BlockEndorsements.d.ts +3 -0
  23. package/dist/cjs/insurances/home/pages/quote/sections/index.d.ts +2 -0
  24. package/dist/cjs/insurances/index.d.ts +1 -0
  25. package/dist/cjs/insurances/life/index.d.ts +1 -0
  26. package/dist/cjs/insurances/life/pages/applicant/PageApplicant.d.ts +2 -0
  27. package/dist/cjs/insurances/life/pages/applicant/index.d.ts +1 -0
  28. package/dist/cjs/insurances/life/pages/applicant/sections/SectionApplicant.d.ts +2 -0
  29. package/dist/cjs/insurances/life/pages/applicant/sections/blocks/BlockNextPageInfo.d.ts +2 -0
  30. package/dist/cjs/insurances/life/pages/applicant/sections/blocks/BlockSubmit.d.ts +3 -0
  31. package/dist/cjs/insurances/life/pages/applicant/sections/blocks/index.d.ts +2 -0
  32. package/dist/cjs/insurances/life/pages/applicant/sections/blocks/interfaces.d.ts +7 -0
  33. package/dist/cjs/insurances/life/pages/applicant/sections/index.d.ts +1 -0
  34. package/dist/cjs/insurances/life/pages/coverage/PageCoverage.d.ts +2 -0
  35. package/dist/cjs/insurances/life/pages/coverage/index.d.ts +1 -0
  36. package/dist/cjs/insurances/life/pages/coverage/sections/SectionCoverage.d.ts +2 -0
  37. package/dist/cjs/insurances/life/pages/coverage/sections/index.d.ts +1 -0
  38. package/dist/cjs/insurances/life/pages/helpers.d.ts +4 -0
  39. package/dist/cjs/insurances/life/pages/index.d.ts +3 -0
  40. package/dist/cjs/insurances/life/pages/quote/PageQuote.d.ts +2 -0
  41. package/dist/cjs/insurances/life/pages/quote/index.d.ts +1 -0
  42. package/dist/cjs/insurances/life/pages/quote/sections/SectionQuoteEdit.d.ts +2 -0
  43. package/dist/cjs/insurances/life/pages/quote/sections/SectionQuoteRecalc.d.ts +2 -0
  44. package/dist/cjs/insurances/life/pages/quote/sections/SplashScreen.d.ts +2 -0
  45. package/dist/cjs/insurances/life/pages/quote/sections/blocks/BlockEndorsements.d.ts +3 -0
  46. package/dist/cjs/insurances/life/pages/quote/sections/index.d.ts +1 -0
  47. package/dist/cjs/shared/boxes/Container/interface.d.ts +1 -1
  48. package/dist/cjs/shared/boxes/DateSelectFormBox/interface.d.ts +2 -2
  49. package/dist/cjs/shared/boxes/InputFormBox/interface.d.ts +3 -2
  50. package/dist/cjs/shared/boxes/LabelFormBox/interface.d.ts +3 -2
  51. package/dist/cjs/shared/boxes/SelectFormBox/interface.d.ts +1 -1
  52. package/dist/cjs/shared/boxes/SwitchButtonBox/interface.d.ts +1 -1
  53. package/dist/cjs/shared/headers/interfaces.d.ts +3 -3
  54. package/dist/cjs/shared/modals/ModalAddress/ModalAddress.d.ts +2 -0
  55. package/dist/cjs/shared/modals/ModalAddress/index.d.ts +1 -0
  56. package/dist/cjs/shared/modals/ModalPostal/ModalPostal.d.ts +1 -2
  57. package/dist/cjs/shared/modals/index.d.ts +1 -0
  58. package/dist/cjs/shared/modals/interfaces.d.ts +5 -5
  59. package/dist/cjs/shared/navigations/NavigationTab/interface.d.ts +1 -1
  60. package/dist/cjs/shared/navigations/NavigationTop/components/interface.d.ts +1 -0
  61. package/dist/cjs/shared/navigations/constants/insuranceSteps.d.ts +65 -5
  62. package/dist/cjs/shared/navigations/interfaces.d.ts +11 -5
  63. package/dist/cjs/shared/sections/quotes/interfaces.d.ts +2 -1
  64. package/dist/esm/index.js +3207 -2061
  65. package/dist/esm/index.js.map +1 -1
  66. package/dist/esm/init/AppModal/interfaces.d.ts +1 -1
  67. package/dist/esm/init/AppTitle/AppTitle.d.ts +6 -0
  68. package/dist/esm/init/AppTitle/MetaFields.d.ts +5 -0
  69. package/dist/esm/init/AppTitle/index.d.ts +1 -0
  70. package/dist/esm/init/helper.d.ts +1 -1
  71. package/dist/esm/init/index.d.ts +0 -1
  72. package/dist/esm/insurances/car/pages/discount/helpers.d.ts +14 -0
  73. package/dist/esm/insurances/car/pages/driver/helpers.d.ts +5 -0
  74. package/dist/esm/insurances/car/pages/index.d.ts +0 -1
  75. package/dist/esm/insurances/car/pages/interfaces.d.ts +1 -1
  76. package/dist/esm/insurances/car/pages/quote/PageQuote.d.ts +1 -1
  77. package/dist/esm/insurances/car/pages/quote/index.d.ts +1 -1
  78. package/dist/esm/insurances/helpers.d.ts +2 -2
  79. package/dist/esm/insurances/home/pages/index.d.ts +1 -0
  80. package/dist/esm/insurances/home/pages/quote/PageQuote.d.ts +2 -0
  81. package/dist/esm/insurances/home/pages/quote/index.d.ts +1 -0
  82. package/dist/esm/insurances/home/pages/quote/sections/SectionQuoteEdit.d.ts +2 -0
  83. package/dist/esm/insurances/home/pages/quote/sections/SectionQuoteRecalc.d.ts +2 -0
  84. package/dist/esm/insurances/home/pages/quote/sections/SplashScreen.d.ts +2 -0
  85. package/dist/esm/insurances/home/pages/quote/sections/blocks/BlockEndorsements.d.ts +3 -0
  86. package/dist/esm/insurances/home/pages/quote/sections/index.d.ts +2 -0
  87. package/dist/esm/insurances/index.d.ts +1 -0
  88. package/dist/esm/insurances/life/index.d.ts +1 -0
  89. package/dist/esm/insurances/life/pages/applicant/PageApplicant.d.ts +2 -0
  90. package/dist/esm/insurances/life/pages/applicant/index.d.ts +1 -0
  91. package/dist/esm/insurances/life/pages/applicant/sections/SectionApplicant.d.ts +2 -0
  92. package/dist/esm/insurances/life/pages/applicant/sections/blocks/BlockNextPageInfo.d.ts +2 -0
  93. package/dist/esm/insurances/life/pages/applicant/sections/blocks/BlockSubmit.d.ts +3 -0
  94. package/dist/esm/insurances/life/pages/applicant/sections/blocks/index.d.ts +2 -0
  95. package/dist/esm/insurances/life/pages/applicant/sections/blocks/interfaces.d.ts +7 -0
  96. package/dist/esm/insurances/life/pages/applicant/sections/index.d.ts +1 -0
  97. package/dist/esm/insurances/life/pages/coverage/PageCoverage.d.ts +2 -0
  98. package/dist/esm/insurances/life/pages/coverage/index.d.ts +1 -0
  99. package/dist/esm/insurances/life/pages/coverage/sections/SectionCoverage.d.ts +2 -0
  100. package/dist/esm/insurances/life/pages/coverage/sections/index.d.ts +1 -0
  101. package/dist/esm/insurances/life/pages/helpers.d.ts +4 -0
  102. package/dist/esm/insurances/life/pages/index.d.ts +3 -0
  103. package/dist/esm/insurances/life/pages/quote/PageQuote.d.ts +2 -0
  104. package/dist/esm/insurances/life/pages/quote/index.d.ts +1 -0
  105. package/dist/esm/insurances/life/pages/quote/sections/SectionQuoteEdit.d.ts +2 -0
  106. package/dist/esm/insurances/life/pages/quote/sections/SectionQuoteRecalc.d.ts +2 -0
  107. package/dist/esm/insurances/life/pages/quote/sections/SplashScreen.d.ts +2 -0
  108. package/dist/esm/insurances/life/pages/quote/sections/blocks/BlockEndorsements.d.ts +3 -0
  109. package/dist/esm/insurances/life/pages/quote/sections/index.d.ts +1 -0
  110. package/dist/esm/shared/boxes/Container/interface.d.ts +1 -1
  111. package/dist/esm/shared/boxes/DateSelectFormBox/interface.d.ts +2 -2
  112. package/dist/esm/shared/boxes/InputFormBox/interface.d.ts +3 -2
  113. package/dist/esm/shared/boxes/LabelFormBox/interface.d.ts +3 -2
  114. package/dist/esm/shared/boxes/SelectFormBox/interface.d.ts +1 -1
  115. package/dist/esm/shared/boxes/SwitchButtonBox/interface.d.ts +1 -1
  116. package/dist/esm/shared/headers/interfaces.d.ts +3 -3
  117. package/dist/esm/shared/modals/ModalAddress/ModalAddress.d.ts +2 -0
  118. package/dist/esm/shared/modals/ModalAddress/index.d.ts +1 -0
  119. package/dist/esm/shared/modals/ModalPostal/ModalPostal.d.ts +1 -2
  120. package/dist/esm/shared/modals/index.d.ts +1 -0
  121. package/dist/esm/shared/modals/interfaces.d.ts +5 -5
  122. package/dist/esm/shared/navigations/NavigationTab/interface.d.ts +1 -1
  123. package/dist/esm/shared/navigations/NavigationTop/components/interface.d.ts +1 -0
  124. package/dist/esm/shared/navigations/constants/insuranceSteps.d.ts +65 -5
  125. package/dist/esm/shared/navigations/interfaces.d.ts +11 -5
  126. package/dist/esm/shared/sections/quotes/interfaces.d.ts +2 -1
  127. package/dist/index.d.ts +113 -51
  128. package/package.json +8 -5
  129. package/dist/images/logotype-mychoice-primary.png +0 -0
  130. package/dist/images/logotype-thebig-primary.png +0 -0
  131. package/dist/images/pigLoader.mp4 +0 -0
  132. package/dist/images/powered-by-mychoice.png +0 -0
package/dist/index.d.ts CHANGED
@@ -1,8 +1,6 @@
1
1
  import * as _mychoice_mychoice_sdk_components from '@mychoice/mychoice-sdk-components';
2
- import { AppTypes, InsuranceTypes, SdkFC, SelectOptionInterface, DriverLicenceTypes, DefaultInputProps, OnChangeEventInterface, InputTypes, ValidationStatusTypes, SelectOptionGroupInterface, DateTypes, OfferDetailTitleProps, OfferDetailInfoProps, PriceInterface, OperationHoursInfoProps, NavigationItemInterface, ValidationHookInterface } from '@mychoice/mychoice-sdk-components';
3
- import { FormCarConfigStateInterface } from '@mychoice/mychoice-sdk-store';
2
+ import { AppTypes, InsuranceTypes, SdkFC, SelectOptionInterface, DefaultInputProps, OnChangeEventInterface, InputTypes, ValidationStatusTypes, SdkElement, SelectOptionGroupInterface, DateTypes, OfferDetailTitleProps, OfferDetailInfoProps, PriceInterface, OperationHoursInfoProps, NavigationItemInterface, ValidationHookInterface } from '@mychoice/mychoice-sdk-components';
4
3
  import * as react from 'react';
5
- import { FormEvent } from 'react';
6
4
 
7
5
  interface AppWrapperPropsInterface {
8
6
  appType?: AppTypes;
@@ -17,23 +15,15 @@ interface StoryAppWrapperInterface {
17
15
 
18
16
  declare const StoryAppWrapper: SdkFC<StoryAppWrapperInterface>;
19
17
 
20
- declare const getInsuranceType: () => InsuranceTypes.Car | InsuranceTypes.Home;
21
-
22
18
  declare const PageVehicle: SdkFC;
23
19
 
24
20
  declare const PageDriver: SdkFC;
25
21
 
26
22
  declare const PageCarDiscount: SdkFC;
27
23
 
28
- declare const PageQuote: SdkFC;
29
-
30
- declare const getLicenceTypeOptions: (options: SelectOptionInterface[], optionValues: string[], disabled: boolean) => SelectOptionInterface[];
31
- declare const checkDateIsSpecial: (defaultMinDate: string, specialDate: string) => boolean;
32
- declare const getLicenceMinDate: (licenceType: DriverLicenceTypes, defaultMinDate: string, config: FormCarConfigStateInterface) => string;
33
- declare const getLicenceMaxDate: (licenceType: DriverLicenceTypes, minDate: string, config: FormCarConfigStateInterface) => string;
34
- declare const getDisabledLicenceTypes: (gBlock: boolean, g2Block: boolean, g1Block: boolean) => string[];
24
+ declare const PageCarQuote: SdkFC;
35
25
 
36
- declare type FormTabProps = {
26
+ type FormTabProps = {
37
27
  createItem?: () => void;
38
28
  readOnly?: boolean;
39
29
  };
@@ -51,8 +41,16 @@ declare const PageProperty: SdkFC;
51
41
 
52
42
  declare const PageHomeDiscount: SdkFC;
53
43
 
54
- declare const getSelectedOption: (options: SelectOptionInterface[], value: string | number | boolean | undefined | null) => _mychoice_mychoice_sdk_components.InputValueType;
55
- declare const getErrorMessage: (value: number | string, inValidation?: boolean, message?: string) => string;
44
+ declare const PageHomeQuote: SdkFC;
45
+
46
+ declare const PageCoverage: SdkFC;
47
+
48
+ declare const PageLifeApplicant: SdkFC;
49
+
50
+ declare const PageLifeQuote: SdkFC;
51
+
52
+ declare const getSelectedOption: (options: SelectOptionInterface[], val: string | number | boolean | undefined | null) => _mychoice_mychoice_sdk_components.InputValueType;
53
+ declare const getErrorMessage: (value: number | string | boolean | null | undefined, inValidation?: boolean, message?: string) => string;
56
54
  declare const getDateErrorMessage: (values: string[], inValidation?: boolean) => "" | "This field is required." | "These fields are required.";
57
55
  declare const formatPhoneObject: (phone: string) => {
58
56
  number: string;
@@ -62,7 +60,7 @@ declare const formatPhoneObject: (phone: string) => {
62
60
  declare const formatTitleToCapital: (name: string) => string;
63
61
  declare const capitalize: (text: string) => string;
64
62
 
65
- declare type InputFormBoxProps = DefaultInputProps & {
63
+ type InputFormBoxProps = DefaultInputProps & {
66
64
  name: string;
67
65
  title: string;
68
66
  subTitle?: string;
@@ -71,8 +69,9 @@ declare type InputFormBoxProps = DefaultInputProps & {
71
69
  errorMessage?: string;
72
70
  hintMessage?: string;
73
71
  type?: InputTypes;
72
+ manipulateInput?: (value: string) => string;
74
73
  };
75
- declare type InputFormEmailBoxProps = InputFormBoxProps & {
74
+ type InputFormEmailBoxProps = InputFormBoxProps & {
76
75
  validationStatus?: ValidationStatusTypes;
77
76
  };
78
77
 
@@ -84,18 +83,18 @@ declare const InputFormEmailBox: SdkFC<InputFormEmailBoxProps>;
84
83
 
85
84
  declare const InputFormLicenceBox: SdkFC<InputFormBoxProps>;
86
85
 
87
- declare type LabelFormBoxProps = {
86
+ type LabelFormBoxProps = {
88
87
  className?: string;
89
88
  title?: string;
90
89
  subTitle?: string;
91
- description?: string;
90
+ description?: string | SdkElement;
92
91
  name?: string;
93
92
  isRemovable?: boolean;
94
93
  onIconClick?: () => void;
95
94
  isActive?: boolean;
96
95
  };
97
96
 
98
- declare type SelectFormBoxProps$1 = DefaultInputProps & LabelFormBoxProps & {
97
+ type SelectFormBoxProps$1 = DefaultInputProps & LabelFormBoxProps & {
99
98
  name: string;
100
99
  title: string;
101
100
  options?: SelectOptionInterface[];
@@ -108,7 +107,7 @@ declare type SelectFormBoxProps$1 = DefaultInputProps & LabelFormBoxProps & {
108
107
 
109
108
  declare const SelectFormBox: SdkFC<SelectFormBoxProps$1>;
110
109
 
111
- declare type SelectFormBoxProps = DefaultInputProps & LabelFormBoxProps & {
110
+ type SelectFormBoxProps = DefaultInputProps & LabelFormBoxProps & {
112
111
  name: string;
113
112
  title: string;
114
113
  options?: SelectOptionInterface[];
@@ -118,7 +117,7 @@ declare type SelectFormBoxProps = DefaultInputProps & LabelFormBoxProps & {
118
117
  hintMessage?: string;
119
118
  autoSelectIfValueIsOutOfOptions?: boolean;
120
119
  };
121
- declare type DateSelectFormBoxProps = SelectFormBoxProps & {
120
+ type DateSelectFormBoxProps = SelectFormBoxProps & {
122
121
  onDateChange: (dateType: DateTypes) => (option: OnChangeEventInterface) => void;
123
122
  isDay?: boolean;
124
123
  isMonth?: boolean;
@@ -132,7 +131,7 @@ declare const DateSelectFormBox: SdkFC<DateSelectFormBoxProps>;
132
131
 
133
132
  declare const LabelFormBox: SdkFC<LabelFormBoxProps>;
134
133
 
135
- declare type SwitchButtonBoxProps = LabelFormBoxProps & {
134
+ type SwitchButtonBoxProps = LabelFormBoxProps & {
136
135
  name: string;
137
136
  defaultValue: string;
138
137
  items: SelectOptionInterface[];
@@ -143,7 +142,7 @@ declare type SwitchButtonBoxProps = LabelFormBoxProps & {
143
142
 
144
143
  declare const SwitchButtonBox: SdkFC<SwitchButtonBoxProps>;
145
144
 
146
- declare type OfferSectionProps = {
145
+ type OfferSectionProps = {
147
146
  phoneNumber?: PhoneObjectInterface;
148
147
  offerCompany?: OfferDetailTitleProps & OfferDetailInfoProps;
149
148
  brokerCompany?: OfferDetailTitleProps & OfferDetailInfoProps;
@@ -151,17 +150,18 @@ declare type OfferSectionProps = {
151
150
  isBestOffer?: boolean;
152
151
  operationHours?: OperationHoursInfoProps;
153
152
  redirectUrl?: string;
153
+ fulfillmentUrl?: string;
154
154
  };
155
155
 
156
156
  declare const OfferSection: SdkFC<OfferSectionProps>;
157
157
 
158
- declare type HeaderLogoProps = {
158
+ type HeaderLogoProps = {
159
159
  className?: string;
160
160
  };
161
- declare type HeaderTheBigProps = HeaderLogoProps & {
161
+ type HeaderTheBigProps = HeaderLogoProps & {
162
162
  textBack?: string;
163
163
  };
164
- declare type AppNameTypes = AppTypes.MyChoice | AppTypes.Partner | AppTypes.TheBig;
164
+ type AppNameTypes = AppTypes.MyChoice | AppTypes.Partner | AppTypes.TheBig;
165
165
 
166
166
  declare const HeaderMyChoice: SdkFC<HeaderLogoProps>;
167
167
 
@@ -188,41 +188,38 @@ declare const ModalConfirm: SdkFC;
188
188
 
189
189
  declare const ModalMessage: SdkFC;
190
190
 
191
- declare type BaseModalProps = {
191
+ declare const ModalPostal: SdkFC;
192
+
193
+ declare const ModalAddress: SdkFC;
194
+
195
+ declare const ModalFinale: SdkFC;
196
+
197
+ type BaseModalProps = {
192
198
  title?: string;
193
199
  description?: string;
194
200
  };
195
- declare type InputPostalProps = BaseModalProps & {
196
- defaultValue?: string;
197
- error?: string;
198
- onChange?: (option: OnChangeEventInterface) => void;
199
- onSubmit?: (event: FormEvent) => void;
200
- loading?: boolean;
201
- };
202
- declare type QuoteRequestModalProps = BaseModalProps & {
201
+ type QuoteRequestModalProps = BaseModalProps & {
203
202
  phoneNumber?: string;
204
203
  };
205
204
 
206
- declare const ModalPostal: SdkFC<InputPostalProps>;
207
-
208
- declare const ModalFinale: SdkFC;
209
-
210
205
  declare const ModalQuoteRequest: SdkFC<QuoteRequestModalProps>;
211
206
 
212
- declare type StepsProps = {
207
+ type StepsProps = {
213
208
  partnerId?: string;
214
209
  className?: string;
215
210
  isMobile?: boolean;
216
211
  activeIndex?: number;
217
212
  formSteps: NavigationItemInterface[];
218
213
  validationHooks: ValidationHookInterface[];
214
+ estimatedTime?: number;
215
+ propertyIsCompleted?: boolean;
219
216
  };
220
- declare type PostalCodeDataProps = {
217
+ type PostalCodeDataProps = {
221
218
  className?: string;
222
219
  title?: string;
223
220
  postalCode?: string;
224
221
  };
225
- declare type ButtonBoxProps = {
222
+ type ButtonBoxProps = {
226
223
  isMobile?: boolean;
227
224
  activeIndex?: number;
228
225
  onBackClick?: () => void;
@@ -230,9 +227,12 @@ declare type ButtonBoxProps = {
230
227
  clearForm?: () => void;
231
228
  formSteps: NavigationItemInterface[];
232
229
  validationHooks: ValidationHookInterface[];
230
+ propertyIsCompleted?: boolean;
231
+ };
232
+ type NavigationTopProps = PostalCodeDataProps & ButtonBoxProps & {
233
+ estimatedTime?: number;
233
234
  };
234
- declare type NavigationTopProps = PostalCodeDataProps & ButtonBoxProps;
235
- declare type NavigationBottomProps = {
235
+ type NavigationBottomProps = {
236
236
  className?: string;
237
237
  activeIndex?: number;
238
238
  createItem?: () => void;
@@ -241,6 +241,7 @@ declare type NavigationBottomProps = {
241
241
  formSteps: NavigationItemInterface[];
242
242
  maxItemCount?: number;
243
243
  itemCount?: number;
244
+ specialCallback?: () => void;
244
245
  };
245
246
 
246
247
  declare const NavigationTop: SdkFC<NavigationTopProps>;
@@ -253,7 +254,7 @@ interface NavigationTabInterface {
253
254
  name: string;
254
255
  index: number;
255
256
  }
256
- declare type NavigationTabProps = {
257
+ type NavigationTabProps = {
257
258
  className?: string;
258
259
  name: string;
259
260
  addButtonLabel: string;
@@ -273,20 +274,81 @@ declare const NavigationTab: SdkFC<NavigationTabProps>;
273
274
  declare const NavigationTabMobile: SdkFC<NavigationTabProps>;
274
275
 
275
276
  declare const formSteps: {
276
- car: {
277
+ car: ({
277
278
  key: number;
278
279
  path: string;
279
280
  name: string;
280
281
  title: string;
282
+ mychoiceTitle: string;
281
283
  icon: react.ReactElement<any, any> | null;
282
- }[];
283
- home: {
284
+ } | {
284
285
  key: number;
285
286
  path: string;
286
287
  name: string;
287
288
  title: string;
288
289
  icon: react.ReactElement<any, any> | null;
289
- }[];
290
+ mychoiceTitle?: undefined;
291
+ })[];
292
+ home: ({
293
+ key: number;
294
+ path: string;
295
+ name: string;
296
+ title: string;
297
+ mychoiceTitle: string;
298
+ icon: react.ReactElement<any, any> | null;
299
+ } | {
300
+ key: number;
301
+ path: string;
302
+ name: string;
303
+ title: string;
304
+ icon: react.ReactElement<any, any> | null;
305
+ mychoiceTitle?: undefined;
306
+ })[];
307
+ condo: ({
308
+ key: number;
309
+ path: string;
310
+ name: string;
311
+ title: string;
312
+ mychoiceTitle: string;
313
+ icon: react.ReactElement<any, any> | null;
314
+ } | {
315
+ key: number;
316
+ path: string;
317
+ name: string;
318
+ title: string;
319
+ icon: react.ReactElement<any, any> | null;
320
+ mychoiceTitle?: undefined;
321
+ })[];
322
+ tenant: ({
323
+ key: number;
324
+ path: string;
325
+ name: string;
326
+ title: string;
327
+ mychoiceTitle: string;
328
+ icon: react.ReactElement<any, any> | null;
329
+ } | {
330
+ key: number;
331
+ path: string;
332
+ name: string;
333
+ title: string;
334
+ icon: react.ReactElement<any, any> | null;
335
+ mychoiceTitle?: undefined;
336
+ })[];
337
+ life: ({
338
+ key: number;
339
+ path: string;
340
+ name: string;
341
+ title: string;
342
+ mychoiceTitle: string;
343
+ icon: react.ReactElement<any, any> | null;
344
+ } | {
345
+ key: number;
346
+ path: string;
347
+ name: string;
348
+ title: string;
349
+ icon: react.ReactElement<any, any> | null;
350
+ mychoiceTitle?: undefined;
351
+ })[];
290
352
  };
291
353
 
292
- export { AppNameTypes, AppWrapper, ButtonBoxProps, DateSelectFormBox, FormTabProps, HeaderLogoProps, HeaderMyChoice, HeaderMyChoiceMobile, HeaderPartner, HeaderTheBig, HeaderTheBigProps, InputFormBox, InputFormEmailBox, InputFormLicenceBox, InputFormPhoneBox, LabelFormBox, LoaderPrimary, ModalConfirm, ModalFinale, ModalMessage, ModalPostal, ModalQuoteRequest, NavigationBottom, NavigationBottomProps, NavigationBottomTheBig, NavigationTab, NavigationTabInterface, NavigationTabMobile, NavigationTabProps, NavigationTop, NavigationTopProps, OfferSection, PageAddress, PageApplicant, PageCarDiscount, PageDriver, PageHomeDiscount, PageProperty, PageQuote, PageVehicle, PhoneObjectInterface, PostalCodeDataProps, SelectFormBox, StepsProps, StoryAppWrapper, SwitchButtonBox, capitalize, checkDateIsSpecial, formSteps, formatPhoneObject, formatTitleToCapital, getDateErrorMessage, getDisabledLicenceTypes, getErrorMessage, getInsuranceType, getLicenceMaxDate, getLicenceMinDate, getLicenceTypeOptions, getSelectedOption, usePathGroups };
354
+ export { AppNameTypes, AppWrapper, ButtonBoxProps, DateSelectFormBox, FormTabProps, HeaderLogoProps, HeaderMyChoice, HeaderMyChoiceMobile, HeaderPartner, HeaderTheBig, HeaderTheBigProps, InputFormBox, InputFormEmailBox, InputFormLicenceBox, InputFormPhoneBox, LabelFormBox, LoaderPrimary, ModalAddress, ModalConfirm, ModalFinale, ModalMessage, ModalPostal, ModalQuoteRequest, NavigationBottom, NavigationBottomProps, NavigationBottomTheBig, NavigationTab, NavigationTabInterface, NavigationTabMobile, NavigationTabProps, NavigationTop, NavigationTopProps, OfferSection, PageAddress, PageApplicant, PageCarDiscount, PageCarQuote, PageCoverage, PageDriver, PageHomeDiscount, PageHomeQuote, PageLifeApplicant, PageLifeQuote, PageProperty, PageVehicle, PhoneObjectInterface, PostalCodeDataProps, SelectFormBox, StepsProps, StoryAppWrapper, SwitchButtonBox, capitalize, formSteps, formatPhoneObject, formatTitleToCapital, getDateErrorMessage, getErrorMessage, getSelectedOption, usePathGroups };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mychoice/mychoice-sdk-modules",
3
- "version": "1.0.2",
3
+ "version": "2.0.1",
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",
@@ -16,7 +16,7 @@
16
16
  "dist"
17
17
  ],
18
18
  "publishConfig": {
19
- "access": "restricted"
19
+ "access": "public"
20
20
  },
21
21
  "repository": {
22
22
  "type": "git",
@@ -30,11 +30,14 @@
30
30
  },
31
31
  "homepage": "https://github.com/hexdivision/mychoice-sdk#readme",
32
32
  "dependencies": {
33
- "@mychoice/mychoice-sdk-components": "^1.0.1",
34
- "@mychoice/mychoice-sdk-store": "^1.0.1",
33
+ "@mychoice/mychoice-sdk-components": "^2.0.1",
34
+ "@mychoice/mychoice-sdk-store": "^2.0.1",
35
35
  "@types/react-gtm-module": "^2.0.1",
36
+ "@types/react-places-autocomplete": "7.2.9",
37
+ "react-google-places-autocomplete": "4.0.1",
36
38
  "react-gtm-module": "^2.0.11",
39
+ "react-helmet": "^6.1.0",
37
40
  "react-router-dom": "^6.3.0"
38
41
  },
39
- "gitHead": "6356c6dfa1b66b85156c9ab5f83dfac830219a10"
42
+ "gitHead": "d343cd66b47905a65fb230f9afbe0ac69f945ea7"
40
43
  }
Binary file
Binary file