@osano/osano-cmp-react-native 0.13.0 → 0.14.0

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 (795) hide show
  1. package/README.dev.md +12 -0
  2. package/android/src/main/java/com/OsanoCMPSDK/OsanoCMPSDKModule.kt +14 -2
  3. package/ios/OsanoCmpSDK.mm +44 -1
  4. package/lib/commonjs/ConsentManager.js +99 -59
  5. package/lib/commonjs/ConsentManager.js.map +1 -1
  6. package/lib/commonjs/ConsentUiBuilder.js +8 -5
  7. package/lib/commonjs/ConsentUiBuilder.js.map +1 -1
  8. package/lib/commonjs/NativeOsanoCmpSdk.js +56 -0
  9. package/lib/commonjs/NativeOsanoCmpSdk.js.map +1 -0
  10. package/lib/commonjs/components/Button.js +141 -117
  11. package/lib/commonjs/components/Button.js.map +1 -1
  12. package/lib/commonjs/components/Checkbox.js +14 -11
  13. package/lib/commonjs/components/Checkbox.js.map +1 -1
  14. package/lib/commonjs/components/Divider.js +2 -1
  15. package/lib/commonjs/components/Divider.js.map +1 -1
  16. package/lib/commonjs/components/ExpansionPanel.js +18 -13
  17. package/lib/commonjs/components/ExpansionPanel.js.map +1 -1
  18. package/lib/commonjs/components/Link.js +6 -4
  19. package/lib/commonjs/components/Link.js.map +1 -1
  20. package/lib/commonjs/components/List.js +13 -9
  21. package/lib/commonjs/components/List.js.map +1 -1
  22. package/lib/commonjs/components/Locale.js +8 -3
  23. package/lib/commonjs/components/Locale.js.map +1 -1
  24. package/lib/commonjs/components/StoragePolicyLink.js +5 -3
  25. package/lib/commonjs/components/StoragePolicyLink.js.map +1 -1
  26. package/lib/commonjs/components/Toggle.js +20 -18
  27. package/lib/commonjs/components/Toggle.js.map +1 -1
  28. package/lib/commonjs/iab/tcf/middleware.js +20 -43
  29. package/lib/commonjs/iab/tcf/middleware.js.map +1 -1
  30. package/lib/commonjs/iab/tcf/reducer.js +1 -12
  31. package/lib/commonjs/iab/tcf/reducer.js.map +1 -1
  32. package/lib/commonjs/index.js +12 -10
  33. package/lib/commonjs/index.js.map +1 -1
  34. package/lib/commonjs/native/OsanoCmp.js +8 -6
  35. package/lib/commonjs/native/OsanoCmp.js.map +1 -1
  36. package/lib/commonjs/package.json +1 -0
  37. package/lib/commonjs/services/consent.js +18 -42
  38. package/lib/commonjs/services/consent.js.map +1 -1
  39. package/lib/commonjs/utils/Translator.js.map +1 -1
  40. package/lib/commonjs/views/Dialog/Buttons.js +51 -37
  41. package/lib/commonjs/views/Dialog/Buttons.js.map +1 -1
  42. package/lib/commonjs/views/Dialog/FirstLayerUsage.js +12 -8
  43. package/lib/commonjs/views/Dialog/FirstLayerUsage.js.map +1 -1
  44. package/lib/commonjs/views/Dialog/Message.js +2 -1
  45. package/lib/commonjs/views/Dialog/Message.js.map +1 -1
  46. package/lib/commonjs/views/Dialog/PreferenceManagementDeepLinks.js +20 -15
  47. package/lib/commonjs/views/Dialog/PreferenceManagementDeepLinks.js.map +1 -1
  48. package/lib/commonjs/views/Dialog/index.js +122 -127
  49. package/lib/commonjs/views/Dialog/index.js.map +1 -1
  50. package/lib/commonjs/views/Drawer/Drawer.ConsentCategories.js +260 -209
  51. package/lib/commonjs/views/Drawer/Drawer.ConsentCategories.js.map +1 -1
  52. package/lib/commonjs/views/Drawer/Drawer.Header.js +48 -41
  53. package/lib/commonjs/views/Drawer/Drawer.Header.js.map +1 -1
  54. package/lib/commonjs/views/Drawer/Drawer.Iab.Disclosures.js +97 -78
  55. package/lib/commonjs/views/Drawer/Drawer.Iab.Disclosures.js.map +1 -1
  56. package/lib/commonjs/views/Drawer/Drawer.Iab.Vendors.js +225 -191
  57. package/lib/commonjs/views/Drawer/Drawer.Iab.Vendors.js.map +1 -1
  58. package/lib/commonjs/views/Drawer/index.js +77 -58
  59. package/lib/commonjs/views/Drawer/index.js.map +1 -1
  60. package/lib/module/ConsentManager.js +101 -59
  61. package/lib/module/ConsentManager.js.map +1 -1
  62. package/lib/module/ConsentUiBuilder.js +10 -5
  63. package/lib/module/ConsentUiBuilder.js.map +1 -1
  64. package/lib/module/NativeOsanoCmpSdk.js +52 -0
  65. package/lib/module/NativeOsanoCmpSdk.js.map +1 -0
  66. package/lib/module/actions.js +2 -0
  67. package/lib/module/actions.js.map +1 -1
  68. package/lib/module/commands.js +2 -0
  69. package/lib/module/commands.js.map +1 -1
  70. package/lib/module/components/Button.js +137 -110
  71. package/lib/module/components/Button.js.map +1 -1
  72. package/lib/module/components/Checkbox.js +16 -11
  73. package/lib/module/components/Checkbox.js.map +1 -1
  74. package/lib/module/components/Divider.js +4 -1
  75. package/lib/module/components/Divider.js.map +1 -1
  76. package/lib/module/components/ExpansionPanel.js +20 -13
  77. package/lib/module/components/ExpansionPanel.js.map +1 -1
  78. package/lib/module/components/Link.js +8 -4
  79. package/lib/module/components/Link.js.map +1 -1
  80. package/lib/module/components/List.js +15 -9
  81. package/lib/module/components/List.js.map +1 -1
  82. package/lib/module/components/Locale.js +9 -3
  83. package/lib/module/components/Locale.js.map +1 -1
  84. package/lib/module/components/StoragePolicyLink.js +7 -3
  85. package/lib/module/components/StoragePolicyLink.js.map +1 -1
  86. package/lib/module/components/Toggle.js +22 -18
  87. package/lib/module/components/Toggle.js.map +1 -1
  88. package/lib/module/constants.js +2 -0
  89. package/lib/module/constants.js.map +1 -1
  90. package/lib/module/context.js +2 -0
  91. package/lib/module/context.js.map +1 -1
  92. package/lib/module/flavors/index.js +2 -0
  93. package/lib/module/flavors/index.js.map +1 -1
  94. package/lib/module/hooks/useBoundCallback.js +2 -0
  95. package/lib/module/hooks/useBoundCallback.js.map +1 -1
  96. package/lib/module/hooks/useDeviceOrientation.js +2 -0
  97. package/lib/module/hooks/useDeviceOrientation.js.map +1 -1
  98. package/lib/module/hooks/usePrevious.js +2 -0
  99. package/lib/module/hooks/usePrevious.js.map +1 -1
  100. package/lib/module/hooks/useThunkReducer.js +2 -0
  101. package/lib/module/hooks/useThunkReducer.js.map +1 -1
  102. package/lib/module/iab/actions.js +2 -0
  103. package/lib/module/iab/actions.js.map +1 -1
  104. package/lib/module/iab/constants.js +2 -0
  105. package/lib/module/iab/constants.js.map +1 -1
  106. package/lib/module/iab/gpp/api.js +2 -0
  107. package/lib/module/iab/gpp/api.js.map +1 -1
  108. package/lib/module/iab/gpp/consent.js +2 -0
  109. package/lib/module/iab/gpp/consent.js.map +1 -1
  110. package/lib/module/iab/gpp/constants.js +2 -0
  111. package/lib/module/iab/gpp/constants.js.map +1 -1
  112. package/lib/module/iab/gpp/encoders/AbstractBase64UrlEncoder.js +2 -0
  113. package/lib/module/iab/gpp/encoders/AbstractBase64UrlEncoder.js.map +1 -1
  114. package/lib/module/iab/gpp/encoders/BooleanEncoder.js +2 -0
  115. package/lib/module/iab/gpp/encoders/BooleanEncoder.js.map +1 -1
  116. package/lib/module/iab/gpp/encoders/CompressedBase64UrlEncoder.js +2 -0
  117. package/lib/module/iab/gpp/encoders/CompressedBase64UrlEncoder.js.map +1 -1
  118. package/lib/module/iab/gpp/encoders/DatetimeEncoder.js +2 -0
  119. package/lib/module/iab/gpp/encoders/DatetimeEncoder.js.map +1 -1
  120. package/lib/module/iab/gpp/encoders/EncodableOptimizedFixedRange.js +2 -0
  121. package/lib/module/iab/gpp/encoders/EncodableOptimizedFixedRange.js.map +1 -1
  122. package/lib/module/iab/gpp/encoders/FibonacciIntegerEncoder.js +2 -0
  123. package/lib/module/iab/gpp/encoders/FibonacciIntegerEncoder.js.map +1 -1
  124. package/lib/module/iab/gpp/encoders/FibonacciIntegerRangeEncoder.js +2 -0
  125. package/lib/module/iab/gpp/encoders/FibonacciIntegerRangeEncoder.js.map +1 -1
  126. package/lib/module/iab/gpp/encoders/FixedBitfieldEncoder.js +2 -0
  127. package/lib/module/iab/gpp/encoders/FixedBitfieldEncoder.js.map +1 -1
  128. package/lib/module/iab/gpp/encoders/FixedIdBitMapEncoder.js +2 -0
  129. package/lib/module/iab/gpp/encoders/FixedIdBitMapEncoder.js.map +1 -1
  130. package/lib/module/iab/gpp/encoders/FixedIntegerEncoder.js +2 -0
  131. package/lib/module/iab/gpp/encoders/FixedIntegerEncoder.js.map +1 -1
  132. package/lib/module/iab/gpp/encoders/FixedIntegerListEncoder.js +2 -0
  133. package/lib/module/iab/gpp/encoders/FixedIntegerListEncoder.js.map +1 -1
  134. package/lib/module/iab/gpp/encoders/FixedIntegerRangeEncoder.js +2 -0
  135. package/lib/module/iab/gpp/encoders/FixedIntegerRangeEncoder.js.map +1 -1
  136. package/lib/module/iab/gpp/encoders/FixedStringEncoder.js +2 -0
  137. package/lib/module/iab/gpp/encoders/FixedStringEncoder.js.map +1 -1
  138. package/lib/module/iab/gpp/encoders/TraditionalBase64UrlEncoder.js +2 -0
  139. package/lib/module/iab/gpp/encoders/TraditionalBase64UrlEncoder.js.map +1 -1
  140. package/lib/module/iab/gpp/encoders/errors.js +2 -0
  141. package/lib/module/iab/gpp/encoders/errors.js.map +1 -1
  142. package/lib/module/iab/gpp/encoders/index.js +2 -0
  143. package/lib/module/iab/gpp/encoders/index.js.map +1 -1
  144. package/lib/module/iab/gpp/encoders/types.js +1 -1
  145. package/lib/module/iab/gpp/index.js +2 -0
  146. package/lib/module/iab/gpp/index.js.map +1 -1
  147. package/lib/module/iab/gpp/reducer.js +2 -0
  148. package/lib/module/iab/gpp/reducer.js.map +1 -1
  149. package/lib/module/iab/gpp/selectors.js +2 -0
  150. package/lib/module/iab/gpp/selectors.js.map +1 -1
  151. package/lib/module/iab/gpp/types.js +1 -1
  152. package/lib/module/iab/gpp/v1/constants.js +2 -0
  153. package/lib/module/iab/gpp/v1/constants.js.map +1 -1
  154. package/lib/module/iab/gpp/v1/index.js +2 -0
  155. package/lib/module/iab/gpp/v1/index.js.map +1 -1
  156. package/lib/module/iab/index.js +2 -0
  157. package/lib/module/iab/index.js.map +1 -1
  158. package/lib/module/iab/reducer.js +2 -0
  159. package/lib/module/iab/reducer.js.map +1 -1
  160. package/lib/module/iab/tcf/actions.js +2 -0
  161. package/lib/module/iab/tcf/actions.js.map +1 -1
  162. package/lib/module/iab/tcf/consent.js +2 -0
  163. package/lib/module/iab/tcf/consent.js.map +1 -1
  164. package/lib/module/iab/tcf/constants.js +2 -0
  165. package/lib/module/iab/tcf/constants.js.map +1 -1
  166. package/lib/module/iab/tcf/helpers.js +2 -0
  167. package/lib/module/iab/tcf/helpers.js.map +1 -1
  168. package/lib/module/iab/tcf/iab-storage-utils.js +2 -0
  169. package/lib/module/iab/tcf/iab-storage-utils.js.map +1 -1
  170. package/lib/module/iab/tcf/index.js +2 -0
  171. package/lib/module/iab/tcf/index.js.map +1 -1
  172. package/lib/module/iab/tcf/middleware.js +13 -34
  173. package/lib/module/iab/tcf/middleware.js.map +1 -1
  174. package/lib/module/iab/tcf/reducer.js +3 -12
  175. package/lib/module/iab/tcf/reducer.js.map +1 -1
  176. package/lib/module/iab/tcf/selectors.js +2 -0
  177. package/lib/module/iab/tcf/selectors.js.map +1 -1
  178. package/lib/module/iab/tcf/types.js +2 -0
  179. package/lib/module/iab/tcf/v2.0/encoders.js +2 -0
  180. package/lib/module/iab/tcf/v2.0/encoders.js.map +1 -1
  181. package/lib/module/iab/tcf/v2.0/formatters.js +2 -0
  182. package/lib/module/iab/tcf/v2.0/formatters.js.map +1 -1
  183. package/lib/module/iab/tcf/v2.0/index.js +2 -0
  184. package/lib/module/iab/tcf/v2.0/index.js.map +1 -1
  185. package/lib/module/iab/tcf/v2.0/shared-constants.js +2 -0
  186. package/lib/module/iab/tcf/v2.0/shared-constants.js.map +1 -1
  187. package/lib/module/iab/tcf/v2.0/tcfcav1-constants.js +2 -0
  188. package/lib/module/iab/tcf/v2.0/tcfcav1-constants.js.map +1 -1
  189. package/lib/module/iab/tcf/v2.0/tcfeuv2-constants.js +2 -0
  190. package/lib/module/iab/tcf/v2.0/tcfeuv2-constants.js.map +1 -1
  191. package/lib/module/iab/types.js +2 -0
  192. package/lib/module/iab/usp/api.js +2 -0
  193. package/lib/module/iab/usp/api.js.map +1 -1
  194. package/lib/module/iab/usp/consent.js +2 -0
  195. package/lib/module/iab/usp/consent.js.map +1 -1
  196. package/lib/module/iab/usp/constants.js +2 -0
  197. package/lib/module/iab/usp/constants.js.map +1 -1
  198. package/lib/module/iab/usp/index.js +2 -0
  199. package/lib/module/iab/usp/index.js.map +1 -1
  200. package/lib/module/iab/usp/reducer.js +2 -0
  201. package/lib/module/iab/usp/reducer.js.map +1 -1
  202. package/lib/module/iab/usp/selectors.js +2 -0
  203. package/lib/module/iab/usp/selectors.js.map +1 -1
  204. package/lib/module/iab/usp/types.js +1 -1
  205. package/lib/module/iab/usp/v1/constants.js +2 -0
  206. package/lib/module/iab/usp/v1/constants.js.map +1 -1
  207. package/lib/module/iab/usp/v1/index.js +2 -0
  208. package/lib/module/iab/usp/v1/index.js.map +1 -1
  209. package/lib/module/iab/utilities.js +2 -0
  210. package/lib/module/iab/utilities.js.map +1 -1
  211. package/lib/module/index.js +14 -10
  212. package/lib/module/index.js.map +1 -1
  213. package/lib/module/locale/index.js +2 -0
  214. package/lib/module/locale/index.js.map +1 -1
  215. package/lib/module/native/OsanoCmp.js +9 -6
  216. package/lib/module/native/OsanoCmp.js.map +1 -1
  217. package/lib/module/reducer.js +2 -0
  218. package/lib/module/reducer.js.map +1 -1
  219. package/lib/module/selectors.js +2 -0
  220. package/lib/module/selectors.js.map +1 -1
  221. package/lib/module/services/consent.js +20 -42
  222. package/lib/module/services/consent.js.map +1 -1
  223. package/lib/module/services/disclosures.js +2 -0
  224. package/lib/module/services/disclosures.js.map +1 -1
  225. package/lib/module/services/google-consent-mode-mapper.js +2 -0
  226. package/lib/module/services/google-consent-mode-mapper.js.map +1 -1
  227. package/lib/module/services/locale.js +2 -0
  228. package/lib/module/services/locale.js.map +1 -1
  229. package/lib/module/styles.js +2 -0
  230. package/lib/module/styles.js.map +1 -1
  231. package/lib/module/types/consent-config.d.js +2 -0
  232. package/lib/module/types/env.d.js +1 -1
  233. package/lib/module/types/google-consent-mode.js +2 -0
  234. package/lib/module/types/google-consent-mode.js.map +1 -1
  235. package/lib/module/types/index.d.js +2 -0
  236. package/lib/module/types/store.d.js +2 -0
  237. package/lib/module/utils/API.js +2 -0
  238. package/lib/module/utils/API.js.map +1 -1
  239. package/lib/module/utils/Color.js +2 -0
  240. package/lib/module/utils/Color.js.map +1 -1
  241. package/lib/module/utils/EventEmitter.js +2 -0
  242. package/lib/module/utils/EventEmitter.js.map +1 -1
  243. package/lib/module/utils/OsanoLogger.js +2 -0
  244. package/lib/module/utils/OsanoLogger.js.map +1 -1
  245. package/lib/module/utils/Translator.js +2 -0
  246. package/lib/module/utils/Translator.js.map +1 -1
  247. package/lib/module/utils/index.js +2 -0
  248. package/lib/module/utils/index.js.map +1 -1
  249. package/lib/module/utils/types.js +1 -1
  250. package/lib/module/views/Dialog/Buttons.js +54 -38
  251. package/lib/module/views/Dialog/Buttons.js.map +1 -1
  252. package/lib/module/views/Dialog/FirstLayerUsage.js +14 -8
  253. package/lib/module/views/Dialog/FirstLayerUsage.js.map +1 -1
  254. package/lib/module/views/Dialog/Message.js +4 -1
  255. package/lib/module/views/Dialog/Message.js.map +1 -1
  256. package/lib/module/views/Dialog/PreferenceManagementDeepLinks.js +22 -15
  257. package/lib/module/views/Dialog/PreferenceManagementDeepLinks.js.map +1 -1
  258. package/lib/module/views/Dialog/index.js +125 -128
  259. package/lib/module/views/Dialog/index.js.map +1 -1
  260. package/lib/module/views/Drawer/Drawer.ConsentCategories.js +260 -208
  261. package/lib/module/views/Drawer/Drawer.ConsentCategories.js.map +1 -1
  262. package/lib/module/views/Drawer/Drawer.Header.js +50 -41
  263. package/lib/module/views/Drawer/Drawer.Header.js.map +1 -1
  264. package/lib/module/views/Drawer/Drawer.Iab.Disclosures.js +99 -78
  265. package/lib/module/views/Drawer/Drawer.Iab.Disclosures.js.map +1 -1
  266. package/lib/module/views/Drawer/Drawer.Iab.Vendors.js +227 -191
  267. package/lib/module/views/Drawer/Drawer.Iab.Vendors.js.map +1 -1
  268. package/lib/module/views/Drawer/index.js +80 -60
  269. package/lib/module/views/Drawer/index.js.map +1 -1
  270. package/lib/typescript/src/ConsentManager.d.ts +3 -3
  271. package/lib/typescript/src/ConsentManager.d.ts.map +1 -1
  272. package/lib/typescript/src/NativeOsanoCmpSdk.d.ts +14 -0
  273. package/lib/typescript/src/NativeOsanoCmpSdk.d.ts.map +1 -0
  274. package/lib/typescript/src/commands.d.ts.map +1 -1
  275. package/lib/typescript/src/components/Button.d.ts +7 -7
  276. package/lib/typescript/src/components/Button.d.ts.map +1 -1
  277. package/lib/typescript/src/components/Divider.d.ts.map +1 -1
  278. package/lib/typescript/src/components/ExpansionPanel.d.ts.map +1 -1
  279. package/lib/typescript/src/components/Link.d.ts.map +1 -1
  280. package/lib/typescript/src/components/Locale.d.ts +2 -1
  281. package/lib/typescript/src/components/Locale.d.ts.map +1 -1
  282. package/lib/typescript/src/components/StoragePolicyLink.d.ts.map +1 -1
  283. package/lib/typescript/src/components/Toggle.d.ts.map +1 -1
  284. package/lib/typescript/src/iab/actions.d.ts.map +1 -1
  285. package/lib/typescript/src/iab/gpp/api.d.ts.map +1 -1
  286. package/lib/typescript/src/iab/gpp/consent.d.ts.map +1 -1
  287. package/lib/typescript/src/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts.map +1 -1
  288. package/lib/typescript/src/iab/gpp/encoders/BooleanEncoder.d.ts +2 -2
  289. package/lib/typescript/src/iab/gpp/encoders/BooleanEncoder.d.ts.map +1 -1
  290. package/lib/typescript/src/iab/gpp/encoders/DatetimeEncoder.d.ts.map +1 -1
  291. package/lib/typescript/src/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts.map +1 -1
  292. package/lib/typescript/src/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts.map +1 -1
  293. package/lib/typescript/src/iab/gpp/encoders/FixedBitfieldEncoder.d.ts.map +1 -1
  294. package/lib/typescript/src/iab/gpp/encoders/FixedIntegerEncoder.d.ts.map +1 -1
  295. package/lib/typescript/src/iab/gpp/encoders/FixedIntegerListEncoder.d.ts.map +1 -1
  296. package/lib/typescript/src/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts.map +1 -1
  297. package/lib/typescript/src/iab/gpp/encoders/FixedStringEncoder.d.ts.map +1 -1
  298. package/lib/typescript/src/iab/gpp/v1/constants.d.ts.map +1 -1
  299. package/lib/typescript/src/iab/gpp/v1/index.d.ts +3 -1
  300. package/lib/typescript/src/iab/gpp/v1/index.d.ts.map +1 -1
  301. package/lib/typescript/src/iab/index.d.ts.map +1 -1
  302. package/lib/typescript/src/iab/tcf/actions.d.ts.map +1 -1
  303. package/lib/typescript/src/iab/tcf/consent.d.ts.map +1 -1
  304. package/lib/typescript/src/iab/tcf/constants.d.ts.map +1 -1
  305. package/lib/typescript/src/iab/tcf/helpers.d.ts.map +1 -1
  306. package/lib/typescript/src/iab/tcf/iab-storage-utils.d.ts.map +1 -1
  307. package/lib/typescript/src/iab/tcf/middleware.d.ts.map +1 -1
  308. package/lib/typescript/src/iab/tcf/reducer.d.ts.map +1 -1
  309. package/lib/typescript/src/iab/tcf/selectors.d.ts.map +1 -1
  310. package/lib/typescript/src/iab/tcf/v2.0/formatters.d.ts.map +1 -1
  311. package/lib/typescript/src/iab/tcf/v2.0/shared-constants.d.ts.map +1 -1
  312. package/lib/typescript/src/iab/tcf/v2.0/tcfcav1-constants.d.ts.map +1 -1
  313. package/lib/typescript/src/iab/tcf/v2.0/tcfeuv2-constants.d.ts.map +1 -1
  314. package/lib/typescript/src/iab/usp/api.d.ts +1 -1
  315. package/lib/typescript/src/iab/usp/api.d.ts.map +1 -1
  316. package/lib/typescript/src/iab/usp/consent.d.ts.map +1 -1
  317. package/lib/typescript/src/iab/usp/constants.d.ts +1 -1
  318. package/lib/typescript/src/iab/usp/selectors.d.ts +4 -1
  319. package/lib/typescript/src/iab/usp/selectors.d.ts.map +1 -1
  320. package/lib/typescript/src/iab/usp/v1/constants.d.ts.map +1 -1
  321. package/lib/typescript/src/iab/usp/v1/index.d.ts +1 -1
  322. package/lib/typescript/src/iab/usp/v1/index.d.ts.map +1 -1
  323. package/lib/typescript/src/iab/utilities.d.ts.map +1 -1
  324. package/lib/typescript/src/native/OsanoCmp.d.ts.map +1 -1
  325. package/lib/typescript/src/reducer.d.ts.map +1 -1
  326. package/lib/typescript/src/selectors.d.ts.map +1 -1
  327. package/lib/typescript/src/services/consent.d.ts +1 -1
  328. package/lib/typescript/src/services/consent.d.ts.map +1 -1
  329. package/lib/typescript/src/styles.d.ts.map +1 -1
  330. package/lib/typescript/src/utils/Color.d.ts.map +1 -1
  331. package/lib/typescript/src/utils/Translator.d.ts +1 -1
  332. package/lib/typescript/src/utils/Translator.d.ts.map +1 -1
  333. package/lib/typescript/src/views/Dialog/Buttons.d.ts +4 -2
  334. package/lib/typescript/src/views/Dialog/Buttons.d.ts.map +1 -1
  335. package/lib/typescript/src/views/Dialog/index.d.ts +1 -1
  336. package/lib/typescript/src/views/Dialog/index.d.ts.map +1 -1
  337. package/lib/typescript/src/views/Drawer/Drawer.ConsentCategories.d.ts.map +1 -1
  338. package/lib/typescript/src/views/Drawer/Drawer.Header.d.ts +1 -1
  339. package/lib/typescript/src/views/Drawer/Drawer.Header.d.ts.map +1 -1
  340. package/lib/typescript/src/views/Drawer/Drawer.Iab.Vendors.d.ts.map +1 -1
  341. package/lib/typescript/src/views/Drawer/index.d.ts.map +1 -1
  342. package/package.json +13 -6
  343. package/src/ConsentManager.ts +119 -67
  344. package/src/NativeOsanoCmpSdk.ts +64 -0
  345. package/src/components/Button.tsx +122 -88
  346. package/src/components/Locale.tsx +27 -27
  347. package/src/constants.ts +1 -1
  348. package/src/iab/tcf/middleware.ts +18 -43
  349. package/src/iab/tcf/reducer.ts +4 -17
  350. package/src/native/OsanoCmp.ts +7 -11
  351. package/src/services/consent.ts +34 -52
  352. package/src/types/index.d.ts +2 -2
  353. package/src/utils/Translator.ts +1 -1
  354. package/src/views/Dialog/Buttons.tsx +33 -23
  355. package/src/views/Dialog/index.tsx +66 -83
  356. package/src/views/Drawer/Drawer.ConsentCategories.tsx +25 -25
  357. package/src/views/Drawer/Drawer.Header.tsx +6 -6
  358. package/src/views/Drawer/Drawer.Iab.Vendors.tsx +10 -18
  359. package/src/views/Drawer/index.tsx +83 -64
  360. package/lib/typescript/lib/commonjs/ConsentManager.d.ts +0 -209
  361. package/lib/typescript/lib/commonjs/ConsentManager.d.ts.map +0 -1
  362. package/lib/typescript/lib/commonjs/ConsentUiBuilder.d.ts +0 -3
  363. package/lib/typescript/lib/commonjs/ConsentUiBuilder.d.ts.map +0 -1
  364. package/lib/typescript/lib/commonjs/actions.d.ts +0 -66
  365. package/lib/typescript/lib/commonjs/actions.d.ts.map +0 -1
  366. package/lib/typescript/lib/commonjs/commands.d.ts +0 -4
  367. package/lib/typescript/lib/commonjs/commands.d.ts.map +0 -1
  368. package/lib/typescript/lib/commonjs/components/Button.d.ts +0 -11
  369. package/lib/typescript/lib/commonjs/components/Button.d.ts.map +0 -1
  370. package/lib/typescript/lib/commonjs/components/Checkbox.d.ts +0 -4
  371. package/lib/typescript/lib/commonjs/components/Checkbox.d.ts.map +0 -1
  372. package/lib/typescript/lib/commonjs/components/Divider.d.ts +0 -3
  373. package/lib/typescript/lib/commonjs/components/Divider.d.ts.map +0 -1
  374. package/lib/typescript/lib/commonjs/components/ExpansionPanel.d.ts +0 -8
  375. package/lib/typescript/lib/commonjs/components/ExpansionPanel.d.ts.map +0 -1
  376. package/lib/typescript/lib/commonjs/components/Link.d.ts +0 -3
  377. package/lib/typescript/lib/commonjs/components/Link.d.ts.map +0 -1
  378. package/lib/typescript/lib/commonjs/components/List.d.ts +0 -3
  379. package/lib/typescript/lib/commonjs/components/List.d.ts.map +0 -1
  380. package/lib/typescript/lib/commonjs/components/Locale.d.ts +0 -6
  381. package/lib/typescript/lib/commonjs/components/Locale.d.ts.map +0 -1
  382. package/lib/typescript/lib/commonjs/components/StoragePolicyLink.d.ts +0 -4
  383. package/lib/typescript/lib/commonjs/components/StoragePolicyLink.d.ts.map +0 -1
  384. package/lib/typescript/lib/commonjs/components/Toggle.d.ts +0 -4
  385. package/lib/typescript/lib/commonjs/components/Toggle.d.ts.map +0 -1
  386. package/lib/typescript/lib/commonjs/constants.d.ts +0 -20
  387. package/lib/typescript/lib/commonjs/constants.d.ts.map +0 -1
  388. package/lib/typescript/lib/commonjs/context.d.ts +0 -4
  389. package/lib/typescript/lib/commonjs/context.d.ts.map +0 -1
  390. package/lib/typescript/lib/commonjs/flavors/index.d.ts +0 -122
  391. package/lib/typescript/lib/commonjs/flavors/index.d.ts.map +0 -1
  392. package/lib/typescript/lib/commonjs/hooks/useBoundCallback.d.ts +0 -18
  393. package/lib/typescript/lib/commonjs/hooks/useBoundCallback.d.ts.map +0 -1
  394. package/lib/typescript/lib/commonjs/hooks/useDeviceOrientation.d.ts +0 -4
  395. package/lib/typescript/lib/commonjs/hooks/useDeviceOrientation.d.ts.map +0 -1
  396. package/lib/typescript/lib/commonjs/hooks/usePrevious.d.ts +0 -3
  397. package/lib/typescript/lib/commonjs/hooks/usePrevious.d.ts.map +0 -1
  398. package/lib/typescript/lib/commonjs/hooks/useThunkReducer.d.ts +0 -8
  399. package/lib/typescript/lib/commonjs/hooks/useThunkReducer.d.ts.map +0 -1
  400. package/lib/typescript/lib/commonjs/iab/actions.d.ts +0 -10
  401. package/lib/typescript/lib/commonjs/iab/actions.d.ts.map +0 -1
  402. package/lib/typescript/lib/commonjs/iab/constants.d.ts +0 -5
  403. package/lib/typescript/lib/commonjs/iab/constants.d.ts.map +0 -1
  404. package/lib/typescript/lib/commonjs/iab/gpp/api.d.ts +0 -30
  405. package/lib/typescript/lib/commonjs/iab/gpp/api.d.ts.map +0 -1
  406. package/lib/typescript/lib/commonjs/iab/gpp/consent.d.ts +0 -25
  407. package/lib/typescript/lib/commonjs/iab/gpp/consent.d.ts.map +0 -1
  408. package/lib/typescript/lib/commonjs/iab/gpp/constants.d.ts +0 -26
  409. package/lib/typescript/lib/commonjs/iab/gpp/constants.d.ts.map +0 -1
  410. package/lib/typescript/lib/commonjs/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts +0 -9
  411. package/lib/typescript/lib/commonjs/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts.map +0 -1
  412. package/lib/typescript/lib/commonjs/iab/gpp/encoders/BooleanEncoder.d.ts +0 -32
  413. package/lib/typescript/lib/commonjs/iab/gpp/encoders/BooleanEncoder.d.ts.map +0 -1
  414. package/lib/typescript/lib/commonjs/iab/gpp/encoders/CompressedBase64UrlEncoder.d.ts +0 -10
  415. package/lib/typescript/lib/commonjs/iab/gpp/encoders/CompressedBase64UrlEncoder.d.ts.map +0 -1
  416. package/lib/typescript/lib/commonjs/iab/gpp/encoders/DatetimeEncoder.d.ts +0 -29
  417. package/lib/typescript/lib/commonjs/iab/gpp/encoders/DatetimeEncoder.d.ts.map +0 -1
  418. package/lib/typescript/lib/commonjs/iab/gpp/encoders/EncodableOptimizedFixedRange.d.ts +0 -19
  419. package/lib/typescript/lib/commonjs/iab/gpp/encoders/EncodableOptimizedFixedRange.d.ts.map +0 -1
  420. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts +0 -29
  421. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts.map +0 -1
  422. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts +0 -29
  423. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts.map +0 -1
  424. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedBitfieldEncoder.d.ts +0 -29
  425. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedBitfieldEncoder.d.ts.map +0 -1
  426. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIdBitMapEncoder.d.ts +0 -7
  427. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIdBitMapEncoder.d.ts.map +0 -1
  428. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIntegerEncoder.d.ts +0 -29
  429. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIntegerEncoder.d.ts.map +0 -1
  430. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIntegerListEncoder.d.ts +0 -29
  431. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIntegerListEncoder.d.ts.map +0 -1
  432. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts +0 -29
  433. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts.map +0 -1
  434. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedStringEncoder.d.ts +0 -29
  435. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedStringEncoder.d.ts.map +0 -1
  436. package/lib/typescript/lib/commonjs/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts +0 -10
  437. package/lib/typescript/lib/commonjs/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts.map +0 -1
  438. package/lib/typescript/lib/commonjs/iab/gpp/encoders/errors.d.ts +0 -17
  439. package/lib/typescript/lib/commonjs/iab/gpp/encoders/errors.d.ts.map +0 -1
  440. package/lib/typescript/lib/commonjs/iab/gpp/encoders/index.d.ts +0 -16
  441. package/lib/typescript/lib/commonjs/iab/gpp/encoders/index.d.ts.map +0 -1
  442. package/lib/typescript/lib/commonjs/iab/gpp/encoders/types.d.ts +0 -1
  443. package/lib/typescript/lib/commonjs/iab/gpp/encoders/types.d.ts.map +0 -1
  444. package/lib/typescript/lib/commonjs/iab/gpp/index.d.ts +0 -9
  445. package/lib/typescript/lib/commonjs/iab/gpp/index.d.ts.map +0 -1
  446. package/lib/typescript/lib/commonjs/iab/gpp/reducer.d.ts +0 -7
  447. package/lib/typescript/lib/commonjs/iab/gpp/reducer.d.ts.map +0 -1
  448. package/lib/typescript/lib/commonjs/iab/gpp/selectors.d.ts +0 -7
  449. package/lib/typescript/lib/commonjs/iab/gpp/selectors.d.ts.map +0 -1
  450. package/lib/typescript/lib/commonjs/iab/gpp/types.d.ts +0 -1
  451. package/lib/typescript/lib/commonjs/iab/gpp/types.d.ts.map +0 -1
  452. package/lib/typescript/lib/commonjs/iab/gpp/v1/constants.d.ts +0 -13
  453. package/lib/typescript/lib/commonjs/iab/gpp/v1/constants.d.ts.map +0 -1
  454. package/lib/typescript/lib/commonjs/iab/gpp/v1/index.d.ts +0 -12
  455. package/lib/typescript/lib/commonjs/iab/gpp/v1/index.d.ts.map +0 -1
  456. package/lib/typescript/lib/commonjs/iab/index.d.ts +0 -3
  457. package/lib/typescript/lib/commonjs/iab/index.d.ts.map +0 -1
  458. package/lib/typescript/lib/commonjs/iab/reducer.d.ts +0 -6
  459. package/lib/typescript/lib/commonjs/iab/reducer.d.ts.map +0 -1
  460. package/lib/typescript/lib/commonjs/iab/tcf/actions.d.ts +0 -64
  461. package/lib/typescript/lib/commonjs/iab/tcf/actions.d.ts.map +0 -1
  462. package/lib/typescript/lib/commonjs/iab/tcf/consent.d.ts +0 -59
  463. package/lib/typescript/lib/commonjs/iab/tcf/consent.d.ts.map +0 -1
  464. package/lib/typescript/lib/commonjs/iab/tcf/constants.d.ts +0 -62
  465. package/lib/typescript/lib/commonjs/iab/tcf/constants.d.ts.map +0 -1
  466. package/lib/typescript/lib/commonjs/iab/tcf/helpers.d.ts +0 -9
  467. package/lib/typescript/lib/commonjs/iab/tcf/helpers.d.ts.map +0 -1
  468. package/lib/typescript/lib/commonjs/iab/tcf/iab-storage-utils.d.ts +0 -9
  469. package/lib/typescript/lib/commonjs/iab/tcf/iab-storage-utils.d.ts.map +0 -1
  470. package/lib/typescript/lib/commonjs/iab/tcf/index.d.ts +0 -4
  471. package/lib/typescript/lib/commonjs/iab/tcf/index.d.ts.map +0 -1
  472. package/lib/typescript/lib/commonjs/iab/tcf/middleware.d.ts +0 -4
  473. package/lib/typescript/lib/commonjs/iab/tcf/middleware.d.ts.map +0 -1
  474. package/lib/typescript/lib/commonjs/iab/tcf/reducer.d.ts +0 -22
  475. package/lib/typescript/lib/commonjs/iab/tcf/reducer.d.ts.map +0 -1
  476. package/lib/typescript/lib/commonjs/iab/tcf/selectors.d.ts +0 -47
  477. package/lib/typescript/lib/commonjs/iab/tcf/selectors.d.ts.map +0 -1
  478. package/lib/typescript/lib/commonjs/iab/tcf/types.d.ts +0 -2
  479. package/lib/typescript/lib/commonjs/iab/tcf/types.d.ts.map +0 -1
  480. package/lib/typescript/lib/commonjs/iab/tcf/v2.0/encoders.d.ts +0 -14
  481. package/lib/typescript/lib/commonjs/iab/tcf/v2.0/encoders.d.ts.map +0 -1
  482. package/lib/typescript/lib/commonjs/iab/tcf/v2.0/formatters.d.ts +0 -5
  483. package/lib/typescript/lib/commonjs/iab/tcf/v2.0/formatters.d.ts.map +0 -1
  484. package/lib/typescript/lib/commonjs/iab/tcf/v2.0/index.d.ts +0 -191
  485. package/lib/typescript/lib/commonjs/iab/tcf/v2.0/index.d.ts.map +0 -1
  486. package/lib/typescript/lib/commonjs/iab/tcf/v2.0/shared-constants.d.ts +0 -32
  487. package/lib/typescript/lib/commonjs/iab/tcf/v2.0/shared-constants.d.ts.map +0 -1
  488. package/lib/typescript/lib/commonjs/iab/tcf/v2.0/tcfcav1-constants.d.ts +0 -43
  489. package/lib/typescript/lib/commonjs/iab/tcf/v2.0/tcfcav1-constants.d.ts.map +0 -1
  490. package/lib/typescript/lib/commonjs/iab/tcf/v2.0/tcfeuv2-constants.d.ts +0 -48
  491. package/lib/typescript/lib/commonjs/iab/tcf/v2.0/tcfeuv2-constants.d.ts.map +0 -1
  492. package/lib/typescript/lib/commonjs/iab/types.d.ts +0 -2
  493. package/lib/typescript/lib/commonjs/iab/types.d.ts.map +0 -1
  494. package/lib/typescript/lib/commonjs/iab/usp/api.d.ts +0 -6
  495. package/lib/typescript/lib/commonjs/iab/usp/api.d.ts.map +0 -1
  496. package/lib/typescript/lib/commonjs/iab/usp/consent.d.ts +0 -27
  497. package/lib/typescript/lib/commonjs/iab/usp/consent.d.ts.map +0 -1
  498. package/lib/typescript/lib/commonjs/iab/usp/constants.d.ts +0 -109
  499. package/lib/typescript/lib/commonjs/iab/usp/constants.d.ts.map +0 -1
  500. package/lib/typescript/lib/commonjs/iab/usp/index.d.ts +0 -9
  501. package/lib/typescript/lib/commonjs/iab/usp/index.d.ts.map +0 -1
  502. package/lib/typescript/lib/commonjs/iab/usp/reducer.d.ts +0 -14
  503. package/lib/typescript/lib/commonjs/iab/usp/reducer.d.ts.map +0 -1
  504. package/lib/typescript/lib/commonjs/iab/usp/selectors.d.ts +0 -7
  505. package/lib/typescript/lib/commonjs/iab/usp/selectors.d.ts.map +0 -1
  506. package/lib/typescript/lib/commonjs/iab/usp/types.d.ts +0 -1
  507. package/lib/typescript/lib/commonjs/iab/usp/types.d.ts.map +0 -1
  508. package/lib/typescript/lib/commonjs/iab/usp/v1/constants.d.ts +0 -13
  509. package/lib/typescript/lib/commonjs/iab/usp/v1/constants.d.ts.map +0 -1
  510. package/lib/typescript/lib/commonjs/iab/usp/v1/index.d.ts +0 -12
  511. package/lib/typescript/lib/commonjs/iab/usp/v1/index.d.ts.map +0 -1
  512. package/lib/typescript/lib/commonjs/iab/utilities.d.ts +0 -3
  513. package/lib/typescript/lib/commonjs/iab/utilities.d.ts.map +0 -1
  514. package/lib/typescript/lib/commonjs/index.d.ts +0 -6
  515. package/lib/typescript/lib/commonjs/index.d.ts.map +0 -1
  516. package/lib/typescript/lib/commonjs/locale/index.d.ts +0 -62
  517. package/lib/typescript/lib/commonjs/locale/index.d.ts.map +0 -1
  518. package/lib/typescript/lib/commonjs/native/OsanoCmp.d.ts +0 -10
  519. package/lib/typescript/lib/commonjs/native/OsanoCmp.d.ts.map +0 -1
  520. package/lib/typescript/lib/commonjs/reducer.d.ts +0 -35
  521. package/lib/typescript/lib/commonjs/reducer.d.ts.map +0 -1
  522. package/lib/typescript/lib/commonjs/selectors.d.ts +0 -16
  523. package/lib/typescript/lib/commonjs/selectors.d.ts.map +0 -1
  524. package/lib/typescript/lib/commonjs/services/consent.d.ts +0 -11
  525. package/lib/typescript/lib/commonjs/services/consent.d.ts.map +0 -1
  526. package/lib/typescript/lib/commonjs/services/disclosures.d.ts +0 -3
  527. package/lib/typescript/lib/commonjs/services/disclosures.d.ts.map +0 -1
  528. package/lib/typescript/lib/commonjs/services/google-consent-mode-mapper.d.ts +0 -72
  529. package/lib/typescript/lib/commonjs/services/google-consent-mode-mapper.d.ts.map +0 -1
  530. package/lib/typescript/lib/commonjs/services/locale.d.ts +0 -4
  531. package/lib/typescript/lib/commonjs/services/locale.d.ts.map +0 -1
  532. package/lib/typescript/lib/commonjs/styles.d.ts +0 -141
  533. package/lib/typescript/lib/commonjs/styles.d.ts.map +0 -1
  534. package/lib/typescript/lib/commonjs/types/consent-config.d.d.ts +0 -2
  535. package/lib/typescript/lib/commonjs/types/consent-config.d.d.ts.map +0 -1
  536. package/lib/typescript/lib/commonjs/types/env.d.d.ts +0 -1
  537. package/lib/typescript/lib/commonjs/types/env.d.d.ts.map +0 -1
  538. package/lib/typescript/lib/commonjs/types/google-consent-mode.d.ts +0 -32
  539. package/lib/typescript/lib/commonjs/types/google-consent-mode.d.ts.map +0 -1
  540. package/lib/typescript/lib/commonjs/types/index.d.d.ts +0 -2
  541. package/lib/typescript/lib/commonjs/types/index.d.d.ts.map +0 -1
  542. package/lib/typescript/lib/commonjs/types/store.d.d.ts +0 -2
  543. package/lib/typescript/lib/commonjs/types/store.d.d.ts.map +0 -1
  544. package/lib/typescript/lib/commonjs/utils/API.d.ts +0 -7
  545. package/lib/typescript/lib/commonjs/utils/API.d.ts.map +0 -1
  546. package/lib/typescript/lib/commonjs/utils/Color.d.ts +0 -13
  547. package/lib/typescript/lib/commonjs/utils/Color.d.ts.map +0 -1
  548. package/lib/typescript/lib/commonjs/utils/EventEmitter.d.ts +0 -16
  549. package/lib/typescript/lib/commonjs/utils/EventEmitter.d.ts.map +0 -1
  550. package/lib/typescript/lib/commonjs/utils/OsanoLogger.d.ts +0 -16
  551. package/lib/typescript/lib/commonjs/utils/OsanoLogger.d.ts.map +0 -1
  552. package/lib/typescript/lib/commonjs/utils/Translator.d.ts +0 -54
  553. package/lib/typescript/lib/commonjs/utils/Translator.d.ts.map +0 -1
  554. package/lib/typescript/lib/commonjs/utils/index.d.ts +0 -8
  555. package/lib/typescript/lib/commonjs/utils/index.d.ts.map +0 -1
  556. package/lib/typescript/lib/commonjs/utils/types.d.ts +0 -1
  557. package/lib/typescript/lib/commonjs/utils/types.d.ts.map +0 -1
  558. package/lib/typescript/lib/commonjs/views/Dialog/Buttons.d.ts +0 -4
  559. package/lib/typescript/lib/commonjs/views/Dialog/Buttons.d.ts.map +0 -1
  560. package/lib/typescript/lib/commonjs/views/Dialog/FirstLayerUsage.d.ts +0 -4
  561. package/lib/typescript/lib/commonjs/views/Dialog/FirstLayerUsage.d.ts.map +0 -1
  562. package/lib/typescript/lib/commonjs/views/Dialog/Message.d.ts +0 -4
  563. package/lib/typescript/lib/commonjs/views/Dialog/Message.d.ts.map +0 -1
  564. package/lib/typescript/lib/commonjs/views/Dialog/PreferenceManagementDeepLinks.d.ts +0 -4
  565. package/lib/typescript/lib/commonjs/views/Dialog/PreferenceManagementDeepLinks.d.ts.map +0 -1
  566. package/lib/typescript/lib/commonjs/views/Dialog/index.d.ts +0 -4
  567. package/lib/typescript/lib/commonjs/views/Dialog/index.d.ts.map +0 -1
  568. package/lib/typescript/lib/commonjs/views/Drawer/Drawer.ConsentCategories.d.ts +0 -4
  569. package/lib/typescript/lib/commonjs/views/Drawer/Drawer.ConsentCategories.d.ts.map +0 -1
  570. package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Header.d.ts +0 -4
  571. package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Header.d.ts.map +0 -1
  572. package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Iab.Disclosures.d.ts +0 -4
  573. package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Iab.Disclosures.d.ts.map +0 -1
  574. package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Iab.Vendors.d.ts +0 -4
  575. package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Iab.Vendors.d.ts.map +0 -1
  576. package/lib/typescript/lib/commonjs/views/Drawer/index.d.ts +0 -3
  577. package/lib/typescript/lib/commonjs/views/Drawer/index.d.ts.map +0 -1
  578. package/lib/typescript/lib/module/ConsentManager.d.ts +0 -366
  579. package/lib/typescript/lib/module/ConsentManager.d.ts.map +0 -1
  580. package/lib/typescript/lib/module/ConsentUiBuilder.d.ts +0 -175
  581. package/lib/typescript/lib/module/ConsentUiBuilder.d.ts.map +0 -1
  582. package/lib/typescript/lib/module/actions.d.ts +0 -65
  583. package/lib/typescript/lib/module/actions.d.ts.map +0 -1
  584. package/lib/typescript/lib/module/commands.d.ts +0 -3
  585. package/lib/typescript/lib/module/commands.d.ts.map +0 -1
  586. package/lib/typescript/lib/module/components/Button.d.ts +0 -11
  587. package/lib/typescript/lib/module/components/Button.d.ts.map +0 -1
  588. package/lib/typescript/lib/module/components/Checkbox.d.ts +0 -4
  589. package/lib/typescript/lib/module/components/Checkbox.d.ts.map +0 -1
  590. package/lib/typescript/lib/module/components/Divider.d.ts +0 -4
  591. package/lib/typescript/lib/module/components/Divider.d.ts.map +0 -1
  592. package/lib/typescript/lib/module/components/ExpansionPanel.d.ts +0 -9
  593. package/lib/typescript/lib/module/components/ExpansionPanel.d.ts.map +0 -1
  594. package/lib/typescript/lib/module/components/Link.d.ts +0 -4
  595. package/lib/typescript/lib/module/components/Link.d.ts.map +0 -1
  596. package/lib/typescript/lib/module/components/List.d.ts +0 -4
  597. package/lib/typescript/lib/module/components/List.d.ts.map +0 -1
  598. package/lib/typescript/lib/module/components/Locale.d.ts +0 -5
  599. package/lib/typescript/lib/module/components/Locale.d.ts.map +0 -1
  600. package/lib/typescript/lib/module/components/StoragePolicyLink.d.ts +0 -4
  601. package/lib/typescript/lib/module/components/StoragePolicyLink.d.ts.map +0 -1
  602. package/lib/typescript/lib/module/components/Toggle.d.ts +0 -4
  603. package/lib/typescript/lib/module/components/Toggle.d.ts.map +0 -1
  604. package/lib/typescript/lib/module/constants.d.ts +0 -19
  605. package/lib/typescript/lib/module/constants.d.ts.map +0 -1
  606. package/lib/typescript/lib/module/context.d.ts +0 -194
  607. package/lib/typescript/lib/module/context.d.ts.map +0 -1
  608. package/lib/typescript/lib/module/flavors/index.d.ts +0 -17
  609. package/lib/typescript/lib/module/flavors/index.d.ts.map +0 -1
  610. package/lib/typescript/lib/module/hooks/useBoundCallback.d.ts +0 -17
  611. package/lib/typescript/lib/module/hooks/useBoundCallback.d.ts.map +0 -1
  612. package/lib/typescript/lib/module/hooks/useDeviceOrientation.d.ts +0 -3
  613. package/lib/typescript/lib/module/hooks/useDeviceOrientation.d.ts.map +0 -1
  614. package/lib/typescript/lib/module/hooks/usePrevious.d.ts +0 -2
  615. package/lib/typescript/lib/module/hooks/usePrevious.d.ts.map +0 -1
  616. package/lib/typescript/lib/module/hooks/useThunkReducer.d.ts +0 -7
  617. package/lib/typescript/lib/module/hooks/useThunkReducer.d.ts.map +0 -1
  618. package/lib/typescript/lib/module/iab/actions.d.ts +0 -9
  619. package/lib/typescript/lib/module/iab/actions.d.ts.map +0 -1
  620. package/lib/typescript/lib/module/iab/constants.d.ts +0 -4
  621. package/lib/typescript/lib/module/iab/constants.d.ts.map +0 -1
  622. package/lib/typescript/lib/module/iab/gpp/api.d.ts +0 -28
  623. package/lib/typescript/lib/module/iab/gpp/api.d.ts.map +0 -1
  624. package/lib/typescript/lib/module/iab/gpp/consent.d.ts +0 -24
  625. package/lib/typescript/lib/module/iab/gpp/consent.d.ts.map +0 -1
  626. package/lib/typescript/lib/module/iab/gpp/constants.d.ts +0 -37
  627. package/lib/typescript/lib/module/iab/gpp/constants.d.ts.map +0 -1
  628. package/lib/typescript/lib/module/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts +0 -8
  629. package/lib/typescript/lib/module/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts.map +0 -1
  630. package/lib/typescript/lib/module/iab/gpp/encoders/BooleanEncoder.d.ts +0 -8
  631. package/lib/typescript/lib/module/iab/gpp/encoders/BooleanEncoder.d.ts.map +0 -1
  632. package/lib/typescript/lib/module/iab/gpp/encoders/CompressedBase64UrlEncoder.d.ts +0 -9
  633. package/lib/typescript/lib/module/iab/gpp/encoders/CompressedBase64UrlEncoder.d.ts.map +0 -1
  634. package/lib/typescript/lib/module/iab/gpp/encoders/DatetimeEncoder.d.ts +0 -8
  635. package/lib/typescript/lib/module/iab/gpp/encoders/DatetimeEncoder.d.ts.map +0 -1
  636. package/lib/typescript/lib/module/iab/gpp/encoders/EncodableOptimizedFixedRange.d.ts +0 -18
  637. package/lib/typescript/lib/module/iab/gpp/encoders/EncodableOptimizedFixedRange.d.ts.map +0 -1
  638. package/lib/typescript/lib/module/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts +0 -8
  639. package/lib/typescript/lib/module/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts.map +0 -1
  640. package/lib/typescript/lib/module/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts +0 -8
  641. package/lib/typescript/lib/module/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts.map +0 -1
  642. package/lib/typescript/lib/module/iab/gpp/encoders/FixedBitfieldEncoder.d.ts +0 -8
  643. package/lib/typescript/lib/module/iab/gpp/encoders/FixedBitfieldEncoder.d.ts.map +0 -1
  644. package/lib/typescript/lib/module/iab/gpp/encoders/FixedIdBitMapEncoder.d.ts +0 -6
  645. package/lib/typescript/lib/module/iab/gpp/encoders/FixedIdBitMapEncoder.d.ts.map +0 -1
  646. package/lib/typescript/lib/module/iab/gpp/encoders/FixedIntegerEncoder.d.ts +0 -8
  647. package/lib/typescript/lib/module/iab/gpp/encoders/FixedIntegerEncoder.d.ts.map +0 -1
  648. package/lib/typescript/lib/module/iab/gpp/encoders/FixedIntegerListEncoder.d.ts +0 -8
  649. package/lib/typescript/lib/module/iab/gpp/encoders/FixedIntegerListEncoder.d.ts.map +0 -1
  650. package/lib/typescript/lib/module/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts +0 -8
  651. package/lib/typescript/lib/module/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts.map +0 -1
  652. package/lib/typescript/lib/module/iab/gpp/encoders/FixedStringEncoder.d.ts +0 -8
  653. package/lib/typescript/lib/module/iab/gpp/encoders/FixedStringEncoder.d.ts.map +0 -1
  654. package/lib/typescript/lib/module/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts +0 -9
  655. package/lib/typescript/lib/module/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts.map +0 -1
  656. package/lib/typescript/lib/module/iab/gpp/encoders/errors.d.ts +0 -16
  657. package/lib/typescript/lib/module/iab/gpp/encoders/errors.d.ts.map +0 -1
  658. package/lib/typescript/lib/module/iab/gpp/encoders/index.d.ts +0 -15
  659. package/lib/typescript/lib/module/iab/gpp/encoders/index.d.ts.map +0 -1
  660. package/lib/typescript/lib/module/iab/gpp/encoders/types.d.ts +0 -1
  661. package/lib/typescript/lib/module/iab/gpp/encoders/types.d.ts.map +0 -1
  662. package/lib/typescript/lib/module/iab/gpp/index.d.ts +0 -10
  663. package/lib/typescript/lib/module/iab/gpp/index.d.ts.map +0 -1
  664. package/lib/typescript/lib/module/iab/gpp/reducer.d.ts +0 -6
  665. package/lib/typescript/lib/module/iab/gpp/reducer.d.ts.map +0 -1
  666. package/lib/typescript/lib/module/iab/gpp/selectors.d.ts +0 -6
  667. package/lib/typescript/lib/module/iab/gpp/selectors.d.ts.map +0 -1
  668. package/lib/typescript/lib/module/iab/gpp/types.d.ts +0 -1
  669. package/lib/typescript/lib/module/iab/gpp/types.d.ts.map +0 -1
  670. package/lib/typescript/lib/module/iab/gpp/v1/constants.d.ts +0 -9
  671. package/lib/typescript/lib/module/iab/gpp/v1/constants.d.ts.map +0 -1
  672. package/lib/typescript/lib/module/iab/gpp/v1/index.d.ts +0 -17
  673. package/lib/typescript/lib/module/iab/gpp/v1/index.d.ts.map +0 -1
  674. package/lib/typescript/lib/module/iab/index.d.ts +0 -2
  675. package/lib/typescript/lib/module/iab/index.d.ts.map +0 -1
  676. package/lib/typescript/lib/module/iab/reducer.d.ts +0 -5
  677. package/lib/typescript/lib/module/iab/reducer.d.ts.map +0 -1
  678. package/lib/typescript/lib/module/iab/tcf/actions.d.ts +0 -63
  679. package/lib/typescript/lib/module/iab/tcf/actions.d.ts.map +0 -1
  680. package/lib/typescript/lib/module/iab/tcf/consent.d.ts +0 -58
  681. package/lib/typescript/lib/module/iab/tcf/consent.d.ts.map +0 -1
  682. package/lib/typescript/lib/module/iab/tcf/constants.d.ts +0 -61
  683. package/lib/typescript/lib/module/iab/tcf/constants.d.ts.map +0 -1
  684. package/lib/typescript/lib/module/iab/tcf/helpers.d.ts +0 -8
  685. package/lib/typescript/lib/module/iab/tcf/helpers.d.ts.map +0 -1
  686. package/lib/typescript/lib/module/iab/tcf/iab-storage-utils.d.ts +0 -8
  687. package/lib/typescript/lib/module/iab/tcf/iab-storage-utils.d.ts.map +0 -1
  688. package/lib/typescript/lib/module/iab/tcf/index.d.ts +0 -301
  689. package/lib/typescript/lib/module/iab/tcf/index.d.ts.map +0 -1
  690. package/lib/typescript/lib/module/iab/tcf/middleware.d.ts +0 -3
  691. package/lib/typescript/lib/module/iab/tcf/middleware.d.ts.map +0 -1
  692. package/lib/typescript/lib/module/iab/tcf/reducer.d.ts +0 -20
  693. package/lib/typescript/lib/module/iab/tcf/reducer.d.ts.map +0 -1
  694. package/lib/typescript/lib/module/iab/tcf/selectors.d.ts +0 -46
  695. package/lib/typescript/lib/module/iab/tcf/selectors.d.ts.map +0 -1
  696. package/lib/typescript/lib/module/iab/tcf/types.d.ts +0 -2
  697. package/lib/typescript/lib/module/iab/tcf/types.d.ts.map +0 -1
  698. package/lib/typescript/lib/module/iab/tcf/v2.0/encoders.d.ts +0 -13
  699. package/lib/typescript/lib/module/iab/tcf/v2.0/encoders.d.ts.map +0 -1
  700. package/lib/typescript/lib/module/iab/tcf/v2.0/formatters.d.ts +0 -4
  701. package/lib/typescript/lib/module/iab/tcf/v2.0/formatters.d.ts.map +0 -1
  702. package/lib/typescript/lib/module/iab/tcf/v2.0/index.d.ts +0 -306
  703. package/lib/typescript/lib/module/iab/tcf/v2.0/index.d.ts.map +0 -1
  704. package/lib/typescript/lib/module/iab/tcf/v2.0/shared-constants.d.ts +0 -79
  705. package/lib/typescript/lib/module/iab/tcf/v2.0/shared-constants.d.ts.map +0 -1
  706. package/lib/typescript/lib/module/iab/tcf/v2.0/tcfcav1-constants.d.ts +0 -107
  707. package/lib/typescript/lib/module/iab/tcf/v2.0/tcfcav1-constants.d.ts.map +0 -1
  708. package/lib/typescript/lib/module/iab/tcf/v2.0/tcfeuv2-constants.d.ts +0 -102
  709. package/lib/typescript/lib/module/iab/tcf/v2.0/tcfeuv2-constants.d.ts.map +0 -1
  710. package/lib/typescript/lib/module/iab/types.d.ts +0 -2
  711. package/lib/typescript/lib/module/iab/types.d.ts.map +0 -1
  712. package/lib/typescript/lib/module/iab/usp/api.d.ts +0 -4
  713. package/lib/typescript/lib/module/iab/usp/api.d.ts.map +0 -1
  714. package/lib/typescript/lib/module/iab/usp/consent.d.ts +0 -13
  715. package/lib/typescript/lib/module/iab/usp/consent.d.ts.map +0 -1
  716. package/lib/typescript/lib/module/iab/usp/constants.d.ts +0 -77
  717. package/lib/typescript/lib/module/iab/usp/constants.d.ts.map +0 -1
  718. package/lib/typescript/lib/module/iab/usp/index.d.ts +0 -10
  719. package/lib/typescript/lib/module/iab/usp/index.d.ts.map +0 -1
  720. package/lib/typescript/lib/module/iab/usp/reducer.d.ts +0 -13
  721. package/lib/typescript/lib/module/iab/usp/reducer.d.ts.map +0 -1
  722. package/lib/typescript/lib/module/iab/usp/selectors.d.ts +0 -6
  723. package/lib/typescript/lib/module/iab/usp/selectors.d.ts.map +0 -1
  724. package/lib/typescript/lib/module/iab/usp/types.d.ts +0 -1
  725. package/lib/typescript/lib/module/iab/usp/types.d.ts.map +0 -1
  726. package/lib/typescript/lib/module/iab/usp/v1/constants.d.ts +0 -9
  727. package/lib/typescript/lib/module/iab/usp/v1/constants.d.ts.map +0 -1
  728. package/lib/typescript/lib/module/iab/usp/v1/index.d.ts +0 -16
  729. package/lib/typescript/lib/module/iab/usp/v1/index.d.ts.map +0 -1
  730. package/lib/typescript/lib/module/iab/utilities.d.ts +0 -2
  731. package/lib/typescript/lib/module/iab/utilities.d.ts.map +0 -1
  732. package/lib/typescript/lib/module/index.d.ts +0 -5
  733. package/lib/typescript/lib/module/index.d.ts.map +0 -1
  734. package/lib/typescript/lib/module/locale/index.d.ts +0 -61
  735. package/lib/typescript/lib/module/locale/index.d.ts.map +0 -1
  736. package/lib/typescript/lib/module/native/OsanoCmp.d.ts +0 -9
  737. package/lib/typescript/lib/module/native/OsanoCmp.d.ts.map +0 -1
  738. package/lib/typescript/lib/module/reducer.d.ts +0 -34
  739. package/lib/typescript/lib/module/reducer.d.ts.map +0 -1
  740. package/lib/typescript/lib/module/selectors.d.ts +0 -15
  741. package/lib/typescript/lib/module/selectors.d.ts.map +0 -1
  742. package/lib/typescript/lib/module/services/consent.d.ts +0 -10
  743. package/lib/typescript/lib/module/services/consent.d.ts.map +0 -1
  744. package/lib/typescript/lib/module/services/disclosures.d.ts +0 -2
  745. package/lib/typescript/lib/module/services/disclosures.d.ts.map +0 -1
  746. package/lib/typescript/lib/module/services/google-consent-mode-mapper.d.ts +0 -71
  747. package/lib/typescript/lib/module/services/google-consent-mode-mapper.d.ts.map +0 -1
  748. package/lib/typescript/lib/module/services/locale.d.ts +0 -3
  749. package/lib/typescript/lib/module/services/locale.d.ts.map +0 -1
  750. package/lib/typescript/lib/module/styles.d.ts +0 -140
  751. package/lib/typescript/lib/module/styles.d.ts.map +0 -1
  752. package/lib/typescript/lib/module/types/consent-config.d.d.ts +0 -2
  753. package/lib/typescript/lib/module/types/consent-config.d.d.ts.map +0 -1
  754. package/lib/typescript/lib/module/types/env.d.d.ts +0 -1
  755. package/lib/typescript/lib/module/types/env.d.d.ts.map +0 -1
  756. package/lib/typescript/lib/module/types/google-consent-mode.d.ts +0 -38
  757. package/lib/typescript/lib/module/types/google-consent-mode.d.ts.map +0 -1
  758. package/lib/typescript/lib/module/types/index.d.d.ts +0 -2
  759. package/lib/typescript/lib/module/types/index.d.d.ts.map +0 -1
  760. package/lib/typescript/lib/module/types/store.d.d.ts +0 -2
  761. package/lib/typescript/lib/module/types/store.d.d.ts.map +0 -1
  762. package/lib/typescript/lib/module/utils/API.d.ts +0 -6
  763. package/lib/typescript/lib/module/utils/API.d.ts.map +0 -1
  764. package/lib/typescript/lib/module/utils/Color.d.ts +0 -12
  765. package/lib/typescript/lib/module/utils/Color.d.ts.map +0 -1
  766. package/lib/typescript/lib/module/utils/EventEmitter.d.ts +0 -15
  767. package/lib/typescript/lib/module/utils/EventEmitter.d.ts.map +0 -1
  768. package/lib/typescript/lib/module/utils/OsanoLogger.d.ts +0 -15
  769. package/lib/typescript/lib/module/utils/OsanoLogger.d.ts.map +0 -1
  770. package/lib/typescript/lib/module/utils/Translator.d.ts +0 -52
  771. package/lib/typescript/lib/module/utils/Translator.d.ts.map +0 -1
  772. package/lib/typescript/lib/module/utils/index.d.ts +0 -6
  773. package/lib/typescript/lib/module/utils/index.d.ts.map +0 -1
  774. package/lib/typescript/lib/module/utils/types.d.ts +0 -1
  775. package/lib/typescript/lib/module/utils/types.d.ts.map +0 -1
  776. package/lib/typescript/lib/module/views/Dialog/Buttons.d.ts +0 -5
  777. package/lib/typescript/lib/module/views/Dialog/Buttons.d.ts.map +0 -1
  778. package/lib/typescript/lib/module/views/Dialog/FirstLayerUsage.d.ts +0 -5
  779. package/lib/typescript/lib/module/views/Dialog/FirstLayerUsage.d.ts.map +0 -1
  780. package/lib/typescript/lib/module/views/Dialog/Message.d.ts +0 -4
  781. package/lib/typescript/lib/module/views/Dialog/Message.d.ts.map +0 -1
  782. package/lib/typescript/lib/module/views/Dialog/PreferenceManagementDeepLinks.d.ts +0 -6
  783. package/lib/typescript/lib/module/views/Dialog/PreferenceManagementDeepLinks.d.ts.map +0 -1
  784. package/lib/typescript/lib/module/views/Dialog/index.d.ts +0 -5
  785. package/lib/typescript/lib/module/views/Dialog/index.d.ts.map +0 -1
  786. package/lib/typescript/lib/module/views/Drawer/Drawer.ConsentCategories.d.ts +0 -5
  787. package/lib/typescript/lib/module/views/Drawer/Drawer.ConsentCategories.d.ts.map +0 -1
  788. package/lib/typescript/lib/module/views/Drawer/Drawer.Header.d.ts +0 -5
  789. package/lib/typescript/lib/module/views/Drawer/Drawer.Header.d.ts.map +0 -1
  790. package/lib/typescript/lib/module/views/Drawer/Drawer.Iab.Disclosures.d.ts +0 -5
  791. package/lib/typescript/lib/module/views/Drawer/Drawer.Iab.Disclosures.d.ts.map +0 -1
  792. package/lib/typescript/lib/module/views/Drawer/Drawer.Iab.Vendors.d.ts +0 -5
  793. package/lib/typescript/lib/module/views/Drawer/Drawer.Iab.Vendors.d.ts.map +0 -1
  794. package/lib/typescript/lib/module/views/Drawer/index.d.ts +0 -4
  795. package/lib/typescript/lib/module/views/Drawer/index.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../../../../src/iab/tcf/middleware.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,oBAAoB,EAAU,MAAM,SAAS,CAAC;AAQ5D,eAAO,MAAM,cAAc,EAAE,oBAiL5B,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../../../../src/iab/tcf/middleware.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAU,MAAM,SAAS,CAAC;AA2B5D,eAAO,MAAM,cAAc,EAAE,oBAwJ5B,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../../../src/iab/tcf/reducer.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAiBjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAIzC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;CAiBxB,CAAC;AA8CF,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,WAAW,EAAE,cAAc,IAEtD,OAAO,UAAU,GAAG,QAAQ,EAAE,QAAQ,WAAW;;;;;;;;;;;cA5CnB,CAAC;mBAAmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;EA4M3D"}
