@osano/osano-cmp-react-native 0.11.0 → 0.13.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 (520) hide show
  1. package/README.dev.md +216 -1
  2. package/README.md +2 -267
  3. package/android/src/main/java/com/OsanoCMPSDK/OsanoCMPSDKModule.kt +41 -0
  4. package/ios/OsanoCmpSDK.mm +42 -0
  5. package/lib/commonjs/ConsentManager.js +82 -11
  6. package/lib/commonjs/ConsentManager.js.map +1 -1
  7. package/lib/commonjs/ConsentUiBuilder.js +10 -7
  8. package/lib/commonjs/ConsentUiBuilder.js.map +1 -1
  9. package/lib/commonjs/commands.js +10 -5
  10. package/lib/commonjs/commands.js.map +1 -1
  11. package/lib/commonjs/components/Button.js +6 -7
  12. package/lib/commonjs/components/Button.js.map +1 -1
  13. package/lib/commonjs/components/Checkbox.js +1 -2
  14. package/lib/commonjs/components/Checkbox.js.map +1 -1
  15. package/lib/commonjs/components/ExpansionPanel.js +1 -2
  16. package/lib/commonjs/components/ExpansionPanel.js.map +1 -1
  17. package/lib/commonjs/components/Link.js +1 -2
  18. package/lib/commonjs/components/Link.js.map +1 -1
  19. package/lib/commonjs/components/StoragePolicyLink.js +1 -2
  20. package/lib/commonjs/components/StoragePolicyLink.js.map +1 -1
  21. package/lib/commonjs/components/Toggle.js +1 -2
  22. package/lib/commonjs/components/Toggle.js.map +1 -1
  23. package/lib/commonjs/context.js +7 -5
  24. package/lib/commonjs/context.js.map +1 -1
  25. package/lib/commonjs/iab/tcf/consent.js +0 -5
  26. package/lib/commonjs/iab/tcf/consent.js.map +1 -1
  27. package/lib/commonjs/iab/tcf/constants.js +34 -1
  28. package/lib/commonjs/iab/tcf/constants.js.map +1 -1
  29. package/lib/commonjs/iab/tcf/iab-storage-utils.js +102 -0
  30. package/lib/commonjs/iab/tcf/iab-storage-utils.js.map +1 -0
  31. package/lib/commonjs/iab/tcf/index.js +1 -2
  32. package/lib/commonjs/iab/tcf/index.js.map +1 -1
  33. package/lib/commonjs/iab/tcf/middleware.js +33 -35
  34. package/lib/commonjs/iab/tcf/middleware.js.map +1 -1
  35. package/lib/commonjs/iab/tcf/selectors.js +1 -1
  36. package/lib/commonjs/iab/tcf/selectors.js.map +1 -1
  37. package/lib/commonjs/iab/tcf/v2.0/shared-constants.js +1 -2
  38. package/lib/commonjs/iab/tcf/v2.0/shared-constants.js.map +1 -1
  39. package/lib/commonjs/index.js +54 -15
  40. package/lib/commonjs/index.js.map +1 -1
  41. package/lib/commonjs/locale/af.json +342 -323
  42. package/lib/commonjs/locale/ar.json +342 -323
  43. package/lib/commonjs/locale/bg.json +342 -323
  44. package/lib/commonjs/locale/ca.json +342 -323
  45. package/lib/commonjs/locale/cs.json +342 -323
  46. package/lib/commonjs/locale/da.json +342 -323
  47. package/lib/commonjs/locale/de-at.json +342 -323
  48. package/lib/commonjs/locale/de.json +342 -323
  49. package/lib/commonjs/locale/el.json +342 -323
  50. package/lib/commonjs/locale/en-au.json +342 -323
  51. package/lib/commonjs/locale/en-ca.json +342 -323
  52. package/lib/commonjs/locale/en-gb.json +342 -323
  53. package/lib/commonjs/locale/en.json +342 -323
  54. package/lib/commonjs/locale/es-mx.json +342 -323
  55. package/lib/commonjs/locale/es.json +342 -323
  56. package/lib/commonjs/locale/et.json +342 -323
  57. package/lib/commonjs/locale/fa.json +342 -323
  58. package/lib/commonjs/locale/fi.json +342 -323
  59. package/lib/commonjs/locale/fr-ca.json +342 -323
  60. package/lib/commonjs/locale/fr.json +342 -323
  61. package/lib/commonjs/locale/gd.json +342 -323
  62. package/lib/commonjs/locale/he.json +342 -323
  63. package/lib/commonjs/locale/hi.json +342 -323
  64. package/lib/commonjs/locale/hr.json +342 -323
  65. package/lib/commonjs/locale/hu.json +342 -323
  66. package/lib/commonjs/locale/hy.json +342 -323
  67. package/lib/commonjs/locale/id.json +342 -323
  68. package/lib/commonjs/locale/is.json +342 -323
  69. package/lib/commonjs/locale/it.json +342 -323
  70. package/lib/commonjs/locale/ja.json +342 -323
  71. package/lib/commonjs/locale/kk.json +342 -323
  72. package/lib/commonjs/locale/ko.json +342 -323
  73. package/lib/commonjs/locale/lt.json +342 -323
  74. package/lib/commonjs/locale/lv.json +342 -323
  75. package/lib/commonjs/locale/mi.json +342 -323
  76. package/lib/commonjs/locale/ms.json +342 -323
  77. package/lib/commonjs/locale/nb.json +342 -323
  78. package/lib/commonjs/locale/nl-be.json +342 -323
  79. package/lib/commonjs/locale/nl.json +342 -323
  80. package/lib/commonjs/locale/nn.json +342 -323
  81. package/lib/commonjs/locale/no.json +342 -323
  82. package/lib/commonjs/locale/pl.json +342 -323
  83. package/lib/commonjs/locale/pt-br.json +342 -323
  84. package/lib/commonjs/locale/pt.json +342 -323
  85. package/lib/commonjs/locale/ro.json +342 -323
  86. package/lib/commonjs/locale/ru.json +342 -323
  87. package/lib/commonjs/locale/sk.json +342 -323
  88. package/lib/commonjs/locale/sl.json +342 -323
  89. package/lib/commonjs/locale/sq.json +342 -323
  90. package/lib/commonjs/locale/sr.json +342 -323
  91. package/lib/commonjs/locale/sv.json +342 -323
  92. package/lib/commonjs/locale/th.json +342 -323
  93. package/lib/commonjs/locale/tl.json +342 -323
  94. package/lib/commonjs/locale/tr.json +342 -323
  95. package/lib/commonjs/locale/uk.json +342 -323
  96. package/lib/commonjs/locale/vi.json +342 -323
  97. package/lib/commonjs/locale/zh-hk.json +342 -323
  98. package/lib/commonjs/locale/zh-tw.json +342 -323
  99. package/lib/commonjs/locale/zh.json +342 -323
  100. package/lib/commonjs/locale/zu.json +342 -323
  101. package/lib/commonjs/native/OsanoCmp.js +16 -0
  102. package/lib/commonjs/native/OsanoCmp.js.map +1 -1
  103. package/lib/commonjs/selectors.js +1 -1
  104. package/lib/commonjs/selectors.js.map +1 -1
  105. package/lib/commonjs/services/consent.js +60 -8
  106. package/lib/commonjs/services/consent.js.map +1 -1
  107. package/lib/commonjs/services/google-consent-mode-mapper.js +109 -0
  108. package/lib/commonjs/services/google-consent-mode-mapper.js.map +1 -0
  109. package/lib/commonjs/types/google-consent-mode.js +73 -0
  110. package/lib/commonjs/types/google-consent-mode.js.map +1 -0
  111. package/lib/commonjs/utils/EventEmitter.js +0 -2
  112. package/lib/commonjs/utils/EventEmitter.js.map +1 -1
  113. package/lib/commonjs/utils/OsanoLogger.js +51 -0
  114. package/lib/commonjs/utils/OsanoLogger.js.map +1 -0
  115. package/lib/commonjs/utils/Translator.js +2 -2
  116. package/lib/commonjs/utils/Translator.js.map +1 -1
  117. package/lib/commonjs/utils/index.js +7 -0
  118. package/lib/commonjs/utils/index.js.map +1 -1
  119. package/lib/commonjs/views/Dialog/Buttons.js +1 -2
  120. package/lib/commonjs/views/Dialog/Buttons.js.map +1 -1
  121. package/lib/commonjs/views/Dialog/FirstLayerUsage.js +1 -2
  122. package/lib/commonjs/views/Dialog/FirstLayerUsage.js.map +1 -1
  123. package/lib/commonjs/views/Dialog/Message.js +1 -2
  124. package/lib/commonjs/views/Dialog/Message.js.map +1 -1
  125. package/lib/commonjs/views/Dialog/PreferenceManagementDeepLinks.js +1 -2
  126. package/lib/commonjs/views/Dialog/PreferenceManagementDeepLinks.js.map +1 -1
  127. package/lib/commonjs/views/Dialog/index.js +1 -2
  128. package/lib/commonjs/views/Dialog/index.js.map +1 -1
  129. package/lib/commonjs/views/Drawer/Drawer.ConsentCategories.js +1 -2
  130. package/lib/commonjs/views/Drawer/Drawer.ConsentCategories.js.map +1 -1
  131. package/lib/commonjs/views/Drawer/Drawer.Header.js +1 -2
  132. package/lib/commonjs/views/Drawer/Drawer.Header.js.map +1 -1
  133. package/lib/commonjs/views/Drawer/Drawer.Iab.Disclosures.js +1 -2
  134. package/lib/commonjs/views/Drawer/Drawer.Iab.Disclosures.js.map +1 -1
  135. package/lib/commonjs/views/Drawer/Drawer.Iab.Vendors.js +1 -2
  136. package/lib/commonjs/views/Drawer/Drawer.Iab.Vendors.js.map +1 -1
  137. package/lib/commonjs/views/Drawer/index.js +1 -2
  138. package/lib/commonjs/views/Drawer/index.js.map +1 -1
  139. package/lib/module/ConsentManager.js +81 -9
  140. package/lib/module/ConsentManager.js.map +1 -1
  141. package/lib/module/ConsentUiBuilder.js +9 -5
  142. package/lib/module/ConsentUiBuilder.js.map +1 -1
  143. package/lib/module/commands.js +10 -5
  144. package/lib/module/commands.js.map +1 -1
  145. package/lib/module/components/Button.js +5 -5
  146. package/lib/module/components/Button.js.map +1 -1
  147. package/lib/module/context.js +7 -5
  148. package/lib/module/context.js.map +1 -1
  149. package/lib/module/iab/tcf/consent.js +0 -5
  150. package/lib/module/iab/tcf/consent.js.map +1 -1
  151. package/lib/module/iab/tcf/constants.js +32 -0
  152. package/lib/module/iab/tcf/constants.js.map +1 -1
  153. package/lib/module/iab/tcf/iab-storage-utils.js +89 -0
  154. package/lib/module/iab/tcf/iab-storage-utils.js.map +1 -0
  155. package/lib/module/iab/tcf/middleware.js +25 -27
  156. package/lib/module/iab/tcf/middleware.js.map +1 -1
  157. package/lib/module/iab/tcf/selectors.js +1 -1
  158. package/lib/module/iab/tcf/selectors.js.map +1 -1
  159. package/lib/module/index.js +47 -13
  160. package/lib/module/index.js.map +1 -1
  161. package/lib/module/locale/af.json +342 -323
  162. package/lib/module/locale/ar.json +342 -323
  163. package/lib/module/locale/bg.json +342 -323
  164. package/lib/module/locale/ca.json +342 -323
  165. package/lib/module/locale/cs.json +342 -323
  166. package/lib/module/locale/da.json +342 -323
  167. package/lib/module/locale/de-at.json +342 -323
  168. package/lib/module/locale/de.json +342 -323
  169. package/lib/module/locale/el.json +342 -323
  170. package/lib/module/locale/en-au.json +342 -323
  171. package/lib/module/locale/en-ca.json +342 -323
  172. package/lib/module/locale/en-gb.json +342 -323
  173. package/lib/module/locale/en.json +342 -323
  174. package/lib/module/locale/es-mx.json +342 -323
  175. package/lib/module/locale/es.json +342 -323
  176. package/lib/module/locale/et.json +342 -323
  177. package/lib/module/locale/fa.json +342 -323
  178. package/lib/module/locale/fi.json +342 -323
  179. package/lib/module/locale/fr-ca.json +342 -323
  180. package/lib/module/locale/fr.json +342 -323
  181. package/lib/module/locale/gd.json +342 -323
  182. package/lib/module/locale/he.json +342 -323
  183. package/lib/module/locale/hi.json +342 -323
  184. package/lib/module/locale/hr.json +342 -323
  185. package/lib/module/locale/hu.json +342 -323
  186. package/lib/module/locale/hy.json +342 -323
  187. package/lib/module/locale/id.json +342 -323
  188. package/lib/module/locale/is.json +342 -323
  189. package/lib/module/locale/it.json +342 -323
  190. package/lib/module/locale/ja.json +342 -323
  191. package/lib/module/locale/kk.json +342 -323
  192. package/lib/module/locale/ko.json +342 -323
  193. package/lib/module/locale/lt.json +342 -323
  194. package/lib/module/locale/lv.json +342 -323
  195. package/lib/module/locale/mi.json +342 -323
  196. package/lib/module/locale/ms.json +342 -323
  197. package/lib/module/locale/nb.json +342 -323
  198. package/lib/module/locale/nl-be.json +342 -323
  199. package/lib/module/locale/nl.json +342 -323
  200. package/lib/module/locale/nn.json +342 -323
  201. package/lib/module/locale/no.json +342 -323
  202. package/lib/module/locale/pl.json +342 -323
  203. package/lib/module/locale/pt-br.json +342 -323
  204. package/lib/module/locale/pt.json +342 -323
  205. package/lib/module/locale/ro.json +342 -323
  206. package/lib/module/locale/ru.json +342 -323
  207. package/lib/module/locale/sk.json +342 -323
  208. package/lib/module/locale/sl.json +342 -323
  209. package/lib/module/locale/sq.json +342 -323
  210. package/lib/module/locale/sr.json +342 -323
  211. package/lib/module/locale/sv.json +342 -323
  212. package/lib/module/locale/th.json +342 -323
  213. package/lib/module/locale/tl.json +342 -323
  214. package/lib/module/locale/tr.json +342 -323
  215. package/lib/module/locale/uk.json +342 -323
  216. package/lib/module/locale/vi.json +342 -323
  217. package/lib/module/locale/zh-hk.json +342 -323
  218. package/lib/module/locale/zh-tw.json +342 -323
  219. package/lib/module/locale/zh.json +342 -323
  220. package/lib/module/locale/zu.json +342 -323
  221. package/lib/module/native/OsanoCmp.js +12 -0
  222. package/lib/module/native/OsanoCmp.js.map +1 -1
  223. package/lib/module/selectors.js +1 -1
  224. package/lib/module/selectors.js.map +1 -1
  225. package/lib/module/services/consent.js +54 -7
  226. package/lib/module/services/consent.js.map +1 -1
  227. package/lib/module/services/google-consent-mode-mapper.js +103 -0
  228. package/lib/module/services/google-consent-mode-mapper.js.map +1 -0
  229. package/lib/module/types/google-consent-mode.js +70 -0
  230. package/lib/module/types/google-consent-mode.js.map +1 -0
  231. package/lib/module/utils/EventEmitter.js +0 -2
  232. package/lib/module/utils/EventEmitter.js.map +1 -1
  233. package/lib/module/utils/OsanoLogger.js +44 -0
  234. package/lib/module/utils/OsanoLogger.js.map +1 -0
  235. package/lib/module/utils/Translator.js +2 -2
  236. package/lib/module/utils/Translator.js.map +1 -1
  237. package/lib/module/utils/index.js +1 -0
  238. package/lib/module/utils/index.js.map +1 -1
  239. package/lib/typescript/lib/commonjs/ConsentManager.d.ts +17 -1
  240. package/lib/typescript/lib/commonjs/ConsentManager.d.ts.map +1 -1
  241. package/lib/typescript/lib/commonjs/ConsentUiBuilder.d.ts.map +1 -1
  242. package/lib/typescript/lib/commonjs/commands.d.ts.map +1 -1
  243. package/lib/typescript/lib/commonjs/components/Button.d.ts.map +1 -1
  244. package/lib/typescript/lib/commonjs/components/Checkbox.d.ts.map +1 -1
  245. package/lib/typescript/lib/commonjs/components/ExpansionPanel.d.ts.map +1 -1
  246. package/lib/typescript/lib/commonjs/components/Link.d.ts.map +1 -1
  247. package/lib/typescript/lib/commonjs/components/StoragePolicyLink.d.ts.map +1 -1
  248. package/lib/typescript/lib/commonjs/components/Toggle.d.ts.map +1 -1
  249. package/lib/typescript/lib/commonjs/constants.d.ts.map +1 -1
  250. package/lib/typescript/lib/commonjs/iab/gpp/api.d.ts.map +1 -1
  251. package/lib/typescript/lib/commonjs/iab/gpp/consent.d.ts.map +1 -1
  252. package/lib/typescript/lib/commonjs/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts.map +1 -1
  253. package/lib/typescript/lib/commonjs/iab/gpp/v1/index.d.ts +1 -3
  254. package/lib/typescript/lib/commonjs/iab/gpp/v1/index.d.ts.map +1 -1
  255. package/lib/typescript/lib/commonjs/iab/index.d.ts.map +1 -1
  256. package/lib/typescript/lib/commonjs/iab/tcf/consent.d.ts.map +1 -1
  257. package/lib/typescript/lib/commonjs/iab/tcf/constants.d.ts +41 -1
  258. package/lib/typescript/lib/commonjs/iab/tcf/constants.d.ts.map +1 -1
  259. package/lib/typescript/lib/commonjs/iab/tcf/iab-storage-utils.d.ts +9 -0
  260. package/lib/typescript/lib/commonjs/iab/tcf/iab-storage-utils.d.ts.map +1 -0
  261. package/lib/typescript/lib/commonjs/iab/tcf/middleware.d.ts.map +1 -1
  262. package/lib/typescript/lib/commonjs/iab/tcf/reducer.d.ts.map +1 -1
  263. package/lib/typescript/lib/commonjs/iab/tcf/selectors.d.ts +0 -1
  264. package/lib/typescript/lib/commonjs/iab/tcf/selectors.d.ts.map +1 -1
  265. package/lib/typescript/lib/commonjs/iab/tcf/v2.0/shared-constants.d.ts.map +1 -1
  266. package/lib/typescript/lib/commonjs/iab/usp/api.d.ts +1 -1
  267. package/lib/typescript/lib/commonjs/iab/usp/api.d.ts.map +1 -1
  268. package/lib/typescript/lib/commonjs/iab/usp/consent.d.ts.map +1 -1
  269. package/lib/typescript/lib/commonjs/iab/usp/selectors.d.ts +1 -4
  270. package/lib/typescript/lib/commonjs/iab/usp/selectors.d.ts.map +1 -1
  271. package/lib/typescript/lib/commonjs/iab/usp/v1/index.d.ts.map +1 -1
  272. package/lib/typescript/lib/commonjs/index.d.ts +2 -0
  273. package/lib/typescript/lib/commonjs/native/OsanoCmp.d.ts +4 -0
  274. package/lib/typescript/lib/commonjs/native/OsanoCmp.d.ts.map +1 -1
  275. package/lib/typescript/lib/commonjs/reducer.d.ts +7 -1
  276. package/lib/typescript/lib/commonjs/reducer.d.ts.map +1 -1
  277. package/lib/typescript/lib/commonjs/services/consent.d.ts +4 -0
  278. package/lib/typescript/lib/commonjs/services/consent.d.ts.map +1 -1
  279. package/lib/typescript/lib/commonjs/services/google-consent-mode-mapper.d.ts +72 -0
  280. package/lib/typescript/lib/commonjs/services/google-consent-mode-mapper.d.ts.map +1 -0
  281. package/lib/typescript/lib/commonjs/types/google-consent-mode.d.ts +32 -0
  282. package/lib/typescript/lib/commonjs/types/google-consent-mode.d.ts.map +1 -0
  283. package/lib/typescript/lib/commonjs/utils/EventEmitter.d.ts.map +1 -1
  284. package/lib/typescript/lib/commonjs/utils/OsanoLogger.d.ts +16 -0
  285. package/lib/typescript/lib/commonjs/utils/OsanoLogger.d.ts.map +1 -0
  286. package/lib/typescript/lib/commonjs/utils/Translator.d.ts +1 -1
  287. package/lib/typescript/lib/commonjs/utils/Translator.d.ts.map +1 -1
  288. package/lib/typescript/lib/commonjs/utils/index.d.ts +2 -0
  289. package/lib/typescript/lib/commonjs/utils/index.d.ts.map +1 -1
  290. package/lib/typescript/lib/commonjs/views/Dialog/Buttons.d.ts.map +1 -1
  291. package/lib/typescript/lib/commonjs/views/Dialog/FirstLayerUsage.d.ts.map +1 -1
  292. package/lib/typescript/lib/commonjs/views/Dialog/Message.d.ts.map +1 -1
  293. package/lib/typescript/lib/commonjs/views/Dialog/PreferenceManagementDeepLinks.d.ts.map +1 -1
  294. package/lib/typescript/lib/commonjs/views/Dialog/index.d.ts.map +1 -1
  295. package/lib/typescript/lib/commonjs/views/Drawer/Drawer.ConsentCategories.d.ts.map +1 -1
  296. package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Header.d.ts.map +1 -1
  297. package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Iab.Disclosures.d.ts.map +1 -1
  298. package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Iab.Vendors.d.ts.map +1 -1
  299. package/lib/typescript/lib/commonjs/views/Drawer/index.d.ts.map +1 -1
  300. package/lib/typescript/lib/module/ConsentManager.d.ts +18 -2
  301. package/lib/typescript/lib/module/ConsentManager.d.ts.map +1 -1
  302. package/lib/typescript/lib/module/ConsentUiBuilder.d.ts +1 -0
  303. package/lib/typescript/lib/module/ConsentUiBuilder.d.ts.map +1 -1
  304. package/lib/typescript/lib/module/actions.d.ts.map +1 -1
  305. package/lib/typescript/lib/module/commands.d.ts +1 -1
  306. package/lib/typescript/lib/module/commands.d.ts.map +1 -1
  307. package/lib/typescript/lib/module/components/Button.d.ts.map +1 -1
  308. package/lib/typescript/lib/module/constants.d.ts.map +1 -1
  309. package/lib/typescript/lib/module/context.d.ts +10 -1
  310. package/lib/typescript/lib/module/context.d.ts.map +1 -1
  311. package/lib/typescript/lib/module/flavors/index.d.ts.map +1 -1
  312. package/lib/typescript/lib/module/iab/constants.d.ts.map +1 -1
  313. package/lib/typescript/lib/module/iab/gpp/api.d.ts.map +1 -1
  314. package/lib/typescript/lib/module/iab/gpp/consent.d.ts.map +1 -1
  315. package/lib/typescript/lib/module/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts.map +1 -1
  316. package/lib/typescript/lib/module/iab/gpp/v1/constants.d.ts.map +1 -1
  317. package/lib/typescript/lib/module/iab/gpp/v1/index.d.ts +1 -3
  318. package/lib/typescript/lib/module/iab/gpp/v1/index.d.ts.map +1 -1
  319. package/lib/typescript/lib/module/iab/index.d.ts.map +1 -1
  320. package/lib/typescript/lib/module/iab/tcf/consent.d.ts.map +1 -1
  321. package/lib/typescript/lib/module/iab/tcf/constants.d.ts +41 -1
  322. package/lib/typescript/lib/module/iab/tcf/constants.d.ts.map +1 -1
  323. package/lib/typescript/lib/module/iab/tcf/iab-storage-utils.d.ts +8 -0
  324. package/lib/typescript/lib/module/iab/tcf/iab-storage-utils.d.ts.map +1 -0
  325. package/lib/typescript/lib/module/iab/tcf/index.d.ts +0 -2
  326. package/lib/typescript/lib/module/iab/tcf/index.d.ts.map +1 -1
  327. package/lib/typescript/lib/module/iab/tcf/middleware.d.ts.map +1 -1
  328. package/lib/typescript/lib/module/iab/tcf/reducer.d.ts.map +1 -1
  329. package/lib/typescript/lib/module/iab/tcf/selectors.d.ts +0 -1
  330. package/lib/typescript/lib/module/iab/tcf/selectors.d.ts.map +1 -1
  331. package/lib/typescript/lib/module/iab/tcf/v2.0/index.d.ts +0 -2
  332. package/lib/typescript/lib/module/iab/tcf/v2.0/index.d.ts.map +1 -1
  333. package/lib/typescript/lib/module/iab/tcf/v2.0/shared-constants.d.ts +0 -1
  334. package/lib/typescript/lib/module/iab/tcf/v2.0/shared-constants.d.ts.map +1 -1
  335. package/lib/typescript/lib/module/iab/tcf/v2.0/tcfcav1-constants.d.ts +5 -2
  336. package/lib/typescript/lib/module/iab/tcf/v2.0/tcfcav1-constants.d.ts.map +1 -1
  337. package/lib/typescript/lib/module/iab/tcf/v2.0/tcfeuv2-constants.d.ts +0 -1
  338. package/lib/typescript/lib/module/iab/tcf/v2.0/tcfeuv2-constants.d.ts.map +1 -1
  339. package/lib/typescript/lib/module/iab/usp/api.d.ts +1 -1
  340. package/lib/typescript/lib/module/iab/usp/api.d.ts.map +1 -1
  341. package/lib/typescript/lib/module/iab/usp/consent.d.ts.map +1 -1
  342. package/lib/typescript/lib/module/iab/usp/selectors.d.ts +1 -4
  343. package/lib/typescript/lib/module/iab/usp/selectors.d.ts.map +1 -1
  344. package/lib/typescript/lib/module/iab/usp/v1/constants.d.ts.map +1 -1
  345. package/lib/typescript/lib/module/iab/usp/v1/index.d.ts +1 -1
  346. package/lib/typescript/lib/module/iab/usp/v1/index.d.ts.map +1 -1
  347. package/lib/typescript/lib/module/index.d.ts +1 -0
  348. package/lib/typescript/lib/module/index.d.ts.map +1 -1
  349. package/lib/typescript/lib/module/native/OsanoCmp.d.ts +4 -0
  350. package/lib/typescript/lib/module/native/OsanoCmp.d.ts.map +1 -1
  351. package/lib/typescript/lib/module/reducer.d.ts +7 -1
  352. package/lib/typescript/lib/module/reducer.d.ts.map +1 -1
  353. package/lib/typescript/lib/module/services/consent.d.ts +4 -0
  354. package/lib/typescript/lib/module/services/consent.d.ts.map +1 -1
  355. package/lib/typescript/lib/module/services/google-consent-mode-mapper.d.ts +71 -0
  356. package/lib/typescript/lib/module/services/google-consent-mode-mapper.d.ts.map +1 -0
  357. package/lib/typescript/lib/module/types/google-consent-mode.d.ts +38 -0
  358. package/lib/typescript/lib/module/types/google-consent-mode.d.ts.map +1 -0
  359. package/lib/typescript/lib/module/utils/EventEmitter.d.ts.map +1 -1
  360. package/lib/typescript/lib/module/utils/OsanoLogger.d.ts +15 -0
  361. package/lib/typescript/lib/module/utils/OsanoLogger.d.ts.map +1 -0
  362. package/lib/typescript/lib/module/utils/Translator.d.ts +1 -1
  363. package/lib/typescript/lib/module/utils/Translator.d.ts.map +1 -1
  364. package/lib/typescript/lib/module/utils/index.d.ts +1 -0
  365. package/lib/typescript/src/ConsentManager.d.ts +24 -7
  366. package/lib/typescript/src/ConsentManager.d.ts.map +1 -1
  367. package/lib/typescript/src/ConsentUiBuilder.d.ts +1 -1
  368. package/lib/typescript/src/ConsentUiBuilder.d.ts.map +1 -1
  369. package/lib/typescript/src/commands.d.ts.map +1 -1
  370. package/lib/typescript/src/components/Button.d.ts +1 -1
  371. package/lib/typescript/src/components/Button.d.ts.map +1 -1
  372. package/lib/typescript/src/components/Divider.d.ts.map +1 -1
  373. package/lib/typescript/src/components/ExpansionPanel.d.ts.map +1 -1
  374. package/lib/typescript/src/components/Link.d.ts.map +1 -1
  375. package/lib/typescript/src/components/Locale.d.ts.map +1 -1
  376. package/lib/typescript/src/components/StoragePolicyLink.d.ts.map +1 -1
  377. package/lib/typescript/src/components/Toggle.d.ts.map +1 -1
  378. package/lib/typescript/src/context.d.ts +5 -2
  379. package/lib/typescript/src/context.d.ts.map +1 -1
  380. package/lib/typescript/src/iab/actions.d.ts.map +1 -1
  381. package/lib/typescript/src/iab/gpp/api.d.ts.map +1 -1
  382. package/lib/typescript/src/iab/gpp/consent.d.ts.map +1 -1
  383. package/lib/typescript/src/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts.map +1 -1
  384. package/lib/typescript/src/iab/gpp/encoders/BooleanEncoder.d.ts.map +1 -1
  385. package/lib/typescript/src/iab/gpp/encoders/DatetimeEncoder.d.ts.map +1 -1
  386. package/lib/typescript/src/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts.map +1 -1
  387. package/lib/typescript/src/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts.map +1 -1
  388. package/lib/typescript/src/iab/gpp/encoders/FixedBitfieldEncoder.d.ts.map +1 -1
  389. package/lib/typescript/src/iab/gpp/encoders/FixedIntegerEncoder.d.ts.map +1 -1
  390. package/lib/typescript/src/iab/gpp/encoders/FixedIntegerListEncoder.d.ts.map +1 -1
  391. package/lib/typescript/src/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts.map +1 -1
  392. package/lib/typescript/src/iab/gpp/encoders/FixedStringEncoder.d.ts.map +1 -1
  393. package/lib/typescript/src/iab/gpp/v1/constants.d.ts.map +1 -1
  394. package/lib/typescript/src/iab/gpp/v1/index.d.ts +1 -3
  395. package/lib/typescript/src/iab/gpp/v1/index.d.ts.map +1 -1
  396. package/lib/typescript/src/iab/index.d.ts.map +1 -1
  397. package/lib/typescript/src/iab/tcf/actions.d.ts.map +1 -1
  398. package/lib/typescript/src/iab/tcf/consent.d.ts.map +1 -1
  399. package/lib/typescript/src/iab/tcf/constants.d.ts +32 -0
  400. package/lib/typescript/src/iab/tcf/constants.d.ts.map +1 -1
  401. package/lib/typescript/src/iab/tcf/helpers.d.ts.map +1 -1
  402. package/lib/typescript/src/iab/tcf/iab-storage-utils.d.ts +24 -0
  403. package/lib/typescript/src/iab/tcf/iab-storage-utils.d.ts.map +1 -0
  404. package/lib/typescript/src/iab/tcf/middleware.d.ts.map +1 -1
  405. package/lib/typescript/src/iab/tcf/reducer.d.ts.map +1 -1
  406. package/lib/typescript/src/iab/tcf/selectors.d.ts.map +1 -1
  407. package/lib/typescript/src/iab/tcf/v2.0/formatters.d.ts.map +1 -1
  408. package/lib/typescript/src/iab/tcf/v2.0/shared-constants.d.ts.map +1 -1
  409. package/lib/typescript/src/iab/tcf/v2.0/tcfcav1-constants.d.ts.map +1 -1
  410. package/lib/typescript/src/iab/tcf/v2.0/tcfeuv2-constants.d.ts.map +1 -1
  411. package/lib/typescript/src/iab/usp/api.d.ts +1 -1
  412. package/lib/typescript/src/iab/usp/api.d.ts.map +1 -1
  413. package/lib/typescript/src/iab/usp/consent.d.ts.map +1 -1
  414. package/lib/typescript/src/iab/usp/selectors.d.ts +1 -4
  415. package/lib/typescript/src/iab/usp/selectors.d.ts.map +1 -1
  416. package/lib/typescript/src/iab/usp/v1/constants.d.ts.map +1 -1
  417. package/lib/typescript/src/iab/usp/v1/index.d.ts +1 -1
  418. package/lib/typescript/src/iab/usp/v1/index.d.ts.map +1 -1
  419. package/lib/typescript/src/iab/utilities.d.ts.map +1 -1
  420. package/lib/typescript/src/index.d.ts +2 -0
  421. package/lib/typescript/src/index.d.ts.map +1 -1
  422. package/lib/typescript/src/native/OsanoCmp.d.ts +4 -0
  423. package/lib/typescript/src/native/OsanoCmp.d.ts.map +1 -1
  424. package/lib/typescript/src/reducer.d.ts.map +1 -1
  425. package/lib/typescript/src/selectors.d.ts.map +1 -1
  426. package/lib/typescript/src/services/consent.d.ts +13 -2
  427. package/lib/typescript/src/services/consent.d.ts.map +1 -1
  428. package/lib/typescript/src/services/google-consent-mode-mapper.d.ts +66 -0
  429. package/lib/typescript/src/services/google-consent-mode-mapper.d.ts.map +1 -0
  430. package/lib/typescript/src/styles.d.ts.map +1 -1
  431. package/lib/typescript/src/types/google-consent-mode.d.ts +77 -0
  432. package/lib/typescript/src/types/google-consent-mode.d.ts.map +1 -0
  433. package/lib/typescript/src/utils/Color.d.ts.map +1 -1
  434. package/lib/typescript/src/utils/EventEmitter.d.ts.map +1 -1
  435. package/lib/typescript/src/utils/OsanoLogger.d.ts +15 -0
  436. package/lib/typescript/src/utils/OsanoLogger.d.ts.map +1 -0
  437. package/lib/typescript/src/utils/index.d.ts +1 -0
  438. package/lib/typescript/src/utils/index.d.ts.map +1 -1
  439. package/package.json +4 -2
  440. package/src/ConsentManager.ts +131 -22
  441. package/src/ConsentUiBuilder.tsx +23 -13
  442. package/src/commands.ts +11 -8
  443. package/src/components/Button.tsx +17 -17
  444. package/src/context.ts +14 -9
  445. package/src/iab/tcf/consent.ts +11 -16
  446. package/src/iab/tcf/constants.ts +46 -0
  447. package/src/iab/tcf/iab-storage-utils.ts +166 -0
  448. package/src/iab/tcf/middleware.ts +43 -51
  449. package/src/index.tsx +77 -22
  450. package/src/locale/af.json +342 -323
  451. package/src/locale/ar.json +342 -323
  452. package/src/locale/bg.json +342 -323
  453. package/src/locale/ca.json +342 -323
  454. package/src/locale/cs.json +342 -323
  455. package/src/locale/da.json +342 -323
  456. package/src/locale/de-at.json +342 -323
  457. package/src/locale/de.json +342 -323
  458. package/src/locale/el.json +342 -323
  459. package/src/locale/en-au.json +342 -323
  460. package/src/locale/en-ca.json +342 -323
  461. package/src/locale/en-gb.json +342 -323
  462. package/src/locale/en.json +342 -323
  463. package/src/locale/es-mx.json +342 -323
  464. package/src/locale/es.json +342 -323
  465. package/src/locale/et.json +342 -323
  466. package/src/locale/fa.json +342 -323
  467. package/src/locale/fi.json +342 -323
  468. package/src/locale/fr-ca.json +342 -323
  469. package/src/locale/fr.json +342 -323
  470. package/src/locale/gd.json +342 -323
  471. package/src/locale/he.json +342 -323
  472. package/src/locale/hi.json +342 -323
  473. package/src/locale/hr.json +342 -323
  474. package/src/locale/hu.json +342 -323
  475. package/src/locale/hy.json +342 -323
  476. package/src/locale/id.json +342 -323
  477. package/src/locale/is.json +342 -323
  478. package/src/locale/it.json +342 -323
  479. package/src/locale/ja.json +342 -323
  480. package/src/locale/kk.json +342 -323
  481. package/src/locale/ko.json +342 -323
  482. package/src/locale/lt.json +342 -323
  483. package/src/locale/lv.json +342 -323
  484. package/src/locale/mi.json +342 -323
  485. package/src/locale/ms.json +342 -323
  486. package/src/locale/nb.json +342 -323
  487. package/src/locale/nl-be.json +342 -323
  488. package/src/locale/nl.json +342 -323
  489. package/src/locale/nn.json +342 -323
  490. package/src/locale/no.json +342 -323
  491. package/src/locale/pl.json +342 -323
  492. package/src/locale/pt-br.json +342 -323
  493. package/src/locale/pt.json +342 -323
  494. package/src/locale/ro.json +342 -323
  495. package/src/locale/ru.json +342 -323
  496. package/src/locale/sk.json +342 -323
  497. package/src/locale/sl.json +342 -323
  498. package/src/locale/sq.json +342 -323
  499. package/src/locale/sr.json +342 -323
  500. package/src/locale/sv.json +342 -323
  501. package/src/locale/th.json +342 -323
  502. package/src/locale/tl.json +342 -323
  503. package/src/locale/tr.json +342 -323
  504. package/src/locale/uk.json +342 -323
  505. package/src/locale/vi.json +342 -323
  506. package/src/locale/zh-hk.json +342 -323
  507. package/src/locale/zh-tw.json +342 -323
  508. package/src/locale/zh.json +342 -323
  509. package/src/locale/zu.json +342 -323
  510. package/src/native/OsanoCmp.ts +29 -0
  511. package/src/selectors.ts +1 -0
  512. package/src/services/consent.ts +75 -9
  513. package/src/services/google-consent-mode-mapper.ts +122 -0
  514. package/src/types/consent-config.d.ts +0 -3
  515. package/src/types/google-consent-mode.ts +122 -0
  516. package/src/types/index.d.ts +4 -2
  517. package/src/utils/EventEmitter.ts +1 -3
  518. package/src/utils/OsanoLogger.ts +53 -0
  519. package/src/utils/Translator.ts +15 -15
  520. package/src/utils/index.ts +2 -0
