@osano/osano-cmp-react-native 0.1.0 → 0.3.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 (822) hide show
  1. package/README.md +251 -0
  2. package/lib/commonjs/ConsentManager.js +209 -69
  3. package/lib/commonjs/ConsentManager.js.map +1 -1
  4. package/lib/commonjs/ConsentUiBuilder.js +2 -2
  5. package/lib/commonjs/ConsentUiBuilder.js.map +1 -1
  6. package/lib/commonjs/actions.js +84 -0
  7. package/lib/commonjs/actions.js.map +1 -0
  8. package/lib/commonjs/commands.js +63 -0
  9. package/lib/commonjs/commands.js.map +1 -0
  10. package/lib/commonjs/components/Button.js +35 -25
  11. package/lib/commonjs/components/Button.js.map +1 -1
  12. package/lib/commonjs/components/Locale.js +5 -3
  13. package/lib/commonjs/components/Locale.js.map +1 -1
  14. package/lib/commonjs/context.js +4 -3
  15. package/lib/commonjs/context.js.map +1 -1
  16. package/lib/commonjs/flavors/index.js +1 -1
  17. package/lib/commonjs/hooks/usePrevious.js +1 -1
  18. package/lib/commonjs/hooks/usePrevious.js.map +1 -1
  19. package/lib/commonjs/hooks/useThunkReducer.js +40 -15
  20. package/lib/commonjs/hooks/useThunkReducer.js.map +1 -1
  21. package/lib/commonjs/iab/actions.js +17 -0
  22. package/lib/commonjs/iab/actions.js.map +1 -0
  23. package/lib/commonjs/iab/constants.js +3 -1
  24. package/lib/commonjs/iab/constants.js.map +1 -1
  25. package/lib/commonjs/iab/gpp/encoders/FixedIntegerEncoder.js +1 -1
  26. package/lib/commonjs/iab/gpp/encoders/TraditionalBase64UrlEncoder.js.map +1 -1
  27. package/lib/commonjs/iab/index.js +33 -0
  28. package/lib/commonjs/iab/index.js.map +1 -0
  29. package/lib/commonjs/iab/reducer.js +46 -0
  30. package/lib/commonjs/iab/reducer.js.map +1 -0
  31. package/lib/commonjs/iab/tcf/actions.js +74 -14
  32. package/lib/commonjs/iab/tcf/actions.js.map +1 -1
  33. package/lib/commonjs/iab/tcf/consent.js +53 -87
  34. package/lib/commonjs/iab/tcf/consent.js.map +1 -1
  35. package/lib/commonjs/iab/tcf/constants.js +5 -5
  36. package/lib/commonjs/iab/tcf/constants.js.map +1 -1
  37. package/lib/commonjs/iab/tcf/helpers.js +72 -0
  38. package/lib/commonjs/iab/tcf/helpers.js.map +1 -0
  39. package/lib/commonjs/iab/tcf/index.js +5 -3
  40. package/lib/commonjs/iab/tcf/index.js.map +1 -1
  41. package/lib/commonjs/iab/tcf/middleware.js +172 -0
  42. package/lib/commonjs/iab/tcf/middleware.js.map +1 -0
  43. package/lib/commonjs/iab/tcf/reducer.js +225 -40
  44. package/lib/commonjs/iab/tcf/reducer.js.map +1 -1
  45. package/lib/commonjs/iab/tcf/selectors.js +60 -69
  46. package/lib/commonjs/iab/tcf/selectors.js.map +1 -1
  47. package/lib/commonjs/iab/tcf/v2.0/encoders.js +0 -8
  48. package/lib/commonjs/iab/tcf/v2.0/encoders.js.map +1 -1
  49. package/lib/commonjs/iab/tcf/v2.0/formatters.js +5 -7
  50. package/lib/commonjs/iab/tcf/v2.0/formatters.js.map +1 -1
  51. package/lib/commonjs/iab/tcf/v2.0/index.js +18 -16
  52. package/lib/commonjs/iab/tcf/v2.0/index.js.map +1 -1
  53. package/lib/commonjs/iab/tcf/v2.0/shared-constants.js +19 -3
  54. package/lib/commonjs/iab/tcf/v2.0/shared-constants.js.map +1 -1
  55. package/lib/commonjs/iab/tcf/v2.0/tcfcav1-constants.js +2 -14
  56. package/lib/commonjs/iab/tcf/v2.0/tcfcav1-constants.js.map +1 -1
  57. package/lib/commonjs/iab/tcf/v2.0/tcfeuv2-constants.js +2 -13
  58. package/lib/commonjs/iab/tcf/v2.0/tcfeuv2-constants.js.map +1 -1
  59. package/lib/commonjs/index.js +77 -30
  60. package/lib/commonjs/index.js.map +1 -1
  61. package/lib/commonjs/reducer.js +365 -0
  62. package/lib/commonjs/reducer.js.map +1 -0
  63. package/lib/commonjs/selectors.js +83 -0
  64. package/lib/commonjs/selectors.js.map +1 -0
  65. package/lib/commonjs/services/consent.js +20 -4
  66. package/lib/commonjs/services/consent.js.map +1 -1
  67. package/lib/commonjs/styles.js +1 -1
  68. package/lib/commonjs/styles.js.map +1 -1
  69. package/lib/commonjs/utils/Translator.js +4 -2
  70. package/lib/commonjs/utils/Translator.js.map +1 -1
  71. package/lib/commonjs/utils/index.js +3 -16
  72. package/lib/commonjs/utils/index.js.map +1 -1
  73. package/lib/commonjs/utils/types.js +2 -0
  74. package/lib/commonjs/utils/types.js.map +1 -0
  75. package/lib/commonjs/views/Dialog/Buttons.js +2 -2
  76. package/lib/commonjs/views/Dialog/Buttons.js.map +1 -1
  77. package/lib/commonjs/views/Dialog/Message.js +1 -1
  78. package/lib/commonjs/views/Dialog/Message.js.map +1 -1
  79. package/lib/commonjs/views/Dialog/PreferenceManagementDeepLinks.js +5 -5
  80. package/lib/commonjs/views/Dialog/PreferenceManagementDeepLinks.js.map +1 -1
  81. package/lib/commonjs/views/Dialog/index.js +27 -25
  82. package/lib/commonjs/views/Dialog/index.js.map +1 -1
  83. package/lib/commonjs/views/Drawer/Drawer.ConsentCategories.js +50 -22
  84. package/lib/commonjs/views/Drawer/Drawer.ConsentCategories.js.map +1 -1
  85. package/lib/commonjs/views/Drawer/Drawer.Header.js +2 -1
  86. package/lib/commonjs/views/Drawer/Drawer.Header.js.map +1 -1
  87. package/lib/commonjs/views/Drawer/Drawer.Iab.Disclosures.js +26 -14
  88. package/lib/commonjs/views/Drawer/Drawer.Iab.Disclosures.js.map +1 -1
  89. package/lib/commonjs/views/Drawer/Drawer.Iab.Vendors.js +57 -39
  90. package/lib/commonjs/views/Drawer/Drawer.Iab.Vendors.js.map +1 -1
  91. package/lib/commonjs/views/Drawer/index.js +11 -10
  92. package/lib/commonjs/views/Drawer/index.js.map +1 -1
  93. package/lib/module/ConsentManager.js +209 -71
  94. package/lib/module/ConsentManager.js.map +1 -1
  95. package/lib/module/ConsentUiBuilder.js +1 -1
  96. package/lib/module/ConsentUiBuilder.js.map +1 -1
  97. package/lib/module/actions.js +66 -0
  98. package/lib/module/actions.js.map +1 -0
  99. package/lib/module/commands.js +55 -0
  100. package/lib/module/commands.js.map +1 -0
  101. package/lib/module/components/Button.js +30 -20
  102. package/lib/module/components/Button.js.map +1 -1
  103. package/lib/module/components/Locale.js +5 -3
  104. package/lib/module/components/Locale.js.map +1 -1
  105. package/lib/module/context.js +3 -2
  106. package/lib/module/context.js.map +1 -1
  107. package/lib/module/flavors/index.js +1 -1
  108. package/lib/module/hooks/usePrevious.js +1 -1
  109. package/lib/module/hooks/usePrevious.js.map +1 -1
  110. package/lib/module/hooks/useThunkReducer.js +40 -16
  111. package/lib/module/hooks/useThunkReducer.js.map +1 -1
  112. package/lib/module/iab/actions.js +10 -0
  113. package/lib/module/iab/actions.js.map +1 -0
  114. package/lib/module/iab/constants.js +2 -0
  115. package/lib/module/iab/constants.js.map +1 -1
  116. package/lib/module/iab/gpp/encoders/FixedIntegerEncoder.js +1 -1
  117. package/lib/module/iab/gpp/encoders/FixedIntegerEncoder.js.map +1 -1
  118. package/lib/module/iab/gpp/encoders/TraditionalBase64UrlEncoder.js.map +1 -1
  119. package/lib/module/iab/index.js +26 -0
  120. package/lib/module/iab/index.js.map +1 -0
  121. package/lib/module/iab/reducer.js +39 -0
  122. package/lib/module/iab/reducer.js.map +1 -0
  123. package/lib/module/iab/tcf/actions.js +63 -13
  124. package/lib/module/iab/tcf/actions.js.map +1 -1
  125. package/lib/module/iab/tcf/consent.js +49 -84
  126. package/lib/module/iab/tcf/consent.js.map +1 -1
  127. package/lib/module/iab/tcf/constants.js +5 -5
  128. package/lib/module/iab/tcf/constants.js.map +1 -1
  129. package/lib/module/iab/tcf/helpers.js +62 -0
  130. package/lib/module/iab/tcf/helpers.js.map +1 -0
  131. package/lib/module/iab/tcf/index.js +3 -3
  132. package/lib/module/iab/tcf/index.js.map +1 -1
  133. package/lib/module/iab/tcf/middleware.js +164 -0
  134. package/lib/module/iab/tcf/middleware.js.map +1 -0
  135. package/lib/module/iab/tcf/reducer.js +223 -40
  136. package/lib/module/iab/tcf/reducer.js.map +1 -1
  137. package/lib/module/iab/tcf/selectors.js +45 -57
  138. package/lib/module/iab/tcf/selectors.js.map +1 -1
  139. package/lib/module/iab/tcf/v2.0/encoders.js +0 -9
  140. package/lib/module/iab/tcf/v2.0/encoders.js.map +1 -1
  141. package/lib/module/iab/tcf/v2.0/formatters.js +5 -7
  142. package/lib/module/iab/tcf/v2.0/formatters.js.map +1 -1
  143. package/lib/module/iab/tcf/v2.0/index.js +18 -16
  144. package/lib/module/iab/tcf/v2.0/index.js.map +1 -1
  145. package/lib/module/iab/tcf/v2.0/shared-constants.js +17 -3
  146. package/lib/module/iab/tcf/v2.0/shared-constants.js.map +1 -1
  147. package/lib/module/iab/tcf/v2.0/tcfcav1-constants.js +2 -14
  148. package/lib/module/iab/tcf/v2.0/tcfcav1-constants.js.map +1 -1
  149. package/lib/module/iab/tcf/v2.0/tcfeuv2-constants.js +2 -13
  150. package/lib/module/iab/tcf/v2.0/tcfeuv2-constants.js.map +1 -1
  151. package/lib/module/index.js +77 -29
  152. package/lib/module/index.js.map +1 -1
  153. package/lib/module/reducer.js +357 -0
  154. package/lib/module/reducer.js.map +1 -0
  155. package/lib/module/selectors.js +60 -0
  156. package/lib/module/selectors.js.map +1 -0
  157. package/lib/module/services/consent.js +20 -4
  158. package/lib/module/services/consent.js.map +1 -1
  159. package/lib/module/styles.js +1 -1
  160. package/lib/module/styles.js.map +1 -1
  161. package/lib/module/utils/Translator.js +4 -2
  162. package/lib/module/utils/Translator.js.map +1 -1
  163. package/lib/module/utils/index.js +3 -16
  164. package/lib/module/utils/index.js.map +1 -1
  165. package/lib/module/utils/types.js +2 -0
  166. package/lib/module/utils/types.js.map +1 -0
  167. package/lib/module/views/Dialog/Buttons.js +1 -1
  168. package/lib/module/views/Dialog/Buttons.js.map +1 -1
  169. package/lib/module/views/Dialog/Message.js +1 -1
  170. package/lib/module/views/Dialog/Message.js.map +1 -1
  171. package/lib/module/views/Dialog/PreferenceManagementDeepLinks.js +4 -4
  172. package/lib/module/views/Dialog/PreferenceManagementDeepLinks.js.map +1 -1
  173. package/lib/module/views/Dialog/index.js +23 -21
  174. package/lib/module/views/Dialog/index.js.map +1 -1
  175. package/lib/module/views/Drawer/Drawer.ConsentCategories.js +41 -12
  176. package/lib/module/views/Drawer/Drawer.ConsentCategories.js.map +1 -1
  177. package/lib/module/views/Drawer/Drawer.Header.js +2 -1
  178. package/lib/module/views/Drawer/Drawer.Header.js.map +1 -1
  179. package/lib/module/views/Drawer/Drawer.Iab.Disclosures.js +24 -12
  180. package/lib/module/views/Drawer/Drawer.Iab.Disclosures.js.map +1 -1
  181. package/lib/module/views/Drawer/Drawer.Iab.Vendors.js +53 -35
  182. package/lib/module/views/Drawer/Drawer.Iab.Vendors.js.map +1 -1
  183. package/lib/module/views/Drawer/index.js +3 -1
  184. package/lib/module/views/Drawer/index.js.map +1 -1
  185. package/lib/typescript/babel.config.d.ts +2 -0
  186. package/lib/typescript/babel.config.d.ts.map +1 -0
  187. package/lib/typescript/documentation/babel.config.d.ts +2 -0
  188. package/lib/typescript/documentation/babel.config.d.ts.map +1 -0
  189. package/lib/typescript/documentation/docusaurus.config.d.ts +4 -0
  190. package/lib/typescript/documentation/docusaurus.config.d.ts.map +1 -0
  191. package/lib/typescript/lib/commonjs/ConsentManager.d.ts +190 -0
  192. package/lib/typescript/lib/commonjs/ConsentManager.d.ts.map +1 -0
  193. package/lib/typescript/lib/commonjs/ConsentUiBuilder.d.ts +3 -0
  194. package/lib/typescript/lib/commonjs/ConsentUiBuilder.d.ts.map +1 -0
  195. package/lib/typescript/lib/commonjs/actions.d.ts +66 -0
  196. package/lib/typescript/lib/commonjs/actions.d.ts.map +1 -0
  197. package/lib/typescript/lib/commonjs/commands.d.ts +4 -0
  198. package/lib/typescript/lib/commonjs/commands.d.ts.map +1 -0
  199. package/lib/typescript/lib/commonjs/components/Button.d.ts +11 -0
  200. package/lib/typescript/lib/commonjs/components/Button.d.ts.map +1 -0
  201. package/lib/typescript/lib/commonjs/components/Checkbox.d.ts +4 -0
  202. package/lib/typescript/lib/commonjs/components/Checkbox.d.ts.map +1 -0
  203. package/lib/typescript/lib/commonjs/components/Divider.d.ts +3 -0
  204. package/lib/typescript/lib/commonjs/components/Divider.d.ts.map +1 -0
  205. package/lib/typescript/lib/commonjs/components/ExpansionPanel.d.ts +8 -0
  206. package/lib/typescript/lib/commonjs/components/ExpansionPanel.d.ts.map +1 -0
  207. package/lib/typescript/lib/commonjs/components/Link.d.ts +3 -0
  208. package/lib/typescript/lib/commonjs/components/Link.d.ts.map +1 -0
  209. package/lib/typescript/lib/commonjs/components/List.d.ts +3 -0
  210. package/lib/typescript/lib/commonjs/components/List.d.ts.map +1 -0
  211. package/lib/typescript/lib/commonjs/components/Locale.d.ts +6 -0
  212. package/lib/typescript/lib/commonjs/components/Locale.d.ts.map +1 -0
  213. package/lib/typescript/lib/commonjs/components/StoragePolicyLink.d.ts +4 -0
  214. package/lib/typescript/lib/commonjs/components/StoragePolicyLink.d.ts.map +1 -0
  215. package/lib/typescript/lib/commonjs/components/Toggle.d.ts +4 -0
  216. package/lib/typescript/lib/commonjs/components/Toggle.d.ts.map +1 -0
  217. package/lib/typescript/lib/commonjs/constants.d.ts +20 -0
  218. package/lib/typescript/lib/commonjs/constants.d.ts.map +1 -0
  219. package/lib/typescript/lib/commonjs/context.d.ts +4 -0
  220. package/lib/typescript/lib/commonjs/context.d.ts.map +1 -0
  221. package/lib/typescript/lib/commonjs/flavors/index.d.ts +122 -0
  222. package/lib/typescript/lib/commonjs/flavors/index.d.ts.map +1 -0
  223. package/lib/typescript/lib/commonjs/hooks/useBoundCallback.d.ts +18 -0
  224. package/lib/typescript/lib/commonjs/hooks/useBoundCallback.d.ts.map +1 -0
  225. package/lib/typescript/lib/commonjs/hooks/useDeviceOrientation.d.ts +4 -0
  226. package/lib/typescript/lib/commonjs/hooks/useDeviceOrientation.d.ts.map +1 -0
  227. package/lib/typescript/lib/commonjs/hooks/usePrevious.d.ts +3 -0
  228. package/lib/typescript/lib/commonjs/hooks/usePrevious.d.ts.map +1 -0
  229. package/lib/typescript/lib/commonjs/hooks/useThunkReducer.d.ts +8 -0
  230. package/lib/typescript/lib/commonjs/hooks/useThunkReducer.d.ts.map +1 -0
  231. package/lib/typescript/lib/commonjs/iab/actions.d.ts +10 -0
  232. package/lib/typescript/lib/commonjs/iab/actions.d.ts.map +1 -0
  233. package/lib/typescript/lib/commonjs/iab/constants.d.ts +5 -0
  234. package/lib/typescript/lib/commonjs/iab/constants.d.ts.map +1 -0
  235. package/lib/typescript/lib/commonjs/iab/gpp/api.d.ts +30 -0
  236. package/lib/typescript/lib/commonjs/iab/gpp/api.d.ts.map +1 -0
  237. package/lib/typescript/lib/commonjs/iab/gpp/consent.d.ts +25 -0
  238. package/lib/typescript/lib/commonjs/iab/gpp/consent.d.ts.map +1 -0
  239. package/lib/typescript/lib/commonjs/iab/gpp/constants.d.ts +26 -0
  240. package/lib/typescript/lib/commonjs/iab/gpp/constants.d.ts.map +1 -0
  241. package/lib/typescript/lib/commonjs/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts +9 -0
  242. package/lib/typescript/lib/commonjs/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts.map +1 -0
  243. package/lib/typescript/lib/commonjs/iab/gpp/encoders/BooleanEncoder.d.ts +32 -0
  244. package/lib/typescript/lib/commonjs/iab/gpp/encoders/BooleanEncoder.d.ts.map +1 -0
  245. package/lib/typescript/lib/commonjs/iab/gpp/encoders/CompressedBase64UrlEncoder.d.ts +10 -0
  246. package/lib/typescript/lib/commonjs/iab/gpp/encoders/CompressedBase64UrlEncoder.d.ts.map +1 -0
  247. package/lib/typescript/lib/commonjs/iab/gpp/encoders/DatetimeEncoder.d.ts +29 -0
  248. package/lib/typescript/lib/commonjs/iab/gpp/encoders/DatetimeEncoder.d.ts.map +1 -0
  249. package/lib/typescript/lib/commonjs/iab/gpp/encoders/EncodableOptimizedFixedRange.d.ts +19 -0
  250. package/lib/typescript/lib/commonjs/iab/gpp/encoders/EncodableOptimizedFixedRange.d.ts.map +1 -0
  251. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts +29 -0
  252. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts.map +1 -0
  253. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts +29 -0
  254. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts.map +1 -0
  255. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedBitfieldEncoder.d.ts +29 -0
  256. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedBitfieldEncoder.d.ts.map +1 -0
  257. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIdBitMapEncoder.d.ts +7 -0
  258. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIdBitMapEncoder.d.ts.map +1 -0
  259. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIntegerEncoder.d.ts +29 -0
  260. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIntegerEncoder.d.ts.map +1 -0
  261. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIntegerListEncoder.d.ts +29 -0
  262. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIntegerListEncoder.d.ts.map +1 -0
  263. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts +29 -0
  264. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts.map +1 -0
  265. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedStringEncoder.d.ts +29 -0
  266. package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedStringEncoder.d.ts.map +1 -0
  267. package/lib/typescript/lib/commonjs/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts +10 -0
  268. package/lib/typescript/lib/commonjs/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts.map +1 -0
  269. package/lib/typescript/lib/commonjs/iab/gpp/encoders/errors.d.ts +17 -0
  270. package/lib/typescript/lib/commonjs/iab/gpp/encoders/errors.d.ts.map +1 -0
  271. package/lib/typescript/lib/commonjs/iab/gpp/encoders/index.d.ts +16 -0
  272. package/lib/typescript/lib/commonjs/iab/gpp/encoders/index.d.ts.map +1 -0
  273. package/lib/typescript/lib/commonjs/iab/gpp/encoders/types.d.ts +1 -0
  274. package/lib/typescript/lib/commonjs/iab/gpp/encoders/types.d.ts.map +1 -0
  275. package/lib/typescript/lib/commonjs/iab/gpp/index.d.ts +9 -0
  276. package/lib/typescript/lib/commonjs/iab/gpp/index.d.ts.map +1 -0
  277. package/lib/typescript/lib/commonjs/iab/gpp/reducer.d.ts +7 -0
  278. package/lib/typescript/lib/commonjs/iab/gpp/reducer.d.ts.map +1 -0
  279. package/lib/typescript/lib/commonjs/iab/gpp/selectors.d.ts +7 -0
  280. package/lib/typescript/lib/commonjs/iab/gpp/selectors.d.ts.map +1 -0
  281. package/lib/typescript/lib/commonjs/iab/gpp/types.d.ts +1 -0
  282. package/lib/typescript/lib/commonjs/iab/gpp/types.d.ts.map +1 -0
  283. package/lib/typescript/lib/commonjs/iab/gpp/v1/constants.d.ts +13 -0
  284. package/lib/typescript/lib/commonjs/iab/gpp/v1/constants.d.ts.map +1 -0
  285. package/lib/typescript/lib/commonjs/iab/gpp/v1/index.d.ts +14 -0
  286. package/lib/typescript/lib/commonjs/iab/gpp/v1/index.d.ts.map +1 -0
  287. package/lib/typescript/lib/commonjs/iab/index.d.ts +3 -0
  288. package/lib/typescript/lib/commonjs/iab/index.d.ts.map +1 -0
  289. package/lib/typescript/lib/commonjs/iab/reducer.d.ts +6 -0
  290. package/lib/typescript/lib/commonjs/iab/reducer.d.ts.map +1 -0
  291. package/lib/typescript/lib/commonjs/iab/tcf/actions.d.ts +64 -0
  292. package/lib/typescript/lib/commonjs/iab/tcf/actions.d.ts.map +1 -0
  293. package/lib/typescript/lib/commonjs/iab/tcf/consent.d.ts +59 -0
  294. package/lib/typescript/lib/commonjs/iab/tcf/consent.d.ts.map +1 -0
  295. package/lib/typescript/lib/commonjs/iab/tcf/constants.d.ts +22 -0
  296. package/lib/typescript/lib/commonjs/iab/tcf/constants.d.ts.map +1 -0
  297. package/lib/typescript/lib/commonjs/iab/tcf/helpers.d.ts +9 -0
  298. package/lib/typescript/lib/commonjs/iab/tcf/helpers.d.ts.map +1 -0
  299. package/lib/typescript/lib/commonjs/iab/tcf/index.d.ts +4 -0
  300. package/lib/typescript/lib/commonjs/iab/tcf/index.d.ts.map +1 -0
  301. package/lib/typescript/lib/commonjs/iab/tcf/middleware.d.ts +4 -0
  302. package/lib/typescript/lib/commonjs/iab/tcf/middleware.d.ts.map +1 -0
  303. package/lib/typescript/lib/commonjs/iab/tcf/reducer.d.ts +22 -0
  304. package/lib/typescript/lib/commonjs/iab/tcf/reducer.d.ts.map +1 -0
  305. package/lib/typescript/lib/commonjs/iab/tcf/selectors.d.ts +48 -0
  306. package/lib/typescript/lib/commonjs/iab/tcf/selectors.d.ts.map +1 -0
  307. package/lib/typescript/lib/commonjs/iab/tcf/types.d.ts +2 -0
  308. package/lib/typescript/lib/commonjs/iab/tcf/types.d.ts.map +1 -0
  309. package/lib/typescript/lib/commonjs/iab/tcf/v2.0/encoders.d.ts +14 -0
  310. package/lib/typescript/lib/commonjs/iab/tcf/v2.0/encoders.d.ts.map +1 -0
  311. package/lib/typescript/lib/commonjs/iab/tcf/v2.0/formatters.d.ts +5 -0
  312. package/lib/typescript/lib/commonjs/iab/tcf/v2.0/formatters.d.ts.map +1 -0
  313. package/lib/typescript/lib/commonjs/iab/tcf/v2.0/index.d.ts +191 -0
  314. package/lib/typescript/lib/commonjs/iab/tcf/v2.0/index.d.ts.map +1 -0
  315. package/lib/typescript/lib/commonjs/iab/tcf/v2.0/shared-constants.d.ts +32 -0
  316. package/lib/typescript/lib/commonjs/iab/tcf/v2.0/shared-constants.d.ts.map +1 -0
  317. package/lib/typescript/lib/commonjs/iab/tcf/v2.0/tcfcav1-constants.d.ts +43 -0
  318. package/lib/typescript/lib/commonjs/iab/tcf/v2.0/tcfcav1-constants.d.ts.map +1 -0
  319. package/lib/typescript/lib/commonjs/iab/tcf/v2.0/tcfeuv2-constants.d.ts +48 -0
  320. package/lib/typescript/lib/commonjs/iab/tcf/v2.0/tcfeuv2-constants.d.ts.map +1 -0
  321. package/lib/typescript/lib/commonjs/iab/types.d.ts +2 -0
  322. package/lib/typescript/lib/commonjs/iab/types.d.ts.map +1 -0
  323. package/lib/typescript/lib/commonjs/iab/usp/api.d.ts +6 -0
  324. package/lib/typescript/lib/commonjs/iab/usp/api.d.ts.map +1 -0
  325. package/lib/typescript/lib/commonjs/iab/usp/consent.d.ts +27 -0
  326. package/lib/typescript/lib/commonjs/iab/usp/consent.d.ts.map +1 -0
  327. package/lib/typescript/lib/commonjs/iab/usp/constants.d.ts +109 -0
  328. package/lib/typescript/lib/commonjs/iab/usp/constants.d.ts.map +1 -0
  329. package/lib/typescript/lib/commonjs/iab/usp/index.d.ts +9 -0
  330. package/lib/typescript/lib/commonjs/iab/usp/index.d.ts.map +1 -0
  331. package/lib/typescript/lib/commonjs/iab/usp/reducer.d.ts +14 -0
  332. package/lib/typescript/lib/commonjs/iab/usp/reducer.d.ts.map +1 -0
  333. package/lib/typescript/lib/commonjs/iab/usp/selectors.d.ts +10 -0
  334. package/lib/typescript/lib/commonjs/iab/usp/selectors.d.ts.map +1 -0
  335. package/lib/typescript/lib/commonjs/iab/usp/types.d.ts +1 -0
  336. package/lib/typescript/lib/commonjs/iab/usp/types.d.ts.map +1 -0
  337. package/lib/typescript/lib/commonjs/iab/usp/v1/constants.d.ts +13 -0
  338. package/lib/typescript/lib/commonjs/iab/usp/v1/constants.d.ts.map +1 -0
  339. package/lib/typescript/lib/commonjs/iab/usp/v1/index.d.ts +12 -0
  340. package/lib/typescript/lib/commonjs/iab/usp/v1/index.d.ts.map +1 -0
  341. package/lib/typescript/lib/commonjs/iab/utilities.d.ts +3 -0
  342. package/lib/typescript/lib/commonjs/iab/utilities.d.ts.map +1 -0
  343. package/lib/typescript/lib/commonjs/index.d.ts +4 -0
  344. package/lib/typescript/lib/commonjs/index.d.ts.map +1 -0
  345. package/lib/typescript/lib/commonjs/locale/index.d.ts +62 -0
  346. package/lib/typescript/lib/commonjs/locale/index.d.ts.map +1 -0
  347. package/lib/typescript/lib/commonjs/native/OsanoCmp.d.ts +6 -0
  348. package/lib/typescript/lib/commonjs/native/OsanoCmp.d.ts.map +1 -0
  349. package/lib/typescript/lib/commonjs/reducer.d.ts +29 -0
  350. package/lib/typescript/lib/commonjs/reducer.d.ts.map +1 -0
  351. package/lib/typescript/lib/commonjs/selectors.d.ts +16 -0
  352. package/lib/typescript/lib/commonjs/selectors.d.ts.map +1 -0
  353. package/lib/typescript/lib/commonjs/services/consent.d.ts +6 -0
  354. package/lib/typescript/lib/commonjs/services/consent.d.ts.map +1 -0
  355. package/lib/typescript/lib/commonjs/services/disclosures.d.ts +3 -0
  356. package/lib/typescript/lib/commonjs/services/disclosures.d.ts.map +1 -0
  357. package/lib/typescript/lib/commonjs/services/locale.d.ts +4 -0
  358. package/lib/typescript/lib/commonjs/services/locale.d.ts.map +1 -0
  359. package/lib/typescript/lib/commonjs/styles.d.ts +141 -0
  360. package/lib/typescript/lib/commonjs/styles.d.ts.map +1 -0
  361. package/lib/typescript/lib/commonjs/types/consent-config.d.d.ts +2 -0
  362. package/lib/typescript/lib/commonjs/types/consent-config.d.d.ts.map +1 -0
  363. package/lib/typescript/lib/commonjs/types/env.d.d.ts +1 -0
  364. package/lib/typescript/lib/commonjs/types/env.d.d.ts.map +1 -0
  365. package/lib/typescript/lib/commonjs/types/index.d.d.ts +2 -0
  366. package/lib/typescript/lib/commonjs/types/index.d.d.ts.map +1 -0
  367. package/lib/typescript/lib/commonjs/types/store.d.d.ts +2 -0
  368. package/lib/typescript/lib/commonjs/types/store.d.d.ts.map +1 -0
  369. package/lib/typescript/lib/commonjs/utils/API.d.ts +7 -0
  370. package/lib/typescript/lib/commonjs/utils/API.d.ts.map +1 -0
  371. package/lib/typescript/lib/commonjs/utils/Color.d.ts +13 -0
  372. package/lib/typescript/lib/commonjs/utils/Color.d.ts.map +1 -0
  373. package/lib/typescript/lib/commonjs/utils/EventEmitter.d.ts +16 -0
  374. package/lib/typescript/lib/commonjs/utils/EventEmitter.d.ts.map +1 -0
  375. package/lib/typescript/lib/commonjs/utils/Translator.d.ts +54 -0
  376. package/lib/typescript/lib/commonjs/utils/Translator.d.ts.map +1 -0
  377. package/lib/typescript/lib/commonjs/utils/index.d.ts +6 -0
  378. package/lib/typescript/lib/commonjs/utils/index.d.ts.map +1 -0
  379. package/lib/typescript/lib/commonjs/utils/types.d.ts +1 -0
  380. package/lib/typescript/lib/commonjs/utils/types.d.ts.map +1 -0
  381. package/lib/typescript/lib/commonjs/views/Dialog/Buttons.d.ts +4 -0
  382. package/lib/typescript/lib/commonjs/views/Dialog/Buttons.d.ts.map +1 -0
  383. package/lib/typescript/lib/commonjs/views/Dialog/FirstLayerUsage.d.ts +4 -0
  384. package/lib/typescript/lib/commonjs/views/Dialog/FirstLayerUsage.d.ts.map +1 -0
  385. package/lib/typescript/lib/commonjs/views/Dialog/Message.d.ts +4 -0
  386. package/lib/typescript/lib/commonjs/views/Dialog/Message.d.ts.map +1 -0
  387. package/lib/typescript/lib/commonjs/views/Dialog/PreferenceManagementDeepLinks.d.ts +4 -0
  388. package/lib/typescript/lib/commonjs/views/Dialog/PreferenceManagementDeepLinks.d.ts.map +1 -0
  389. package/lib/typescript/lib/commonjs/views/Dialog/index.d.ts +4 -0
  390. package/lib/typescript/lib/commonjs/views/Dialog/index.d.ts.map +1 -0
  391. package/lib/typescript/lib/commonjs/views/Drawer/Drawer.ConsentCategories.d.ts +4 -0
  392. package/lib/typescript/lib/commonjs/views/Drawer/Drawer.ConsentCategories.d.ts.map +1 -0
  393. package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Header.d.ts +4 -0
  394. package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Header.d.ts.map +1 -0
  395. package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Iab.Disclosures.d.ts +4 -0
  396. package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Iab.Disclosures.d.ts.map +1 -0
  397. package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Iab.Vendors.d.ts +4 -0
  398. package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Iab.Vendors.d.ts.map +1 -0
  399. package/lib/typescript/lib/commonjs/views/Drawer/index.d.ts +3 -0
  400. package/lib/typescript/lib/commonjs/views/Drawer/index.d.ts.map +1 -0
  401. package/lib/typescript/lib/module/ConsentManager.d.ts +347 -0
  402. package/lib/typescript/lib/module/ConsentManager.d.ts.map +1 -0
  403. package/lib/typescript/lib/module/ConsentUiBuilder.d.ts +174 -0
  404. package/lib/typescript/lib/module/ConsentUiBuilder.d.ts.map +1 -0
  405. package/lib/typescript/lib/module/actions.d.ts +65 -0
  406. package/lib/typescript/lib/module/actions.d.ts.map +1 -0
  407. package/lib/typescript/lib/module/commands.d.ts +3 -0
  408. package/lib/typescript/lib/module/commands.d.ts.map +1 -0
  409. package/lib/typescript/lib/module/components/Button.d.ts +11 -0
  410. package/lib/typescript/lib/module/components/Button.d.ts.map +1 -0
  411. package/lib/typescript/lib/module/components/Checkbox.d.ts +4 -0
  412. package/lib/typescript/lib/module/components/Checkbox.d.ts.map +1 -0
  413. package/lib/typescript/lib/module/components/Divider.d.ts +4 -0
  414. package/lib/typescript/lib/module/components/Divider.d.ts.map +1 -0
  415. package/lib/typescript/lib/module/components/ExpansionPanel.d.ts +9 -0
  416. package/lib/typescript/lib/module/components/ExpansionPanel.d.ts.map +1 -0
  417. package/lib/typescript/lib/module/components/Link.d.ts +4 -0
  418. package/lib/typescript/lib/module/components/Link.d.ts.map +1 -0
  419. package/lib/typescript/lib/module/components/List.d.ts +4 -0
  420. package/lib/typescript/lib/module/components/List.d.ts.map +1 -0
  421. package/lib/typescript/lib/module/components/Locale.d.ts +5 -0
  422. package/lib/typescript/lib/module/components/Locale.d.ts.map +1 -0
  423. package/lib/typescript/lib/module/components/StoragePolicyLink.d.ts +4 -0
  424. package/lib/typescript/lib/module/components/StoragePolicyLink.d.ts.map +1 -0
  425. package/lib/typescript/lib/module/components/Toggle.d.ts +4 -0
  426. package/lib/typescript/lib/module/components/Toggle.d.ts.map +1 -0
  427. package/lib/typescript/lib/module/constants.d.ts +19 -0
  428. package/lib/typescript/lib/module/constants.d.ts.map +1 -0
  429. package/lib/typescript/lib/module/context.d.ts +185 -0
  430. package/lib/typescript/lib/module/context.d.ts.map +1 -0
  431. package/lib/typescript/lib/module/flavors/index.d.ts +17 -0
  432. package/lib/typescript/lib/module/flavors/index.d.ts.map +1 -0
  433. package/lib/typescript/lib/module/hooks/useBoundCallback.d.ts +17 -0
  434. package/lib/typescript/lib/module/hooks/useBoundCallback.d.ts.map +1 -0
  435. package/lib/typescript/lib/module/hooks/useDeviceOrientation.d.ts +3 -0
  436. package/lib/typescript/lib/module/hooks/useDeviceOrientation.d.ts.map +1 -0
  437. package/lib/typescript/lib/module/hooks/usePrevious.d.ts +2 -0
  438. package/lib/typescript/lib/module/hooks/usePrevious.d.ts.map +1 -0
  439. package/lib/typescript/lib/module/hooks/useThunkReducer.d.ts +7 -0
  440. package/lib/typescript/lib/module/hooks/useThunkReducer.d.ts.map +1 -0
  441. package/lib/typescript/lib/module/iab/actions.d.ts +9 -0
  442. package/lib/typescript/lib/module/iab/actions.d.ts.map +1 -0
  443. package/lib/typescript/lib/module/iab/constants.d.ts +4 -0
  444. package/lib/typescript/lib/module/iab/constants.d.ts.map +1 -0
  445. package/lib/typescript/lib/module/iab/gpp/api.d.ts +28 -0
  446. package/lib/typescript/lib/module/iab/gpp/api.d.ts.map +1 -0
  447. package/lib/typescript/lib/module/iab/gpp/consent.d.ts +24 -0
  448. package/lib/typescript/lib/module/iab/gpp/consent.d.ts.map +1 -0
  449. package/lib/typescript/lib/module/iab/gpp/constants.d.ts +37 -0
  450. package/lib/typescript/lib/module/iab/gpp/constants.d.ts.map +1 -0
  451. package/lib/typescript/lib/module/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts +8 -0
  452. package/lib/typescript/lib/module/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts.map +1 -0
  453. package/lib/typescript/lib/module/iab/gpp/encoders/BooleanEncoder.d.ts +8 -0
  454. package/lib/typescript/lib/module/iab/gpp/encoders/BooleanEncoder.d.ts.map +1 -0
  455. package/lib/typescript/lib/module/iab/gpp/encoders/CompressedBase64UrlEncoder.d.ts +9 -0
  456. package/lib/typescript/lib/module/iab/gpp/encoders/CompressedBase64UrlEncoder.d.ts.map +1 -0
  457. package/lib/typescript/lib/module/iab/gpp/encoders/DatetimeEncoder.d.ts +8 -0
  458. package/lib/typescript/lib/module/iab/gpp/encoders/DatetimeEncoder.d.ts.map +1 -0
  459. package/lib/typescript/lib/module/iab/gpp/encoders/EncodableOptimizedFixedRange.d.ts +18 -0
  460. package/lib/typescript/lib/module/iab/gpp/encoders/EncodableOptimizedFixedRange.d.ts.map +1 -0
  461. package/lib/typescript/lib/module/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts +8 -0
  462. package/lib/typescript/lib/module/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts.map +1 -0
  463. package/lib/typescript/lib/module/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts +8 -0
  464. package/lib/typescript/lib/module/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts.map +1 -0
  465. package/lib/typescript/lib/module/iab/gpp/encoders/FixedBitfieldEncoder.d.ts +8 -0
  466. package/lib/typescript/lib/module/iab/gpp/encoders/FixedBitfieldEncoder.d.ts.map +1 -0
  467. package/lib/typescript/lib/module/iab/gpp/encoders/FixedIdBitMapEncoder.d.ts +6 -0
  468. package/lib/typescript/lib/module/iab/gpp/encoders/FixedIdBitMapEncoder.d.ts.map +1 -0
  469. package/lib/typescript/lib/module/iab/gpp/encoders/FixedIntegerEncoder.d.ts +8 -0
  470. package/lib/typescript/lib/module/iab/gpp/encoders/FixedIntegerEncoder.d.ts.map +1 -0
  471. package/lib/typescript/lib/module/iab/gpp/encoders/FixedIntegerListEncoder.d.ts +8 -0
  472. package/lib/typescript/lib/module/iab/gpp/encoders/FixedIntegerListEncoder.d.ts.map +1 -0
  473. package/lib/typescript/lib/module/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts +8 -0
  474. package/lib/typescript/lib/module/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts.map +1 -0
  475. package/lib/typescript/lib/module/iab/gpp/encoders/FixedStringEncoder.d.ts +8 -0
  476. package/lib/typescript/lib/module/iab/gpp/encoders/FixedStringEncoder.d.ts.map +1 -0
  477. package/lib/typescript/lib/module/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts +9 -0
  478. package/lib/typescript/lib/module/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts.map +1 -0
  479. package/lib/typescript/lib/module/iab/gpp/encoders/errors.d.ts +16 -0
  480. package/lib/typescript/lib/module/iab/gpp/encoders/errors.d.ts.map +1 -0
  481. package/lib/typescript/lib/module/iab/gpp/encoders/index.d.ts +15 -0
  482. package/lib/typescript/lib/module/iab/gpp/encoders/index.d.ts.map +1 -0
  483. package/lib/typescript/lib/module/iab/gpp/encoders/types.d.ts +1 -0
  484. package/lib/typescript/lib/module/iab/gpp/encoders/types.d.ts.map +1 -0
  485. package/lib/typescript/lib/module/iab/gpp/index.d.ts +10 -0
  486. package/lib/typescript/lib/module/iab/gpp/index.d.ts.map +1 -0
  487. package/lib/typescript/lib/module/iab/gpp/reducer.d.ts +6 -0
  488. package/lib/typescript/lib/module/iab/gpp/reducer.d.ts.map +1 -0
  489. package/lib/typescript/lib/module/iab/gpp/selectors.d.ts +6 -0
  490. package/lib/typescript/lib/module/iab/gpp/selectors.d.ts.map +1 -0
  491. package/lib/typescript/lib/module/iab/gpp/types.d.ts +1 -0
  492. package/lib/typescript/lib/module/iab/gpp/types.d.ts.map +1 -0
  493. package/lib/typescript/lib/module/iab/gpp/v1/constants.d.ts +9 -0
  494. package/lib/typescript/lib/module/iab/gpp/v1/constants.d.ts.map +1 -0
  495. package/lib/typescript/lib/module/iab/gpp/v1/index.d.ts +19 -0
  496. package/lib/typescript/lib/module/iab/gpp/v1/index.d.ts.map +1 -0
  497. package/lib/typescript/lib/module/iab/index.d.ts +2 -0
  498. package/lib/typescript/lib/module/iab/index.d.ts.map +1 -0
  499. package/lib/typescript/lib/module/iab/reducer.d.ts +5 -0
  500. package/lib/typescript/lib/module/iab/reducer.d.ts.map +1 -0
  501. package/lib/typescript/lib/module/iab/tcf/actions.d.ts +63 -0
  502. package/lib/typescript/lib/module/iab/tcf/actions.d.ts.map +1 -0
  503. package/lib/typescript/lib/module/iab/tcf/consent.d.ts +58 -0
  504. package/lib/typescript/lib/module/iab/tcf/consent.d.ts.map +1 -0
  505. package/lib/typescript/lib/module/iab/tcf/constants.d.ts +21 -0
  506. package/lib/typescript/lib/module/iab/tcf/constants.d.ts.map +1 -0
  507. package/lib/typescript/lib/module/iab/tcf/helpers.d.ts +8 -0
  508. package/lib/typescript/lib/module/iab/tcf/helpers.d.ts.map +1 -0
  509. package/lib/typescript/lib/module/iab/tcf/index.d.ts +303 -0
  510. package/lib/typescript/lib/module/iab/tcf/index.d.ts.map +1 -0
  511. package/lib/typescript/lib/module/iab/tcf/middleware.d.ts +3 -0
  512. package/lib/typescript/lib/module/iab/tcf/middleware.d.ts.map +1 -0
  513. package/lib/typescript/lib/module/iab/tcf/reducer.d.ts +20 -0
  514. package/lib/typescript/lib/module/iab/tcf/reducer.d.ts.map +1 -0
  515. package/lib/typescript/lib/module/iab/tcf/selectors.d.ts +47 -0
  516. package/lib/typescript/lib/module/iab/tcf/selectors.d.ts.map +1 -0
  517. package/lib/typescript/lib/module/iab/tcf/types.d.ts +2 -0
  518. package/lib/typescript/lib/module/iab/tcf/types.d.ts.map +1 -0
  519. package/lib/typescript/lib/module/iab/tcf/v2.0/encoders.d.ts +13 -0
  520. package/lib/typescript/lib/module/iab/tcf/v2.0/encoders.d.ts.map +1 -0
  521. package/lib/typescript/lib/module/iab/tcf/v2.0/formatters.d.ts +4 -0
  522. package/lib/typescript/lib/module/iab/tcf/v2.0/formatters.d.ts.map +1 -0
  523. package/lib/typescript/lib/module/iab/tcf/v2.0/index.d.ts +308 -0
  524. package/lib/typescript/lib/module/iab/tcf/v2.0/index.d.ts.map +1 -0
  525. package/lib/typescript/lib/module/iab/tcf/v2.0/shared-constants.d.ts +80 -0
  526. package/lib/typescript/lib/module/iab/tcf/v2.0/shared-constants.d.ts.map +1 -0
  527. package/lib/typescript/lib/module/iab/tcf/v2.0/tcfcav1-constants.d.ts +104 -0
  528. package/lib/typescript/lib/module/iab/tcf/v2.0/tcfcav1-constants.d.ts.map +1 -0
  529. package/lib/typescript/lib/module/iab/tcf/v2.0/tcfeuv2-constants.d.ts +103 -0
  530. package/lib/typescript/lib/module/iab/tcf/v2.0/tcfeuv2-constants.d.ts.map +1 -0
  531. package/lib/typescript/lib/module/iab/types.d.ts +2 -0
  532. package/lib/typescript/lib/module/iab/types.d.ts.map +1 -0
  533. package/lib/typescript/lib/module/iab/usp/api.d.ts +4 -0
  534. package/lib/typescript/lib/module/iab/usp/api.d.ts.map +1 -0
  535. package/lib/typescript/lib/module/iab/usp/consent.d.ts +13 -0
  536. package/lib/typescript/lib/module/iab/usp/consent.d.ts.map +1 -0
  537. package/lib/typescript/lib/module/iab/usp/constants.d.ts +77 -0
  538. package/lib/typescript/lib/module/iab/usp/constants.d.ts.map +1 -0
  539. package/lib/typescript/lib/module/iab/usp/index.d.ts +10 -0
  540. package/lib/typescript/lib/module/iab/usp/index.d.ts.map +1 -0
  541. package/lib/typescript/lib/module/iab/usp/reducer.d.ts +13 -0
  542. package/lib/typescript/lib/module/iab/usp/reducer.d.ts.map +1 -0
  543. package/lib/typescript/lib/module/iab/usp/selectors.d.ts +9 -0
  544. package/lib/typescript/lib/module/iab/usp/selectors.d.ts.map +1 -0
  545. package/lib/typescript/lib/module/iab/usp/types.d.ts +1 -0
  546. package/lib/typescript/lib/module/iab/usp/types.d.ts.map +1 -0
  547. package/lib/typescript/lib/module/iab/usp/v1/constants.d.ts +9 -0
  548. package/lib/typescript/lib/module/iab/usp/v1/constants.d.ts.map +1 -0
  549. package/lib/typescript/lib/module/iab/usp/v1/index.d.ts +16 -0
  550. package/lib/typescript/lib/module/iab/usp/v1/index.d.ts.map +1 -0
  551. package/lib/typescript/lib/module/iab/utilities.d.ts +2 -0
  552. package/lib/typescript/lib/module/iab/utilities.d.ts.map +1 -0
  553. package/lib/typescript/lib/module/index.d.ts +4 -0
  554. package/lib/typescript/lib/module/index.d.ts.map +1 -0
  555. package/lib/typescript/lib/module/locale/index.d.ts +61 -0
  556. package/lib/typescript/lib/module/locale/index.d.ts.map +1 -0
  557. package/lib/typescript/lib/module/native/OsanoCmp.d.ts +5 -0
  558. package/lib/typescript/lib/module/native/OsanoCmp.d.ts.map +1 -0
  559. package/lib/typescript/lib/module/reducer.d.ts +28 -0
  560. package/lib/typescript/lib/module/reducer.d.ts.map +1 -0
  561. package/lib/typescript/lib/module/selectors.d.ts +15 -0
  562. package/lib/typescript/lib/module/selectors.d.ts.map +1 -0
  563. package/lib/typescript/lib/module/services/consent.d.ts +5 -0
  564. package/lib/typescript/lib/module/services/consent.d.ts.map +1 -0
  565. package/lib/typescript/lib/module/services/disclosures.d.ts +2 -0
  566. package/lib/typescript/lib/module/services/disclosures.d.ts.map +1 -0
  567. package/lib/typescript/lib/module/services/locale.d.ts +3 -0
  568. package/lib/typescript/lib/module/services/locale.d.ts.map +1 -0
  569. package/lib/typescript/lib/module/styles.d.ts +140 -0
  570. package/lib/typescript/lib/module/styles.d.ts.map +1 -0
  571. package/lib/typescript/lib/module/types/consent-config.d.d.ts +2 -0
  572. package/lib/typescript/lib/module/types/consent-config.d.d.ts.map +1 -0
  573. package/lib/typescript/lib/module/types/env.d.d.ts +1 -0
  574. package/lib/typescript/lib/module/types/env.d.d.ts.map +1 -0
  575. package/lib/typescript/lib/module/types/index.d.d.ts +2 -0
  576. package/lib/typescript/lib/module/types/index.d.d.ts.map +1 -0
  577. package/lib/typescript/lib/module/types/store.d.d.ts +2 -0
  578. package/lib/typescript/lib/module/types/store.d.d.ts.map +1 -0
  579. package/lib/typescript/lib/module/utils/API.d.ts +6 -0
  580. package/lib/typescript/lib/module/utils/API.d.ts.map +1 -0
  581. package/lib/typescript/lib/module/utils/Color.d.ts +12 -0
  582. package/lib/typescript/lib/module/utils/Color.d.ts.map +1 -0
  583. package/lib/typescript/lib/module/utils/EventEmitter.d.ts +15 -0
  584. package/lib/typescript/lib/module/utils/EventEmitter.d.ts.map +1 -0
  585. package/lib/typescript/lib/module/utils/Translator.d.ts +52 -0
  586. package/lib/typescript/lib/module/utils/Translator.d.ts.map +1 -0
  587. package/lib/typescript/lib/module/utils/index.d.ts +5 -0
  588. package/lib/typescript/lib/module/utils/index.d.ts.map +1 -0
  589. package/lib/typescript/lib/module/utils/types.d.ts +1 -0
  590. package/lib/typescript/lib/module/utils/types.d.ts.map +1 -0
  591. package/lib/typescript/lib/module/views/Dialog/Buttons.d.ts +5 -0
  592. package/lib/typescript/lib/module/views/Dialog/Buttons.d.ts.map +1 -0
  593. package/lib/typescript/lib/module/views/Dialog/FirstLayerUsage.d.ts +5 -0
  594. package/lib/typescript/lib/module/views/Dialog/FirstLayerUsage.d.ts.map +1 -0
  595. package/lib/typescript/lib/module/views/Dialog/Message.d.ts +4 -0
  596. package/lib/typescript/lib/module/views/Dialog/Message.d.ts.map +1 -0
  597. package/lib/typescript/lib/module/views/Dialog/PreferenceManagementDeepLinks.d.ts +6 -0
  598. package/lib/typescript/lib/module/views/Dialog/PreferenceManagementDeepLinks.d.ts.map +1 -0
  599. package/lib/typescript/lib/module/views/Dialog/index.d.ts +5 -0
  600. package/lib/typescript/lib/module/views/Dialog/index.d.ts.map +1 -0
  601. package/lib/typescript/lib/module/views/Drawer/Drawer.ConsentCategories.d.ts +5 -0
  602. package/lib/typescript/lib/module/views/Drawer/Drawer.ConsentCategories.d.ts.map +1 -0
  603. package/lib/typescript/lib/module/views/Drawer/Drawer.Header.d.ts +5 -0
  604. package/lib/typescript/lib/module/views/Drawer/Drawer.Header.d.ts.map +1 -0
  605. package/lib/typescript/lib/module/views/Drawer/Drawer.Iab.Disclosures.d.ts +5 -0
  606. package/lib/typescript/lib/module/views/Drawer/Drawer.Iab.Disclosures.d.ts.map +1 -0
  607. package/lib/typescript/lib/module/views/Drawer/Drawer.Iab.Vendors.d.ts +5 -0
  608. package/lib/typescript/lib/module/views/Drawer/Drawer.Iab.Vendors.d.ts.map +1 -0
  609. package/lib/typescript/lib/module/views/Drawer/index.d.ts +4 -0
  610. package/lib/typescript/lib/module/views/Drawer/index.d.ts.map +1 -0
  611. package/lib/typescript/scripts/updateLocalization.d.ts +2 -0
  612. package/lib/typescript/scripts/updateLocalization.d.ts.map +1 -0
  613. package/lib/typescript/src/ConsentManager.d.ts +31 -16
  614. package/lib/typescript/src/ConsentManager.d.ts.map +1 -1
  615. package/lib/typescript/src/ConsentUiBuilder.d.ts +1 -1
  616. package/lib/typescript/src/ConsentUiBuilder.d.ts.map +1 -1
  617. package/lib/typescript/src/actions.d.ts +42 -0
  618. package/lib/typescript/src/actions.d.ts.map +1 -0
  619. package/lib/typescript/src/commands.d.ts +14 -0
  620. package/lib/typescript/src/commands.d.ts.map +1 -0
  621. package/lib/typescript/src/components/Button.d.ts +1 -1
  622. package/lib/typescript/src/components/Button.d.ts.map +1 -1
  623. package/lib/typescript/src/components/Locale.d.ts +1 -0
  624. package/lib/typescript/src/components/Locale.d.ts.map +1 -1
  625. package/lib/typescript/src/context.d.ts +3 -3
  626. package/lib/typescript/src/context.d.ts.map +1 -1
  627. package/lib/typescript/src/flavors/index.d.ts +1 -1
  628. package/lib/typescript/src/hooks/usePrevious.d.ts +1 -1
  629. package/lib/typescript/src/hooks/usePrevious.d.ts.map +1 -1
  630. package/lib/typescript/src/hooks/useThunkReducer.d.ts +6 -8
  631. package/lib/typescript/src/hooks/useThunkReducer.d.ts.map +1 -1
  632. package/lib/typescript/src/iab/actions.d.ts +7 -0
  633. package/lib/typescript/src/iab/actions.d.ts.map +1 -0
  634. package/lib/typescript/src/iab/constants.d.ts +2 -0
  635. package/lib/typescript/src/iab/constants.d.ts.map +1 -1
  636. package/lib/typescript/src/iab/gpp/api.d.ts +28 -0
  637. package/lib/typescript/src/iab/gpp/api.d.ts.map +1 -0
  638. package/lib/typescript/src/iab/gpp/consent.d.ts +24 -0
  639. package/lib/typescript/src/iab/gpp/consent.d.ts.map +1 -0
  640. package/lib/typescript/src/iab/gpp/constants.d.ts +37 -0
  641. package/lib/typescript/src/iab/gpp/constants.d.ts.map +1 -0
  642. package/lib/typescript/src/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts.map +1 -1
  643. package/lib/typescript/src/iab/gpp/encoders/BooleanEncoder.d.ts +2 -2
  644. package/lib/typescript/src/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts +4 -2
  645. package/lib/typescript/src/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts.map +1 -1
  646. package/lib/typescript/src/iab/gpp/index.d.ts +10 -0
  647. package/lib/typescript/src/iab/gpp/index.d.ts.map +1 -0
  648. package/lib/typescript/src/iab/gpp/reducer.d.ts +6 -0
  649. package/lib/typescript/src/iab/gpp/reducer.d.ts.map +1 -0
  650. package/lib/typescript/src/iab/gpp/selectors.d.ts +6 -0
  651. package/lib/typescript/src/iab/gpp/selectors.d.ts.map +1 -0
  652. package/lib/typescript/src/iab/gpp/v1/constants.d.ts +9 -0
  653. package/lib/typescript/src/iab/gpp/v1/constants.d.ts.map +1 -0
  654. package/lib/typescript/src/iab/gpp/v1/index.d.ts +19 -0
  655. package/lib/typescript/src/iab/gpp/v1/index.d.ts.map +1 -0
  656. package/lib/typescript/src/iab/index.d.ts +5 -0
  657. package/lib/typescript/src/iab/index.d.ts.map +1 -0
  658. package/lib/typescript/src/iab/reducer.d.ts +6 -0
  659. package/lib/typescript/src/iab/reducer.d.ts.map +1 -0
  660. package/lib/typescript/src/iab/tcf/actions.d.ts +35 -0
  661. package/lib/typescript/src/iab/tcf/actions.d.ts.map +1 -0
  662. package/lib/typescript/src/iab/tcf/consent.d.ts +25 -0
  663. package/lib/typescript/src/iab/tcf/consent.d.ts.map +1 -0
  664. package/lib/typescript/src/iab/tcf/constants.d.ts.map +1 -1
  665. package/lib/typescript/src/iab/tcf/helpers.d.ts +15 -0
  666. package/lib/typescript/src/iab/tcf/helpers.d.ts.map +1 -0
  667. package/lib/typescript/src/iab/tcf/index.d.ts +8 -0
  668. package/lib/typescript/src/iab/tcf/index.d.ts.map +1 -0
  669. package/lib/typescript/src/iab/tcf/middleware.d.ts +4 -0
  670. package/lib/typescript/src/iab/tcf/middleware.d.ts.map +1 -0
  671. package/lib/typescript/src/iab/tcf/reducer.d.ts +59 -0
  672. package/lib/typescript/src/iab/tcf/reducer.d.ts.map +1 -0
  673. package/lib/typescript/src/iab/tcf/selectors.d.ts +52 -0
  674. package/lib/typescript/src/iab/tcf/selectors.d.ts.map +1 -0
  675. package/lib/typescript/src/iab/tcf/types.d.ts +82 -4
  676. package/lib/typescript/src/iab/tcf/types.d.ts.map +1 -1
  677. package/lib/typescript/src/iab/tcf/v2.0/encoders.d.ts +35 -6
  678. package/lib/typescript/src/iab/tcf/v2.0/encoders.d.ts.map +1 -1
  679. package/lib/typescript/src/iab/tcf/v2.0/formatters.d.ts +4 -0
  680. package/lib/typescript/src/iab/tcf/v2.0/formatters.d.ts.map +1 -0
  681. package/lib/typescript/src/iab/tcf/v2.0/index.d.ts +7 -0
  682. package/lib/typescript/src/iab/tcf/v2.0/index.d.ts.map +1 -0
  683. package/lib/typescript/src/iab/tcf/v2.0/shared-constants.d.ts +60 -0
  684. package/lib/typescript/src/iab/tcf/v2.0/shared-constants.d.ts.map +1 -0
  685. package/lib/typescript/src/iab/tcf/v2.0/tcfcav1-constants.d.ts +77 -0
  686. package/lib/typescript/src/iab/tcf/v2.0/tcfcav1-constants.d.ts.map +1 -0
  687. package/lib/typescript/src/iab/tcf/v2.0/tcfeuv2-constants.d.ts +82 -0
  688. package/lib/typescript/src/iab/tcf/v2.0/tcfeuv2-constants.d.ts.map +1 -0
  689. package/lib/typescript/src/iab/types.d.ts +14 -5
  690. package/lib/typescript/src/iab/types.d.ts.map +1 -1
  691. package/lib/typescript/src/iab/usp/api.d.ts +4 -0
  692. package/lib/typescript/src/iab/usp/api.d.ts.map +1 -0
  693. package/lib/typescript/src/iab/usp/consent.d.ts +13 -0
  694. package/lib/typescript/src/iab/usp/consent.d.ts.map +1 -0
  695. package/lib/typescript/src/iab/usp/constants.d.ts +77 -0
  696. package/lib/typescript/src/iab/usp/constants.d.ts.map +1 -0
  697. package/lib/typescript/src/iab/usp/index.d.ts +10 -0
  698. package/lib/typescript/src/iab/usp/index.d.ts.map +1 -0
  699. package/lib/typescript/src/iab/usp/reducer.d.ts +13 -0
  700. package/lib/typescript/src/iab/usp/reducer.d.ts.map +1 -0
  701. package/lib/typescript/src/iab/usp/selectors.d.ts +9 -0
  702. package/lib/typescript/src/iab/usp/selectors.d.ts.map +1 -0
  703. package/lib/typescript/src/iab/usp/v1/constants.d.ts +9 -0
  704. package/lib/typescript/src/iab/usp/v1/constants.d.ts.map +1 -0
  705. package/lib/typescript/src/iab/usp/v1/index.d.ts +16 -0
  706. package/lib/typescript/src/iab/usp/v1/index.d.ts.map +1 -0
  707. package/lib/typescript/src/index.d.ts.map +1 -1
  708. package/lib/typescript/src/locale/index.d.ts +61 -0
  709. package/lib/typescript/src/locale/index.d.ts.map +1 -0
  710. package/lib/typescript/src/reducer.d.ts +7 -0
  711. package/lib/typescript/src/reducer.d.ts.map +1 -0
  712. package/lib/typescript/src/selectors.d.ts +19 -0
  713. package/lib/typescript/src/selectors.d.ts.map +1 -0
  714. package/lib/typescript/src/services/consent.d.ts.map +1 -1
  715. package/lib/typescript/src/styles.d.ts +2 -2
  716. package/lib/typescript/src/styles.d.ts.map +1 -1
  717. package/lib/typescript/src/utils/Translator.d.ts +1 -1
  718. package/lib/typescript/src/utils/Translator.d.ts.map +1 -1
  719. package/lib/typescript/src/utils/index.d.ts +2 -1
  720. package/lib/typescript/src/utils/index.d.ts.map +1 -1
  721. package/lib/typescript/src/utils/types.d.ts +5 -0
  722. package/lib/typescript/src/utils/types.d.ts.map +1 -0
  723. package/lib/typescript/src/views/Dialog/PreferenceManagementDeepLinks.d.ts.map +1 -1
  724. package/lib/typescript/src/views/Dialog/index.d.ts.map +1 -1
  725. package/lib/typescript/src/views/Drawer/Drawer.ConsentCategories.d.ts.map +1 -1
  726. package/lib/typescript/src/views/Drawer/Drawer.Header.d.ts.map +1 -1
  727. package/lib/typescript/src/views/Drawer/Drawer.Iab.Disclosures.d.ts.map +1 -1
  728. package/lib/typescript/src/views/Drawer/Drawer.Iab.Vendors.d.ts.map +1 -1
  729. package/package.json +18 -38
  730. package/src/ConsentManager.ts +325 -120
  731. package/src/ConsentUiBuilder.tsx +2 -2
  732. package/src/actions.ts +80 -0
  733. package/src/commands.ts +96 -0
  734. package/src/components/Button.tsx +34 -27
  735. package/src/components/Locale.tsx +30 -16
  736. package/src/context.ts +12 -12
  737. package/src/flavors/index.ts +1 -1
  738. package/src/hooks/usePrevious.ts +1 -1
  739. package/src/hooks/useThunkReducer.ts +86 -54
  740. package/src/iab/actions.ts +19 -0
  741. package/src/iab/constants.ts +2 -0
  742. package/src/iab/gpp/encoders/FixedIntegerEncoder.ts +1 -1
  743. package/src/iab/gpp/encoders/TraditionalBase64UrlEncoder.ts +1 -2
  744. package/src/iab/index.ts +34 -0
  745. package/src/iab/reducer.ts +38 -0
  746. package/src/iab/tcf/actions.ts +116 -0
  747. package/src/iab/tcf/{consent.js → consent.ts} +143 -164
  748. package/src/iab/tcf/constants.ts +6 -6
  749. package/src/iab/tcf/helpers.ts +95 -0
  750. package/src/iab/tcf/index.ts +8 -0
  751. package/src/iab/tcf/middleware.ts +217 -0
  752. package/src/iab/tcf/reducer.ts +250 -0
  753. package/src/iab/tcf/selectors.ts +192 -0
  754. package/src/iab/tcf/types.ts +108 -4
  755. package/src/iab/tcf/v2.0/encoders.ts +7 -16
  756. package/src/iab/tcf/v2.0/formatters.ts +18 -0
  757. package/src/iab/tcf/v2.0/index.ts +40 -0
  758. package/src/iab/tcf/v2.0/shared-constants.ts +53 -0
  759. package/src/iab/tcf/v2.0/{tcfcav1-constants.js → tcfcav1-constants.ts} +4 -15
  760. package/src/iab/tcf/v2.0/{tcfeuv2-constants.js → tcfeuv2-constants.ts} +4 -14
  761. package/src/iab/types.ts +21 -5
  762. package/src/index.tsx +184 -99
  763. package/src/reducer.ts +414 -0
  764. package/src/selectors.ts +109 -0
  765. package/src/services/consent.ts +35 -12
  766. package/src/styles.ts +3 -5
  767. package/src/types/consent-config.d.ts +16 -12
  768. package/src/types/index.d.ts +21 -5
  769. package/src/types/store.d.ts +14 -4
  770. package/src/utils/Translator.ts +47 -43
  771. package/src/utils/index.ts +23 -27
  772. package/src/utils/types.ts +35 -0
  773. package/src/views/Dialog/Buttons.tsx +2 -2
  774. package/src/views/Dialog/Message.tsx +1 -1
  775. package/src/views/Dialog/PreferenceManagementDeepLinks.tsx +7 -5
  776. package/src/views/Dialog/index.tsx +32 -51
  777. package/src/views/Drawer/Drawer.ConsentCategories.tsx +84 -41
  778. package/src/views/Drawer/Drawer.Header.tsx +4 -3
  779. package/src/views/Drawer/Drawer.Iab.Disclosures.tsx +71 -41
  780. package/src/views/Drawer/Drawer.Iab.Vendors.tsx +74 -46
  781. package/src/views/Drawer/index.tsx +8 -8
  782. package/lib/commonjs/iab/tcf/tcfcav1-api.js +0 -41
  783. package/lib/commonjs/iab/tcf/tcfcav1-api.js.map +0 -1
  784. package/lib/commonjs/iab/tcf/tcfeuv2-api.js +0 -256
  785. package/lib/commonjs/iab/tcf/tcfeuv2-api.js.map +0 -1
  786. package/lib/commonjs/iab/tcf/v2.0/helpers.js +0 -25
  787. package/lib/commonjs/iab/tcf/v2.0/helpers.js.map +0 -1
  788. package/lib/commonjs/iab/tcf/v2.0/middleware.js +0 -80
  789. package/lib/commonjs/iab/tcf/v2.0/middleware.js.map +0 -1
  790. package/lib/commonjs/iab/tcf/v2.0/reducer.js +0 -318
  791. package/lib/commonjs/iab/tcf/v2.0/reducer.js.map +0 -1
  792. package/lib/commonjs/store.js +0 -558
  793. package/lib/commonjs/store.js.map +0 -1
  794. package/lib/module/iab/tcf/tcfcav1-api.js +0 -35
  795. package/lib/module/iab/tcf/tcfcav1-api.js.map +0 -1
  796. package/lib/module/iab/tcf/tcfeuv2-api.js +0 -251
  797. package/lib/module/iab/tcf/tcfeuv2-api.js.map +0 -1
  798. package/lib/module/iab/tcf/v2.0/helpers.js +0 -18
  799. package/lib/module/iab/tcf/v2.0/helpers.js.map +0 -1
  800. package/lib/module/iab/tcf/v2.0/middleware.js +0 -74
  801. package/lib/module/iab/tcf/v2.0/middleware.js.map +0 -1
  802. package/lib/module/iab/tcf/v2.0/reducer.js +0 -311
  803. package/lib/module/iab/tcf/v2.0/reducer.js.map +0 -1
  804. package/lib/module/store.js +0 -520
  805. package/lib/module/store.js.map +0 -1
  806. package/lib/typescript/src/iab/tcf/v2.0/helpers.d.ts +0 -5
  807. package/lib/typescript/src/iab/tcf/v2.0/helpers.d.ts.map +0 -1
  808. package/lib/typescript/src/store.d.ts +0 -55
  809. package/lib/typescript/src/store.d.ts.map +0 -1
  810. package/src/iab/tcf/actions.js +0 -52
  811. package/src/iab/tcf/index.js +0 -7
  812. package/src/iab/tcf/reducer.js +0 -59
  813. package/src/iab/tcf/selectors.js +0 -151
  814. package/src/iab/tcf/tcfcav1-api.js +0 -39
  815. package/src/iab/tcf/tcfeuv2-api.js +0 -264
  816. package/src/iab/tcf/v2.0/formatters.js +0 -14
  817. package/src/iab/tcf/v2.0/helpers.ts +0 -23
  818. package/src/iab/tcf/v2.0/index.js +0 -36
  819. package/src/iab/tcf/v2.0/middleware.js +0 -72
  820. package/src/iab/tcf/v2.0/reducer.js +0 -327
  821. package/src/iab/tcf/v2.0/shared-constants.js +0 -17
  822. package/src/store.ts +0 -602
