ouisys-component-library 3.0.63 → 3.0.66

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 (246) hide show
  1. package/dist/AcceptanceCheckbox.js +2 -0
  2. package/dist/AcceptanceCheckbox.js.map +1 -0
  3. package/dist/Button-2e0371e7.js +2 -0
  4. package/dist/Button-2e0371e7.js.map +1 -0
  5. package/dist/Button.js +2 -0
  6. package/dist/Button.js.map +1 -0
  7. package/dist/ChainRedirect-bb2b0390.js +2 -0
  8. package/dist/ChainRedirect-bb2b0390.js.map +1 -0
  9. package/dist/ChainRedirect.js +2 -0
  10. package/dist/ChainRedirect.js.map +1 -0
  11. package/dist/CookieConsent-4923aadb.js +2 -0
  12. package/dist/CookieConsent-4923aadb.js.map +1 -0
  13. package/dist/CookieConsent.js +2 -0
  14. package/dist/CookieConsent.js.map +1 -0
  15. package/dist/Disclaimers.js +2 -0
  16. package/dist/Disclaimers.js.map +1 -0
  17. package/dist/ExtraDisclaimers-70a31e98.js +2 -0
  18. package/dist/ExtraDisclaimers-70a31e98.js.map +1 -0
  19. package/dist/ExtraDisclaimers.js +2 -0
  20. package/dist/ExtraDisclaimers.js.map +1 -0
  21. package/dist/Features-89ea6577.js +2 -0
  22. package/dist/Features-89ea6577.js.map +1 -0
  23. package/dist/Features.js +2 -0
  24. package/dist/Features.js.map +1 -0
  25. package/dist/Footer-a3760c96.js +2 -0
  26. package/dist/Footer-a3760c96.js.map +1 -0
  27. package/dist/Footer.js +2 -0
  28. package/dist/Footer.js.map +1 -0
  29. package/dist/Header.js +2 -0
  30. package/dist/Header.js.map +1 -0
  31. package/dist/Input.js +2 -0
  32. package/dist/Input.js.map +1 -0
  33. package/dist/Intl-a8f3908a.js +2 -0
  34. package/dist/Intl-a8f3908a.js.map +1 -0
  35. package/dist/IntlProvider.js +2 -0
  36. package/dist/IntlProvider.js.map +1 -0
  37. package/dist/LanguageSwitcher-bc73d07d.js +2 -0
  38. package/dist/LanguageSwitcher-bc73d07d.js.map +1 -0
  39. package/dist/LanguageSwitcher.js +2 -0
  40. package/dist/LanguageSwitcher.js.map +1 -0
  41. package/dist/Link-24613405.js +2 -0
  42. package/dist/Link-24613405.js.map +1 -0
  43. package/dist/Link.js +2 -0
  44. package/dist/Link.js.map +1 -0
  45. package/dist/Loader.js +2 -0
  46. package/dist/Loader.js.map +1 -0
  47. package/dist/LoadingPrelander.js +2 -0
  48. package/dist/LoadingPrelander.js.map +1 -0
  49. package/dist/LovePrelander.js +2 -0
  50. package/dist/LovePrelander.js.map +1 -0
  51. package/dist/MOLink-08ec2520.js +2 -0
  52. package/dist/MOLink-08ec2520.js.map +1 -0
  53. package/dist/MOLink.js +2 -0
  54. package/dist/MOLink.js.map +1 -0
  55. package/dist/Menu-c860a1ce.js +2 -0
  56. package/dist/Menu-c860a1ce.js.map +1 -0
  57. package/dist/Menu.js +2 -0
  58. package/dist/Menu.js.map +1 -0
  59. package/dist/PINEntry.js +2 -0
  60. package/dist/PINEntry.js.map +1 -0
  61. package/dist/PageContent.js +2 -0
  62. package/dist/PageContent.js.map +1 -0
  63. package/dist/Persuasive.js +2 -0
  64. package/dist/Persuasive.js.map +1 -0
  65. package/dist/PhoneEntry.js +2 -0
  66. package/dist/PhoneEntry.js.map +1 -0
  67. package/dist/PinEntryForm.js +2 -0
  68. package/dist/PinEntryForm.js.map +1 -0
  69. package/dist/Prelander.js +2 -0
  70. package/dist/Prelander.js.map +1 -0
  71. package/dist/PricePoint.js +2 -0
  72. package/dist/PricePoint.js.map +1 -0
  73. package/dist/PricingPolicy-72f8ba6f.js +2 -0
  74. package/dist/PricingPolicy-72f8ba6f.js.map +1 -0
  75. package/dist/PricingPolicy.js +2 -0
  76. package/dist/PricingPolicy.js.map +1 -0
  77. package/dist/ProductArea.js +2 -0
  78. package/dist/ProductArea.js.map +1 -0
  79. package/dist/RefundPolicy-592b390f.js +2 -0
  80. package/dist/RefundPolicy-592b390f.js.map +1 -0
  81. package/dist/RefundPolicy.js +2 -0
  82. package/dist/RefundPolicy.js.map +1 -0
  83. package/dist/RootWrapper.js +2 -0
  84. package/dist/RootWrapper.js.map +1 -0
  85. package/dist/Select.js +2 -0
  86. package/dist/Select.js.map +1 -0
  87. package/dist/Showcase-831b8143.js +2 -0
  88. package/dist/Showcase-831b8143.js.map +1 -0
  89. package/dist/Showcase.js +2 -0
  90. package/dist/Showcase.js.map +1 -0
  91. package/dist/Steps.js +2 -0
  92. package/dist/Steps.js.map +1 -0
  93. package/dist/SubscriptionArea.js +2 -0
  94. package/dist/SubscriptionArea.js.map +1 -0
  95. package/dist/SuspenseLoader.js +2 -0
  96. package/dist/SuspenseLoader.js.map +1 -0
  97. package/dist/TermsAcceptanceCheck.js +2 -0
  98. package/dist/TermsAcceptanceCheck.js.map +1 -0
  99. package/dist/Testimonials-429f1b23.js +2 -0
  100. package/dist/Testimonials-429f1b23.js.map +1 -0
  101. package/dist/Testimonials.js +2 -0
  102. package/dist/Testimonials.js.map +1 -0
  103. package/dist/ThankYou.js +2 -0
  104. package/dist/ThankYou.js.map +1 -0
  105. package/dist/TopLegals.js +2 -0
  106. package/dist/TopLegals.js.map +1 -0
  107. package/dist/Translate.js +2 -0
  108. package/dist/Translate.js.map +1 -0
  109. package/dist/Unsubscription-e68aa91d.js +2 -0
  110. package/dist/Unsubscription-e68aa91d.js.map +1 -0
  111. package/dist/Unsubscription.js +2 -0
  112. package/dist/Unsubscription.js.map +1 -0
  113. package/dist/defineMessages.js +2 -0
  114. package/dist/defineMessages.js.map +1 -0
  115. package/dist/formatSMSLink.js +2 -0
  116. package/dist/formatSMSLink.js.map +1 -0
  117. package/dist/injectIntl.js +2 -0
  118. package/dist/injectIntl.js.map +1 -0
  119. package/dist/routes-e0467eb9.js +2 -0
  120. package/dist/routes-e0467eb9.js.map +1 -0
  121. package/dist/styles.css +2 -0
  122. package/dist/styles.css.map +1 -0
  123. package/dist/types/AcceptanceCheckbox/AcceptanceCheckbox.d.ts +5 -0
  124. package/dist/types/AcceptanceCheckbox/AcceptanceCheckbox.types.d.ts +25 -0
  125. package/dist/types/Button/Button.d.ts +5 -0
  126. package/dist/types/Button/Button.types.d.ts +12 -0
  127. package/dist/types/ChainRedirect/ChainRedirect.d.ts +5 -0
  128. package/dist/types/ChainRedirect/ChainRedirect.types.d.ts +10 -0
  129. package/dist/types/CookieConsent/CookieConsent.d.ts +5 -0
  130. package/dist/types/CookieConsent/CookieConsent.types.d.ts +16 -0
  131. package/dist/types/Disclaimers/Disclaimers.d.ts +5 -0
  132. package/dist/types/Disclaimers/Disclaimers.types.d.ts +38 -0
  133. package/dist/types/ExtraDisclaimers/ExtraDisclaimers.d.ts +5 -0
  134. package/dist/types/ExtraDisclaimers/ExtraDisclaimers.types.d.ts +11 -0
  135. package/dist/types/Features/Features.d.ts +5 -0
  136. package/dist/types/Features/Features.types.d.ts +20 -0
  137. package/dist/types/Footer/Footer.d.ts +3 -0
  138. package/dist/types/Footer/Footer.types.d.ts +16 -0
  139. package/dist/types/Footer/locale/index.d.ts +134 -0
  140. package/dist/types/Header/Header.d.ts +5 -0
  141. package/dist/types/Header/Header.types.d.ts +28 -0
  142. package/dist/types/Input/Input.d.ts +5 -0
  143. package/dist/types/Input/Input.types.d.ts +46 -0
  144. package/dist/types/Intl/Intl.d.ts +21 -0
  145. package/dist/types/LanguageSwitcher/LanguageSwitcher.d.ts +5 -0
  146. package/dist/types/LanguageSwitcher/LanguageSwitcher.types.d.ts +16 -0
  147. package/dist/types/Link/Link.d.ts +5 -0
  148. package/dist/types/Link/Link.types.d.ts +13 -0
  149. package/dist/types/Loader/Loader.d.ts +5 -0
  150. package/dist/types/Loader/Loader.types.d.ts +9 -0
  151. package/dist/types/MOLink/MOLink.d.ts +7 -0
  152. package/dist/types/MOLink/MOLink.types.d.ts +11 -0
  153. package/dist/types/Menu/Menu.d.ts +5 -0
  154. package/dist/types/Menu/Menu.types.d.ts +14 -0
  155. package/dist/types/PINEntry/PINEntry.d.ts +5 -0
  156. package/dist/types/PINEntry/PINEntry.types.d.ts +25 -0
  157. package/dist/types/PageContent/PageContent.d.ts +5 -0
  158. package/dist/types/PageContent/PageContent.types.d.ts +15 -0
  159. package/dist/types/Persuasive/Persuasive.d.ts +5 -0
  160. package/dist/types/Persuasive/Persuasive.types.d.ts +17 -0
  161. package/dist/types/PhoneEntry/PhoneEntry.d.ts +5 -0
  162. package/dist/types/PhoneEntry/PhoneEntry.types.d.ts +43 -0
  163. package/dist/types/PinEntryForm/PinEntryForm.d.ts +5 -0
  164. package/dist/types/PinEntryForm/PinEntryForm.types.d.ts +23 -0
  165. package/dist/types/Prelanders/LoadingPrelander/LoadingPrelander.d.ts +5 -0
  166. package/dist/types/Prelanders/LoadingPrelander/LoadingPrelander.type.d.ts +9 -0
  167. package/dist/types/Prelanders/LovePrelander/LovePrelander.d.ts +5 -0
  168. package/dist/types/Prelanders/LovePrelander/LovePrelander.types.d.ts +17 -0
  169. package/dist/types/Prelanders/Prelander/Prelander.d.ts +5 -0
  170. package/dist/types/Prelanders/Prelander/Prelander.type.d.ts +42 -0
  171. package/dist/types/PricePoint/PricePoint.d.ts +5 -0
  172. package/dist/types/PricePoint/PricePoint.types.d.ts +12 -0
  173. package/dist/types/PricingPolicy/PricingPolicy.d.ts +5 -0
  174. package/dist/types/PricingPolicy/PricingPolicy.types.d.ts +9 -0
  175. package/dist/types/ProductArea/ProductArea.d.ts +5 -0
  176. package/dist/types/ProductArea/ProductArea.types.d.ts +9 -0
  177. package/dist/types/RefundPolicy/RefundPolicy.d.ts +3 -0
  178. package/dist/types/RefundPolicy/RefundPolicy.types.d.ts +9 -0
  179. package/dist/types/RefundPolicy/locale/index.d.ts +264 -0
  180. package/dist/types/RootWrapper/RootWrapper.d.ts +5 -0
  181. package/dist/types/RootWrapper/RootWrapper.types.d.ts +12 -0
  182. package/dist/types/Select/Select.d.ts +5 -0
  183. package/dist/types/Select/Select.types.d.ts +31 -0
  184. package/dist/types/Showcase/Showcase.d.ts +5 -0
  185. package/dist/types/Showcase/Showcase.types.d.ts +18 -0
  186. package/dist/types/Steps/Steps.d.ts +5 -0
  187. package/dist/types/Steps/Steps.types.d.ts +18 -0
  188. package/dist/types/SubscriptionArea/SubscriptionArea.d.ts +5 -0
  189. package/dist/types/SubscriptionArea/SubscriptionArea.types.d.ts +12 -0
  190. package/dist/types/SuspenseLoader/SuspenseLoader.d.ts +5 -0
  191. package/dist/types/SuspenseLoader/SuspenseLoader.types.d.ts +10 -0
  192. package/dist/types/TermsAcceptanceCheck/TermsAcceptanceCheck.d.ts +6 -0
  193. package/dist/types/TermsAcceptanceCheck/TermsAcceptanceCheck.types.d.ts +24 -0
  194. package/dist/types/Testimonials/Testimonials.d.ts +5 -0
  195. package/dist/types/Testimonials/Testimonials.types.d.ts +6 -0
  196. package/dist/types/ThankYou/ThankYou.d.ts +5 -0
  197. package/dist/types/ThankYou/ThankYou.types.d.ts +19 -0
  198. package/dist/types/TopLegals/TopLegals.d.ts +5 -0
  199. package/dist/types/TopLegals/TopLegals.types.d.ts +11 -0
  200. package/dist/types/Unsubscription/Unsubscription.d.ts +3 -0
  201. package/dist/types/Unsubscription/Unsubscription.types.d.ts +9 -0
  202. package/dist/types/component-exports/AcceptanceCheckbox/AcceptanceCheckbox.d.ts +2 -0
  203. package/dist/types/component-exports/Button/Button.d.ts +2 -0
  204. package/dist/types/component-exports/ChainRedirect/ChainRedirect.d.ts +2 -0
  205. package/dist/types/component-exports/CookieConsent/CookieConsent.d.ts +2 -0
  206. package/dist/types/component-exports/Disclaimers/Disclaimers.d.ts +2 -0
  207. package/dist/types/component-exports/ExtraDisclaimers/ExtraDisclaimers.d.ts +2 -0
  208. package/dist/types/component-exports/Features/Features.d.ts +2 -0
  209. package/dist/types/component-exports/Footer/Footer.d.ts +2 -0
  210. package/dist/types/component-exports/Header/Header.d.ts +2 -0
  211. package/dist/types/component-exports/Input/Input.d.ts +2 -0
  212. package/dist/types/component-exports/IntlProvider/IntlProvider.d.ts +1 -0
  213. package/dist/types/component-exports/LanguageSwitcher/LanguageSwitcher.d.ts +2 -0
  214. package/dist/types/component-exports/Link/Link.d.ts +2 -0
  215. package/dist/types/component-exports/Loader/Loader.d.ts +2 -0
  216. package/dist/types/component-exports/LoadingPrelander/LoadingPrelander.d.ts +1 -0
  217. package/dist/types/component-exports/LovePrelander/LovePrelander.d.ts +2 -0
  218. package/dist/types/component-exports/MOLink/MOLink.d.ts +2 -0
  219. package/dist/types/component-exports/Menu/Menu.d.ts +2 -0
  220. package/dist/types/component-exports/PINEntry/PINEntry.d.ts +2 -0
  221. package/dist/types/component-exports/PageContent/PageContent.d.ts +2 -0
  222. package/dist/types/component-exports/Persuasive/Persuasive.d.ts +2 -0
  223. package/dist/types/component-exports/PhoneEntry/PhoneEntry.d.ts +2 -0
  224. package/dist/types/component-exports/PinEntryForm/PinEntryForm.d.ts +2 -0
  225. package/dist/types/component-exports/Prelander/Prelander.d.ts +2 -0
  226. package/dist/types/component-exports/PricePoint/PricePoint.d.ts +2 -0
  227. package/dist/types/component-exports/PricingPolicy/PricingPolicy.d.ts +2 -0
  228. package/dist/types/component-exports/ProductArea/ProductArea.d.ts +2 -0
  229. package/dist/types/component-exports/RefundPolicy/RefundPolicy.d.ts +2 -0
  230. package/dist/types/component-exports/RootWrapper/RootWrapper.d.ts +2 -0
  231. package/dist/types/component-exports/Select/Select.d.ts +2 -0
  232. package/dist/types/component-exports/Showcase/Showcase.d.ts +2 -0
  233. package/dist/types/component-exports/Steps/Steps.d.ts +2 -0
  234. package/dist/types/component-exports/SubscriptionArea/SubscriptionArea.d.ts +2 -0
  235. package/dist/types/component-exports/SuspenseLoader/SuspenseLoader.d.ts +2 -0
  236. package/dist/types/component-exports/TermsAcceptanceCheck/TermsAcceptanceCheck.d.ts +2 -0
  237. package/dist/types/component-exports/Testimonials/Testimonials.d.ts +2 -0
  238. package/dist/types/component-exports/ThankYou/ThankYou.d.ts +2 -0
  239. package/dist/types/component-exports/TopLegals/TopLegals.d.ts +2 -0
  240. package/dist/types/component-exports/Translate/Translate.d.ts +1 -0
  241. package/dist/types/component-exports/Unsubscription/Unsubscription.d.ts +2 -0
  242. package/dist/types/custom-types.d.ts +71 -0
  243. package/dist/types/utilities/defineMessages/defineMessages.d.ts +1 -0
  244. package/dist/types/utilities/formatSMSLink/formatSMSLink.d.ts +1 -0
  245. package/dist/types/utilities/injectIntl/injectIntl.d.ts +1 -0
  246. package/package.json +2 -6