@@ -1 +1 @@
1
- {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../commonjs/components/Link.js"],"names":[],"mappings":";AAYA,sCAoCC"}
1
+ {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../commonjs/components/Link.js"],"names":[],"mappings":";AAWA,sCAoCC"}
@@ -1 +1 @@
1
- {"version":3,"file":"StoragePolicyLink.d.ts","sourceRoot":"","sources":["../../../../commonjs/components/StoragePolicyLink.js"],"names":[],"mappings":";;AAWA,mDA8BC"}
1
+ {"version":3,"file":"StoragePolicyLink.d.ts","sourceRoot":"","sources":["../../../../commonjs/components/StoragePolicyLink.js"],"names":[],"mappings":";;AAUA,mDA8BC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../../commonjs/components/Toggle.js"],"names":[],"mappings":";;AAcA,wCAsEC"}
1
+ {"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../../commonjs/components/Toggle.js"],"names":[],"mappings":";;AAaA,wCAsEC"}
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../commonjs/constants.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAMA,2BAAoB"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../commonjs/constants.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAMA,sBAAe,IAAI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../commonjs/iab/gpp/api.js"],"names":[],"mappings":";;;;;;;;;;;;aAcc,MAAM;;;;;;;;;;;;yBAUP,MAAM;AAsEnB;;;EAkIC"}
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../commonjs/iab/gpp/api.js"],"names":[],"mappings":";;;;;;;;;;;;aAcc,MAAM;;;;;;;;;;;;yBAUP,MAAM;AAsEnB;yCAiD2B,YAAO,EAAE,aAAQ,EAAE,cAAS;;EAiFtD"}
@@ -1 +1 @@
1
- {"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../../commonjs/iab/gpp/consent.js"],"names":[],"mappings":";AAqBA,yEA4BC;AAED;;;;;;EAOE;AAEF;;;;;;;;;;;;;EAoBC;AAED,wDAcC"}
1
+ {"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../../commonjs/iab/gpp/consent.js"],"names":[],"mappings":";AAqBA,yEA4BC;AAED,uDAA0C,UAAK;;;;;;EAO7C;AAEF,2DAA+C,cAAS,EAAE,UAAK;;;;;;;;;;;;;EAoB9D;AAED,wDAcC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractBase64UrlEncoder.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/iab/gpp/encoders/AbstractBase64UrlEncoder.js"],"names":[],"mappings":";;;;;;AAqGA,iEAgBC;AAED,yCAaC"}
1
+ {"version":3,"file":"AbstractBase64UrlEncoder.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/iab/gpp/encoders/AbstractBase64UrlEncoder.js"],"names":[],"mappings":";;;;;;AAqGA,uCAA0B,cAAS,YAgBlC;AAED,yCAaC"}
@@ -1,8 +1,6 @@
1
1
  export const __esModule: boolean;