@@ -21,14 +21,14 @@
21
21
  /**
22
22
  * encode a TCString boolean
23
23
  */
24
- export declare const encode: (bool: boolean) => "0" | "1";
24
+ export declare const encode: (bool: boolean) => "1" | "0";
25
25
  /**
26
26
  * decode a TCString boolean
27
27
  */
28
28
  export declare const decode: (bitString: string) => boolean;
29
29
  declare const _default: {
30
30
  decode: (bitString: string) => boolean;
31
- encode: (bool: boolean) => "0" | "1";
31
+ encode: (bool: boolean) => "1" | "0";
32
32
  };
33
33
  export default _default;
34
34
  //# sourceMappingURL=BooleanEncoder.d.ts.map
@@ -18,9 +18,11 @@
18
18
  * License for the specific language governing permissions and limitations under
19
19
  * the License.
20
20
  */
21
- import type { Codable } from './types';
22
21
  export declare const encode: (bitString: string) => string;
23
22
  export { decode } from './AbstractBase64UrlEncoder';
24
- declare const _default: Codable;
23
+ declare const _default: {
24
+ decode: (str: string) => string;
25
+ encode: (bitString: string) => string;
26
+ };
25
27
  export default _default;
26
28
  //# sourceMappingURL=TraditionalBase64UrlEncoder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TraditionalBase64UrlEncoder.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/gpp/encoders/TraditionalBase64UrlEncoder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AASvC,eAAO,MAAM,MAAM,+BAAkB,CAAC;AAEtC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;;AAEpD,wBAGa"}
