ouisys-component-library 3.1.77 → 3.1.78

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 (295) hide show
  1. package/dist/AcceptanceCheckbox.js +2 -0
  2. package/dist/AcceptanceCheckbox.js.map +1 -0
  3. package/dist/Button-db9843e8.js +2 -0
  4. package/dist/Button-db9843e8.js.map +1 -0
  5. package/dist/Button.js +2 -0
  6. package/dist/Button.js.map +1 -0
  7. package/dist/ChainRedirect-782316b2.js +2 -0
  8. package/dist/ChainRedirect-782316b2.js.map +1 -0
  9. package/dist/ChainRedirect.js +2 -0
  10. package/dist/ChainRedirect.js.map +1 -0
  11. package/dist/ConsentAcceptanceCheck-494289ab.js +2 -0
  12. package/dist/ConsentAcceptanceCheck-494289ab.js.map +1 -0
  13. package/dist/ConsentAcceptanceCheck.js +2 -0
  14. package/dist/ConsentAcceptanceCheck.js.map +1 -0
  15. package/dist/CookieConsent-43806e8a.js +2 -0
  16. package/dist/CookieConsent-43806e8a.js.map +1 -0
  17. package/dist/CookieConsent.js +2 -0
  18. package/dist/CookieConsent.js.map +1 -0
  19. package/dist/Disclaimers.js +2 -0
  20. package/dist/Disclaimers.js.map +1 -0
  21. package/dist/DynamicLegals.js +2 -0
  22. package/dist/DynamicLegals.js.map +1 -0
  23. package/dist/DynamicPricePoint-5afa998e.js +2 -0
  24. package/dist/DynamicPricePoint-5afa998e.js.map +1 -0
  25. package/dist/DynamicPricePoint.js +2 -0
  26. package/dist/DynamicPricePoint.js.map +1 -0
  27. package/dist/Email-34cd63fa.js +2 -0
  28. package/dist/Email-34cd63fa.js.map +1 -0
  29. package/dist/Email.js +2 -0
  30. package/dist/Email.js.map +1 -0
  31. package/dist/ExtraDisclaimers-0f03f882.js +2 -0
  32. package/dist/ExtraDisclaimers-0f03f882.js.map +1 -0
  33. package/dist/ExtraDisclaimers.js +2 -0
  34. package/dist/ExtraDisclaimers.js.map +1 -0
  35. package/dist/Features-efe7d760.js +2 -0
  36. package/dist/Features-efe7d760.js.map +1 -0
  37. package/dist/Features.js +2 -0
  38. package/dist/Features.js.map +1 -0
  39. package/dist/Footer-9eb2e730.js +2 -0
  40. package/dist/Footer-9eb2e730.js.map +1 -0
  41. package/dist/Footer.js +2 -0
  42. package/dist/Footer.js.map +1 -0
  43. package/dist/Header.js +2 -0
  44. package/dist/Header.js.map +1 -0
  45. package/dist/Input.js +2 -0
  46. package/dist/Input.js.map +1 -0
  47. package/dist/Intl-afecc5cd.js +2 -0
  48. package/dist/Intl-afecc5cd.js.map +1 -0
  49. package/dist/IntlProvider.js +2 -0
  50. package/dist/IntlProvider.js.map +1 -0
  51. package/dist/LanguageSwitcher-aa6cd894.js +2 -0
  52. package/dist/LanguageSwitcher-aa6cd894.js.map +1 -0
  53. package/dist/LanguageSwitcher.js +2 -0
  54. package/dist/LanguageSwitcher.js.map +1 -0
  55. package/dist/Link-15f0a2a6.js +2 -0
  56. package/dist/Link-15f0a2a6.js.map +1 -0
  57. package/dist/Link.js +2 -0
  58. package/dist/Link.js.map +1 -0
  59. package/dist/Loader.js +2 -0
  60. package/dist/Loader.js.map +1 -0
  61. package/dist/LoadingPrelander.js +2 -0
  62. package/dist/LoadingPrelander.js.map +1 -0
  63. package/dist/LovePrelander.js +2 -0
  64. package/dist/LovePrelander.js.map +1 -0
  65. package/dist/MOForm.js +2 -0
  66. package/dist/MOForm.js.map +1 -0
  67. package/dist/MOLink-3b20ac3c.js +2 -0
  68. package/dist/MOLink-3b20ac3c.js.map +1 -0
  69. package/dist/MOLink.js +2 -0
  70. package/dist/MOLink.js.map +1 -0
  71. package/dist/Menu-bfa2187a.js +2 -0
  72. package/dist/Menu-bfa2187a.js.map +1 -0
  73. package/dist/Menu.js +2 -0
  74. package/dist/Menu.js.map +1 -0
  75. package/dist/PINEntry.js +2 -0
  76. package/dist/PINEntry.js.map +1 -0
  77. package/dist/PageConfig-6151433e.js +2 -0
  78. package/dist/PageConfig-6151433e.js.map +1 -0
  79. package/dist/PageConfig.js +2 -0
  80. package/dist/PageConfig.js.map +1 -0
  81. package/dist/PageContent.js +2 -0
  82. package/dist/PageContent.js.map +1 -0
  83. package/dist/Persuasive.js +2 -0
  84. package/dist/Persuasive.js.map +1 -0
  85. package/dist/PhoneEntry.js +2 -0
  86. package/dist/PhoneEntry.js.map +1 -0
  87. package/dist/PhoneEntryForm.js +2 -0
  88. package/dist/PhoneEntryForm.js.map +1 -0
  89. package/dist/PhoneInput-991f4abe.js +2 -0
  90. package/dist/PhoneInput-991f4abe.js.map +1 -0
  91. package/dist/PhoneInput.js +2 -0
  92. package/dist/PhoneInput.js.map +1 -0
  93. package/dist/PinEntryForm.js +2 -0
  94. package/dist/PinEntryForm.js.map +1 -0
  95. package/dist/Prelander.js +2 -0
  96. package/dist/Prelander.js.map +1 -0
  97. package/dist/PricePoint-11e36c0a.js +2 -0
  98. package/dist/PricePoint-11e36c0a.js.map +1 -0
  99. package/dist/PricePoint.js +2 -0
  100. package/dist/PricePoint.js.map +1 -0
  101. package/dist/PricingPolicy-2d20548a.js +2 -0
  102. package/dist/PricingPolicy-2d20548a.js.map +1 -0
  103. package/dist/PricingPolicy.js +2 -0
  104. package/dist/PricingPolicy.js.map +1 -0
  105. package/dist/ProductArea.js +2 -0
  106. package/dist/ProductArea.js.map +1 -0
  107. package/dist/RefundPolicy-6716b38b.js +2 -0
  108. package/dist/RefundPolicy-6716b38b.js.map +1 -0
  109. package/dist/RefundPolicy.js +2 -0
  110. package/dist/RefundPolicy.js.map +1 -0
  111. package/dist/RootWrapper.js +2 -0
  112. package/dist/RootWrapper.js.map +1 -0
  113. package/dist/Select.js +2 -0
  114. package/dist/Select.js.map +1 -0
  115. package/dist/Showcase-ce426730.js +2 -0
  116. package/dist/Showcase-ce426730.js.map +1 -0
  117. package/dist/Showcase.js +2 -0
  118. package/dist/Showcase.js.map +1 -0
  119. package/dist/Steps.js +2 -0
  120. package/dist/Steps.js.map +1 -0
  121. package/dist/SubscriptionArea.js +2 -0
  122. package/dist/SubscriptionArea.js.map +1 -0
  123. package/dist/SuspenseLoader.js +2 -0
  124. package/dist/SuspenseLoader.js.map +1 -0
  125. package/dist/Testimonials-1485cfd3.js +2 -0
  126. package/dist/Testimonials-1485cfd3.js.map +1 -0
  127. package/dist/Testimonials.js +2 -0
  128. package/dist/Testimonials.js.map +1 -0
  129. package/dist/ThankYou.js +2 -0
  130. package/dist/ThankYou.js.map +1 -0
  131. package/dist/TopLegals.js +2 -0
  132. package/dist/TopLegals.js.map +1 -0
  133. package/dist/Translate.js +2 -0
  134. package/dist/Translate.js.map +1 -0
  135. package/dist/Unsubscription-9fd4aafa.js +2 -0
  136. package/dist/Unsubscription-9fd4aafa.js.map +1 -0
  137. package/dist/Unsubscription.js +2 -0
  138. package/dist/Unsubscription.js.map +1 -0
  139. package/dist/defineMessages.js +2 -0
  140. package/dist/defineMessages.js.map +1 -0
  141. package/dist/focus-9585dea8.js +2 -0
  142. package/dist/focus-9585dea8.js.map +1 -0
  143. package/dist/formatSMSLink.js +2 -0
  144. package/dist/formatSMSLink.js.map +1 -0
  145. package/dist/injectIntl.js +2 -0
  146. package/dist/injectIntl.js.map +1 -0
  147. package/dist/routes-ae71da43.js +2 -0
  148. package/dist/routes-ae71da43.js.map +1 -0
  149. package/dist/styles.css +2 -0
  150. package/dist/styles.css.map +1 -0
  151. package/dist/types/AcceptanceCheckbox/AcceptanceCheckbox.d.ts +5 -0
  152. package/dist/types/AcceptanceCheckbox/AcceptanceCheckbox.types.d.ts +26 -0
  153. package/dist/types/Button/Button.d.ts +5 -0
  154. package/dist/types/Button/Button.types.d.ts +12 -0
  155. package/dist/types/ChainRedirect/ChainRedirect.d.ts +5 -0
  156. package/dist/types/ChainRedirect/ChainRedirect.types.d.ts +10 -0
  157. package/dist/types/ConsentAcceptanceCheck/ConsentAcceptanceCheck.d.ts +6 -0
  158. package/dist/types/ConsentAcceptanceCheck/ConsentAcceptanceCheck.types.d.ts +25 -0
  159. package/dist/types/CookieConsent/CookieConsent.d.ts +5 -0
  160. package/dist/types/CookieConsent/CookieConsent.types.d.ts +17 -0
  161. package/dist/types/Disclaimers/Disclaimers.d.ts +5 -0
  162. package/dist/types/Disclaimers/Disclaimers.types.d.ts +39 -0
  163. package/dist/types/DynamicLegals/DynamicLegals.d.ts +6 -0
  164. package/dist/types/DynamicLegals/DynamicLegals.types.d.ts +10 -0
  165. package/dist/types/DynamicLegals/DynamicLegals.utils.d.ts +6 -0
  166. package/dist/types/DynamicPricePoint/DynamicPricePoint.d.ts +6 -0
  167. package/dist/types/DynamicPricePoint/DynamicPricePoint.types.d.ts +6 -0
  168. package/dist/types/Email/Email.d.ts +3 -0
  169. package/dist/types/Email/Email.types.d.ts +18 -0
  170. package/dist/types/ExtraDisclaimers/ExtraDisclaimers.d.ts +5 -0
  171. package/dist/types/ExtraDisclaimers/ExtraDisclaimers.types.d.ts +11 -0
  172. package/dist/types/Features/Features.d.ts +5 -0
  173. package/dist/types/Features/Features.types.d.ts +20 -0
  174. package/dist/types/Footer/Footer.d.ts +3 -0
  175. package/dist/types/Footer/Footer.types.d.ts +9 -0
  176. package/dist/types/Footer/locale/index.d.ts +169 -0
  177. package/dist/types/Header/Header.d.ts +5 -0
  178. package/dist/types/Header/Header.types.d.ts +19 -0
  179. package/dist/types/Input/Input.d.ts +5 -0
  180. package/dist/types/Input/Input.types.d.ts +46 -0
  181. package/dist/types/Intl/Intl.d.ts +21 -0
  182. package/dist/types/LanguageSwitcher/LanguageSwitcher.d.ts +5 -0
  183. package/dist/types/LanguageSwitcher/LanguageSwitcher.types.d.ts +16 -0
  184. package/dist/types/Link/Link.d.ts +5 -0
  185. package/dist/types/Link/Link.types.d.ts +13 -0
  186. package/dist/types/Loader/Loader.d.ts +5 -0
  187. package/dist/types/Loader/Loader.types.d.ts +9 -0
  188. package/dist/types/MOForm/MOForm.d.ts +5 -0
  189. package/dist/types/MOForm/MOForm.types.d.ts +10 -0
  190. package/dist/types/MOLink/MOLink.d.ts +7 -0
  191. package/dist/types/MOLink/MOLink.types.d.ts +11 -0
  192. package/dist/types/Menu/Menu.d.ts +5 -0
  193. package/dist/types/Menu/Menu.types.d.ts +14 -0
  194. package/dist/types/PINEntry/PINEntry.d.ts +5 -0
  195. package/dist/types/PINEntry/PINEntry.types.d.ts +25 -0
  196. package/dist/types/PageConfig/PageConfig.d.ts +6 -0
  197. package/dist/types/PageConfig/PageConfig.types.d.ts +8 -0
  198. package/dist/types/PageContent/PageContent.d.ts +5 -0
  199. package/dist/types/PageContent/PageContent.types.d.ts +11 -0
  200. package/dist/types/Persuasive/Persuasive.d.ts +5 -0
  201. package/dist/types/Persuasive/Persuasive.types.d.ts +11 -0
  202. package/dist/types/PhoneEntry/PhoneEntry.d.ts +5 -0
  203. package/dist/types/PhoneEntry/PhoneEntry.types.d.ts +43 -0
  204. package/dist/types/PhoneEntryForm/PhoneEntryForm.d.ts +5 -0
  205. package/dist/types/PhoneEntryForm/PhoneEntryForm.types.d.ts +38 -0
  206. package/dist/types/PhoneInput/PhoneInput.d.ts +35 -0
  207. package/dist/types/PinEntryForm/PinEntryForm.d.ts +5 -0
  208. package/dist/types/PinEntryForm/PinEntryForm.types.d.ts +25 -0
  209. package/dist/types/Prelanders/LoadingPrelander/LoadingPrelander.d.ts +5 -0
  210. package/dist/types/Prelanders/LoadingPrelander/LoadingPrelander.type.d.ts +10 -0
  211. package/dist/types/Prelanders/LovePrelander/LovePrelander.d.ts +5 -0
  212. package/dist/types/Prelanders/LovePrelander/LovePrelander.types.d.ts +17 -0
  213. package/dist/types/Prelanders/Prelander/Prelander.d.ts +5 -0
  214. package/dist/types/Prelanders/Prelander/Prelander.type.d.ts +42 -0
  215. package/dist/types/PricePoint/PricePoint.d.ts +5 -0
  216. package/dist/types/PricePoint/PricePoint.types.d.ts +12 -0
  217. package/dist/types/PricingPolicy/PricingPolicy.d.ts +5 -0
  218. package/dist/types/PricingPolicy/PricingPolicy.types.d.ts +9 -0
  219. package/dist/types/ProductArea/ProductArea.d.ts +5 -0
  220. package/dist/types/ProductArea/ProductArea.types.d.ts +5 -0
  221. package/dist/types/RefundPolicy/RefundPolicy.d.ts +3 -0
  222. package/dist/types/RefundPolicy/RefundPolicy.types.d.ts +11 -0
  223. package/dist/types/RefundPolicy/locale/index.d.ts +342 -0
  224. package/dist/types/RootWrapper/RootWrapper.d.ts +5 -0
  225. package/dist/types/RootWrapper/RootWrapper.types.d.ts +11 -0
  226. package/dist/types/Select/Select.d.ts +5 -0
  227. package/dist/types/Select/Select.types.d.ts +31 -0
  228. package/dist/types/Showcase/Showcase.d.ts +5 -0
  229. package/dist/types/Showcase/Showcase.types.d.ts +18 -0
  230. package/dist/types/Steps/Steps.d.ts +5 -0
  231. package/dist/types/Steps/Steps.types.d.ts +20 -0
  232. package/dist/types/SubscriptionArea/SubscriptionArea.d.ts +5 -0
  233. package/dist/types/SubscriptionArea/SubscriptionArea.types.d.ts +10 -0
  234. package/dist/types/SuspenseLoader/SuspenseLoader.d.ts +5 -0
  235. package/dist/types/SuspenseLoader/SuspenseLoader.types.d.ts +10 -0
  236. package/dist/types/Testimonials/Testimonials.d.ts +5 -0
  237. package/dist/types/Testimonials/Testimonials.types.d.ts +6 -0
  238. package/dist/types/ThankYou/ThankYou.d.ts +5 -0
  239. package/dist/types/ThankYou/ThankYou.types.d.ts +14 -0
  240. package/dist/types/TopLegals/TopLegals.d.ts +5 -0
  241. package/dist/types/TopLegals/TopLegals.types.d.ts +9 -0
  242. package/dist/types/Unsubscription/Unsubscription.d.ts +3 -0
  243. package/dist/types/Unsubscription/Unsubscription.types.d.ts +9 -0
  244. package/dist/types/component-exports/AcceptanceCheckbox/AcceptanceCheckbox.d.ts +2 -0
  245. package/dist/types/component-exports/Button/Button.d.ts +2 -0
  246. package/dist/types/component-exports/ChainRedirect/ChainRedirect.d.ts +2 -0
  247. package/dist/types/component-exports/ConsentAcceptanceCheck/ConsentAcceptanceCheck.d.ts +2 -0
  248. package/dist/types/component-exports/CookieConsent/CookieConsent.d.ts +2 -0
  249. package/dist/types/component-exports/Disclaimers/Disclaimers.d.ts +2 -0
  250. package/dist/types/component-exports/DynamicLegals/DynamicLegals.d.ts +2 -0
  251. package/dist/types/component-exports/DynamicPricePoint/DynamicPricePoint.d.ts +2 -0
  252. package/dist/types/component-exports/Email/Email.d.ts +2 -0
  253. package/dist/types/component-exports/ExtraDisclaimers/ExtraDisclaimers.d.ts +2 -0
  254. package/dist/types/component-exports/Features/Features.d.ts +2 -0
  255. package/dist/types/component-exports/Footer/Footer.d.ts +2 -0
  256. package/dist/types/component-exports/Header/Header.d.ts +2 -0
  257. package/dist/types/component-exports/Input/Input.d.ts +2 -0
  258. package/dist/types/component-exports/IntlProvider/IntlProvider.d.ts +1 -0
  259. package/dist/types/component-exports/LanguageSwitcher/LanguageSwitcher.d.ts +2 -0
  260. package/dist/types/component-exports/Link/Link.d.ts +2 -0
  261. package/dist/types/component-exports/Loader/Loader.d.ts +2 -0
  262. package/dist/types/component-exports/LoadingPrelander/LoadingPrelander.d.ts +1 -0
  263. package/dist/types/component-exports/LovePrelander/LovePrelander.d.ts +2 -0
  264. package/dist/types/component-exports/MOForm/MOForm.d.ts +2 -0
  265. package/dist/types/component-exports/MOLink/MOLink.d.ts +2 -0
  266. package/dist/types/component-exports/Menu/Menu.d.ts +2 -0
  267. package/dist/types/component-exports/PINEntry/PINEntry.d.ts +2 -0
  268. package/dist/types/component-exports/PageConfig/PageConfig.d.ts +2 -0
  269. package/dist/types/component-exports/PageContent/PageContent.d.ts +2 -0
  270. package/dist/types/component-exports/Persuasive/Persuasive.d.ts +2 -0
  271. package/dist/types/component-exports/PhoneEntry/PhoneEntry.d.ts +2 -0
  272. package/dist/types/component-exports/PhoneEntryForm/PhoneEntryForm.d.ts +2 -0
  273. package/dist/types/component-exports/PhoneInput/PhoneInput.d.ts +1 -0
  274. package/dist/types/component-exports/PinEntryForm/PinEntryForm.d.ts +2 -0
  275. package/dist/types/component-exports/Prelander/Prelander.d.ts +2 -0
  276. package/dist/types/component-exports/PricePoint/PricePoint.d.ts +2 -0
  277. package/dist/types/component-exports/PricingPolicy/PricingPolicy.d.ts +2 -0
  278. package/dist/types/component-exports/ProductArea/ProductArea.d.ts +2 -0
  279. package/dist/types/component-exports/RefundPolicy/RefundPolicy.d.ts +2 -0
  280. package/dist/types/component-exports/RootWrapper/RootWrapper.d.ts +2 -0
  281. package/dist/types/component-exports/Select/Select.d.ts +2 -0
  282. package/dist/types/component-exports/Showcase/Showcase.d.ts +2 -0
  283. package/dist/types/component-exports/Steps/Steps.d.ts +2 -0
  284. package/dist/types/component-exports/SubscriptionArea/SubscriptionArea.d.ts +2 -0
  285. package/dist/types/component-exports/SuspenseLoader/SuspenseLoader.d.ts +2 -0
  286. package/dist/types/component-exports/Testimonials/Testimonials.d.ts +2 -0
  287. package/dist/types/component-exports/ThankYou/ThankYou.d.ts +2 -0
  288. package/dist/types/component-exports/TopLegals/TopLegals.d.ts +2 -0
  289. package/dist/types/component-exports/Translate/Translate.d.ts +1 -0
  290. package/dist/types/component-exports/Unsubscription/Unsubscription.d.ts +2 -0
  291. package/dist/types/custom-types.d.ts +136 -0
  292. package/dist/types/utilities/defineMessages/defineMessages.d.ts +1 -0
  293. package/dist/types/utilities/formatSMSLink/formatSMSLink.d.ts +1 -0
  294. package/dist/types/utilities/injectIntl/injectIntl.d.ts +1 -0
  295. package/package.json +1 -1