2
2
  export default v1;
3
- export function createMiddleware({ dispatchEvent }?: {
4
- dispatchEvent: any;
5
- }): (store: any) => (next: any) => (action: any) => any;
3
+ export function createMiddleware({ dispatchEvent }?: {}): (store: any) => (next: any) => (action: any) => any;
6
4
  declare namespace v1 {
7
5
  export let api: any;
8
6
  export let apiName: "__gpp";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/iab/gpp/v1/index.js"],"names":[],"mappings":";;AAiBA;;wDA6CC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/iab/gpp/v1/index.js"],"names":[],"mappings":";;AAiBA,2DAGS,UAAK,MAAI,SAAI,MAAI,WAAM,SA0C/B"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commonjs/iab/index.js"],"names":[],"mappings":";AAQA,sEAsBC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commonjs/iab/index.js"],"names":[],"mappings":";AAQA,kDAAqC,UAAK,UAsBzC"}
@@ -1 +1 @@
1
- {"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../../commonjs/iab/tcf/consent.js"],"names":[],"mappings":";;;;;;;;;;AAuBA,gFAwCC;AAED,2FAgDC;AAED;;;;;;;;;;;EAiCC;AAED,4FAMC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;EA6DC;AAED,+FAmCC;AAED;;;;EAWC"}
1
+ {"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../../commonjs/iab/tcf/consent.js"],"names":[],"mappings":";;;;;;;;;;AAuBA,gFAwCC;AAED,2FAgDC;AAED,2DAA8C,aAAQ;;;;;;;;;;;EAiCrD;AAED,iDAKU,aAAQ,EAAE,mBAAc,SACjC;AAED,2DAA+C,WAAM,EAAE,UAAK;;;;;;;;;;;;;;;;;;;;;;;;;;EA6D3D;AAED,4DAAgD,WAAM,EAAE,UAAK,YA8B5D;AAED,wDAIS,YAAO;;;;EAOf"}
@@ -14,9 +14,49 @@ export namespace DisplayStatusCodes {
14
14
  let HIDDEN: string;
15
15
  let DISABLED: string;
16
16
  }