1
+ {"version":3,"file":"TraditionalBase64UrlEncoder.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/gpp/encoders/TraditionalBase64UrlEncoder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAWH,eAAO,MAAM,MAAM,+BAAkB,CAAC;AAEtC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;;;;;AAEpD,wBAGE"}
@@ -0,0 +1,10 @@
1
+ declare namespace _default {
2
+ export { reducer };
3
+ export namespace versions {
4
+ export { v1_0 };
5
+ }
6
+ }
7
+ export default _default;
8
+ import reducer from './reducer';
9
+ import v1_0 from './v1';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/iab/gpp/index.js"],"names":[],"mappings":";;;;;;;oBAAoB,WAAW;iBACd,MAAM"}
@@ -0,0 +1,6 @@
1
+ export namespace initialState {
2
+ let iab: {};
3
+ }
4
+ declare const _default: any;
5
+ export default _default;
6
+ //# sourceMappingURL=reducer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../../../src/iab/gpp/reducer.js"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export function isUiVisible(state: any): boolean;
2
+ export function getSupportedApis(state: any): string[];
3
+ export function doesGDPRApply(state: any): boolean;
4
+ export function isBrowsingFrom(state: any, jurisdiction: any): boolean;
5
+ export function getConsentString(state: any, section: any): any;
6
+ //# sourceMappingURL=selectors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../src/iab/gpp/selectors.js"],"names":[],"mappings":"AAIO,iDAC2D;AAC3D,uDAOL;AACK,mDACuD;AACvD,uEAEM;AACN,gEACgD"}
@@ -0,0 +1,9 @@
1
+ export const apiName: "__gpp";
2
+ export const gppSection: "gpp";
3
+ export const iframeName: "__gppLocator";
4
+ export const version: "1.0";
5
+ export namespace initOptions {
6
+ export { gppSection };
7
+ export { version };
8
+ }
9
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/gpp/v1/constants.js"],"names":[],"mappings":"AAAA,8BAA+B;AAE/B,+BAAgC;AAChC,wCAAyC;AACzC,4BAA6B"}
@@ -0,0 +1,19 @@
1
+ export function createMiddleware({ dispatchEvent }?: {
2
+ dispatchEvent: any;
3
+ }): (store: any) => (next: any) => (action: any) => any;
4
+ export default v1;
5
+ declare namespace v1 {
6
+ export let api: {
7
+ bind: (store: any, allApis: any) => (command: any, callback: any, parameter: any) => any;
8
+ dispatch: (data: any) => void;
9
+ };
10
+ export { apiName };
11
+ export { createMiddleware };
12
+ export { gppSection };
13
+ export { iframeName };
14
+ export let postMessageEventHandler: any;
15
+ }
16
+ import { apiName } from './constants';
17
+ import { gppSection } from './constants';
18
+ import { iframeName } from './constants';
19
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/gpp/v1/index.js"],"names":[],"mappings":"AAYA;;wDAiDC;;;;;;;;;;;;;wBA7D4D,aAAa;2BAAb,aAAa;2BAAb,aAAa"}
@@ -0,0 +1,5 @@
1
+ import type { IabFramework, IabState } from './types';
2
+ import type { OsanoAction, OsanoState } from '../types/store';
3
+ import type { Store } from '../hooks/useThunkReducer';
4
+ export declare const addIabReducers: (frameworks: IabFramework[]) => (store: Store<OsanoState & IabState, OsanoAction>) => void;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/iab/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE9D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAItD,eAAO,MAAM,cAAc,eACb,YAAY,EAAE,aACnB,MAAM,UAAU,GAAG,QAAQ,EAAE,WAAW,CAAC,SAwBhD,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { Iab, IabFramework } from './types';
2
+ export declare const initialState: {
3
+ iab: Iab;
4
+ };
5
+ export declare const reducer: IabFramework['reducer'];
6
+ //# sourceMappingURL=reducer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../../src/iab/reducer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,YAAY,EAAY,MAAM,SAAS,CAAC;AAM3D,eAAO,MAAM,YAAY;;CAExB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,YAAY,CAAC,SAAS,CA2B3C,CAAC"}
@@ -0,0 +1,35 @@
1
+ import type { OsanoAction } from '../../types/store';
2
+ import type { TcfState } from './types';
3
+ export declare const SET_TCSTRING = "IAB-TCF/SET_TCSTRING";
4
+ export declare const SET_CONSENT = "IAB-TCF/SET_CONSENT";
5
+ export declare const SET_PURPOSE_CONSENT = "IAB-TCF/SET_PURPOSE_CONSENT";
6
+ export declare const SET_ALL_PURPOSE_CONSENT = "IAB-TCF/SET_ALL_PURPOSE_CONSENT";
7
+ export declare const SET_VENDOR_CONSENT = "IAB-TCF/SET_VENDOR_CONSENT";
8
+ export declare const SET_ALL_VENDOR_CONSENT = "IAB-TCF/SET_ALL_VENDOR_CONSENT";
9
+ export declare const SET_SPECIAL_FEATURE_CONSENT = "IAB-TCF/SET_SPECIAL_FEATURE_CONSENT";
10
+ export declare const SET_ALL_SPECIAL_FEATURE_CONSENT = "IAB-TCF/SET_ALL_SPECIAL_FEATURE_CONSENT";
11
+ export declare const SET_GDPR_APPLIES = "IAB-TCF/SET_GDPR_APPLIES";
12
+ export declare const UPDATE_PURPOSE_LIST = "IAB-TCF/UPDATE_PURPOSE_LIST";
13
+ export declare const setTCString: (tcString: string) => OsanoAction<typeof SET_TCSTRING, string>;
14
+ export declare const setConsent: (consent: Partial<TcfState>) => OsanoAction<typeof SET_CONSENT, any>;
15
+ export declare const setSpecialFeatureConsent: (specialFeatureId: string | number, acceptOrDeny?: boolean) => OsanoAction<typeof SET_SPECIAL_FEATURE_CONSENT, {
16
+ specialFeatureId: string | number;
17
+ acceptOrDeny?: boolean;
18
+ }>;
19
+ export declare const setPurposeConsent: (purposeId: string | number, acceptOrDeny?: boolean) => OsanoAction<typeof SET_PURPOSE_CONSENT, {
20
+ purposeId: string | number;
21
+ acceptOrDeny?: boolean;
22
+ }>;
23
+ export declare const setVendorConsent: (vendorId: string | number, acceptOrDeny?: boolean) => OsanoAction<typeof SET_VENDOR_CONSENT, {
24
+ vendorId: string | number;
25
+ acceptOrDeny?: boolean;
26
+ }>;
27
+ export declare const setAllVendorConsent: (acceptOrDeny: boolean) => OsanoAction<typeof SET_ALL_VENDOR_CONSENT, boolean>;
28
+ export declare const setAllPurposeConsent: (acceptOrDeny: boolean) => OsanoAction<typeof SET_ALL_PURPOSE_CONSENT, boolean>;
29
+ export declare const setAllSpecialFeatureConsent: (acceptOrDeny: boolean) => OsanoAction<typeof SET_ALL_SPECIAL_FEATURE_CONSENT, boolean>;
30
+ export declare const setGdprApplies: (gdprApplies: boolean) => OsanoAction<typeof SET_GDPR_APPLIES, boolean>;
31
+ export declare const updatePurposeList: (purposeList: any, language: string) => OsanoAction<typeof UPDATE_PURPOSE_LIST, {
32
+ purposeList: any;
33
+ language: string;
34
+ }>;
35
+ //# sourceMappingURL=actions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../../../src/iab/tcf/actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAIxC,eAAO,MAAM,YAAY,yBAA2B,CAAC;AACrD,eAAO,MAAM,WAAW,wBAA0B,CAAC;AACnD,eAAO,MAAM,mBAAmB,gCAAkC,CAAC;AACnE,eAAO,MAAM,uBAAuB,oCAAsC,CAAC;AAC3E,eAAO,MAAM,kBAAkB,+BAAiC,CAAC;AACjE,eAAO,MAAM,sBAAsB,mCAAqC,CAAC;AACzE,eAAO,MAAM,2BAA2B,wCAA0C,CAAC;AACnF,eAAO,MAAM,+BAA+B,4CAA8C,CAAC;AAC3F,eAAO,MAAM,gBAAgB,6BAA+B,CAAC;AAC7D,eAAO,MAAM,mBAAmB,gCAAkC,CAAC;AAEnE,eAAO,MAAM,WAAW,aACb,MAAM,KACd,YAAY,mBAAmB,EAAE,MAAM,CAGxC,CAAC;AAEH,eAAO,MAAM,UAAU,YACb,QAAQ,QAAQ,CAAC,KACxB,YAAY,kBAAkB,EAAE,GAAG,CAGpC,CAAC;AAEH,eAAO,MAAM,wBAAwB,qBAClB,MAAM,GAAG,MAAM,iBAClB,OAAO,KACpB,YACF,kCAAkC,EAClC;IACC,gBAAgB,EAAE,MAAM,GAAG,MAAM,CAAC;IAClC,YAAY,CAAC,EAAE,OAAO,CAAC;CACvB,CAIA,CAAC;AAEH,eAAO,MAAM,iBAAiB,cAClB,MAAM,GAAG,MAAM,iBACX,OAAO,KACpB,YACF,0BAA0B,EAC1B;IACC,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;CACvB,CAIA,CAAC;AAEH,eAAO,MAAM,gBAAgB,aAClB,MAAM,GAAG,MAAM,iBACV,OAAO,KACpB,YACF,yBAAyB,EACzB;IACC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;CACvB,CAIA,CAAC;AAEH,eAAO,MAAM,mBAAmB,iBACjB,OAAO,KACnB,YAAY,6BAA6B,EAAE,OAAO,CAGnD,CAAC;AAEH,eAAO,MAAM,oBAAoB,iBAClB,OAAO,KACnB,YAAY,8BAA8B,EAAE,OAAO,CAGpD,CAAC;AAEH,eAAO,MAAM,2BAA2B,iBACzB,OAAO,KACnB,YAAY,sCAAsC,EAAE,OAAO,CAG5D,CAAC;AAEH,eAAO,MAAM,cAAc,gBACb,OAAO,KAClB,YAAY,uBAAuB,EAAE,OAAO,CAG7C,CAAC;AAEH,eAAO,MAAM,iBAAiB,gBAChB,GAAG,YACN,MAAM,KACd,YACF,0BAA0B,EAC1B;IACC,WAAW,EAAE,GAAG,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CACjB,CAOA,CAAC"}
@@ -0,0 +1,25 @@
1
+ import type { IabInitOptions, TcData, TcfVersionType, Tcf_v2 } from './types';
2
+ import type { ConsentConfig } from '../../ConsentManager';
3
+ import type { IabState } from '../types';
4
+ import type { OsanoState } from '../../types/store';
5
+ export declare const commonConsent: {
6
+ consentLanguage: string;
7
+ cmpLoaded: boolean;
8
+ cmpStatus: string;
9
+ eventStatus: string;
10
+ isServiceSpecific: boolean;
11
+ useNonStandardStacks: boolean;
12
+ purposeOneTreatment: boolean;
13
+ };
14
+ export declare const getVendorConsents: (config: ConsentConfig, state: OsanoState & IabState, apiVersion: TcfVersionType) => Record<string, boolean>;
15
+ export declare const getVendorLegitimateInterests: (config: ConsentConfig, state: IabState & OsanoState, apiVersion: TcfVersionType) => Record<string, boolean>;
16
+ export declare const makeParseConsentString: (initOptions: IabInitOptions) => (tcString: string) => TcData;
17
+ export declare const makeGetField: (initOptions: IabInitOptions) => (tcString: string, requestedField: string) => undefined;
18
+ export declare const makeConsentFromOptions: (initOptions: IabInitOptions) => (config: ConsentConfig, state: OsanoState & IabState) => TcData;
19
+ export declare const makeFormatConsentString: (initOptions: IabInitOptions) => (config: ConsentConfig, state: OsanoState & IabState) => string;
20
+ export declare const makeReadFromStorage: (initOptions: IabInitOptions) => (storage: Partial<Tcf_v2>) => {
21
+ tcf: {
22
+ [x: string]: Partial<Tcf_v2>;
23
+ };
24
+ };
25
+ //# sourceMappingURL=consent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../../src/iab/tcf/consent.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAiB9E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,eAAO,MAAM,aAAa;;;;;;;;CAQzB,CAAC;AAEF,eAAO,MAAM,iBAAiB,WACrB,aAAa,SACd,UAAU,GAAG,QAAQ,cAChB,cAAc,4BA8C1B,CAAC;AAEF,eAAO,MAAM,4BAA4B,WAChC,aAAa,SACd,QAAQ,GAAG,UAAU,cAChB,cAAc,4BA2D1B,CAAC;AAEF,eAAO,MAAM,sBAAsB,gBACpB,cAAc,gBACjB,MAAM,KAAG,MAgCnB,CAAC;AAEH,eAAO,MAAM,YAAY,gBAAiB,cAAc,gBAKrC,MAAM,kBAAkB,MAAM,cAEhD,CAAC;AAEF,eAAO,MAAM,sBAAsB,gBACpB,cAAc,cACnB,aAAa,SAAS,UAAU,GAAG,QAAQ,WAwEnD,CAAC;AAEH,eAAO,MAAM,uBAAuB,gBACrB,cAAc,cACnB,aAAa,SAAS,UAAU,GAAG,QAAQ,WAqCnD,CAAC;AAEH,eAAO,MAAM,mBAAmB,gBAAiB,cAAc,eAE7C,QAAQ,MAAM,CAAC;;;;CAOhC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/iab/tcf/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,eAAe,IAAI,mBAAmB,EAE3C,MAAM,iBAAiB,CAAC;AAEzB,eAAO,MAAM,cAAc;;;;CAI1B,CAAC;AAEF,eAAO,MAAM,cAAc;;;;CAI1B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;CAI9B,CAAC;AAEF,eAAO,MAAM,UAAU,UAAkC,CAAC;AAC1D,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,mBAAmB,EAAE,MAAM,EAAE,CAO5D,CAAC;AAEF,eAAO,MAAM,gBAAgB,aACnB,QAAQ,OAAO,mBAAmB,EAAE,OAAO,CAAC,CAAC,iDAgBtD,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/iab/tcf/constants.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,eAAe,IAAI,mBAAmB,EAE3C,MAAM,iBAAiB,CAAC;AAEzB,eAAO,MAAM,cAAc;;;;CAI1B,CAAC;AAEF,eAAO,MAAM,cAAc;;;;CAI1B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;CAI9B,CAAC;AAEF,eAAO,MAAM,UAAU,UAAsC,CAAC;AAC9D,eAAO,MAAM,UAAU,EAAE,MAAM,CAAC,mBAAmB,EAAE,MAAM,EAAE,CAO5D,CAAC;AAEF,eAAO,MAAM,gBAAgB,aACnB,QAAQ,OAAO,mBAAmB,EAAE,OAAO,CAAC,CAAC,iDAgBtD,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { IabInitOptions, TcfVersionType } from './types';
2
+ import type { IabState } from '../types';
3
+ import type { OsanoState } from '../../types/store';
4
+ export declare const createUTCTimestampInDeciseconds: ({ defaultTimestamp }: IabInitOptions, state: OsanoState) => number;
5
+ export declare const idRecordToBinaryString: (records: Record<string, boolean>) => string;
6
+ export declare const updateSpecialFeatureOptIns: (state: IabState, version: TcfVersionType, specialFeatureIds: number[], acceptOrDeny: boolean) => {
7
+ [x: string]: boolean;
8
+ };
9
+ export declare const updatePurposeOptOuts: (state: IabState, version: TcfVersionType, purposeIds: number[], acceptOrDeny: boolean) => {
10
+ [x: string]: boolean;
11
+ };
12
+ export declare const updateVendorOptOuts: (state: IabState, version: TcfVersionType, vendorIds: number[], acceptOrDeny: boolean) => {
13
+ [x: string]: boolean;
14
+ };
15
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/iab/tcf/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAO9D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAYpD,eAAO,MAAM,+BAA+B,yBACjB,cAAc,SACjC,UAAU,WAUjB,CAAC;AAEF,eAAO,MAAM,sBAAsB,YAAa,OAAO,MAAM,EAAE,OAAO,CAAC,WAQ5D,CAAC;AAEZ,eAAO,MAAM,0BAA0B,UAC/B,QAAQ,WACN,cAAc,qBACJ,MAAM,EAAE,gBACb,OAAO;;CAWrB,CAAC;AAEF,eAAO,MAAM,oBAAoB,UACzB,QAAQ,WACN,cAAc,cACX,MAAM,EAAE,gBACN,OAAO;;CAYrB,CAAC;AAEF,eAAO,MAAM,mBAAmB,UACxB,QAAQ,WACN,cAAc,aACZ,MAAM,EAAE,gBACL,OAAO;;CAWrB,CAAC"}
@@ -0,0 +1,8 @@
1
+ import * as selectors from './selectors';
2
+ declare const _default: {
3
+ selectors: typeof selectors;
4
+ tcfeuv2: import("./types").TcfController;
5
+ tcfcav1: import("./types").TcfController;
6
+ };
7
+ export default _default;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/iab/tcf/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;;;;;;AAIzC,wBAGE"}
@@ -0,0 +1,4 @@
1
+ import type { IabMiddlewareFactory } from './types';
2
+ export declare const makeMiddleware: IabMiddlewareFactory;
3
+ export default makeMiddleware;
4
+ //# sourceMappingURL=middleware.d.ts.map
@@ -0,0 +1 @@
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;AAyB5D,eAAO,MAAM,cAAc,EAAE,oBA2L5B,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,59 @@
1
+ import type { OsanoAction, OsanoState } from '../../types/store';
2
+ import type { IabInitOptions } from './types';
3
+ import type { IabState } from '../types';
4
+ export declare const initialState: {
5
+ iab: {
6
+ consentStrings: {};
7
+ tcf: {
8
+ v2: {
9
+ purposeOptouts: {};
10
+ specialFeatureOptins: {};
11
+ stacks: never[];
12
+ vendorListError: null;
13
+ vendorListLoading: boolean;
14
+ vendorListLoaded: boolean;
15
+ vendorListVersion: number;
16
+ vendors: {};
17
+ vendorOptouts: {};
18
+ };
19
+ };
20
+ };
21
+ };
22
+ export default function makeReducer(initOptions: IabInitOptions): (state: OsanoState & IabState, action: OsanoAction) => (OsanoState & IabState) | {
23
+ iab: {
24
+ tcf: any;
25
+ consentStrings?: Record<string, string> | undefined;
26
+ enabled?: boolean | undefined;
27
+ hasActed?: Record<string, boolean> | undefined;
28
+ notified?: boolean | undefined;
29
+ signatory?: boolean | undefined;
30
+ hideOptOut?: boolean | undefined;
31
+ eu?: {
32
+ enabled: boolean;
33
+ v2?: import("./types").Tcf_v2 | undefined;
34
+ vendors?: number[] | undefined;
35
+ } | undefined;
36
+ gpp?: unknown;
37
+ usp?: import("../usp/types").Usp | undefined;
38
+ };
39
+ config?: import("../../ConsentManager").ConsentConfig | undefined;
40
+ configId: string;
41
+ consent: Record<import("../../constants").ConsentCategory, boolean | undefined>;
42
+ consentTimestamp: number;
43
+ customerId: string;
44
+ dialogOpen: boolean;
45
+ disclosures: {
46
+ fetched: import("../../constants").ConsentCategory[];
47
+ loading: boolean;
48
+ results: Partial<Record<import("../../constants").ConsentCategory, import("../../types/store").Disclosure[]>>;
49
+ };
50
+ locale: string;
51
+ ready: {
52
+ consent: boolean;
53
+ };
54
+ savedConsent: Record<import("../../constants").ConsentCategory, boolean> | null;
55
+ scrollToType: string;
56
+ scrollToId: number;
57
+ stack: string[];
58
+ };
59
+ //# sourceMappingURL=reducer.d.ts.map
@@ -0,0 +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,WAE/C,UAAU,GAAG,QAAQ,UAAU,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgKzD"}
@@ -0,0 +1,52 @@
1
+ import type { TcfVersion, TcfVersionType } from './types';
2
+ import type { Config } from '../../types/consent-config';
3
+ import { ConsentCategory } from '../../constants';
4
+ import type { IabState } from '../types';
5
+ import type { OsanoState } from '../../types/store';
6
+ export declare const doesGDPRApply: (config: Config, apiVersion?: TcfVersionType) => boolean;
7
+ export declare const getStore: (config: Config) => {} | (import("./types").TcfState | undefined);
8
+ export declare const isIABEnabled: (config: Config) => boolean;
9
+ export declare const getConfigData: (config: Config, apiVersion?: string) => {} | undefined;
10
+ export declare const getStateData: <V extends TcfVersionType>(state: Partial<IabState>, apiVersion?: V) => TcfVersion<V>;
11
+ export declare const getCurrentScreen: (state: OsanoState) => number;
12
+ export declare const getConsentString: (state: IabState, { gppSection, tcString }?: {
13
+ gppSection?: string;
14
+ tcString?: string;
15
+ }) => string;
16
+ export declare const getPublisherLegitimateInterests: () => {};
17
+ export declare const getPurposeIds: () => number[];
18
+ export declare const getPurposeOptOuts: (state: IabState, apiVersion?: TcfVersionType) => Record<string, boolean>;
19
+ export declare const getPurposeConsents: (state: OsanoState & IabState, apiVersion?: TcfVersionType) => Record<string, boolean>;
20
+ export declare const getPurposesLITransparency: (state: OsanoState & IabState, apiVersion?: TcfVersionType) => Record<string, boolean>;
21
+ export declare const getSpecialFeatureOptIns: (state: IabState, apiVersion?: TcfVersionType) => Record<string, boolean>;
22
+ export declare const getVendors: (config: Config, apiVersion?: string) => Record<number, import("../types").GvlVendor_v2>;
23
+ export declare const getVendorData: (state: Config, { apiVersion, vendorId }: {
24
+ apiVersion?: string;
25
+ vendorId: string;
26
+ }) => {};
27
+ export declare const getVendorIds: (config: Config, apiVersion?: string) => number[];
28
+ export declare const getVendorOptOuts: (state: Partial<IabState>, apiVersion?: TcfVersionType) => Record<string, boolean>;
29
+ export declare const getVendorListError: (state: IabState, apiVersion?: TcfVersionType) => 0 | undefined;
30
+ export declare const getVendorListVersion: (config: Config, apiVersion?: TcfVersionType) => undefined;
31
+ export declare const hasActed: (state: OsanoState, gppSection: string) => boolean;
32
+ export declare const hasConsentedToSpecialFeature: (state: IabState, { apiVersion, specialFeatureId, }: {
33
+ apiVersion?: TcfVersionType;
34
+ specialFeatureId: string;
35
+ }) => boolean;
36
+ export declare const hasOptedOutOfVendor: (state: IabState, { apiVersion, vendorId }: {
37
+ apiVersion?: TcfVersionType;
38
+ vendorId: string;
39
+ }) => boolean;
40
+ export declare const hasOptedOutOfPurpose: (state: IabState, { apiVersion, purposeId }: {
41
+ apiVersion?: TcfVersionType;
42
+ purposeId: string;
43
+ }) => boolean;
44
+ export declare const isTcfApplicable: (state: Config) => boolean;
45
+ export declare const isVendorListLoaded: (state: Config, apiVersion?: TcfVersionType) => boolean;
46
+ export declare const isVendorListLoading: (state: Config, apiVersion?: TcfVersionType) => boolean;
47
+ export declare const getCountryCode: (config: Config) => string | null;
48
+ export declare const getSavedConsent: (state: OsanoState) => Record<ConsentCategory, boolean> | null;
49
+ export declare const isSaved: (state: OsanoState) => boolean;
50
+ export declare const getFinalOptOutValue: (state?: OsanoState, pendingNewValue?: boolean) => boolean | undefined;
51
+ export declare const getConsent: (state?: OsanoState) => Record<ConsentCategory, boolean | undefined>;
52
+ //# sourceMappingURL=selectors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../src/iab/tcf/selectors.ts"],"names":[],"mappings":"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"}
@@ -1,12 +1,90 @@
1
- import type { GvlVendor_v2 } from '../types';
1
+ import type { GvlVendor_v2, IabState } from '../types';
2
+ import type { OsanoAction, OsanoState } from '../../types/store';
3
+ import type { Codable } from '../gpp/encoders';
4
+ import type { ConsentConfig } from '../../ConsentManager';
5
+ import type { Store } from '../../hooks/useThunkReducer';
6
+ export type TcData = {
7
+ tcString?: string;
8
+ tcfPolicyVersion: number;
9
+ cmpId: number;
10
+ cmpVersion: number;
11
+ gdprApplies: boolean;
12
+ cmpStatus: string;
13
+ eventStatus: string;
14
+ isServiceSpecific: boolean;
15
+ useNonStandardStacks: boolean;
16
+ publisherCC: string;
17
+ purposeOneTreatment: boolean;
18
+ outOfBand?: {
19
+ allowedVendors: Record<string, boolean>;
20
+ discloseVendors: Record<string, boolean>;
21
+ };
22
+ purpose: {
23
+ consents: Record<string, boolean>;
24
+ legitimateInterests: Record<string, boolean>;
25
+ };
26
+ vendor: {
27
+ consents: Record<string, boolean>;
28
+ legitimateInterests: Record<string, boolean>;
29
+ };
30
+ specialFeatureOptins: Record<string, boolean>;
31
+ publisher?: {
32
+ consents: Record<string, boolean>;
33
+ legitimateInterests: Record<string, boolean>;
34
+ customPurpose: Record<string, boolean>;
35
+ restrictions: Record<string, Record<string, number>>;
36
+ };
37
+ };
2
38
  export type Tcf = {
3
39
  gdprApplies: boolean;
4
40
  };
