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,5 @@
1
+ import { SelectProps } from './Select.types.js';
2
+
3
+ declare const Select: ({ wrapperClassName, dataQaId, id, value, placeholder, disabled, readOnly, error, type, onChange, options, firstOptionText, ...props }: SelectProps) => JSX.Element;
4
+
5
+ export { Select };
@@ -0,0 +1,31 @@
1
+ type SelectProps = React.SelectHTMLAttributes<HTMLSelectElement> & {
2
+ value: string;
3
+ label?: string;
4
+ onChange: React.ChangeEventHandler<HTMLSelectElement> | undefined;
5
+ type?: SelectType;
6
+ placeholder?: string;
7
+ error?: string;
8
+ dataQaId?: string;
9
+ disabled?: boolean;
10
+ readOnly?: boolean;
11
+ required?: boolean;
12
+ maxLength?: number;
13
+ minLength?: number;
14
+ wrapperClassName?: string;
15
+ options?: SelectOption[];
16
+ onBlur?: React.ChangeEventHandler<HTMLSelectElement> | undefined;
17
+ firstOptionText?: string;
18
+ };
19
+ interface SelectOption {
20
+ value: string;
21
+ label: string;
22
+ }
23
+ declare enum SelectType {
24
+ Country = "country"
25
+ }
26
+ declare enum InputSize {
27
+ Medium = "Medium",
28
+ Large = "Large"
29
+ }
30
+
31
+ export { InputSize, SelectOption, SelectProps, SelectType };
@@ -0,0 +1,5 @@
1
+ import { InterfaceFeatures } from './Showcase.types.js';
2
+
3
+ declare const Showcase: ({ locale, type, domain, className, dataQaId, tracker }: InterfaceFeatures) => JSX.Element;
4
+
5
+ export { Showcase };
@@ -0,0 +1,18 @@
1
+ import { ITracker } from '../custom-types.js';
2
+
3
+ type TypeItems = {
4
+ id?: number;
5
+ image?: string;
6
+ name?: string;
7
+ };
8
+ interface InterfaceFeatures {
9
+ locale: string;
10
+ type: 'astrology' | 'fitness' | 'football' | 'games' | 'iqbrain' | 'karaoke' | 'video' | 'xracademy';
11
+ items?: Array<TypeItems>;
12
+ domain?: string;
13
+ className?: string;
14
+ dataQaId?: string;
15
+ tracker?: ITracker;
16
+ }
17
+
18
+ export { InterfaceFeatures, TypeItems };
@@ -0,0 +1,5 @@
1
+ import { IStepsProps } from './Steps.types.js';
2
+
3
+ declare function Steps({ steps, activeStep, className, pageConfigs, title, subtitle, showActiveOnlyContent }: IStepsProps): JSX.Element | null;
4
+
5
+ export { Steps };
@@ -0,0 +1,20 @@
1
+ import { ICommonModel, IPageConfigs } from '../custom-types.js';
2
+
3
+ interface IStepsProps extends ICommonModel {
4
+ title?: string | React.ReactNode;
5
+ subtitle?: string | React.ReactNode;
6
+ activeStep: number;
7
+ className?: string;
8
+ showActiveOnlyContent?: boolean;
9
+ steps: IStep[];
10
+ pageConfigs?: IPageConfigs;
11
+ }
12
+ type IStep = {
13
+ title?: string | React.ReactNode;
14
+ subtitle?: string | React.ReactNode;
15
+ description?: string | React.ReactNode;
16
+ indicatorLabel?: string | React.ReactNode;
17
+ children?: React.ReactNode;
18
+ };
19
+
20
+ export { IStep, IStepsProps };
@@ -0,0 +1,5 @@
1
+ import { InterfaceFeatures } from './SubscriptionArea.types.js';
2
+
3
+ declare const SubscriptionArea: ({ productArea, legalArea, children, pageConfigs, formattedMessage, tracker }: InterfaceFeatures) => JSX.Element;
4
+
5
+ export { SubscriptionArea };
@@ -0,0 +1,10 @@
1
+ import React__default from 'react';
2
+ import { ICommonModel } from '../custom-types.js';
3
+
4
+ interface InterfaceFeatures extends ICommonModel {
5
+ productArea?: React__default.ReactNode;
6
+ legalArea?: React__default.ReactNode;
7
+ children?: React__default.ReactNode;
8
+ }
9
+
10
+ export { InterfaceFeatures };
@@ -0,0 +1,5 @@
1
+ import { SuspenseLoaderProps } from './SuspenseLoader.types.js';
2
+
3
+ declare const SuspenseLoader: ({ texts, images, progress, locale }: SuspenseLoaderProps) => JSX.Element;
4
+
5
+ export { SuspenseLoader };
@@ -0,0 +1,10 @@
1
+ interface SuspenseLoaderProps {
2
+ progress: number;
3
+ texts?: string[];
4
+ images?: string[];
5
+ className?: string;
6
+ locale?: string;
7
+ variant?: 'default' | 'circular' | 'minimal';
8
+ }
9
+
10
+ export { SuspenseLoaderProps };
@@ -0,0 +1,5 @@
1
+ import { InterfaceFeatures } from './Testimonials.types.js';
2
+
3
+ declare const Testimonials: ({ locale, dataQaId }: InterfaceFeatures) => JSX.Element;
4
+
5
+ export { Testimonials };
@@ -0,0 +1,6 @@
1
+ interface InterfaceFeatures {
2
+ locale: string;
3
+ dataQaId?: string;
4
+ }
5
+
6
+ export { InterfaceFeatures };
@@ -0,0 +1,5 @@
1
+ import { IThankYouProps } from './ThankYou.types.js';
2
+
3
+ declare const ThankYou: (props: IThankYouProps) => JSX.Element;
4
+
5
+ export { ThankYou };
@@ -0,0 +1,14 @@
1
+ import { ICommonModel } from '../custom-types.js';
2
+
3
+ interface IThankYouProps extends ICommonModel {
4
+ timeout?: number;
5
+ tracker: any;
6
+ locale?: string;
7
+ finalUrl: string;
8
+ thankYouMessage?: string;
9
+ subscriptionMessage?: string;
10
+ isAlreadySubscribed?: boolean;
11
+ chainRedirectUrl: string;
12
+ }
13
+
14
+ export { IThankYouProps };
@@ -0,0 +1,5 @@
1
+ import { TopLegalsProps } from './TopLegals.types.js';
2
+
3
+ declare const TopLegals: ({ locale, className, legals, flow, dataQaId }: TopLegalsProps) => JSX.Element;
4
+
5
+ export { TopLegals };
@@ -0,0 +1,9 @@
1
+ import { ICommonModel } from '../custom-types.js';
2
+ import { ILegals, ILegalFlows } from '../Disclaimers/Disclaimers.types.js';
3
+
4
+ interface TopLegalsProps extends ICommonModel {
5
+ legals: Array<ILegals>;
6
+ flow?: ILegalFlows;
7
+ }
8
+
9
+ export { TopLegalsProps };
@@ -0,0 +1,3 @@
1
+ declare const Unsubscription: (props: any) => JSX.Element;
2
+
3
+ export { Unsubscription };
@@ -0,0 +1,9 @@
1
+ interface InterfaceFeatures {
2
+ unsubscriptionText: string[];
3
+ unsubscriptionTitle: string;
4
+ dataQaId?: string;
5
+ locale: string;
6
+ Unsubscription: string;
7
+ }
8
+
9
+ export { InterfaceFeatures };
@@ -0,0 +1,2 @@
1
+ export { AcceptanceCheckbox } from '../../AcceptanceCheckbox/AcceptanceCheckbox.js';
2
+ export { AcceptanceCheckboxProps, ILocaleData } from '../../AcceptanceCheckbox/AcceptanceCheckbox.types.js';
@@ -0,0 +1,2 @@
1
+ export { Button } from '../../Button/Button.js';
2
+ export { interfaceButton } from '../../Button/Button.types.js';
@@ -0,0 +1,2 @@
1
+ export { ChainRedirect } from '../../ChainRedirect/ChainRedirect.js';
2
+ export { IChainRedirectProps } from '../../ChainRedirect/ChainRedirect.types.js';
@@ -0,0 +1,2 @@
1
+ export { ConsentAcceptanceCheck } from '../../ConsentAcceptanceCheck/ConsentAcceptanceCheck.js';
2
+ export { IModalConfirmationProps, ITermsAccpetanceCheckProps } from '../../ConsentAcceptanceCheck/ConsentAcceptanceCheck.types.js';
@@ -0,0 +1,2 @@
1
+ export { CookieConsent } from '../../CookieConsent/CookieConsent.js';
2
+ export { CookieConsentProps, ICookieConsent } from '../../CookieConsent/CookieConsent.types.js';
@@ -0,0 +1,2 @@
1
+ export { Disclaimers } from '../../Disclaimers/Disclaimers.js';
2
+ export { DisclaimersProps, ILegalFlows, ILegals } from '../../Disclaimers/Disclaimers.types.js';
@@ -0,0 +1,2 @@
1
+ export { DynamicLegals } from '../../DynamicLegals/DynamicLegals.js';
2
+ export { mapLegalsFooter, mapLegalsFreeTrial } from '../../DynamicLegals/DynamicLegals.utils.js';
@@ -0,0 +1,2 @@
1
+ export { DynamicPricePoint } from '../../DynamicPricePoint/DynamicPricePoint.js';
2
+ export { IDynamicPricePointProps, mapFormattedValues } from '../../DynamicPricePoint/DynamicPricePoint.types.js';
@@ -0,0 +1,2 @@
1
+ export { Email } from '../../Email/Email.js';
2
+ export { IEmailProps } from '../../Email/Email.types.js';
@@ -0,0 +1,2 @@
1
+ export { ExtraDisclaimers } from '../../ExtraDisclaimers/ExtraDisclaimers.js';
2
+ export { ExtraDisclaimersProps } from '../../ExtraDisclaimers/ExtraDisclaimers.types.js';
@@ -0,0 +1,2 @@
1
+ export { Features } from '../../Features/Features.js';
2
+ export { interfaceFeatures, typeItems } from '../../Features/Features.types.js';
@@ -0,0 +1,2 @@
1
+ export { Footer } from '../../Footer/Footer.js';
2
+ export { InterfaceFeatures } from '../../Footer/Footer.types.js';
@@ -0,0 +1,2 @@
1
+ export { Header } from '../../Header/Header.js';
2
+ export { InterfaceFeatures } from '../../Header/Header.types.js';
@@ -0,0 +1,2 @@
1
+ export { Input } from '../../Input/Input.js';
2
+ export { InputIconPosition, InputMaskTypes, InputProps, InputSize, InputType } from '../../Input/Input.types.js';
@@ -0,0 +1 @@
1
+ export { IntlProvider } from '../../Intl/Intl.js';
@@ -0,0 +1,2 @@
1
+ export { LanguageSwitcher } from '../../LanguageSwitcher/LanguageSwitcher.js';
2
+ export { interfaceLanguageSwitcher, typeLanguageSwitcherOptions } from '../../LanguageSwitcher/LanguageSwitcher.types.js';
@@ -0,0 +1,2 @@
1
+ export { Link } from '../../Link/Link.js';
2
+ export { interfaceLink } from '../../Link/Link.types.js';
@@ -0,0 +1,2 @@
1
+ export { Loader } from '../../Loader/Loader.js';
2
+ export { ILoaderProps } from '../../Loader/Loader.types.js';
@@ -0,0 +1 @@
1
+ export { LoadingPrelander } from '../../Prelanders/LoadingPrelander/LoadingPrelander.js';
@@ -0,0 +1,2 @@
1
+ export { LovePrelander } from '../../Prelanders/LovePrelander/LovePrelander.js';
2
+ export { interfaceFeatures } from '../../Prelanders/LovePrelander/LovePrelander.types.js';
@@ -0,0 +1,2 @@
1
+ export { MOForm } from '../../MOForm/MOForm.js';
2
+ export { IMOFormProps } from '../../MOForm/MOForm.types.js';
@@ -0,0 +1,2 @@
1
+ export { MOLink } from '../../MOLink/MOLink.js';
2
+ export { IKeywordShortcode, MOLinkProps } from '../../MOLink/MOLink.types.js';
@@ -0,0 +1,2 @@
1
+ export { Menu } from '../../Menu/Menu.js';
2
+ export { InterfaceFeatures } from '../../Menu/Menu.types.js';
@@ -0,0 +1,2 @@
1
+ export { PINEntry } from '../../PINEntry/PINEntry.js';
2
+ export { interfacePINEntry } from '../../PINEntry/PINEntry.types.js';
@@ -0,0 +1,2 @@
1
+ export { PageConfig } from '../../PageConfig/PageConfig.js';
2
+ export { IPageConfigProps } from '../../PageConfig/PageConfig.types.js';
@@ -0,0 +1,2 @@
1
+ export { PageContent } from '../../PageContent/PageContent.js';
2
+ export { InterfaceFeatures } from '../../PageContent/PageContent.types.js';
@@ -0,0 +1,2 @@
1
+ export { Persuasive } from '../../Persuasive/Persuasive.js';
2
+ export { InterfaceFeatures } from '../../Persuasive/Persuasive.types.js';
@@ -0,0 +1,2 @@
1
+ export { PhoneEntry } from '../../PhoneEntry/PhoneEntry.js';
2
+ export { interfacePhoneEntry } from '../../PhoneEntry/PhoneEntry.types.js';
@@ -0,0 +1,2 @@
1
+ export { PhoneEntryForm } from '../../PhoneEntryForm/PhoneEntryForm.js';
2
+ export { IPhoneEntryFormProps } from '../../PhoneEntryForm/PhoneEntryForm.types.js';
@@ -0,0 +1 @@
1
+ export { default as PhoneInput } from '../../PhoneInput/PhoneInput.js';
@@ -0,0 +1,2 @@
1
+ export { PinEntryForm } from '../../PinEntryForm/PinEntryForm.js';
2
+ export { IPinEntryFormProps } from '../../PinEntryForm/PinEntryForm.types.js';
@@ -0,0 +1,2 @@
1
+ export { Prelander } from '../../Prelanders/Prelander/Prelander.js';
2
+ export { interfaceFeatures } from '../../Prelanders/Prelander/Prelander.type.js';
@@ -0,0 +1,2 @@
1
+ export { PricePoint } from '../../PricePoint/PricePoint.js';
2
+ export { PricePointProps } from '../../PricePoint/PricePoint.types.js';
@@ -0,0 +1,2 @@
1
+ export { PricingPolicy } from '../../PricingPolicy/PricingPolicy.js';
2
+ export { InterfaceFeatures } from '../../PricingPolicy/PricingPolicy.types.js';
@@ -0,0 +1,2 @@
1
+ export { ProductArea } from '../../ProductArea/ProductArea.js';
2
+ export { IIProductArea } from '../../ProductArea/ProductArea.types.js';
@@ -0,0 +1,2 @@
1
+ export { RefundPolicy } from '../../RefundPolicy/RefundPolicy.js';
2
+ export { InterfaceFeatures } from '../../RefundPolicy/RefundPolicy.types.js';
@@ -0,0 +1,2 @@
1
+ export { RootWrapper } from '../../RootWrapper/RootWrapper.js';
2
+ export { IRootWrapperProps } from '../../RootWrapper/RootWrapper.types.js';
@@ -0,0 +1,2 @@
1
+ export { Select } from '../../Select/Select.js';
2
+ export { InputSize, SelectOption, SelectProps, SelectType } from '../../Select/Select.types.js';
@@ -0,0 +1,2 @@
1
+ export { Showcase } from '../../Showcase/Showcase.js';
2
+ export { InterfaceFeatures, TypeItems } from '../../Showcase/Showcase.types.js';
@@ -0,0 +1,2 @@
1
+ export { Steps } from '../../Steps/Steps.js';
2
+ export { IStep, IStepsProps } from '../../Steps/Steps.types.js';
@@ -0,0 +1,2 @@
1
+ export { SubscriptionArea } from '../../SubscriptionArea/SubscriptionArea.js';
2
+ export { InterfaceFeatures } from '../../SubscriptionArea/SubscriptionArea.types.js';
@@ -0,0 +1,2 @@
1
+ export { SuspenseLoader } from '../../SuspenseLoader/SuspenseLoader.js';
2
+ export { SuspenseLoaderProps } from '../../SuspenseLoader/SuspenseLoader.types.js';
@@ -0,0 +1,2 @@
1
+ export { Testimonials } from '../../Testimonials/Testimonials.js';
2
+ export { InterfaceFeatures } from '../../Testimonials/Testimonials.types.js';
@@ -0,0 +1,2 @@
1
+ export { ThankYou } from '../../ThankYou/ThankYou.js';
2
+ export { IThankYouProps } from '../../ThankYou/ThankYou.types.js';
@@ -0,0 +1,2 @@
1
+ export { TopLegals } from '../../TopLegals/TopLegals.js';
2
+ export { TopLegalsProps } from '../../TopLegals/TopLegals.types.js';
@@ -0,0 +1 @@
1
+ export { Translate } from '../../Intl/Intl.js';
@@ -0,0 +1,2 @@
1
+ export { Unsubscription } from '../../Unsubscription/Unsubscription.js';
2
+ export { InterfaceFeatures } from '../../Unsubscription/Unsubscription.types.js';
@@ -0,0 +1,136 @@
1
+ import { ILegals } from './Disclaimers/Disclaimers.types.js';
2
+
3
+ declare type IOptInFlowName = 'Block' | 'Click to sms' | 'Hybrid Pin' | 'Msisdn to sms' | 'Not available' | 'Pin' | 'Redirect' | 'To be determined' | 'USSD' | '3G click';
4
+ declare type ITracker = {
5
+ advancedInFlow: (flow: string, action: string, args?: any) => void;
6
+ advancedInPreFlow: (label: string, args?: any) => void;
7
+ recedeInFlow: (flow: string, newState: string, args?: any) => void;
8
+ customEvent: (category: string, action: string, label: string, arg?: any) => void;
9
+ sendOptInFlowEvent: (optInFlowName: IOptInFlowName) => void;
10
+ };
11
+ interface IMCCInformation {
12
+ id: number;
13
+ mcc: string;
14
+ registration_number: string;
15
+ mcc_email: string;
16
+ mcc_phone_number: string;
17
+ address: string;
18
+ ceo: string;
19
+ date_created: string;
20
+ }
21
+ interface IPageConfigs {
22
+ serviceName?: string;
23
+ strategy?: string;
24
+ isShowLogo?: boolean;
25
+ pageType?: 'email' | 'subscription' | 'compliant';
26
+ isShowPersuasiveArea?: boolean;
27
+ isShowProductArea?: boolean;
28
+ productAreaImg?: {
29
+ url: string;
30
+ };
31
+ persuasiveImg?: {
32
+ url: string;
33
+ };
34
+ logo?: {
35
+ url: string;
36
+ width?: number | string;
37
+ height?: number | string;
38
+ captionText?: string;
39
+ };
40
+ productAreaStep?: {
41
+ active: number;
42
+ headline: React.ReactNode | string;
43
+ steps: {
44
+ text: React.ReactNode | string;
45
+ }[];
46
+ };
47
+ pin?: {
48
+ shortCodes?: string[];
49
+ shortCodeInstructionUrl?: string;
50
+ blockedPin?: string[];
51
+ };
52
+ pricePoint?: {
53
+ block?: boolean;
54
+ };
55
+ isNewLegal?: boolean;
56
+ isEmail?: boolean;
57
+ hasProductAreaStep?: boolean;
58
+ legalVariables?: ILegalVariables;
59
+ mccInformation?: IMCCInformation;
60
+ customerCareEmail?: string;
61
+ isShowShowCase?: boolean;
62
+ contentCategory?: string | any;
63
+ isShowPricingTable?: boolean;
64
+ isShowFeatures?: boolean;
65
+ isShowWhyChooseUs?: boolean;
66
+ isShowTestimonials?: boolean;
67
+ isShowRefundPolicy?: boolean;
68
+ isShowUnsubscription?: boolean;
69
+ isShowConsentCheckBox?: boolean;
70
+ isConsentCheckByDefault?: boolean;
71
+ isShowConsentCheckModal?: boolean;
72
+ isCheckConsentCheckBoxOnValid?: boolean;
73
+ isShowTermsAcceptance?: boolean;
74
+ isShowPaymentAcceptance?: boolean;
75
+ isShowAboutUs?: boolean;
76
+ isShowConsentCookie?: boolean;
77
+ isShowLanguageSwitcher?: boolean;
78
+ isDisableButtonIfInvalid?: boolean;
79
+ isCheckWrongPinReEntry?: boolean;
80
+ isShowDynamicPricePoint?: boolean;
81
+ isShowMenu?: boolean;
82
+ isLoadingProductArea?: boolean;
83
+ forceLocale?: string;
84
+ cssTheme?: string;
85
+ hasTooltip?: boolean;
86
+ hasPersuasiveArea?: boolean;
87
+ hasProductArea?: boolean;
88
+ isSubscriptionAreaCentered?: boolean;
89
+ persuasiveAreaOrder?: string;
90
+ hasSubscriptionBox?: boolean;
91
+ hasCountryCode?: boolean;
92
+ hasCountryFlag?: boolean;
93
+ hasContent?: boolean;
94
+ hasLegalsBottom?: boolean;
95
+ hasMoButton?: boolean;
96
+ stepsType?: string;
97
+ focusedType?: string;
98
+ focusedDelay?: number;
99
+ inputFocusAnimation?: string;
100
+ isShowGoToPortalButton?: boolean;
101
+ showPageConfig?: boolean;
102
+ }
103
+ interface ICommonModel {
104
+ pageConfigs?: IPageConfigs;
105
+ tracker?: ITracker;
106
+ locale?: string;
107
+ legals?: ILegals[];
108
+ className?: string;
109
+ dataQaId?: string;
110
+ rds?: any;
111
+ formattedMessage?: (props: {
112
+ id: string;
113
+ defaultMessage?: string;
114
+ values?: Record<string, any>;
115
+ }) => JSX.Element | null;
116
+ }
117
+ interface ILegalVariables {
118
+ country: string;
119
+ service: string;
120
+ currency: string;
121
+ vat?: number | null;
122
+ check_subscription: boolean;
123
+ operators: IOperatorLegal[];
124
+ language?: string;
125
+ }
126
+ interface IOperatorLegal {
127
+ name: string;
128
+ amount: number;
129
+ currency: string;
130
+ frequency: 'daily' | 'weekly' | 'monthly';
131
+ keywordOptOut: string;
132
+ shortcodeOptOut: string;
133
+ freeTrialDays?: number | null;
134
+ }
135
+
136
+ export { ICommonModel, ILegalVariables, IMCCInformation, IOperatorLegal, IOptInFlowName, IPageConfigs, ITracker };
@@ -0,0 +1 @@
1
+ export { defineMessages } from '../../Intl/Intl.js';
@@ -0,0 +1 @@
1
+ export { formatSMSLink } from '../../MOLink/MOLink.js';
@@ -0,0 +1 @@
1
+ export { injectIntl } from '../../Intl/Intl.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ouisys-component-library",
3
- "version": "3.1.77",
3
+ "version": "3.1.78",
4
4
  "description": "Ouisys Components",
5
5
  "main": "dist/index.js",
6
6
  "directories": "dist dev-tools",