17
+ export namespace IABKeys {
18
+ namespace LEGACY {
19
+ let CMP_PRESENT: string;
20
+ let SUBJECT_TO_GDPR: string;
21
+ let CONSENT_STRING: string;
22
+ let PARSED_PURPOSE_CONSENTS: string;
23
+ let PARSED_VENDOR_CONSENTS: string;
24
+ }
25
+ namespace IABTCF {
26
+ let CMP_SDK_ID: string;
27
+ let CMP_SDK_VERSION: string;
28
+ let POLICY_VERSION: string;
29
+ let GDPR_APPLIES: string;
30
+ let PUBLISHER_CC: string;
31
+ let PURPOSE_ONE_TREATMENT: string;
32
+ let USE_NON_STANDARD_TEXTS: string;
33
+ let TC_STRING: string;
34
+ let VENDOR_CONSENTS: string;
35
+ let VENDOR_LEGITIMATE_INTERESTS: string;
36
+ let PURPOSE_CONSENTS: string;
37
+ let PURPOSE_LEGITIMATE_INTERESTS: string;
38
+ let SPECIAL_FEATURES_OPT_INS: string;
39
+ let ADDTL_CONSENT: string;
40
+ let ENABLE_ADVERTISER_CONSENT_MODE: string;
41
+ }
42
+ }
43
+ export namespace DEFAULT_STORAGE_KEYS {
44
+ let LEGACY_1: string[];
45
+ export { LEGACY_1 as LEGACY };
46
+ let IABTCF_1: string[];
47
+ export { IABTCF_1 as IABTCF };
48
+ }
49
+ export const CUSTOM_STORAGE_KEYS: string[];
17
50
  export const purposeIds: number[];