5
41
  export type Tcf_v2 = Tcf & {
6
42
  vendors: Record<number, GvlVendor_v2>;
7
43
  vendorListVersion: number;
8
- purposeOptouts: Record<number, boolean>;
9
- specialFeatureOptouts: Record<number, boolean>;
10
- vendorOptouts: Record<number, boolean>;
44
+ purposeOptouts: Record<number | string, boolean>;
45
+ specialFeatureOptins: Record<number | string, boolean>;
46
+ vendorOptouts: Record<number | string, boolean>;
47
+ };
48
+ export type GppVersionType = '1';
49
+ export type TcfVersionType = '2' | '2.0' | '2.1';
50
+ export type UspVersionType = '1';
51
+ export type TcfVersion<V> = V extends '2' | '2.0' | '2.1' ? Tcf_v2 : never;
52
+ export type TcfState = {
53
+ gdprApplies?: boolean;
54
+ v2?: Partial<Tcf_v2>;
55
+ };
56
+ export type AdaptedCodable = {
57
+ decode: (bitString: string, numBits: number) => {
58
+ bitLength: number;
59
+ value: unknown;
60
+ };
61
+ encode: (...args: any[]) => string;
62
+ };
63
+ export type CoreField = [string, number, AdaptedCodable, string?, Function?];
64
+ export type IabInitOptions = {
65
+ defaultTimestamp: number;
66
+ storageKey: string;
67
+ version: TcfVersionType;
68
+ cmpId: number;
69
+ cmpVersion: number;
70
+ coreFieldSequence: CoreField[];
71
+ createConsentPayload: (state?: IabState) => Partial<TcfState>;
72
+ tcString: string;
73
+ fallbackGvlVersion: number;
74
+ gppSection: string;
75
+ specFieldMode?: boolean;
76
+ staticFields: Record<string, any>;
77
+ dynamicFields: Record<string, (initOptions: IabInitOptions, state: OsanoState & IabState) => any>;
78
+ encoder: Codable;
79
+ };
80
+ export type IabMiddlewareFactory = (initOptions: IabInitOptions) => (store: Store<OsanoState & IabState, OsanoAction>) => (next: (action: OsanoAction) => OsanoState & IabState) => (action: OsanoAction) => OsanoState & IabState;
81
+ export type TcfController = IabInitOptions & {
82
+ consentFromOptions: (config: ConsentConfig, state: OsanoState & IabState) => TcData;
83
+ formatConsentString: (config: ConsentConfig, state: OsanoState & IabState) => string;
84
+ parseConsentString: (tcString: string) => TcData;
85
+ readFromStorage: (storage: Partial<Tcf_v2>) => TcfState;
86
+ middleware?: ReturnType<IabMiddlewareFactory>;
87
+ reducer?: (state: OsanoState & IabState, action: OsanoAction) => OsanoState & IabState;
88
+ selectors?: Record<string, Function>;
11
89
  };