1
+ {"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../../../src/iab/tcf/reducer.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAiBjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAIzC,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;CAiBxB,CAAC;AA8CF,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,WAAW,EAAE,cAAc,WAE/C,UAAU,GAAG,QAAQ,UAAU,WAAW;;;;;;;;;;;cA5CnB,CAAC;mBAAmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;EA+L3D"}
@@ -1 +1 @@
1
- {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../src/iab/tcf/selectors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAGlE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO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AAC,EAAE,cAAc,CAAC;IAAC,gBAAgB,EAAE,MAAM,CAAA;CAAE,YACW,CAAC;AACzE,eAAO,MAAM,mBAAmB,UACxB,QAAQ,4BACW;IAAE,UAAU,CAAC,EAAE,cAAc,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,YACnB,CAAC;AAC1D,eAAO,MAAM,oBAAoB,UACzB,QAAQ,6BACY;IAAE,UAAU,CAAC,EAAE,cAAc,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,YACnB,CAAC;AAE5D,eAAO,MAAM,eAAe,UAAW,MAAM,YAEU,CAAC;AACxD,eAAO,MAAM,kBAAkB,UACvB,MAAM,eACA,cAAc,YACmC,CAAC;AAChE,eAAO,MAAM,mBAAmB,UACxB,MAAM,eACA,cAAc,YACoC,CAAC;AAEjE,eAAO,MAAM,cAAc,WAAY,MAAM,kBACa,CAAC;AAC3D,eAAO,MAAM,eAAe,UAAW,UAAU,4CAChB,CAAC;AAClC,eAAO,MAAM,OAAO,UAAW,UAAU,YAA6B,CAAC;AAEvE,eAAO,MAAM,mBAAmB,WACvB,UAAU,oBACA,OAAO,wBAYzB,CAAC;AAEF,eAAO,MAAM,UAAU,WAAY,UAAU,iDAQ5C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/tcf/v2.0/formatters.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,GAAI,OAAO,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,aAGpC,CAAC;AAEjC,eAAO,MAAM,yBAAyB,GACrC,YAAY,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACnC,QAAQ,MAAM,cAOd,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,aAAa,MAAM,SACrB,CAAC"}
1
+ {"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/tcf/v2.0/formatters.ts"],"names":[],"mappings":"AAAA,eAAO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C,2BAA6B;yBAAmG,sDAAc;0BAAiG,gDAAiB;kBAAgE,gDAAiB;8BAAoE,iDAAoB,EAAC,yBAA2B;qBAAkT,iDAAkB;;iCA5Bl8J,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;CA2BzD,CAAC"}
1
+ {"version":3,"file":"shared-constants.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/tcf/v2.0/shared-constants.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAEzD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAU5C,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;sBA8Bd,CAAC;oBACR,CAAJ;;;;;;;;;;sBAO05E,CAAC;;;;;;;;;sBAAk9B,CAAC;;;;sBAAqN,CAAC;;;;sBAAgM,CAAC;;;;;;;;;;;;iCA5B1uH,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;CA2BzD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"tcfcav1-constants.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/tcf/v2.0/tcfcav1-constants.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAiF1C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;wBA5EoC,sDAC1D,EAAC,8CACF;mBAE6B,sDAAc;uBACnB,sDAAa;wBAEI,sDAAc,EAAC,mBAEvD;uBAGgC,2CACjB,EAAE,8CACd,EAAC,cAAgB;2BAEU,gDACpB;2BAC8B,qCACnC,EAAC;sBAA6C,CAAC;oBACxC,CAAC;SAAe;;;4BAcV,qCACL,EAAC,8CAGP;6BAOR,iFAED,EAAE,8CACA;oCAwBS,iFAA8B,EACxC,8CAA2B;kCAYguB,qCAAiB,EAAC,8CAA6B;qBAA+H,sDAAc,EAAC,mBAAoB;wBAAsH,qDAAe,EAAC;sBAAwC,CAAC;;SAA4B;uBAA4F,sDAAc,EAAC,mBAAoB;2BAA+I,8CAA0B,EAAC,8CAA6B;6BAAgI,qCAAiB,EAAC,8CAA6B;+BAAuG,sDAAgB,EAAC,8CAA6B;mBAA6F,gDAAiB,EAAC,kBAAmB;uCAAkG,qCAAiB,EAAC;sBAAsD,CAAC;;SAA4C;8BAA+G,qCAAiB,EAAC;sBAAwC,CAAC;;SAAoC;+BAAiG,qCAAiB,EAAC;sBAAyC,CAAC;;SAAqC;0BAA+F,qDAAa;6BAA2J,qDAAe,EAAC,8CAA6B;8BAAsG,qDAAe,EAAC,8CAA6B;yBAAmG,sDAAc;0BAAiG,gDAAiB;kBAAgE,gDAAiB;8BAAoE,iDAAoB,EAAC,yBAA2B;qBAAkT,iDAAkB;;;CAD7rH,CAAC"}
1
+ {"version":3,"file":"tcfcav1-constants.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/tcf/v2.0/tcfcav1-constants.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAiF1C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAzD6B,CAAC;oBACxC,CAAC;;;;;;;;;;sBAiE4mC,CAAC;;;;;;;;;sBAAk9B,CAAC;;;;sBAAqN,CAAC;;;;sBAAgM,CAAC;;;;;;;;;;;;;CADr+E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"tcfeuv2-constants.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/tcf/v2.0/tcfeuv2-constants.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAK1C,eAAO,MAAM,OAAO,aAAa,CAAC;AAClC,eAAO,MAAM,UAAU,oBAAoB,CAAC;AAmF5C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAhFlB,sDAAa,EAAC,8CAEN;mBACiC,sDAAc;u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C;;;;sBAAgM,CAAC;;;;;;;;;;;;;CAD74C,CAAC"}
@@ -1,4 +1,4 @@
1
1
  export default function makeApi(initOptions: any): {
2
- bind: (store: any) => (command: string, version: number, callback: requestCallback, parameter?: string) => any;
2
+ bind: (store: any) => (command: string, version: number, callback: requestCallback, parameter?: string | undefined) => any;
3
3
  };
4
4
  //# sourceMappingURL=api.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../src/iab/usp/api.js"],"names":[],"mappings":"AAEA;2BAWyB,SALZ,MAKmB,EAAE,SAJrB,MAI4B,EAAE,UAH9B,eAGsC,EAAE,YAFxC,MAEiD;EA0C7D"}
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../src/iab/usp/api.js"],"names":[],"mappings":"AAEA;oCAMa,MAAM,WACN,MAAM,YACN,eAAe;EA6C3B"}
@@ -1 +1 @@
1
- {"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../../src/iab/usp/consent.js"],"names":[],"mappings":"AAKO;;KAEN,cAAS;;;;;EAmBR;AAEK,iDAEL,UAAK,EAAE,UAAK,4BAoBZ;AAQK,2DAFM,MAAM,CA8BjB;AAQK,0DAFM,OAAO,aAAa,EAAE,UAAU,CA6B5C;AAQM,wDAFM,OAAO,aAAa,EAAE,OAAO,CAsBzC"}
1
+ {"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../../src/iab/usp/consent.js"],"names":[],"mappings":"AAKO;;;;;;;EAqBL;AAEK,mGAsBL;AAQK,2DAFM,MAAM,CA8BjB;AAQK,0DAFM,OAAO,aAAa,EAAE,UAAU,CA6B5C;AAQM,wDAFM,OAAO,aAAa,EAAE,OAAO,CAsBzC"}
@@ -1,4 +1,4 @@
1
- export function toYesNoUnFromBool(b: any): "-" | "N" | "Y";
1
+ export function toYesNoUnFromBool(b: any): "-" | "Y" | "N";
2
2
  export function toBoolFromYesNoUn(yn: any): boolean | undefined;