18
51
  export const purposeMap: {
19
- [x: number]: number[];
52
+ [_constants.ConsentCategory.ESSENTIAL]: number[];
53
+ [_constants.ConsentCategory.ANALYTICS]: number[];
54
+ [_constants.ConsentCategory.STORAGE]: number[];
55
+ [_constants.ConsentCategory.MARKETING]: number[];
56
+ [_constants.ConsentCategory.PERSONALIZATION]: number[];
57
+ [_constants.ConsentCategory.OPT_OUT]: never[];
20
58
  };
59
+ export function getAllIABKeys(): string[];
60
+ import _constants = require("../../constants");
21
61
  export function consentToPurpose(consent?: {}, apiVersion?: string): {};
22
62
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../commonjs/iab/tcf/constants.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AA+BA,wEAUC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../commonjs/iab/tcf/constants.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAyDE,CAAC,UAAU,CAAC,eAAe,CAAC,SAAS,CAAC,WAAK;IAC3C,CAAC,UAAU,CAAC,eAAe,CAAC,SAAS,CAAC,WAAe;IACrD,CAAC,UAAU,CAAC,eAAe,CAAC,OAAO,CAAC,WAAK;IACzC,CAAC,UAAU,CAAC,eAAe,CAAC,SAAS,CAAC,WAAW;IACjD,CAAC,UAAU,CAAC,eAAe,CAAC,eAAe,CAAC,WAAY;IACxD,CAAC,UAAU,CAAC,eAAe,CAAC,OAAO,CAAC,UAAI;;AAd1C,0CAAgG;;AAgBhG,wEAUC"}
@@ -0,0 +1,9 @@
1
+ export const __esModule: boolean;
2
+ export function clearAllIABKeys(): void;
3
+ export function setAllIABKeys(consentData: any): void;
4
+ export function setCustomIABKey(key: any, value: any): void;
5
+ export function setDefaultIABKey(key: any, value: any): void;
6
+ export function setDefaultIABKeyAsInt(key: any, value: any): void;
7
+ export function clearCustomIABKey(key: any): void;
8
+ export function clearDefaultIABKey(key: any): void;
9
+ //# sourceMappingURL=iab-storage-utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"iab-storage-utils.d.ts","sourceRoot":"","sources":["../../../../../commonjs/iab/tcf/iab-storage-utils.js"],"names":[],"mappings":";AASA,wCAYC;AAED,sDAwDC;AAED,4DAEC;AAED,6DAEC;AAED,kEAEC;AAED,kDAEC;AAED,mDAEC"}
@@ -1 +1 @@
1
- {"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../../../../commonjs/iab/tcf/middleware.js"],"names":[],"mappings":";;AAgBA,sGAwJC"}
1
+ {"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../../../../commonjs/iab/tcf/middleware.js"],"names":[],"mappings":";;AAkBA,mDAQS,UAAK,MAAI,SAAI,MAAI,WAAM,SA4I/B"}
@@ -1 +1 @@
1
- {"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../../../commonjs/iab/tcf/reducer.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAyEA,iFAuKC"}
1
+ {"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../../../commonjs/iab/tcf/reducer.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAyEA,iDAMU,UAAK,EAAE,WAAM,SAiKtB"}
@@ -6,7 +6,6 @@ export function getConfigData(config: any, apiVersion?: string): any;
6
6
  export function getStateData(state: any, apiVersion: any): any;
7
7
  export function getCurrentScreen(state: any): number;
8
8
  export function getConsentString(state: any, { gppSection, tcString }?: {
9
- gppSection: any;
10
9
  tcString?: string | undefined;
11
10
  }): any;
12
11
  export function getPublisherLegitimateInterests(): {};
@@ -1 +1 @@
1
- {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../commonjs/iab/tcf/selectors.js"],"names":[],"mappings":";AAcA,qEAEC;AAED,2CAA8D;AAE9D,+CAA0D;AAE1D,qEAAyH;AAEzH,+DAAuH;AAEvH,qDAAqE;AAErE;;;QAKC;AAID,sDAIC;AAED,0CAAsD;AAEtD,oEAAyH;AAEzH,oEAOC;AAGD,gGAuBC;AAED,0EAAqI;AAErI,8DAA8G;AAE9G;;;QAGyE;AAEzE,qEAA6I;AAE7I,mEAAuH;AAEvH,qEAAwH;AAExH,wEAA4H;AAE5H,+DAAiG;AAEjG;;;YAGyE;AAEzE;;;YAG0D;AAE1D;;;YAG4D;AAE5D,qDAA4K;AAE5K,yEAAwH;AAExH,0EAA0H;AAE1H,2DAA0F;AAE1F,iDAA6E;AAE7E,6CAAiD;AAEjD,2EAQC;AAED,4CAQC"}
1
+ {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../commonjs/iab/tcf/selectors.js"],"names":[],"mappings":";AAcA,qEAEC;AAED,2CAA8D;AAE9D,+CAA0D;AAE1D,qEAAyH;AAEzH,+DAAuH;AAEvH,qDAAqE;AAErE;;QAKC;AAID,sDAIC;AAED,0CAAsD;AAEtD,oEAAyH;AAEzH,oEAOC;AAGD,gGAuBC;AAED,0EAAqI;AAErI,8DAA8G;AAE9G;;;QAGyE;AAEzE,qEAA6I;AAE7I,mEAAuH;AAEvH,qEAAwH;AAExH,wEAA4H;AAE5H,+DAAiG;AAEjG;;;YAGyE;AAEzE;;;YAG0D;AAE1D;;;YAG4D;AAE5D,qDAA4K;AAE5K,yEAAwH;AAExH,0EAA0H;AAE1H,2DAA0F;AAE1F,iDAA6E;AAE7E,6CAAiD;AAEjD,2EAQC;AAED,4CAQC"}
@@ -1 +1 @@
1
- {"version":3,"file":"shared-constants.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/iab/tcf/v2.0/shared-constants.js"],"names":[],"mappings":";;;;;;;;;IA2BE;;;;;;;;;;;;MAQC;;AAxBH,4CAAqC;AADrC,6BAAsB;AAEtB;;;GAGG;AACH,wCAAiC"}
1
+ {"version":3,"file":"shared-constants.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/iab/tcf/v2.0/shared-constants.js"],"names":[],"mappings":";;;;;;;;;IA0BE;;;;;;;;;;;;MAQC;;AAxBH,0BAAmB,iBAAiB,CAAC;AADrC,uBAAgB,KAAK,CAAC;AAEtB;;;GAGG;AACH,oCAA6B,GAAG,CAAC"}
@@ -1,6 +1,6 @@
1
1
  export const __esModule: boolean;
2
2
  export default makeApi;
3
3
  declare function makeApi(initOptions: any): {
4
- bind: (store: any) => (command: string, version: number, callback: requestCallback, parameter?: string | undefined) => any;
4
+ bind: (store: any) => (command: string, version: number, callback: requestCallback, parameter?: string) => any;
5
5
  };
6
6
  //# sourceMappingURL=api.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../commonjs/iab/usp/api.js"],"names":[],"mappings":";;AAOA;oCAMe,MAAM,WACN,MAAM,YACN,eAAe;EA0C7B"}
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../commonjs/iab/usp/api.js"],"names":[],"mappings":";;AAOA;2BAW2B,SALZ,MAKmB,EAAE,SAJrB,MAI4B,EAAE,UAH9B,eAGsC,EAAE,YAFxC,MAEiD;EAuC/D"}
@@ -1 +1 @@
1
- {"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../../commonjs/iab/usp/consent.js"],"names":[],"mappings":";AASA;;;;;;;EAeC;AAED,gFAiBC;AASD,6FAoBC;AASD;;;;;;;;;;EA2BC;AASD;;;EAoBC"}
1
+ {"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../../commonjs/iab/usp/consent.js"],"names":[],"mappings":";AASA;;KAEW,cAAS;;;;;EAanB;AAED,iDAA4C,UAAK,EAAE,UAAK,SAiBvD;AASD,4DAAuD,SAAI,EAAE,UAAK,YAoBjE;AASD,2DAA+C,SAAI,EAAE,UAAK;;;;;;;;;;EA2BzD;AASD,yDAA4C,UAAK;;;EAoBhD"}
@@ -2,9 +2,6 @@ export const __esModule: boolean;
2
2
  export const DOMAIN: "iab.usp";
3
3
  export function getStore(state: any): any;
4
4
  export function doesCCPAApply(state: any): boolean;
5
- export function getConsentString(state: any, { gppSection, version: providedVersion }?: {
6
- gppSection: any;
7
- version: any;
8
- }): any;
5
+ export function getConsentString(state: any, { gppSection, version: providedVersion }?: {}): any;
9
6
  export function getOptOut(state: any): any;
10
7
  //# sourceMappingURL=selectors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../commonjs/iab/usp/selectors.js"],"names":[],"mappings":";;AAUA,0CAA4D;AAE5D,mDAAuH;AAEvH;;;QAgBC;AAED,2CAAiD"}
1
+ {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../commonjs/iab/usp/selectors.js"],"names":[],"mappings":";;AAUA,0CAA4D;AAE5D,mDAAuH;AAEvH,iGAgBC;AAED,2CAAiD"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/iab/usp/v1/index.js"],"names":[],"mappings":";;;;;;;;;;AAiBA,yFA8BC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../commonjs/iab/usp/v1/index.js"],"names":[],"mappings":";;;;;;;;;;AAiBA,sCACS,UAAK,MAAI,SAAI,MAAI,WAAM,SA6B/B"}
@@ -1,4 +1,6 @@
1
1
  export const __esModule: boolean;
2
+ export const GoogleConsentModeMapper: typeof _googleConsentModeMapper.GoogleConsentModeMapper;
2
3
  export const OsanoContext: any;
3
4
  export const Osano: any;
5
+ import _googleConsentModeMapper = require("./services/google-consent-mode-mapper");
4
6
  //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,10 @@
1
1
  export const __esModule: boolean;
2
2
  export function clearStorage(key: any): any;
3
+ export function clearStorageFromDefault(key: any): any;
3
4
  export function getDeviceId(): any;
4
5
  export function getStorage(key: any): any;
6
+ export function setBoolStorageToDefault(key: any, value: any): any;
7
+ export function setIntStorageToDefault(key: any, value: any): any;
5
8
  export function setStorage(key: any, value: any): any;
9
+ export function setStorageToDefault(key: any, value: any): any;
6
10
  //# sourceMappingURL=OsanoCmp.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"OsanoCmp.d.ts","sourceRoot":"","sources":["../../../../commonjs/native/OsanoCmp.js"],"names":[],"mappings":";AA6BA,4CAEC;AAXD,mCAEC;AAID,0CAEC;AALD,sDAEC"}