@@ -0,0 +1,21 @@
1
+ import * as React from 'react';
2
+
3
+ interface IHash {
4
+ [key: string]: string;
5
+ }
6
+ declare function IntlProvider({ locale, messages, children }: {
7
+ locale: string;
8
+ messages: IHash;
9
+ children: React.ReactChild | JSX.Element[] | JSX.Element;
10
+ }): JSX.Element;
11
+ declare function Translate({ id, values, defaultMessage }: {
12
+ id: string;
13
+ values?: {
14
+ [key: string]: string;
15
+ };
16
+ defaultMessage?: string;
17
+ }): string;
18
+ declare function injectIntl(Child: React.ComponentType<any>): (props: any) => JSX.Element;
19
+ declare function defineMessages(messageDescriptors: any): any;
20
+
21
+ export { IHash, IntlProvider, Translate, defineMessages, injectIntl };
@@ -0,0 +1,5 @@
1
+ import { interfaceLanguageSwitcher } from './LanguageSwitcher.types.js';
2
+
3
+ declare const LanguageSwitcher: ({ locale, switchLang, options, className, dataQaId, tracker }: interfaceLanguageSwitcher) => JSX.Element | null;
4
+
5
+ export { LanguageSwitcher };
@@ -0,0 +1,16 @@
1
+ import { ITracker } from '../custom-types.js';
2
+
3
+ type typeLanguageSwitcherOptions = {
4
+ value: string;
5
+ label: string;
6
+ };
7
+ interface interfaceLanguageSwitcher {
8
+ locale: string;
9
+ switchLang: (lang: string) => void;
10
+ options: Array<typeLanguageSwitcherOptions>;
11
+ className?: string;
12
+ dataQaId?: string;
13
+ tracker?: ITracker;
14
+ }
15
+
16
+ export { interfaceLanguageSwitcher, typeLanguageSwitcherOptions };
@@ -0,0 +1,5 @@
1
+ import { interfaceLink } from './Link.types.js';
2
+
3
+ declare const Link: ({ children, className, dataQaId, href, allowEvinaClass, isMCP, locale, tracker, onClick, ...props }: interfaceLink) => JSX.Element;
4
+
5
+ export { Link };
@@ -0,0 +1,13 @@
1
+ import { ITracker } from '../custom-types.js';
2
+
3
+ interface interfaceLink extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
4
+ children: React.ReactNode;
5
+ className?: string;
6
+ dataQaId?: string;
7
+ allowEvinaClass?: boolean;
8
+ isMCP?: boolean;
9
+ locale?: string;
10
+ tracker?: ITracker;
11
+ }
12
+
13
+ export { interfaceLink };
@@ -0,0 +1,5 @@
1
+ import { ILoaderProps } from './Loader.types.js';
2
+
3
+ declare const Loader: ({ isLoading, message, className, dataQaId, children }: ILoaderProps) => JSX.Element | null;
4
+
5
+ export { Loader };
@@ -0,0 +1,9 @@
1
+ interface ILoaderProps {
2
+ isLoading?: boolean;
3
+ message?: string | React.ReactNode;
4
+ children?: React.ReactNode;
5
+ className?: string;
6
+ dataQaId?: string;
7
+ }
8
+
9
+ export { ILoaderProps };
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import { IKeywordShortcode, MOLinkProps } from './MOLink.types.js';
3
+
4
+ declare const formatSMSLink: (keywordAndShortcode: IKeywordShortcode, useOpenAddresses?: boolean) => string;
5
+ declare const MOLink: React.ComponentType<MOLinkProps>;
6
+
7
+ export { MOLink, formatSMSLink };
@@ -0,0 +1,11 @@
1
+ type IKeywordShortcode = {
2
+ keyword: string;
3
+ shortcode: string;
4
+ };
5
+ type MOLinkProps = {
6
+ keywordAndShortcode: IKeywordShortcode;
7
+ children: React.ReactNode;
8
+ dataQaId?: string;
9
+ } & React.HTMLAttributes<HTMLAnchorElement>;
10
+
11
+ export { IKeywordShortcode, MOLinkProps };
@@ -0,0 +1,5 @@
1
+ import { InterfaceFeatures } from './Menu.types.js';
2
+
3
+ declare const Menu: ({ locale, className, labels, isOpen, setIsOpen, dataQaId, logoUrl }: InterfaceFeatures) => JSX.Element;
4
+
5
+ export { Menu };
@@ -0,0 +1,14 @@
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
+ labels: Record<string, string>;
10
+ isOpen?: boolean;
11
+ setIsOpen?: (isOpen: boolean) => void;
12
+ }
13
+
14
+ export { InterfaceFeatures };
@@ -0,0 +1,5 @@
1
+ import { interfacePINEntry } from './PINEntry.types.js';
2
+
3
+ declare const PINEntry: ({ tracker, pin, setPin, isPinFilled, setIsPinFilled, inputElementRef, id, className, dataQaId, maxLength, minLength, placeholder, isAlphanumeric, showIconInput, onChange, onKeyPress, onPaste, onBlur, onFocus }: interfacePINEntry) => JSX.Element;
4
+
5
+ export { PINEntry };
@@ -0,0 +1,25 @@
1
+ import { ITracker } from '../custom-types.js';
2
+
3
+ interface interfacePINEntry {
4
+ tracker: ITracker;
5
+ pin: string;
6
+ setPin: (pin: string) => void;
7
+ isPinFilled: boolean;
8
+ setIsPinFilled: (isPinFilled: boolean) => void;
9
+ inputElementRef?: React.RefObject<HTMLInputElement>;
10
+ id?: string;
11
+ className?: string;
12
+ dataQaId?: string;
13
+ maxLength?: number;
14
+ minLength?: number;
15
+ placeholder?: string;
16
+ isAlphanumeric?: boolean;
17
+ showIconInput?: boolean;
18
+ onChange?: (_ev: React.ChangeEvent<HTMLInputElement>) => void;
19
+ onKeyPress?: (_ev: React.KeyboardEvent<HTMLInputElement>) => void;
20
+ onPaste?: (_ev: React.ClipboardEvent<HTMLInputElement>) => void;
21
+ onBlur?: (_ev: React.FocusEvent<HTMLInputElement>) => void;
22
+ onFocus?: (_ev: React.FocusEvent<HTMLInputElement>) => void;
23
+ }
24
+
25
+ export { interfacePINEntry };
@@ -0,0 +1,5 @@
1
+ import { InterfaceFeatures } from './PageContent.types.js';
2
+
3
+ declare const PageContent: ({ email, pageConfigs, locale, priceUnit, priceValue, logoUrl, tracker, onConsentUpdate }: InterfaceFeatures) => JSX.Element;
4
+
5
+ export { PageContent };
@@ -0,0 +1,15 @@
1
+ import { ICookieConsent } from '../CookieConsent/CookieConsent.types.js';
2
+ import { ITracker, IPageConfigs } from '../custom-types.js';
3
+
4
+ interface InterfaceFeatures {
5
+ tracker?: ITracker;
6
+ locale: string;
7
+ email: string;
8
+ logoUrl: string;
9
+ pageConfigs?: IPageConfigs;
10
+ priceUnit?: string | React.ReactNode;
11
+ priceValue?: string | React.ReactNode;
12
+ onConsentUpdate?: (consent: ICookieConsent) => void;
13
+ }
14
+
15
+ export { InterfaceFeatures };
@@ -0,0 +1,5 @@
1
+ import { InterfaceFeatures } from './Persuasive.types.js';
2
+
3
+ declare const Persuasive: ({ title, subtitle, caption, dataQaId, pageConfigs, children }: InterfaceFeatures) => JSX.Element | null;
4
+
5
+ export { Persuasive };
@@ -0,0 +1,17 @@
1
+ import { ITracker, IPageConfigs } from '../custom-types.js';
2
+
3
+ interface InterfaceFeatures {
4
+ title: string | React.ReactNode;
5
+ subtitle: string | React.ReactNode;
6
+ className?: string;
7
+ dataQaId?: string;
8
+ tracker?: ITracker;
9
+ image?: string;
10
+ caption?: string | React.ReactNode;
11
+ ScrollTop?: boolean;
12
+ Overlay?: boolean;
13
+ pageConfigs?: IPageConfigs;
14
+ children?: React.ReactNode;
15
+ }
16
+
17
+ export { InterfaceFeatures };
@@ -0,0 +1,5 @@
1
+ import { interfacePhoneEntry } from './PhoneEntry.types.js';
2
+
3
+ declare const PhoneEntry: ({ tracker, country, msisdn, setMsisdn, internationalNumber, setInternationalNumber, isMsisdnFilled, setIsMsisdnFilled, inputElementRef, id, className, dataQaId, minLength, placeholder, isValid, setIsValid, userInteract, setUserInteract, showIconInput, showIconValid, showIconInvalid, onChange, onKeyPress, onPaste, onBlur, onFocus, isFocused, msisdnLabel, msisdnLabelToolTip, focusAnimation }: interfacePhoneEntry) => JSX.Element;
4
+
5
+ export { PhoneEntry };
@@ -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 { IPinEntryFormProps } from './PinEntryForm.types.js';
2
+
3
+ declare const PinEntryForm: (props: IPinEntryFormProps) => JSX.Element;
4
+
5
+ export { PinEntryForm };
@@ -0,0 +1,23 @@
1
+ import { ITracker, IPageConfigs } from '../custom-types.js';
2
+
3
+ interface IPinEntryFormProps {
4
+ locale?: string;
5
+ pinMaxLength?: number;
6
+ pinMinLength?: number;
7
+ pinEntryLabel: string;
8
+ buttonLabel: string;
9
+ placeholder?: string;
10
+ tracker?: ITracker;
11
+ pageConfigs?: IPageConfigs;
12
+ buttonDisabled?: boolean;
13
+ disableButtonIfInvalidPin?: boolean;
14
+ renderTopContent?: React.ReactNode;
15
+ renderBottomContent?: React.ReactNode;
16
+ defaultMessages: {
17
+ [key: string]: string;
18
+ };
19
+ onChange: (value: string) => void;
20
+ onButtonClick: (ev: React.MouseEvent<HTMLButtonElement>) => void;
21
+ }
22
+
23
+ export { IPinEntryFormProps };
@@ -0,0 +1,5 @@
1
+ import LoadingPrelanderProps from './LoadingPrelander.type.js';
2
+
3
+ declare const LoadingPrelander: ({ contentLoaded, title, className, loadingText, dataQaId }: LoadingPrelanderProps) => JSX.Element;
4
+
5
+ export { LoadingPrelander };
@@ -0,0 +1,9 @@
1
+ interface LoadingPrelanderProps {
2
+ contentLoaded: () => void;
3
+ title: string;
4
+ loadingText: string;
5
+ dataQaId: string;
6
+ className?: string;
7
+ }
8
+
9
+ 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 { InterfaceFeatures } from './ProductArea.types.js';
2
+
3
+ declare const ProductArea: ({ locale, pageConfigs }: InterfaceFeatures) => JSX.Element | null;
4
+
5
+ export { ProductArea };
@@ -0,0 +1,9 @@
1
+ import { ITracker, IPageConfigs } from '../custom-types.js';
2
+
3
+ interface InterfaceFeatures {
4
+ tracker?: ITracker;
5
+ locale?: string;
6
+ pageConfigs?: IPageConfigs;
7
+ }
8
+
9
+ export { InterfaceFeatures };
@@ -0,0 +1,3 @@
1
+ declare const RefundPolicy: (props: any) => JSX.Element;
2
+
3
+ export { RefundPolicy };
@@ -0,0 +1,9 @@
1
+ import lng from './locale/index.js';
2
+
3
+ interface InterfaceFeatures {
4
+ locale?: keyof typeof lng;
5
+ dataQaId?: string;
6
+ serviceName: string;
7
+ }
8
+
9
+ export { InterfaceFeatures };