12
90
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/iab/tcf/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,MAAM,MAAM,GAAG,GAAG;IACjB,WAAW,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG,GAAG,GAAG;IAC1B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IACtC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/C,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACvC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/iab/tcf/types.ts"],"names":[],"mappings":"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"}
@@ -1,8 +1,37 @@
1
- import { type Codable } from '../../gpp/encoders';
2
1
  export { EncodableOptimizedFixedRange } from '../../gpp/encoders';
3
- export declare const BitEncoder: Codable;
4
- export declare const DateEncoder: Codable;
5
- export declare const IdBitMapEncoder: Codable;
6
- export declare const IntEncoder: Codable;
7
- export declare const LangEncoder: Codable;
2
+ export declare const BitEncoder: {
3
+ decode: (bitString: string, numBits: number) => {
4
+ bitLength: number;
5
+ value: unknown;
6
+ };
7
+ encode: (...args: any[]) => string;
8
+ };
9
+ export declare const DateEncoder: {
10
+ decode: (bitString: string, numBits: number) => {
11
+ bitLength: number;
12
+ value: unknown;
13
+ };
14
+ encode: (...args: any[]) => string;
15
+ };
16
+ export declare const IdBitMapEncoder: {
17
+ decode: (bitString: string, numBits: number) => {
18
+ bitLength: number;
19
+ value: unknown;
20
+ };
21
+ encode: (...args: any[]) => string;
22
+ };
23
+ export declare const IntEncoder: {
24
+ decode: (bitString: string, numBits: number) => {
25
+ bitLength: number;
26
+ value: unknown;
27
+ };
28
+ encode: (...args: any[]) => string;
29
+ };
30
+ export declare const LangEncoder: {
31
+ decode: (bitString: string, numBits: number) => {
32
+ bitLength: number;
33
+ value: unknown;
34
+ };
35
+ encode: (...args: any[]) => string;
36
+ };
8
37
  //# sourceMappingURL=encoders.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"encoders.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/tcf/v2.0/encoders.ts"],"names":[],"mappings":"AAAA,OAAO,EAMN,KAAK,OAAO,EACZ,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAmBlE,eAAO,MAAM,UAAU,SAA+B,CAAC;AACvD,eAAO,MAAM,WAAW,SAAgC,CAAC;AAEzD,eAAO,MAAM,eAAe,SAAqC,CAAC;AAClE,eAAO,MAAM,UAAU,SAAoC,CAAC;AAC5D,eAAO,MAAM,WAAW,SAGtB,CAAC"}