1
+ {"version":3,"file":"OsanoCmp.d.ts","sourceRoot":"","sources":["../../../../commonjs/native/OsanoCmp.js"],"names":[],"mappings":";AAiCA,4CAEC;AAUD,uDAEC;AAvBD,mCAEC;AAID,0CAEC;AAUD,mEAEC;AALD,kEAEC;AAdD,sDAEC;AAOD,+DAEC"}
@@ -4,7 +4,12 @@ export namespace initialState {
4
4
  let config: undefined;
5
5
  let configId: string;
6
6
  let consent: {
7
- [x: number]: boolean;
7
+ [_constants.ConsentCategory.ESSENTIAL]: boolean;
8
+ [_constants.ConsentCategory.STORAGE]: boolean;
9
+ [_constants.ConsentCategory.MARKETING]: boolean;
10
+ [_constants.ConsentCategory.PERSONALIZATION]: boolean;
11
+ [_constants.ConsentCategory.ANALYTICS]: boolean;
12
+ [_constants.ConsentCategory.OPT_OUT]: boolean;
8
13
  };
9
14
  let consentTimestamp: number;
10
15
  let customerId: string;
@@ -25,5 +30,6 @@ export namespace initialState {
25
30
  let stack: never[];
26
31
  }
27
32
  export function reducer(state: any, action: any): any;
33
+ import _constants = require("./constants");
28
34
  export function init(initialArgs: any): any;
29
35
  //# sourceMappingURL=reducer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../commonjs/reducer.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAwFA,sDAmRC;AAnUD,4CAeC"}
1
+ {"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../commonjs/reducer.js"],"names":[],"mappings":";;;;;;QAgBI,CAAC,UAAU,CAAC,eAAe,CAAC,SAAS,CAAC,UAAM;QAC5C,CAAC,UAAU,CAAC,eAAe,CAAC,OAAO,CAAC,UAAO;QAC3C,CAAC,UAAU,CAAC,eAAe,CAAC,SAAS,CAAC,UAAO;QAC7C,CAAC,UAAU,CAAC,eAAe,CAAC,eAAe,CAAC,UAAO;QACnD,CAAC,UAAU,CAAC,eAAe,CAAC,SAAS,CAAC,UAAO;QAC7C,CAAC,UAAU,CAAC,eAAe,CAAC,OAAO,CAAC,UAAO;;;;;;;;;;;;;;;;;;;;AAmE/C,sDAmRC;;AAnUD,4CAeC"}
@@ -4,4 +4,8 @@ export function clearConsent(cmp: any): Promise<any>;
4
4
  export function recordConsent(cmp: any, consent: any): any;
5
5
  export function fetchConsent(cmp: any): Promise<any>;
6
6
  export function fetchConfig(customerId: any, configId: any): any;
7
+ export function getStoredConfig(configId: any): Promise<any>;
8
+ export function storeConfig(configId: any, config: any): Promise<void>;
9
+ export function getConfigLastStoredAt(configId: any): Promise<Date | null>;
10
+ export function hasStaleConfig(configId: any): Promise<boolean>;
7
11
  //# sourceMappingURL=consent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../commonjs/services/consent.js"],"names":[],"mappings":";AAmJA,wFAgBC;AA/FD,qDAgBC;AAqDD,2DAQC;AAmBD,qDA0CC;AAED,iEAiBC"}