@@ -0,0 +1,43 @@
1
+ import { ITracker } from '../custom-types.js';
2
+
3
+ type IPropsOnChange = {
4
+ msisdn: string;
5
+ isValid: boolean;
6
+ nationalNumber: string;
7
+ internationalNumber: string;
8
+ bupperNumber: string;
9
+ };
10
+ interface interfacePhoneEntry {
11
+ tracker: ITracker;
12
+ country: string;
13
+ msisdn: string;
14
+ isFocused?: boolean;
15
+ setMsisdn: (msisdn: string) => void;
16
+ internationalNumber: string;
17
+ setInternationalNumber: (internationalNumber: string) => void;
18
+ isMsisdnFilled: boolean;
19
+ setIsMsisdnFilled: (isMsisdnFilled: boolean) => void;
20
+ inputElementRef?: React.RefObject<HTMLInputElement>;
21
+ id?: string;
22
+ className?: string;
23
+ dataQaId?: string;
24
+ minLength?: number;
25
+ placeholder?: string;
26
+ isValid: boolean;
27
+ setIsValid: (isValid: boolean) => void;
28
+ userInteract: boolean;
29
+ setUserInteract: (userInteract: boolean) => void;
30
+ showIconInput?: boolean;
31
+ showIconValid?: boolean;
32
+ showIconInvalid?: boolean;
33
+ onChange?: (arg: IPropsOnChange, _ev?: React.ChangeEvent<HTMLInputElement>) => void;
34
+ onKeyPress?: (_ev: React.KeyboardEvent<HTMLInputElement>) => void;
35
+ onPaste?: (_ev: React.ClipboardEvent<HTMLInputElement>) => void;
36
+ onBlur?: (_ev: React.FocusEvent<HTMLInputElement>) => void;
37
+ onFocus?: (_ev: React.FocusEvent<HTMLInputElement>) => void;
38
+ msisdnLabel?: string | React.ReactNode;
39
+ msisdnLabelToolTip?: string | React.ReactNode;
40
+ focusAnimation?: string;
41
+ }
42
+
43
+ export { interfacePhoneEntry };
@@ -0,0 +1,5 @@
1
+ import { IPhoneEntryFormProps } from './PhoneEntryForm.types.js';
2
+
3
+ declare const PhoneEntryForm: (props: IPhoneEntryFormProps) => JSX.Element;
4
+
5
+ export { PhoneEntryForm };
@@ -0,0 +1,38 @@
1
+ import { ICommonModel } from '../custom-types.js';
2
+ import { ILegals } from '../Disclaimers/Disclaimers.types.js';
3
+
4
+ interface IPhoneEntryFormProps extends ICommonModel {
5
+ msisdnPrefix?: string;
6
+ countryCode?: string;
7
+ phoneInputRef?: React.RefObject<HTMLInputElement>;
8
+ msisdnLabel: string;
9
+ toolTipLabel?: string;
10
+ buttonLabel: string;
11
+ buttonLabel2?: string;
12
+ placeholder?: string;
13
+ buttonDisabled?: boolean;
14
+ disableButtonIfInvalid?: boolean;
15
+ renderTopContent?: React.ReactNode;
16
+ renderBottomContent?: React.ReactNode;
17
+ buttonTopComponent?: React.ReactNode;
18
+ buttonBottomComponent?: React.ReactNode;
19
+ defaultMessages?: {
20
+ [key: string]: string;
21
+ };
22
+ msisdn: string;
23
+ buttonId?: string;
24
+ legals?: ILegals[];
25
+ buttonAreaId?: string;
26
+ buttonAreaClassName?: string;
27
+ customConsentMessage?: string;
28
+ msisdnLengthToValidate?: number;
29
+ setMsisdn: React.Dispatch<React.SetStateAction<string>>;
30
+ onChange: (value: {
31
+ msisdn: string;
32
+ isValid: boolean;
33
+ internationalNumber: string;
34
+ }) => void;
35
+ onButtonClick: (ev: React.MouseEvent<HTMLButtonElement>) => void;
36
+ }
37
+
38
+ export { IPhoneEntryFormProps };
@@ -0,0 +1,35 @@
1
+ import React__default, { RefObject } from 'react';
2
+
3
+ interface IPropsChange {
4
+ msisdn: string;
5
+ isValid: boolean;
6
+ nationalNumber: string;
7
+ internationalNumber: string;
8
+ bupperNumber: string;
9
+ }
10
+ interface IProps {
11
+ countryCode: string;
12
+ msisdn?: string;
13
+ placeholder: string;
14
+ onChange: (args: IPropsChange) => void;
15
+ showCountryCode?: boolean;
16
+ showFlag?: boolean;
17
+ showMobileIcon?: boolean;
18
+ showError: boolean;
19
+ inputElementRef: RefObject<HTMLInputElement>;
20
+ onClickCheckMark: () => void;
21
+ onClickErrorCheckMark: () => void;
22
+ onBlur: () => void;
23
+ onFocus: () => void;
24
+ onPaste: () => void;
25
+ onKeyPress: () => void;
26
+ id?: string;
27
+ name?: string;
28
+ maxLength?: string | number;
29
+ saveValidNumber?: boolean;
30
+ useNumberFromCookie?: boolean;
31
+ tracker?: any;
32
+ }
33
+ declare const MsisdnComponent: React__default.FC<IProps>;
34
+
35
+ export { MsisdnComponent as default };
@@ -0,0 +1,5 @@
1
+ import { IPinEntryFormProps } from './PinEntryForm.types.js';
2
+
3
+ declare const PinEntryForm: (props: IPinEntryFormProps) => JSX.Element;
4
+
5
+ export { PinEntryForm };
@@ -0,0 +1,25 @@
1
+ import { ICommonModel, ITracker } from '../custom-types.js';
2
+
3
+ interface IPinEntryFormProps extends ICommonModel {
4
+ operator?: string;
5
+ buttonId?: string;
6
+ pinMaxLength?: number;
7
+ pinMinLength?: number;
8
+ wrongPinMessage?: string;
9
+ pinEntryLabel: string;
10
+ buttonLabel: string;
11
+ placeholder?: string;
12
+ tracker?: ITracker;
13
+ buttonDisabled?: boolean;
14
+ buttonClassName?: string;
15
+ disableButtonIfInvalidPin?: boolean;
16
+ renderTopContent?: React.ReactNode;
17
+ renderBottomContent?: React.ReactNode;
18
+ defaultMessages?: {
19
+ [key: string]: string;
20
+ };
21
+ onChange: (value: string) => void;
22
+ onButtonClick: (ev: React.MouseEvent<HTMLButtonElement>) => void;
23
+ }
24
+
25
+ export { IPinEntryFormProps };
@@ -0,0 +1,5 @@
1
+ import LoadingPrelanderProps from './LoadingPrelander.type.js';
2
+
3
+ declare const LoadingPrelander: ({ contentLoaded, title, className, loadingText, dataQaId, tracker }: LoadingPrelanderProps) => JSX.Element;
4
+
5
+ export { LoadingPrelander };
@@ -0,0 +1,10 @@
1
+ import { ICommonModel } from '../../custom-types.js';
2
+
3
+ interface LoadingPrelanderProps extends ICommonModel {
4
+ contentLoaded: () => void;
5
+ title?: string;
6
+ loadingText?: string;
7
+ dataQaId?: string;
8
+ }
9
+
10
+ export { LoadingPrelanderProps as default };
@@ -0,0 +1,5 @@
1
+ import { interfaceFeatures } from './LovePrelander.types.js';
2
+
3
+ declare const LovePrelander: ({ locale, className, questions, tracker }: interfaceFeatures) => JSX.Element;
4
+
5
+ export { LovePrelander };
@@ -0,0 +1,17 @@
1
+ import { ITracker } from '../../custom-types.js';
2
+
3
+ interface interfaceFeatures {
4
+ logoUrl: string;
5
+ className?: string;
6
+ dataQaId?: string;
7
+ locale: string;
8
+ tracker?: ITracker;
9
+ questions: {
10
+ question: string;
11
+ answers: string[];
12
+ }[];
13
+ currentQuestion: number;
14
+ setCurrentQuestion: (currentQuestion: number) => void;
15
+ }
16
+
17
+ export { interfaceFeatures };
@@ -0,0 +1,5 @@
1
+ import { interfaceFeatures } from './Prelander.type.js';
2
+
3
+ declare const Prelander: ({ locale, className, questions, tracker, onNext, onPrev }: interfaceFeatures) => JSX.Element;
4
+
5
+ export { Prelander };
@@ -0,0 +1,42 @@
1
+ import { ITracker } from '../../custom-types.js';
2
+
3
+ interface Answer {
4
+ text: string;
5
+ imageUrl?: string;
6
+ }
7
+ interface ResultItem {
8
+ title: string;
9
+ description: string;
10
+ imageUrl?: string;
11
+ score?: number;
12
+ tags?: string[];
13
+ }
14
+ interface Question {
15
+ question: string;
16
+ subtitle?: string;
17
+ type: 'single' | 'multi' | 'text' | 'splash' | 'loader' | 'result';
18
+ answers?: Answer[];
19
+ placeholder?: string;
20
+ nextButtonText?: string;
21
+ duration?: number;
22
+ imageUrl?: string;
23
+ loadingText?: string;
24
+ resultItems?: ResultItem[];
25
+ resultTitle?: string;
26
+ resultSubtitle?: string;
27
+ hasNext?: boolean;
28
+ }
29
+ interface interfaceFeatures {
30
+ logoUrl: string;
31
+ className?: string;
32
+ dataQaId?: string;
33
+ locale: string;
34
+ tracker?: ITracker;
35
+ questions: Question[];
36
+ currentQuestion: number;
37
+ onNext: (question: number) => void;
38
+ onPrev: (question: number) => void;
39
+ setCurrentQuestion: (currentQuestion: number) => void;
40
+ }
41
+
42
+ export { interfaceFeatures };
@@ -0,0 +1,5 @@
1
+ import { PricePointProps } from './PricePoint.types.js';
2
+
3
+ declare const PricePoint: ({ locale, className, legals, flow, dataQaId, operator }: PricePointProps) => JSX.Element;
4
+
5
+ export { PricePoint };
@@ -0,0 +1,12 @@
1
+ import { ILegals, ILegalFlows } from '../Disclaimers/Disclaimers.types.js';
2
+
3
+ interface PricePointProps {
4
+ locale: string;
5
+ legals: Array<ILegals>;
6
+ operator?: string;
7
+ className?: string;
8
+ flow?: ILegalFlows;
9
+ dataQaId?: string;
10
+ }
11
+
12
+ export { PricePointProps };
@@ -0,0 +1,5 @@
1
+ import { InterfaceFeatures } from './PricingPolicy.types.js';
2
+
3
+ declare const PricingPolicy: ({ priceUnit, priceValue, locale, dataQaId, hideSections }: InterfaceFeatures) => JSX.Element;
4
+
5
+ export { PricingPolicy };
@@ -0,0 +1,9 @@
1
+ interface InterfaceFeatures {
2
+ locale?: string;
3
+ dataQaId?: string;
4
+ priceUnit?: string | React.ReactNode;
5
+ priceValue?: string | React.ReactNode;
6
+ hideSections?: boolean;
7
+ }
8
+
9
+ export { InterfaceFeatures };
@@ -0,0 +1,5 @@
1
+ import { IIProductArea } from './ProductArea.types.js';
2
+
3
+ declare const ProductArea: ({ locale, pageConfigs, formattedMessage }: IIProductArea) => JSX.Element | null;
4
+
5
+ export { ProductArea };
@@ -0,0 +1,5 @@
1
+ import { ICommonModel } from '../custom-types.js';
2
+
3
+ type IIProductArea = ICommonModel;
4
+
5
+ export { IIProductArea };
@@ -0,0 +1,3 @@
1
+ declare const RefundPolicy: (props: any) => JSX.Element;
2
+
3
+ export { RefundPolicy };
@@ -0,0 +1,11 @@
1
+ import { ICommonModel } from '../custom-types.js';
2
+ import lng from './locale/index.js';
3
+
4
+ interface InterfaceFeatures extends ICommonModel {
5
+ locale?: keyof typeof lng;
6
+ dataQaId?: string;
7
+ serviceName: string;
8
+ customerCareEmail?: string;
9
+ }
10
+
11
+ export { InterfaceFeatures };
@@ -0,0 +1,342 @@
1
+ declare const lng: {
2
+ ar: (serviceName: string, customerCareEmail?: string | undefined) => {
3
+ RefundPolicy: {
4
+ headline: string;
5
+ refundPolicy1: string;
6
+ refundPolicy2: string;
7
+ refundPolicy3: string;
8
+ refundPolicy4: string;
9
+ refundPolicy5: string;
10
+ refundPolicy6: string;
11
+ refundPolicy7: string;
12
+ refundPolicy8: string;
13
+ };
14
+ };
15
+ ms: (serviceName: string, customerCareEmail?: string | undefined) => {
16
+ RefundPolicy: {
17
+ headline: string;
18
+ refundPolicy1: string;
19
+ refundPolicy2: string;
20
+ refundPolicy3: string;
21
+ refundPolicy4: string;
22
+ refundPolicy5: string;
23
+ refundPolicy6: string;
24
+ refundPolicy7: string;
25
+ refundPolicy8: string;
26
+ };
27
+ };
28
+ en: (serviceName: string, customerCareEmail?: string | undefined) => {
29
+ RefundPolicy: {
30
+ headline: string;
31
+ refundPolicy1: string;
32
+ refundPolicy2: string;
33
+ refundPolicy3: string;
34
+ refundPolicy4: string;
35
+ refundPolicy5: string;
36
+ refundPolicy6: string;
37
+ refundPolicy7: string;
38
+ refundPolicy8: string;
39
+ };
40
+ };
41
+ cz: (serviceName: string, customerCareEmail?: string | undefined) => {
42
+ RefundPolicy: {
43
+ headline: string;
44
+ refundPolicy1: string;
45
+ refundPolicy2: string;
46
+ refundPolicy3: string;
47
+ refundPolicy4: string;
48
+ refundPolicy5: string;
49
+ refundPolicy6: string;
50
+ refundPolicy7: string;
51
+ refundPolicy8: string;
52
+ };
53
+ };
54
+ es: (serviceName: string, customerCareEmail?: string | undefined) => {
55
+ RefundPolicy: {
56
+ headline: string;
57
+ refundPolicy1: string;
58
+ refundPolicy2: string;
59
+ refundPolicy3: string;
60
+ refundPolicy4: string;
61
+ refundPolicy5: string;
62
+ refundPolicy6: string;
63
+ refundPolicy7: string;
64
+ refundPolicy8: string;
65
+ };
66
+ };
67
+ it: (serviceName: string, customerCareEmail?: string | undefined) => {
68
+ RefundPolicy: {
69
+ headline: string;
70
+ refundPolicy1: string;
71
+ refundPolicy2: string;
72
+ refundPolicy3: string;
73
+ refundPolicy4: string;
74
+ refundPolicy5: string;
75
+ refundPolicy6: string;
76
+ refundPolicy7: string;
77
+ refundPolicy8: string;
78
+ };
79
+ };
80
+ lt: (serviceName: string, customerCareEmail?: string | undefined) => {
81
+ RefundPolicy: {
82
+ headline: string;
83
+ refundPolicy1: string;
84
+ refundPolicy2: string;
85
+ refundPolicy3: string;
86
+ refundPolicy4: string;
87
+ refundPolicy5: string;
88
+ refundPolicy6: string;
89
+ refundPolicy7: string;
90
+ refundPolicy8: string;
91
+ };
92
+ };
93
+ fr: (serviceName: string, customerCareEmail?: string | undefined) => {
94
+ RefundPolicy: {
95
+ headline: string;
96
+ refundPolicy1: string;
97
+ refundPolicy2: string;
98
+ refundPolicy3: string;
99
+ refundPolicy4: string;
100
+ refundPolicy5: string;
101
+ refundPolicy6: string;
102
+ refundPolicy7: string;
103
+ refundPolicy8: string;
104
+ };
105
+ };
106
+ de: (serviceName: string, customerCareEmail?: string | undefined) => {
107
+ RefundPolicy: {
108
+ headline: string;
109
+ refundPolicy1: string;
110
+ refundPolicy2: string;
111
+ refundPolicy3: string;
112
+ refundPolicy4: string;
113
+ refundPolicy5: string;
114
+ refundPolicy6: string;
115
+ refundPolicy7: string;
116
+ refundPolicy8: string;
117
+ };
118
+ };
119
+ id: (serviceName: string, customerCareEmail?: string | undefined) => {
120
+ RefundPolicy: {
121
+ headline: string;
122
+ refundPolicy1: string;
123
+ refundPolicy2: string;
124
+ refundPolicy3: string;
125
+ refundPolicy4: string;
126
+ refundPolicy5: string;
127
+ refundPolicy6: string;
128
+ refundPolicy7: string;
129
+ refundPolicy8: string;
130
+ };
131
+ };
132
+ tr: (serviceName: string, customerCareEmail?: string | undefined) => {
133
+ RefundPolicy: {
134
+ headline: string;
135
+ refundPolicy1: string;
136
+ refundPolicy2: string;
137
+ refundPolicy3: string;
138
+ refundPolicy4: string;
139
+ refundPolicy5: string;
140
+ refundPolicy6: string;
141
+ refundPolicy7: string;
142
+ refundPolicy8: string;
143
+ };
144
+ };
145
+ nl: (serviceName: string, customerCareEmail?: string | undefined) => {
146
+ RefundPolicy: {
147
+ headline: string;
148
+ refundPolicy1: string;
149
+ refundPolicy2: string;
150
+ refundPolicy3: string;
151
+ refundPolicy4: string;
152
+ refundPolicy5: string;
153
+ refundPolicy6: string;
154
+ refundPolicy7: string;
155
+ refundPolicy8: string;
156
+ };
157
+ };
158
+ cs: (serviceName: string, customerCareEmail?: string | undefined) => {
159
+ RefundPolicy: {
160
+ headline: string;
161
+ refundPolicy1: string;
162
+ refundPolicy2: string;
163
+ refundPolicy3: string;
164
+ refundPolicy4: string;
165
+ refundPolicy5: string;
166
+ refundPolicy6: string;
167
+ refundPolicy7: string;
168
+ refundPolicy8: string;
169
+ };
170
+ };
171
+ sv: (serviceName: string, customerCareEmail?: string | undefined) => {
172
+ RefundPolicy: {
173
+ headline: string;
174
+ refundPolicy1: string;
175
+ refundPolicy2: string;
176
+ refundPolicy3: string;
177
+ refundPolicy4: string;
178
+ refundPolicy5: string;
179
+ refundPolicy6: string;
180
+ refundPolicy7: string;
181
+ refundPolicy8: string;
182
+ };
183
+ };
184
+ no: (serviceName: string, customerCareEmail?: string | undefined) => {
185
+ RefundPolicy: {
186
+ headline: string;
187
+ refundPolicy1: string;
188
+ refundPolicy2: string;
189
+ refundPolicy3: string;
190
+ refundPolicy4: string;
191
+ refundPolicy5: string;
192
+ refundPolicy6: string;
193
+ refundPolicy7: string;
194
+ refundPolicy8: string;
195
+ };
196
+ };
197
+ vi: (serviceName: string, customerCareEmail?: string | undefined) => {
198
+ RefundPolicy: {
199
+ headline: string;
200
+ refundPolicy1: string;
201
+ refundPolicy2: string;
202
+ refundPolicy3: string;
203
+ refundPolicy4: string;
204
+ refundPolicy5: string;
205
+ refundPolicy6: string;
206
+ refundPolicy7: string;
207
+ refundPolicy8: string;
208
+ };
209
+ };
210
+ fi: (serviceName: string, customerCareEmail?: string | undefined) => {
211
+ RefundPolicy: {
212
+ headline: string;
213
+ refundPolicy1: string;
214
+ refundPolicy2: string;
215
+ refundPolicy3: string;
216
+ refundPolicy4: string;
217
+ refundPolicy5: string;
218
+ refundPolicy6: string;
219
+ refundPolicy7: string;
220
+ refundPolicy8: string;
221
+ };
222
+ };
223
+ sr: (serviceName: string, customerCareEmail?: string | undefined) => {
224
+ RefundPolicy: {
225
+ headline: string;
226
+ refundPolicy1: string;
227
+ refundPolicy2: string;
228
+ refundPolicy3: string;
229
+ refundPolicy4: string;
230
+ refundPolicy5: string;
231
+ refundPolicy6: string;
232
+ refundPolicy7: string;
233
+ refundPolicy8: string;
234
+ };
235
+ };
236
+ pl: (serviceName: string, customerCareEmail?: string | undefined) => {
237
+ RefundPolicy: {
238
+ headline: string;
239
+ refundPolicy1: string;
240
+ refundPolicy2: string;
241
+ refundPolicy3: string;
242
+ refundPolicy4: string;
243
+ refundPolicy5: string;
244
+ refundPolicy6: string;
245
+ refundPolicy7: string;
246
+ refundPolicy8: string;
247
+ };
248
+ };
249
+ kw: (serviceName: string, customerCareEmail?: string | undefined) => {
250
+ RefundPolicy: {
251
+ headline: string;
252
+ refundPolicy1: string;
253
+ refundPolicy2: string;
254
+ refundPolicy3: string;
255
+ refundPolicy4: string;
256
+ refundPolicy5: string;
257
+ refundPolicy6: string;
258
+ refundPolicy7: string;
259
+ refundPolicy8: string;
260
+ };
261
+ };
262
+ kk: (serviceName: string, customerCareEmail?: string | undefined) => {
263
+ RefundPolicy: {
264
+ headline: string;
265
+ refundPolicy1: string;
266
+ refundPolicy2: string;
267
+ refundPolicy3: string;
268
+ refundPolicy4: string;
269
+ refundPolicy5: string;
270
+ refundPolicy6: string;
271
+ refundPolicy7: string;
272
+ refundPolicy8: string;
273
+ };
274
+ };
275
+ ru: (serviceName: string, customerCareEmail?: string | undefined) => {
276
+ RefundPolicy: {
277
+ headline: string;
278
+ refundPolicy1: string;
279
+ refundPolicy2: string;
280
+ refundPolicy3: string;
281
+ refundPolicy4: string;
282
+ refundPolicy5: string;
283
+ refundPolicy6: string;
284
+ refundPolicy7: string;
285
+ refundPolicy8: string;
286
+ };
287
+ };
288
+ pt: (serviceName: string, customerCareEmail?: string | undefined) => {
289
+ RefundPolicy: {
290
+ headline: string;
291
+ refundPolicy1: string;
292
+ refundPolicy2: string;
293
+ refundPolicy3: string;
294
+ refundPolicy4: string;
295
+ refundPolicy5: string;
296
+ refundPolicy6: string;
297
+ refundPolicy7: string;
298
+ refundPolicy8: string;
299
+ };
300
+ };
301
+ zh: (serviceName: string, customerCareEmail?: string | undefined) => {
302
+ RefundPolicy: {
303
+ headline: string;
304
+ refundPolicy1: string;
305
+ refundPolicy2: string;
306
+ refundPolicy3: string;
307
+ refundPolicy4: string;
308
+ refundPolicy5: string;
309
+ refundPolicy6: string;
310
+ refundPolicy7: string;
311
+ refundPolicy8: string;
312
+ };
313
+ };
314
+ sl: (serviceName: string) => {
315
+ RefundPolicy: {
316
+ headline: string;
317
+ refundPolicy1: string;
318
+ refundPolicy2: string;
319
+ refundPolicy3: string;
320
+ refundPolicy4: string;
321
+ refundPolicy5: string;
322
+ refundPolicy6: string;
323
+ refundPolicy7: string;
324
+ refundPolicy8: string;
325
+ };
326
+ };
327
+ th: (serviceName: string, customerCareEmail?: string | undefined) => {
328
+ RefundPolicy: {
329
+ headline: string;
330
+ refundPolicy1: string;
331
+ refundPolicy2: string;
332
+ refundPolicy3: string;
333
+ refundPolicy4: string;
334
+ refundPolicy5: string;
335
+ refundPolicy6: string;
336
+ refundPolicy7: string;
337
+ refundPolicy8: string;
338
+ };
339
+ };
340
+ };
341
+
342
+ export { lng as default };
@@ -0,0 +1,5 @@
1
+ import { IRootWrapperProps } from './RootWrapper.types.js';
2
+
3
+ declare const RootWrapper: ({ children, tracker, pageConfigs, focusAreaIds, setPageConfigs }: IRootWrapperProps) => JSX.Element;
4
+
5
+ export { RootWrapper };
@@ -0,0 +1,11 @@
1
+ import { ICommonModel, ITracker, IPageConfigs } from '../custom-types.js';
2
+
3
+ interface IRootWrapperProps extends ICommonModel {
4
+ children: React.ReactNode;
5
+ tracker?: ITracker;
6
+ focusAreaIds?: string[];
7
+ rds?: any;
8
+ setPageConfigs?: (configs: IPageConfigs) => void;
9
+ }
10
+
11
+ export { IRootWrapperProps };