1
+ {"version":3,"file":"encoders.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/tcf/v2.0/encoders.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAUlE,eAAO,MAAM,UAAU;wBAPF,MAAM,WAAW,MAAM;;;;;CAOU,CAAC;AACvD,eAAO,MAAM,WAAW;wBARH,MAAM,WAAW,MAAM;;;;;CAQY,CAAC;AAEzD,eAAO,MAAM,eAAe;wBAVP,MAAM,WAAW,MAAM;;;;;CAUqB,CAAC;AAClE,eAAO,MAAM,UAAU;wBAXF,MAAM,WAAW,MAAM;;;;;CAWe,CAAC;AAC5D,eAAO,MAAM,WAAW;wBAZH,MAAM,WAAW,MAAM;;;;;CAe1C,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare const idsOnlyArrayFormatter: (value: Record<number, boolean>) => number[];
2
+ export declare const fixedValuesArrayFormatter: (idValueMap: Record<number, boolean>, length: number) => boolean[];
3
+ export declare const dateFormatter: (deciseconds: number) => Date;
4
+ //# sourceMappingURL=formatters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/tcf/v2.0/formatters.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,UAAW,OAAO,MAAM,EAAE,OAAO,CAAC,aAGpC,CAAC;AAEjC,eAAO,MAAM,yBAAyB,eACzB,OAAO,MAAM,EAAE,OAAO,CAAC,UAC3B,MAAM,cAOd,CAAC;AAEF,eAAO,MAAM,aAAa,gBAAiB,MAAM,SACrB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { TcfController } from '../types';
2
+ declare const _default: {
3
+ tcfeuv2: TcfController;
4
+ tcfcav1: TcfController;
5
+ };
6
+ export default _default;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/iab/tcf/v2.0/index.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;;;;;AAgC9C,wBAAoC"}