1
+ {"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../commonjs/services/consent.js"],"names":[],"mappings":";AAoJA,wFAgBC;AA/FD,qDAgBC;AAqDD,2DAQC;AAmBD,qDA0CC;AAED,iEAiBC;AAED,6DAUC;AAED,uEAMC;AAED,2EAUC;AAUD,gEASC"}
@@ -0,0 +1,72 @@
1
+ export const __esModule: boolean;
2
+ /**
3
+ * Google Consent Mode Category Mapper
4
+ *
5
+ * Converts Osano consent categories to Google Consent Mode v2 parameters.
6
+ *
7
+ * **Mapping Logic (matching iOS/Android SDKs):**
8
+ * - ANALYTICS category → analytics_storage parameter
9
+ * - MARKETING category → ad_storage, ad_user_data, ad_personalization parameters
10
+ *
11
+ * All Google Consent Mode parameters default to "denied" until explicitly granted through category mapping.
12
+ */
13
+ export class GoogleConsentModeMapper {
14
+ static GOOGLE_CATEGORIES_MAP: {
15
+ [_constants.ConsentCategory.ANALYTICS]: any[];
16
+ [_constants.ConsentCategory.MARKETING]: any[];
17
+ };
18
+ /**
19
+ * Build a Google Consent Map from a set of Osano consent categories
20
+ *
21
+ * @param categories - Set of Osano consent categories that the user has granted
22
+ * @returns GoogleConsentMap with appropriate Google Consent Mode v2 parameters
23
+ *
24
+ * @example
25
+ * ```typescript
26
+ * const categories = new Set([ConsentCategory.ANALYTICS, ConsentCategory.MARKETING]);
27
+ * const consentMap = GoogleConsentModeMapper.buildGoogleConsentMap(categories);
28
+ *
29
+ * // Results in:
30
+ * // {
31
+ * // analytics_storage: 'granted',
32
+ * // ad_storage: 'granted',
33
+ * // ad_user_data: 'granted',
34
+ * // ad_personalization: 'granted'
35
+ * // }
36
+ * ```
37
+ */
38
+ static buildGoogleConsentMap(categories: any): _googleConsentMode.GoogleConsentMapImpl;
39
+ /**
40
+ * Create a GoogleConsentMap from a raw consent map
41
+ *
42
+ * @param consentMap - Raw mapping of Google Consent Mode parameters to status
43
+ * @returns GoogleConsentMap implementation with helper methods
44
+ */
45
+ static createGoogleConsentMap(consentMap: any): _googleConsentMode.GoogleConsentMapImpl;
46
+ /**
47
+ * Check if a consent category is mapped to Google Consent Mode parameters
48
+ *
49
+ * @param category - Osano consent category to check
50
+ * @returns true if the category is mapped to Google Consent Mode parameters
51
+ */
52
+ static isGoogleConsentCategory(category: any): boolean;
53
+ /**
54
+ * Get Google Consent Mode parameters for a specific consent category
55
+ *
56
+ * @param category - Osano consent category
57
+ * @returns Array of Google Consent Mode parameters mapped to this category
58
+ */
59
+ static getGoogleParametersForCategory(category: any): any[];
60
+ /**
61
+ * Get readonly copy of the categories mapping
62
+ *
63
+ * @returns Readonly mapping of Osano categories to Google Consent Mode parameters
64
+ */
65
+ static getCategoriesMapping(): Readonly<{
66
+ [_constants.ConsentCategory.ANALYTICS]: any[];
67
+ [_constants.ConsentCategory.MARKETING]: any[];
68
+ }>;
69
+ }
70
+ import _constants = require("../constants");
71
+ import _googleConsentMode = require("../types/google-consent-mode");
72
+ //# sourceMappingURL=google-consent-mode-mapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"google-consent-mode-mapper.d.ts","sourceRoot":"","sources":["../../../../commonjs/services/google-consent-mode-mapper.js"],"names":[],"mappings":";AAQA;;;;;;;;;;GAUG;AACH;IACE;QACE,CAAC,UAAU,CAAC,eAAe,CAAC,SAAS,CAAC,QAA+D;QACrG,CAAC,UAAU,CAAC,eAAe,CAAC,SAAS,CAAC,QAA8K;MACpN;IAEF;;;;;;;;;;;;;;;;;;;OAmBG;IACH,uFAmBC;IAED;;;;;OAKG;IACH,wFAEC;IAED;;;;;OAKG;IACH,uDAEC;IAED;;;;;OAKG;IACH,4DAEC;IAED;;;;OAIG;IACH;QAhFE,CAAC,UAAU,CAAC,eAAe,CAAC,SAAS,CAAC,QAA+D;QACrG,CAAC,UAAU,CAAC,eAAe,CAAC,SAAS,CAAC,QAA8K;OAmFrN;CACF"}
@@ -0,0 +1,32 @@
1
+ export const __esModule: boolean;
2
+ export const GoogleConsentParameter: {};
3
+ export const GoogleConsentStatus: {};
4
+ /**
5
+ * Immutable consent map that provides Google Consent Mode v2 parameters
6
+ * with their corresponding status values and helper methods.
7
+ */
8
+ /**
9
+ * Callback function type for Google Consent Mode updates
10
+ *
11
+ * This callback is triggered whenever consent status changes and provides
12
+ * the Google Consent Mode v2 parameters in a format ready for Firebase integration.
13
+ *
14
+ * @param consentMap - Object containing the four Google Consent Mode v2 parameters:
15
+ * - "analytics_storage": "granted" or "denied"
16
+ * - "ad_storage": "granted" or "denied"
17
+ * - "ad_user_data": "granted" or "denied"
18
+ * - "ad_personalization": "granted" or "denied"
19
+ */
20
+ /**
21
+ * Concrete implementation of GoogleConsentMap interface
22
+ */
23
+ export class GoogleConsentMapImpl {
24
+ constructor(consentMap: any);
25
+ consentMap: any;
26
+ toStringMap(): {};
27
+ isAnalyticsStorageGranted(): boolean;
28
+ isAdStorageGranted(): boolean;
29
+ isAdUserDataGranted(): boolean;
30
+ isAdPersonalizationGranted(): boolean;
31
+ }
32
+ //# sourceMappingURL=google-consent-mode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"google-consent-mode.d.ts","sourceRoot":"","sources":["../../../../commonjs/types/google-consent-mode.js"],"names":[],"mappings":";;;AAyBA;;;GAGG;AACH;;;;;;;;;;;GAWG;AACH;;GAEG;AACH;IACE,6BAKC;IAHC,gBAEE;IAEJ,kBAMC;IACD,qCAEC;IACD,8BAEC;IACD,+BAEC;IACD,sCAEC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"EventEmitter.d.ts","sourceRoot":"","sources":["../../../../commonjs/utils/EventEmitter.js"],"names":[],"mappings":";AAOA;IACE,qDAIC;IAHC,cAAuB;IACvB,YAAmB;IACnB,eAAyB;IAE3B,eAEC;CACF;AAED;IACE,YAAa;IACb,iDAQC;IACD,qCAQC;IACD,uCAIC;IACD,mDAMC;CACF"}
1
+ {"version":3,"file":"EventEmitter.d.ts","sourceRoot":"","sources":["../../../../commonjs/utils/EventEmitter.js"],"names":[],"mappings":";AAOA;IACE,qDAIC;IAHC,cAAuB;IACvB,YAAmB;IACnB,eAAyB;IAE3B,eAEC;CACF;AAED;IACE,YAAa;IACb,iDAOC;IACD,qCAOC;IACD,uCAIC;IACD,mDAMC;CACF"}
@@ -0,0 +1,16 @@
1
+ export const __esModule: boolean;
2
+ export const osanoLogger: OsanoLogger;
3
+ export class OsanoLogger {
4
+ TAG: string;
5
+ isEnabled: boolean;
6
+ setEnabled(enabled: any): void;
7
+ getEnabled(): boolean;
8
+ error(message: any, error: any): void;
9
+ warn(message: any): void;
10
+ info(message: any): void;
11
+ debug(message: any): void;
12
+ verbose(message: any): void;
13
+ metric(name: any, durationMs: any): void;
14
+ log(message: any): void;
15
+ }
16
+ //# sourceMappingURL=OsanoLogger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OsanoLogger.d.ts","sourceRoot":"","sources":["../../../../commonjs/utils/OsanoLogger.js"],"names":[],"mappings":";;AAMA;IACE,YAAiB;IACjB,mBAAiB;IACjB,+BAEC;IACD,sBAEC;IACD,sCAOC;IACD,yBAGC;IACD,yBAGC;IACD,0BAGC;IACD,4BAGC;IACD,yCAGC;IACD,wBAGC;CACF"}
@@ -24,7 +24,7 @@ declare class Translator extends _EventEmitter.EventEmitter {
24
24
  * @returns {this}
25
25
  * @memberof Translator
26
26
  */
27
- override(phrases: LocalizedStrings, locale?: string | undefined): this;
27
+ override(phrases: LocalizedStrings, locale?: string): this;
28
28
  _loading: {};
29
29
  load(desiredLocale: any, onLangLoadSuccess: any, onLangLoadFailure: any): Promise<PromiseSettledResult<any>[]>;
30
30
  _langLoadFailureSubscription: any;
@@ -1 +1 @@
1
- {"version":3,"file":"Translator.d.ts","sourceRoot":"","sources":["../../../../commonjs/utils/Translator.js"],"names":[],"mappings":";;AAYA;IAGE,gCAA+B;IAC/B,mCAEC;IACD,6CAGC;IACD,wEASC;IAnBD,eAAgB;IAChB,uBAAsB;IAWpB,qBAAqC;IASvC;;OAEG;IACH,yBAGC;IAED;;OAEG;IACH,4CAGC;IAED;;;;;;;OAOG;IACH,kBALW,gBAAgB,gCAEd,IAAI,CAMhB;IACD,aAAc;IACd,+GA+FC;IA1FC,kCAAsG;IACtG,kCAAsG;IA0FxG,qBAEC;IACD,qBAEC;IACD,iDAOC;IAED;;OAEG;IACH,4DAEC;IAED;;OAEG;IACH,qEAkBC;IAED;;OAEG;IACH,wCAEC;IAED;;OAEG;IACH,qCAGC;IACD,mBAEC;CACF"}
1
+ {"version":3,"file":"Translator.d.ts","sourceRoot":"","sources":["../../../../commonjs/utils/Translator.js"],"names":[],"mappings":";;AAYA;IAGE,gCAA+B;IAC/B,mCAEC;IACD,6CAGC;IACD,wEASC;IAnBD,eAAgB;IAChB,uBAAsB;IAWpB,qBAAqC;IASvC;;OAEG;IACH,yBAGC;IAED;;OAEG;IACH,4CAGC;IAED;;;;;;;OAOG;IACH,kBALW,gBAAgB,WAChB,MAAM,GACJ,IAAI,CAMhB;IACD,aAAc;IACd,+GA+FC;IA1FC,kCAAsG;IACtG,kCAAsG;IA0FxG,qBAEC;IACD,qBAEC;IACD,iDAOC;IAED;;OAEG;IACH,qBACU,UAAK,EAAE,kBAAa,SAC7B;IAED;;OAEG;IACH,qEAkBC;IAED;;OAEG;IACH,wCAEC;IAED;;OAEG;IACH,qCAGC;IACD,mBAEC;CACF"}
@@ -1,4 +1,6 @@
1
1
  export const __esModule: boolean;
2
+ export const OsanoLogger: _OsanoLogger.OsanoLogger;
3
+ import _OsanoLogger = require("./OsanoLogger");
2
4
  export function get(object: any, pathOrArray: any, defaultValue: any): any;
3
5
  export function merge(object: any, ...sources: any[]): any;
4
6
  export function noop(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commonjs/utils/index.js"],"names":[],"mappings":";AAWA,2EAIC;AAmFD,2DAEC;AACD,6BAAkB;AArFlB,qEAcC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../commonjs/utils/index.js"],"names":[],"mappings":";;;AAkBA,2EAIC;AAmFD,2DAEC;AACD,6BAAkB;AArFlB,qEAcC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Buttons.d.ts","sourceRoot":"","sources":["../../../../../commonjs/views/Dialog/Buttons.js"],"names":[],"mappings":";;AAaA,yCAsDC"}
1
+ {"version":3,"file":"Buttons.d.ts","sourceRoot":"","sources":["../../../../../commonjs/views/Dialog/Buttons.js"],"names":[],"mappings":";;AAYA,yCAsDC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FirstLayerUsage.d.ts","sourceRoot":"","sources":["../../../../../commonjs/views/Dialog/FirstLayerUsage.js"],"names":[],"mappings":";;AAaA,uCA2BC"}
1
+ {"version":3,"file":"FirstLayerUsage.d.ts","sourceRoot":"","sources":["../../../../../commonjs/views/Dialog/FirstLayerUsage.js"],"names":[],"mappings":";;AAYA,uCA2BC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../../commonjs/views/Dialog/Message.js"],"names":[],"mappings":";;AAYA,+BA2BC"}
1
+ {"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../../commonjs/views/Dialog/Message.js"],"names":[],"mappings":";;AAWA,+BA2BC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PreferenceManagementDeepLinks.d.ts","sourceRoot":"","sources":["../../../../../commonjs/views/Dialog/PreferenceManagementDeepLinks.js"],"names":[],"mappings":";;AAcA,qDA4BC"}
1
+ {"version":3,"file":"PreferenceManagementDeepLinks.d.ts","sourceRoot":"","sources":["../../../../../commonjs/views/Dialog/PreferenceManagementDeepLinks.js"],"names":[],"mappings":";;AAaA,qDA4BC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commonjs/views/Dialog/index.js"],"names":[],"mappings":";;AAwBA,8BAmMC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commonjs/views/Dialog/index.js"],"names":[],"mappings":";;AAuBA,8BAmMC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Drawer.ConsentCategories.d.ts","sourceRoot":"","sources":["../../../../../commonjs/views/Drawer/Drawer.ConsentCategories.js"],"names":[],"mappings":";;AAoeA,+CAoGC"}
1
+ {"version":3,"file":"Drawer.ConsentCategories.d.ts","sourceRoot":"","sources":["../../../../../commonjs/views/Drawer/Drawer.ConsentCategories.js"],"names":[],"mappings":";;AAmeA,+CAoGC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Drawer.Header.d.ts","sourceRoot":"","sources":["../../../../../commonjs/views/Drawer/Drawer.Header.js"],"names":[],"mappings":";;AAgBA,8CAmEC"}
1
+ {"version":3,"file":"Drawer.Header.d.ts","sourceRoot":"","sources":["../../../../../commonjs/views/Drawer/Drawer.Header.js"],"names":[],"mappings":";;AAeA,8CAmEC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Drawer.Iab.Disclosures.d.ts","sourceRoot":"","sources":["../../../../../commonjs/views/Drawer/Drawer.Iab.Disclosures.js"],"names":[],"mappings":";;AAwJA,4CAqIC"}
1
+ {"version":3,"file":"Drawer.Iab.Disclosures.d.ts","sourceRoot":"","sources":["../../../../../commonjs/views/Drawer/Drawer.Iab.Disclosures.js"],"names":[],"mappings":";;AAuJA,4CAqIC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Drawer.Iab.Vendors.d.ts","sourceRoot":"","sources":["../../../../../commonjs/views/Drawer/Drawer.Iab.Vendors.js"],"names":[],"mappings":";;AAyXA,wCAqCC"}
1
+ {"version":3,"file":"Drawer.Iab.Vendors.d.ts","sourceRoot":"","sources":["../../../../../commonjs/views/Drawer/Drawer.Iab.Vendors.js"],"names":[],"mappings":";;AAwXA,wCAqCC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commonjs/views/Drawer/index.js"],"names":[],"mappings":";AAqBA,8BAkKC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commonjs/views/Drawer/index.js"],"names":[],"mappings":";AAoBA,8BAkKC"}
@@ -76,6 +76,7 @@ export class ConsentConfig extends EventEmitter {
76
76
  _customerId: any;
77
77
  _configId: any;
78
78
  load(): Promise<void> | undefined;
79
+ get config(): any;
79
80
  set customerId(value: any);
80
81
  get customerId(): any;
81
82
  set configId(value: any);
@@ -236,7 +237,6 @@ export class ConsentConfig extends EventEmitter {
236
237
  getStateData: (state: any, apiVersion: any) => any;
237
238
  getCurrentScreen: (state: any) => number;
238
239
  getConsentString: (state: any, { gppSection, tcString }?: {
239
- gppSection: any;
240
240
  tcString?: string | undefined;
241
241
  }) => any;
242
242
  getPublisherLegitimateInterests: () => {};
@@ -251,7 +251,8 @@ export class ConsentConfig extends EventEmitter {
251
251
  vendorId: any;
252
252
  }) => any;
253
253
  getVendorIds: (config: any, apiVersion: any) => number[];
254
- getVendorOptOuts: (state: any, apiVersion: any) => any;
254
+ getVendorOptOuts: (// If the config is not stale, we can return the cached config
255
+ state: any, apiVersion: any) => any;
255
256
  getVendorListError: (state: any, apiVersion: any) => any;
256
257
  getVendorListVersion: (config: any, apiVersion: any) => any;
257
258
  hasActed: (state: any, gppSection: any) => boolean;
@@ -338,6 +339,21 @@ export class ConsentManager {
338
339
  _configLoadFailureSubscription: import("./utils/EventEmitter").EventSubscription | undefined;
339
340
  _consent: any;
340
341
  hasConsent(category: any): any;
342
+ /**
343
+ * Set the Google Consent Mode callback function
344
+ *
345
+ * @param callback - Function to call when consent updates occur
346
+ * @returns this ConsentManager instance for method chaining
347
+ */
348
+ setGoogleConsentModeCallback(callback: any): this;
349
+ _googleConsentModeCallback: any;
350
+ /**
351
+ * Trigger Google Consent Mode update with current consent categories
352
+ *
353
+ * @param categories - Array of consent categories that have been granted
354
+ * @public
355
+ */
356
+ public triggerGoogleConsentUpdate(categories: any): void;
341
357
  get loaded(): boolean;
342
358
  get loading(): boolean;
343
359
  set consentingDomain(value: any);
@@ -1 +1 @@
1
- {"version":3,"file":"ConsentManager.d.ts","sourceRoot":"","sources":["../../../module/ConsentManager.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4GA;IACE,4CAKC;IAHC,aAAwC;IACxC,iBAAmC;IACnC,eAA+B;IAEjC,kCAmBC;IACD,2BAEC;IACD,sBAEC;IACD,yBAEC;IACD,oBAEC;IACD,wBAEC;IACD,sBAEC;IACD,sBAEC;IACD,wBAEC;IACD,uBAEC;IACD,uBAEC;IACD,uBAEC;IACD,kCAEC;IACD,0BAEC;IACD,yBAEC;IACD,0BAEC;IACD,6BAEC;IACD,0BAEC;IACD,2BAEC;IACD,8BAEC;IACD,oCAEC;IACD,gBAEC;IACD,oBAEC;IACD,mBAEC;IACD,yBAEC;IAQD,qBAMC;IAbD,gBAMC;IAQD,mBAEC;IACD,mBAEC;IACD,kBAEC;IACD,yBAEC;IACD,oBAEC;IAID,0BAIC;IAPD,mBAEC;IAMD,mCAEC;IACD,6CAEC;IACD,8BAEC;IACD,gCAEC;IACD,qCAEC;IACD,wCAEC;IACD,mCAEC;IACD,qCAEC;IACD,wCAEC;IACD,6BAEC;IAOD,2BAMC;IATD,sBAEC;IAEC,iBAAwB;IAM1B,yBAAyB;IAIzB,mCAEC;IALD,8BAEC;IAID;;;;MAIE;IAIF;;;;OAKC;IARD;;;;MAEC;IAOD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAiBC;IACD,qEAOC;IACD,2BAEC;IACD,uBAMC;IACD,kCAEC;IACD,6BAEC;IACD,kCAEC;IACD,6BAEC;IACD,wEAKC;IAGD,0DAKC;IACD,oEAKC;IACD,qCAGC;IACD,kBAEC;IACD,yBAEC;IACD,kCAKC;IAGD,oCAEC;IACD,+CAEC;IACD,4BAEC;IACD,6CAEC;IACD,2BAEC;IACD,wEA0BC;CACF;AACD;IAiCE,2CAoDC;IApFD,uBAA8B;IAC9B,oBAAiB;IACjB,gBAAsC;IACtC,wBAAmC;IACnC,kBAAe;IACf,uBAEC;IAID,2BAEC;IALD,sBAEC;IAOD,yBAEC;IALD,oBAEC;IAOD,8BAEC;IALD,yBAEC;IAID,6BAEC;IACD,4BAEC;IAcC,sBAA+B;IAwCjC,iBAAgB;IAChB,qBAkGC;IAxDC,cAsDE;IArDA,qDAAsC;IA2D1C,sCAEC;IALD,iCAEC;IAVG,6FAA6F;IAC7F,6FAA6F;IAW/F,cAAqB;IAEvB,+BAEC;IACD,sBAEC;IACD,uBAEC;IAID,iCAEC;IALD,4BAEC;IAEC,uBAA2C;IAE7C,6DAkBC;CACF;6BAvpB4B,sBAAsB;uBAM5B,oBAAoB"}
1
+ {"version":3,"file":"ConsentManager.d.ts","sourceRoot":"","sources":["../../../module/ConsentManager.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuIA;IACE,4CAKC;IAHC,aAAwC;IACxC,iBAAmC;IACnC,eAA+B;IAEjC,kCAoBC;IACD,kBAEC;IACD,2BAEC;IACD,sBAEC;IACD,yBAEC;IACD,oBAEC;IACD,wBAEC;IACD,sBAEC;IACD,sBAEC;IACD,wBAEC;IACD,uBAEC;IACD,uBAEC;IACD,uBAEC;IACD,kCAEC;IACD,0BAEC;IACD,yBAEC;IACD,0BAEC;IACD,6BAEC;IACD,0BAEC;IACD,2BAEC;IACD,8BAEC;IACD,oCAEC;IACD,gBAEC;IACD,oBAEC;IACD,mBAEC;IACD,yBAEC;IAQD,qBAMC;IAbD,gBAMC;IAQD,mBAEC;IACD,mBAEC;IACD,kBAEC;IACD,yBAEC;IACD,oBAEC;IAID,0BAIC;IAPD,mBAEC;IAMD,mCAEC;IACD,6CAEC;IACD,8BAEC;IACD,gCAEC;IACD,qCAEC;IACD,wCAEC;IACD,mCAEC;IACD,qCAEC;IACD,wCAEC;IACD,6BAEC;IAOD,2BAMC;IATD,sBAEC;IAEC,iBAAwB;IAM1B,yBAAyB;IAIzB,mCAEC;IALD,8BAEC;IAID;;;;MAIE;IAIF;;;;OAKC;IARD;;;;MAEC;IAOD;qCAjUa,SAAK,MAClB,WAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAbC,WAAM,EAAC,eAAW;uBACkE,WAAO;2BAC1F,WAAO;4BACjB,WAAK,EAAE,mBAAgB;2BAEE,UAAK,EAAC,eAAW;+BAEV,UAAM;+BACA,UAAK,EAAC;;aACvB;;;gCAad,UAAK,EAAC,eACb;iCAKK,UAAK,EAAC,eAAW;wCAmBO,UAAK,EAAC,eAC5B;sCAwCiB,UAAK,EAAC,eACvB;yBAIC,WAAC,EAAC,eACT;4BACO,UAAK,EAAC;;;aACU;2BAQpB,WAAM,EAAC,eAAW;+BAGlB,8DAA8D;YAC9D,UADG,EAAC,eAAW;iCACkC,UACrD,EAAI,eAAQ;mCAIyC,WACnD,EAAE,eACA;uBAEQ,UAAK,EAAC,eACX;2CACkE,UAAK,EAAC;;;aAC7C;kCAI5B,UAAF,EAAE;;;aAIL;mCAGM,UAAK,EACR;;;aAA0B;8BAEI,UAC/B;iCAMoB,UAAK,EAAC,eAAW;kCAEhC,UAAJ,EAAI,eAAQ;6BAEiD,WAAO;8BAExB,UAAM;sBACf,UAAM;kCACvC,UAAI,EAAC,oBAAgB;yBAWzB,UAAI;;;;;;;;;;;;;;;kBA8LH;IACD,qEAOC;IACD,2BAEC;IACD,uBAMC;IACD,kCAEC;IACD,6BAEC;IACD,kCAEC;IACD,6BAEC;IACD,wEAKC;IAGD,0DAKC;IACD,oEAKC;IACD,qCAGC;IACD,kBAEC;IACD,yBAEC;IACD,kCAKC;IAGD,oCAEC;IACD,+CAEC;IACD,4BAEC;IACD,6CAEC;IACD,2BAEC;IACD,wEA0BC;CACF;AACD;IAiCE,2CAoDC;IApFD,uBAA8B;IAC9B,oBAAiB;IACjB,gBAAsC;IACtC,wBAAmC;IACnC,kBAAe;IACf,uBAEC;IAID,2BAEC;IALD,sBAEC;IAOD,yBAEC;IALD,oBAEC;IAOD,8BAEC;IALD,yBAEC;IAID,6BAEC;IACD,4BAEC;IAcC,sBAA+B;IAwCjC,iBAAgB;IAChB,qBAmGC;IAzDC,cAuDE;IAtDA,qDAAsC;IA4D1C,sCAEC;IALD,iCAEC;IAVG,6FAA6F;IAC7F,6FAA6F;IAW/F,cAAqB;IAEvB,+BAEC;IAED;;;;;OAKG;IACH,kDAGC;IAFC,gCAA0C;IAI5C;;;;;OAKG;IACH,yDAqBC;IACD,sBAEC;IACD,uBAEC;IAID,iCAEC;IALD,4BAEC;IAEC,uBAA2C;IAE7C,0BACS,SAAI,MAAI,WAAM,SAiBtB;CACF;6BArtB4B,sBAAsB;uBAE5B,oBAAoB"}
@@ -169,6 +169,7 @@ export function ConsentUiBuilder(props: any): React.FunctionComponentElement<Rea
169
169
  };
170
170
  };
171
171
  translate: () => "";
172
+ setGoogleConsentModeCallback: typeof import("./utils").noop;
172
173
  }>>;
173
174
  import React from 'react';
174
175
  //# sourceMappingURL=ConsentUiBuilder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ConsentUiBuilder.d.ts","sourceRoot":"","sources":["../../../module/ConsentUiBuilder.js"],"names":[],"mappings":"AAOO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiDN;kBAxDsD,OAAO"}
1
+ {"version":3,"file":"ConsentUiBuilder.d.ts","sourceRoot":"","sources":["../../../module/ConsentUiBuilder.js"],"names":[],"mappings":"AAOO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqDN;kBA5DsD,OAAO"}
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../module/actions.js"],"names":[],"mappings":"AACA,mCAAoC;AACpC,mCAAoC;AACpC,qDAAsD;AACtD,6CAA8C;AAC9C,4CAA6C;AAC7C,8CAA+C;AAC/C,4BAA6B;AAC7B,gCAAiC;AACjC,8BAA+B;AAC/B,sCAAuC;AACvC,6CAA8C;AAC9C,iDAAkD;AAClD,iDAAkD;AAClD,gDAAiD;AACjD,gDAAiD;AACjD,gEAAiE;AACjE,oEAAqE;AACrE,oEAAqE;AACrE,sCAAuC;AAChC;;;EAGL;AACK;;EAEL;AACK;;EAEL;AACK;;;EAGL;AACK;;;EAGL;AACK;;;EAGL;AACK;;;EAGL;AACK;;;EAGL;AACK;;;EAGL;AACK;;;EAGL;AACK;;EAEL;AACK;;;EAGL"}
1
+ {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../module/actions.js"],"names":[],"mappings":"AACA,0BAA2B,QAAQ,CAAC;AACpC,0BAA2B,QAAQ,CAAC;AACpC,mCAAoC,iBAAiB,CAAC;AACtD,+BAAgC,aAAa,CAAC;AAC9C,4BAA6B,eAAe,CAAC;AAC7C,6BAA8B,gBAAgB,CAAC;AAC/C,oBAAqB,OAAO,CAAC;AAC7B,sBAAuB,SAAS,CAAC;AACjC,qBAAsB,QAAQ,CAAC;AAC/B,yBAA0B,YAAY,CAAC;AACvC,yBAA0B,mBAAmB,CAAC;AAC9C,2BAA4B,qBAAqB,CAAC;AAClD,2BAA4B,qBAAqB,CAAC;AAClD,8BAA+B,iBAAiB,CAAC;AACjD,8BAA+B,iBAAiB,CAAC;AACjD,sCAAuC,yBAAyB,CAAC;AACjE,wCAAyC,2BAA2B,CAAC;AACrE,wCAAyC,2BAA2B,CAAC;AACrE,yBAA0B,YAAY,CAAC;AAChC;;;EAGL;AACK;;EAEL;AACK;;EAEL;AACK;;;EAGL;AACK;;;EAGL;AACK;;;EAGL;AACK;;;EAGL;AACK;;;EAGL;AACK;;;EAGL;AACK;;;EAGL;AACK;;EAEL;AACK;;;EAGL"}
@@ -1,3 +1,3 @@
1
1
  export function toggleDisclosure(payload: any): (dispatch: any, getState: any) => void;
2
- export function saveConsent(cmp: any): (dispatch: any, getState: any) => Promise<any> | undefined;
2
+ export function saveConsent(cmp: any): (dispatch: any, getState: any) => Promise<void> | undefined;
3
3
  //# sourceMappingURL=commands.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../module/commands.js"],"names":[],"mappings":"AAIO,uFA6BN;AACM,kGAmBN"}
1
+ {"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../module/commands.js"],"names":[],"mappings":"AAIO,iDAAqC,aAAQ,EAAE,aAAQ,UA6B7D;AACM,wCAA4B,aAAQ,EAAE,aAAQ,+BAwBpD"}
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../module/components/Button.js"],"names":[],"mappings":"AASO,6JA4CN;AACM,iKAwBN;AACM,mKAoBN;AACD,oFA4BG;AACI,iKAsBN;AACM,8KAqBN;AACM,sKAUN;AACM,iKAmBN;AACM,sKAuBN;kBAjOuD,OAAO"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../module/components/Button.js"],"names":[],"mappings":"AASO,6JA4CN;AACM,iKAwBN;AACM,mKAoBN;AACD,oFA4BG;AACI,iKAsBN;AACM,8KAqBN;AACM,sKAUN;AACM,iKAmBN;AACM,sKAuBN;kBAnOuD,OAAO"}