3
3
  /**
4
4
  * USPData object supplied to the __uspapi callback method
@@ -1,6 +1,9 @@
1
1
  export const DOMAIN: "iab.usp";
2
2
  export function getStore(state: any): any;
3
3
  export function doesCCPAApply(state: any): boolean;
4
- export function getConsentString(state: any, { gppSection, version: providedVersion }?: {}): string;
4
+ export function getConsentString(state: any, { gppSection, version: providedVersion }?: {
5
+ gppSection: any;
6
+ version: any;
7
+ }): string;
5
8
  export function getOptOut(state: any): any;
6
9
  //# sourceMappingURL=selectors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../src/iab/usp/selectors.js"],"names":[],"mappings":"AAIA,qBAAsB,SAAS,CAAC;AAEzB,0CAAgD;AAChD,mDACsD;AAEtD,oGAmBN;AACM,2CAAiD"}
1
+ {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../src/iab/usp/selectors.js"],"names":[],"mappings":"AAIA,+BAAgC;AAEzB,0CAAgD;AAChD,mDACsD;AAEtD;;;WAmBN;AACM,2CAAiD"}
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/usp/v1/constants.js"],"names":[],"mappings":"AAAA,sBAAuB,UAAU,CAAC;AAElC,yBAA0B,OAAO,CAAC;AAClC,yBAA0B,iBAAiB,CAAC;AAC5C,sBAAuB,CAAC,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/usp/v1/constants.js"],"names":[],"mappings":"AAAA,iCAAkC;AAElC,iCAAkC;AAClC,2CAA4C;AAC5C,wBAAyB"}
@@ -1,7 +1,7 @@
1
1
  export default v1;
2
2
  declare namespace v1 {
3
3
  export let api: {
4
- bind: (store: any) => (command: string, version: number, callback: requestCallback, parameter?: string) => any;
4
+ bind: (store: any) => (command: string, version: number, callback: requestCallback, parameter?: string | undefined) => any;
5
5
  };
6
6
  export { apiName };
7
7
  export { createMiddleware };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/usp/v1/index.js"],"names":[],"mappings":";;;+BAWoD,eAAO,EAAC,eAE3D,EAAC,UANM,eAMG,EAAC,kBAAU;;;;;;;;wBAZuC,aAAa;AAY1E,sCACQ,UAAK,MAAI,SAAI,MAAI,WAAM,SA4B9B;2BAzC4D,aAAa;2BAAb,aAAa"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/usp/v1/index.js"],"names":[],"mappings":";;;2EAOQ,eAAe;;;;;;;;wBANsC,aAAa;AAY1E,yFA6BC;2BAzC4D,aAAa;2BAAb,aAAa"}
@@ -1 +1 @@
1
- {"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../../../../src/iab/utilities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAU,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAElE,eAAO,MAAM,yBAAyB,GACrC,QAAQ,YAAY,GAAG,YAAY,EACnC,eAAa,eAYb,CAAC"}
1
+ {"version":3,"file":"utilities.d.ts","sourceRoot":"","sources":["../../../../src/iab/utilities.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAU,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAElE,eAAO,MAAM,yBAAyB,WAC7B,YAAY,GAAG,YAAY,gCAanC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"OsanoCmp.d.ts","sourceRoot":"","sources":["../../../../src/native/OsanoCmp.ts"],"names":[],"mappings":"AAoBA,wBAAgB,WAAW,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC,CAEhE;AACD,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAEtE;AACD,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC,CA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O,CAAC,OAAO,CAAC,CAIlB;AACD,wBAAgB,uBAAuB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAIlE"}
@@ -1 +1 @@
1
- {"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../src/reducer.ts"],"names":[],"mappings":"AAmBA,OAAO,EACN,eAAe,EAEf,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EAAc,WAAW,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAIzE,eAAO,MAAM,eAAe,mBAAiC,CAAC;AAE9D,eAAO,MAAM,YAAY,EAAE,UA2B1B,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,aAAa,UAAU,GAAG,GAAG,KAAG,UAiBpD,CAAC;AAkCF,wBAAgB,OAAO,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,GAAG,UAAU,CA+S1E"}
1
+ {"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../src/reducer.ts"],"names":[],"mappings":"AAmBA,OAAO,EACN,eAAe,EAEf,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EAAc,WAAW,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAIzE,eAAO,MAAM,eAAe,mBAAiC,CAAC;AAE9D,eAAO,MAAM,YAAY,EAAE,UA2B1B,CAAC;AAEF,eAAO,MAAM,IAAI,gBAAiB,UAAU,GAAG,GAAG,KAAG,UAiBpD,CAAC;AAkCF,wBAAgB,OAAO,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,WAAW,GAAG,UAAU,CA+S1E"}
@@ -1 +1 @@
1
- {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../src/selectors.ts"],"names":[],"mappings":"AACA,OAAO,EAEN,eAAe,IAAI,mBAAmB,EACtC,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI5D,eAAO,MAAM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ACtC,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI5D,eAAO,MAAM,kBAAkB,UACvB,UAAU,YACP,mBAAmB,YACW,CAAC;AAE1C,eAAO,MAAM,wBAAwB,UAAW,UAAU,YACrB,CAAC;AACtC,eAAO,MAAM,kBAAkB,UACvB,UAAU,YACP,mBAAmB,YAMuB,CAAC;AAEtD,eAAO,MAAM,YAAY,UAAW,UAAU,YAA2B,CAAC;AAC1E,eAAO,MAAM,YAAY,UAAW,UAAU,YACL,CAAC;AAE1C,eAAO,MAAM,mBAAmB,UAAW,UAAU,YAMmB,CAAC;AACzE,eAAO,MAAM,kBAAkB,UAAW,UAAU,gBAAgB,OAAO,YAK3D,CAAC;AAEjB,wBAAgB,UAAU,CAAC,KAAK,EAAE,UAAU,GAAG,mBAAmB,EAAE,CAAC;AACrE,wBAAgB,UAAU,CACzB,KAAK,EAAE,UAAU,EACjB,QAAQ,EAAE,mBAAmB,GAC3B,OAAO,CAAC;AASX,eAAO,MAAM,mBAAmB,UAAW,UAAU,KAAG,MACpB,CAAC;AAQrC,eAAO,MAAM,cAAc,UAAW,UAAU,YACpB,CAAC;AAC7B,eAAO,MAAM,oBAAoB,UAAW,UAAU,YAErD,CAAC;AACF,eAAO,MAAM,gCAAgC,UACrC,UAAU,YACP,mBAAmB,YAO7B,CAAC;AACF,eAAO,MAAM,sBAAsB,UAC3B,UAAU,YACP,mBAAmB,KAC3B,UAAU,EAUZ,CAAC;AAEF,wBAAgB,QAAQ,CAAC,KAAK,EAAE,UAAU,GAAG,MAAM,EAAE,CAAC;AACtD,wBAAgB,QAAQ,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC"}
@@ -1,6 +1,6 @@
1
- import type { ConsentManager } from '../ConsentManager';
2
1
  import { ConsentCategory, ConsentCategory as ConsentCategoryType } from '../constants';
3
2
  import type { Config } from '../types/consent-config';
3
+ import type { ConsentManager } from '../ConsentManager';
4
4
  export type ConsentPayload = {
5
5
  customerId: string;
6
6
  configId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../src/services/consent.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EACN,eAAe,EACf,eAAe,IAAI,mBAAmB,EAEtC,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AActD,MAAM,MAAM,cAAc,GAAG;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAClC,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IAClC,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACvC,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,aAAa,EAAE,MAAM,CAAC;CACtB,CAAC;AA2EF,eAAO,MAAM,YAAY,GAAU,KAAK,cAAc,+BAgBrD,CAAC;AAyDF,eAAO,MAAM,aAAa,GACzB,KAAK,cAAc,EACnB,UAAU,mBAAmB,EAAE,+BAY/B,CAAC;AAEF,wBAAgB,cAAc,CAC7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AAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,SAAS,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgKxD,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAkB,MAAM,kBAAkB,CAAC;AA8BjE,eAAO,MAAM,mBAAmB,UACxB,MAAM,4BAOb,CAAC;AAEF,eAAO,MAAM,kBAAkB,YAAa,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgKxD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Color.d.ts","sourceRoot":"","sources":["../../../../src/utils/Color.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,GACtB,cAAU,EACV,eAAe,MAAM,KACnB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,MAAM,CA6C9C,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,GAAG,MAAM,MAAM,EAAE,aACN,CAAC;AACxC,eAAO,MAAM,cAAc,GAAI,GAAG,MAAM,MAAM,EAAE,WAIqB,CAAC;AAEtE,eAAO,MAAM,QAAQ,GAAI,GAAG,MAAM,WAA4B,CAAC;AAG/D,eAAO,MAAM,aAAa,GAAI,GAAG,MAAM,WAAsC,CAAC;AAC9E,eAAO,MAAM,gBAAgB,GAAI,GAAG,MAAM,MAAM,EAAE,WAIhD,CAAC;AAEH,eAAO,MAAM,WAAW,GA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F,eAAO,MAAM,MAAM,QAAS,MAAM,GAAG,MAAM,EAAE,OAAO,MAAM,WAC5B,CAAC;AAC/B,eAAO,MAAM,OAAO,QAAS,MAAM,GAAG,MAAM,EAAE,OAAO,MAAM,WAC9B,CAAC"}
@@ -35,7 +35,7 @@ export default class Translator extends EventEmitter {
35
35
  private _langLoadSuccessSubscription?;
36
36
  private _langLoadFailureSubscription?;
37
37
  private _loading;
38
- load(desiredLocale?: string, onLangLoadSuccess?: () => void, onLangLoadFailure?: () => void): Promise<PromiseSettledResult<string | undefined>[]>;
38
+ load(desiredLocale?: string, onLangLoadSuccess?: () => void, onLangLoadFailure?: (err: Error) => void): Promise<PromiseSettledResult<string | undefined>[]>;
39
39
  get locale(): string;
40
40
  get isRTL(): boolean;
41
41
  replace(phrases: LocalizedStrings, specificLocale: string): this;
@@ -1 +1 @@
1
- {"version":3,"file":"Translator.d.ts","sourceRoot":"","sources":["../../../../src/utils/Translator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAqB,MAAM,gBAAgB,CAAC;AAOjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,KAAK,SAAS,GAAG;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC9B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,gBAAgB,CAAC;CAClD,CAAC;AAqBF,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,YAAY;IACnD,OAAO,CAAC,UAAU,CAAwC;IAC1D,OAAO,CAAC,cAAc,CAAQ;IAC9B,OAAO,CAAC,eAAe,CAAiB;IAExC,MAAM,CAAC,gBAAgB,SAAQ;IAC/B,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM;IAI3B,MAAM,CAAC,iBAAiB,C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AAC;IAyItD,IAAI,MAAM,WAET;IAED,IAAI,KAAK,YAER;IAED,OAAO,CAAC,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,GAAG,IAAI;IAShE;;OAEG;IACH,QAAQ,CACP,GAAG,EAAE,MAAM,GACT,CACF,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,aAAa,EAAE,MAAM,KACjB,MAAM,GAAG,gBAAgB;IAK9B;;OAEG;IACH,SAAS,CACR,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,EACvB,KAAK,GAAE,MAAM,GAAG,SAAc,EAC9B,aAAa,CAAC,EAAE,MAAM,GACpB,MAAM,GAAG,gBAAgB;IA4B5B;;OAEG;IACH,iBAAiB,CAAC,MAAM,CAAC,EAAE,MAAM;IAIjC;;OAEG;IACH,cAAc,CAAC,MAAM,EAAE,MAAM;IAQ7B,OAAO;CAGP"}
@@ -1,5 +1,7 @@
1
1
  import React from 'react';
2
- import { type ViewProps } from 'react-native';
3
- export declare const Buttons: React.FC<ViewProps>;
2
+ import { type ViewProps, type ViewStyle } from 'react-native';
3
+ export declare const Buttons: React.FC<ViewProps & {
4
+ buttonStyle?: ViewStyle;
5
+ }>;
4
6
  export default Buttons;
5
7
  //# sourceMappingURL=Buttons.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Buttons.d.ts","sourceRoot":"","sources":["../../../../../src/views/Dialog/Buttons.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAKhE,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAgDvC,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Buttons.d.ts","sourceRoot":"","sources":["../../../../../src/views/Dialog/Buttons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAoB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAYhF,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,GAAG;IAAE,WAAW,CAAC,EAAE,SAAS,CAAA;CAAE,CAoDrE,CAAC;AAeF,eAAe,OAAO,CAAC"}
@@ -1,5 +1,5 @@
1
- import { Modal } from 'react-native';
2
1
  import type { ReactElement } from 'react';
2
+ import { Modal } from 'react-native';
3
3
  export declare const Dialog: () => ReactElement<Modal>;
4
4
  export default Dialog;
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/views/Dialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,EAWL,MAAM,cAAc,CAAC;AAStB,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAiB1C,eAAO,MAAM,MAAM,QAAO,YAAY,CAAC,KAAK,CAsS3C,CAAC;AAyGF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/views/Dialog/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAQ1C,OAAO,EACN,KAAK,EAWL,MAAM,cAAc,CAAC;AAiBtB,eAAO,MAAM,MAAM,QAAO,YAAY,CAAC,KAAK,CAgR3C,CAAC;AA+GF,eAAe,MAAM,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Drawer.ConsentCategories.d.ts","sourceRoot":"","sources":["../../../../../src/views/Drawer/Drawer.ConsentCategories.tsx"],"names":[],"mappings":"AAaA,OAAO,KAMN,MAAM,OAAO,CAAC;AAshBf,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EA8G3C,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
1
+ {"version":3,"file":"Drawer.ConsentCategories.d.ts","sourceRoot":"","sources":["../../../../../src/views/Drawer/Drawer.ConsentCategories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AAmiBf,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EA8G3C,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
@@ -1,5 +1,5 @@
1
- import { type LayoutChangeEvent } from 'react-native';
2
1
  import React from 'react';
2
+ import { type LayoutChangeEvent } from 'react-native';
3
3
  export type DrawerHeaderType = {
4
4
  title: string;
5
5
  canGoBack: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"Drawer.Header.d.ts","sourceRoot":"","sources":["../../../../../src/views/Drawer/Drawer.Header.tsx"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,iBAAiB,EAOtB,MAAM,cAAc,CAAC;AACtB,OAAO,KAA2C,MAAM,OAAO,CAAC;AAOhE,MAAM,MAAM,gBAAgB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,oBAAoB,CAAC,EAAE,CAAC,CAAC,EAAE,iBAAiB,KAAK,IAAI,CAAC;CACtD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAgFnD,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"Drawer.Header.d.ts","sourceRoot":"","sources":["../../../../../src/views/Drawer/Drawer.Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAChE,OAAO,EAKN,KAAK,iBAAiB,EAGtB,MAAM,cAAc,CAAC;AAQtB,MAAM,MAAM,gBAAgB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,oBAAoB,CAAC,EAAE,CAAC,CAAC,EAAE,iBAAiB,KAAK,IAAI,CAAC;CACtD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAgFnD,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Drawer.Iab.Vendors.d.ts","sourceRoot":"","sources":["../../../../../src/views/Drawer/Drawer.Iab.Vendors.tsx"],"names":[],"mappings":"AAYA,OAAO,KAA2C,MAAM,OAAO,CAAC;AA6chE,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EA6CpC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"Drawer.Iab.Vendors.d.ts","sourceRoot":"","sources":["../../../../../src/views/Drawer/Drawer.Iab.Vendors.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAodhE,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EA0CpC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/views/Drawer/index.tsx"],"names":[],"mappings":"AAcA,OAAO,KAMN,MAAM,OAAO,CAAC;AAgBf,KAAK,WAAW,GAAG,KAAK,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;AAKnD,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAoOxC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/views/Drawer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AA8Bf,KAAK,WAAW,GAAG,KAAK,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC;AAKnD,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAuPxC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osano/osano-cmp-react-native",
3
- "version": "0.13.0",
3
+ "version": "0.14.0",
4
4
  "description": "Package and example for the react-native Osano CMP SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -70,7 +70,9 @@
70
70
  "@docusaurus/core": "3.5.2",
71
71
  "@docusaurus/module-type-aliases": "3.5.2",
72
72
  "@docusaurus/preset-classic": "3.5.2",
73
+ "@evilmartians/lefthook": "^1.12.2",
73
74
  "@mdx-js/react": "^3.0.1",
75
+ "@react-native-community/cli": "^18.0.0",
74
76
  "@testing-library/react-native": "^12.8.1",
75
77
  "@types/jest": "^29.5.5",
76
78
  "@types/react": "^18.2.44",
@@ -81,9 +83,10 @@
81
83
  "jest": "^29.7.0",
82
84
  "prettier": "^3.0.3",
83
85
  "prism-react-renderer": "^2.4.0",
84
- "react": "18.3.1",
85
- "react-native": "0.74.4",
86
- "react-native-builder-bob": "^0.23.2",
86
+ "react": "19.1.0",
87
+ "react-native": "0.80.0",
88
+ "react-native-builder-bob": "^0.40.13",
89
+ "react-native-picker-modal-view": "^1.3.2",
87
90
  "react-test-renderer": "^18.3.1",
88
91
  "release-it": "^17.6.0",
89
92
  "turbo": "^1.10.7",
@@ -141,8 +144,12 @@
141
144
  },
142
145
  "dependencies": {
143
146
  "js-sha512": "^0.9.0",
144
- "react-native-picker-modal-view": "^1.3.2",
145
- "react-native-svg": "^15.1.0",
147
+ "react-native-svg": "^15.12.0",
146
148
  "text-encoding": "^0.7.0"
149
+ },
150
+ "codegenConfig": {
151
+ "name": "RNOsanoCmpSdkSpec",
152
+ "type": "modules",
153
+ "jsSrcsDir": "src"
147
154
  }
148
155
  }
@@ -195,7 +195,7 @@ export class ConsentConfig extends EventEmitter {
195
195
  load() {
196
196
  if (!this._customerId || !this._configId) {
197
197
  this.emit('loadFailure', CONFIG_ID_ERROR);
198
- return;
198
+ return Promise.reject(CONFIG_ID_ERROR);
199
199
  }
200
200
  return fetchConfigWithRetries(this._customerId, this._configId)
201
201
  .then((config: Config | null) => {
@@ -220,9 +220,11 @@ export class ConsentConfig extends EventEmitter {
220
220
  this._config = merge(this._config, config) as Config;
221
221
  storeConfig(this._configId, this._config);
222
222
  this.emit('loadSuccess', this._config);
223
+ return this._config;
223
224
  })
224
225
  .catch((err) => {
225
226
  this.emit('loadFailure', err);
227
+ throw err;
226
228
  });
227
229
  }
228
230
  get config(): Config {
@@ -682,7 +684,15 @@ export class ConsentManager {
682
684
  err instanceof Error ? err : undefined,
683
685
  );
684
686
  }
685
- this._locale = NativeModules.I18nManager.localeIdentifier;
687
+ // Safely access I18nManager.localeIdentifier with null check
688
+ try {
689
+ this._locale =
690
+ NativeModules.I18nManager?.localeIdentifier ||
691
+ Translator.DEFAULT_LANGUAGE;
692
+ } catch (err) {
693
+ console.log(`Error getting locale from I18nManager: ${err}`);
694
+ this._locale = Translator.DEFAULT_LANGUAGE;
695
+ }
686
696
  break;
687
697
  }
688
698
  case 'ios': {
@@ -694,12 +704,32 @@ export class ConsentManager {
694
704
  err instanceof Error ? err : undefined,
695
705
  );
696
706
  }
697
- this._locale =
698
- NativeModules.SettingsManager.settings.AppleLanguages[0] || //iOS 13
699
- NativeModules.SettingsManager.settings.AppleLocale;
707
+ try {
708
+ this._locale =
709
+ NativeModules.SettingsManager?.settings?.AppleLanguages?.[0] || //iOS 13
710
+ NativeModules.SettingsManager?.settings?.AppleLocale ||
711
+ Translator.DEFAULT_LANGUAGE;
712
+ } catch (err) {
713
+ console.log(`Error getting locale from SettingsManager: ${err}`);
714
+ this._locale = Translator.DEFAULT_LANGUAGE;
715
+ }
700
716
  break;
701
717
  }
702
718
  default: {
719
+ try {
720
+ getDeviceId().then(setDeviceId);
721
+ } catch (err) {
722
+ OsanoLogger.error(
723
+ `Error getting device id: ${err}`,
724
+ err instanceof Error ? err : undefined,
725
+ );
726
+ }
727
+ try {
728
+ this._locale = navigator.language;
729
+ } catch (err) {
730
+ console.log(`Error getting locale from I18nManager: ${err}`);
731
+ this._locale = Translator.DEFAULT_LANGUAGE;
732
+ }
703
733
  break;
704
734
  }
705
735
  }
@@ -724,9 +754,9 @@ export class ConsentManager {
724
754
  customerId?: string;
725
755
  configId?: string;
726
756
  onConfigLoadSuccess?: () => void;
727
- onConfigLoadFailure?: () => void;
757
+ onConfigLoadFailure?: (err: Error) => void;
728
758
  onLangLoadSuccess?: () => void;
729
- onLangLoadFailure?: () => void;
759
+ onLangLoadFailure?: (err: Error) => void;
730
760
  }) {
731
761
  const {
732
762
  customerId,
@@ -773,12 +803,18 @@ export class ConsentManager {
773
803
  }
774
804
  }
775
805
  this._loaded = false;
776
- this._loading = new Promise((resolveLoadConfig, rejectLoadConfig) => {
777
- this._cancelLoading = rejectLoadConfig;
778
-
779
- const handleConfigLoadSuccess = () => {
780
- this._configLoadSuccessSubscription?.remove();
781
- this._configLoadFailureSubscription?.remove();
806
+ const cancelPromise = new Promise((_, reject) => {
807
+ this._cancelLoading = reject;
808
+ });
809
+ this.config.customerId = customerId;
810
+ this.config.configId = configId;
811
+ this._loading = Promise.race([this._config.load(), cancelPromise])
812
+ .then(() => {
813
+ // If the config loads successfully, we can fetch the consent
814
+ onConfigLoadSuccess && onConfigLoadSuccess();
815
+ OsanoLogger.debug(
816
+ `ConsentManager: Config loaded successfully for customerId: ${customerId}, configId: ${configId}`,
817
+ );
782
818
  const locale = this._locale;
783
819
  if (this._overridePalette) {
784
820
  this._config.palette = merge(
@@ -786,65 +822,81 @@ export class ConsentManager {
786
822
  this._overridePalette,
787
823
  ) as Palette;
788
824
  }
789
- resolveLoadConfig(
790
- new Promise((resolve, reject) => {
791
- this._cancelLoading = reject;
792
- fetchConsent(this)
793
- .catch(() => {
794
- // Consent not found
795
- return Promise.resolve([ConsentCategory.ESSENTIAL]);
825
+ OsanoLogger.debug(`ConsentManager: Loading consent`);
826
+ return fetchConsent(this)
827
+ .catch(() => {
828
+ OsanoLogger.debug(
829
+ `ConsentManager: No stored consent found for customerId: ${customerId}, configId: ${configId}`,
830
+ );
831
+ // If no stored consent, return essential consent by default
832
+ // This is to ensure CMP can render even if no consent is stored
833
+ // Consent not found
834
+ return Promise.resolve([ConsentCategory.ESSENTIAL]);
835
+ })
836
+ .then((consent) => {
837
+ OsanoLogger.debug(
838
+ `ConsentManager: Consent loaded successfully for customerId: ${customerId}, configId: ${configId}, consent: ${JSON.stringify(consent)}`,
839
+ );
840
+ this.consent = consent;
841
+ this.triggerGoogleConsentUpdate(consent);
842
+ return this._translator
843
+ .load(locale, onLangLoadSuccess, onLangLoadFailure)
844
+ .then((results) => {
845
+ OsanoLogger.debug(
846
+ `ConsentManager: Locale loaded successfully for customerId: ${customerId}, configId: ${configId}, locale: ${locale}`,
847
+ );
848
+ delete this._cancelLoading;
849
+ delete this._loading;
850
+ const globalResult = results[0];
851
+ // As long as the global locale is loaded, we can render the CMP
852
+ if (globalResult?.status === 'fulfilled') {
853
+ this._loaded = true;
854
+ const globalLocale = globalResult?.value || locale;
855
+ return {
856
+ config: this._config,
857
+ customerId,
858
+ configId,
859
+ locale: globalLocale,
860
+ consent,
861
+ };
862
+ }
863
+ // If the global locale failed to load, we can't render the CMP
864
+ throw new Error(globalResult?.reason);
796
865
  })
797
- .then((consent) => {
798
- this.consent = consent;
799
- this.triggerGoogleConsentUpdate(consent);
800
- return this._translator
801
- .load(locale, onLangLoadSuccess, onLangLoadFailure)
802
- .then((results) => {
803
- delete this._cancelLoading;
804
- delete this._loading;
805
- const globalResult = results[0];
806
- // As long as the global locale is loaded, we can render the CMP
807
- if (globalResult?.status === 'fulfilled') {
808
- this._loaded = true;
809
- const globalLocale = globalResult?.value || locale;
810
- resolve({
811
- config: this._config,
812
- customerId,
813
- configId,
814
- locale: globalLocale,
815
- consent,
816
- });
817
- return;
818
- }
819
- // If the global locale failed to load, we can't render the CMP
820
- reject(new Error(globalResult?.reason));
821
- });
866
+ .catch((err) => {
867
+ this._loaded = false;
868
+ OsanoLogger.error(
869
+ `ConsentManager: Error loading locale for customerId: ${customerId}, configId: ${configId}: ${err}`,
870
+ );
871
+ delete this._cancelLoading;
872
+ delete this._loading;
873
+ onLangLoadFailure && onLangLoadFailure(err);
874
+ return {
875
+ config: this._config,
876
+ customerId,
877
+ configId,
878
+ locale,
879
+ consent,
880
+ };
822
881
  });
823
- }),
824
- );
825
- onConfigLoadSuccess && onConfigLoadSuccess();
826
- };
827
- const handleConfigLoadFailure = (err: Error) => {
882
+ });
883
+ })
884
+ .catch((err) => {
828
885
  this._loaded = false;
886
+ OsanoLogger.error(
887
+ `ConsentManager: Error loading config for customerId: ${customerId}, configId: ${configId}: ${err}`,
888
+ );
829
889
  delete this._cancelLoading;
830
890
  delete this._loading;
831
- this._configLoadSuccessSubscription?.remove();
832
- this._configLoadFailureSubscription?.remove();
833
- onConfigLoadFailure && onConfigLoadFailure();
834
- rejectLoadConfig(err);
835
- };
836
- this._configLoadSuccessSubscription = this._config.on(
837
- 'loadSuccess',
838
- handleConfigLoadSuccess,
839
- );
840
- this._configLoadFailureSubscription = this._config.on(
841
- 'loadFailure',
842
- handleConfigLoadFailure,
843
- );
844
- this.config.customerId = customerId;
845
- this.config.configId = configId;
846
- this._config.load();
847
- });
891
+ onConfigLoadFailure && onConfigLoadFailure(err);
892
+ return {
893
+ config: this._config,
894
+ customerId,
895
+ configId,
896
+ locale: this._translator.locale,
897
+ consent: [ConsentCategory.ESSENTIAL],
898
+ };
899
+ });
848
900
 
849
901
  return this._loading;
850
902
  }