@osano/osano-cmp-react-native 0.12.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.
- package/README.dev.md +216 -1
- package/README.md +2 -268
- package/android/src/main/java/com/OsanoCMPSDK/OsanoCMPSDKModule.kt +41 -0
- package/ios/OsanoCmpSDK.mm +42 -0
- package/lib/commonjs/ConsentManager.js +57 -14
- package/lib/commonjs/ConsentManager.js.map +1 -1
- package/lib/commonjs/ConsentUiBuilder.js +10 -7
- package/lib/commonjs/ConsentUiBuilder.js.map +1 -1
- package/lib/commonjs/commands.js +10 -5
- package/lib/commonjs/commands.js.map +1 -1
- package/lib/commonjs/components/Button.js +6 -7
- package/lib/commonjs/components/Button.js.map +1 -1
- package/lib/commonjs/components/Checkbox.js +1 -2
- package/lib/commonjs/components/Checkbox.js.map +1 -1
- package/lib/commonjs/components/ExpansionPanel.js +1 -2
- package/lib/commonjs/components/ExpansionPanel.js.map +1 -1
- package/lib/commonjs/components/Link.js +1 -2
- package/lib/commonjs/components/Link.js.map +1 -1
- package/lib/commonjs/components/StoragePolicyLink.js +1 -2
- package/lib/commonjs/components/StoragePolicyLink.js.map +1 -1
- package/lib/commonjs/components/Toggle.js +1 -2
- package/lib/commonjs/components/Toggle.js.map +1 -1
- package/lib/commonjs/context.js +5 -4
- package/lib/commonjs/context.js.map +1 -1
- package/lib/commonjs/iab/tcf/constants.js +34 -1
- package/lib/commonjs/iab/tcf/constants.js.map +1 -1
- package/lib/commonjs/iab/tcf/iab-storage-utils.js +102 -0
- package/lib/commonjs/iab/tcf/iab-storage-utils.js.map +1 -0
- package/lib/commonjs/iab/tcf/index.js +1 -2
- package/lib/commonjs/iab/tcf/index.js.map +1 -1
- package/lib/commonjs/iab/tcf/middleware.js +33 -35
- package/lib/commonjs/iab/tcf/middleware.js.map +1 -1
- package/lib/commonjs/iab/tcf/selectors.js +1 -1
- package/lib/commonjs/iab/tcf/selectors.js.map +1 -1
- package/lib/commonjs/iab/tcf/v2.0/shared-constants.js +1 -2
- package/lib/commonjs/iab/tcf/v2.0/shared-constants.js.map +1 -1
- package/lib/commonjs/index.js +29 -9
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/locale/af.json +342 -323
- package/lib/commonjs/locale/ar.json +342 -323
- package/lib/commonjs/locale/bg.json +342 -323
- package/lib/commonjs/locale/ca.json +342 -323
- package/lib/commonjs/locale/cs.json +342 -323
- package/lib/commonjs/locale/da.json +342 -323
- package/lib/commonjs/locale/de-at.json +342 -323
- package/lib/commonjs/locale/de.json +342 -323
- package/lib/commonjs/locale/el.json +342 -323
- package/lib/commonjs/locale/en-au.json +342 -323
- package/lib/commonjs/locale/en-ca.json +342 -323
- package/lib/commonjs/locale/en-gb.json +342 -323
- package/lib/commonjs/locale/en.json +342 -323
- package/lib/commonjs/locale/es-mx.json +342 -323
- package/lib/commonjs/locale/es.json +342 -323
- package/lib/commonjs/locale/et.json +342 -323
- package/lib/commonjs/locale/fa.json +342 -323
- package/lib/commonjs/locale/fi.json +342 -323
- package/lib/commonjs/locale/fr-ca.json +342 -323
- package/lib/commonjs/locale/fr.json +342 -323
- package/lib/commonjs/locale/gd.json +342 -323
- package/lib/commonjs/locale/he.json +342 -323
- package/lib/commonjs/locale/hi.json +342 -323
- package/lib/commonjs/locale/hr.json +342 -323
- package/lib/commonjs/locale/hu.json +342 -323
- package/lib/commonjs/locale/hy.json +342 -323
- package/lib/commonjs/locale/id.json +342 -323
- package/lib/commonjs/locale/is.json +342 -323
- package/lib/commonjs/locale/it.json +342 -323
- package/lib/commonjs/locale/ja.json +342 -323
- package/lib/commonjs/locale/kk.json +342 -323
- package/lib/commonjs/locale/ko.json +342 -323
- package/lib/commonjs/locale/lt.json +342 -323
- package/lib/commonjs/locale/lv.json +342 -323
- package/lib/commonjs/locale/mi.json +342 -323
- package/lib/commonjs/locale/ms.json +342 -323
- package/lib/commonjs/locale/nb.json +342 -323
- package/lib/commonjs/locale/nl-be.json +342 -323
- package/lib/commonjs/locale/nl.json +342 -323
- package/lib/commonjs/locale/nn.json +342 -323
- package/lib/commonjs/locale/no.json +342 -323
- package/lib/commonjs/locale/pl.json +342 -323
- package/lib/commonjs/locale/pt-br.json +342 -323
- package/lib/commonjs/locale/pt.json +342 -323
- package/lib/commonjs/locale/ro.json +342 -323
- package/lib/commonjs/locale/ru.json +342 -323
- package/lib/commonjs/locale/sk.json +342 -323
- package/lib/commonjs/locale/sl.json +342 -323
- package/lib/commonjs/locale/sq.json +342 -323
- package/lib/commonjs/locale/sr.json +342 -323
- package/lib/commonjs/locale/sv.json +342 -323
- package/lib/commonjs/locale/th.json +342 -323
- package/lib/commonjs/locale/tl.json +342 -323
- package/lib/commonjs/locale/tr.json +342 -323
- package/lib/commonjs/locale/uk.json +342 -323
- package/lib/commonjs/locale/vi.json +342 -323
- package/lib/commonjs/locale/zh-hk.json +342 -323
- package/lib/commonjs/locale/zh-tw.json +342 -323
- package/lib/commonjs/locale/zh.json +342 -323
- package/lib/commonjs/locale/zu.json +342 -323
- package/lib/commonjs/native/OsanoCmp.js +16 -0
- package/lib/commonjs/native/OsanoCmp.js.map +1 -1
- package/lib/commonjs/services/consent.js +6 -5
- package/lib/commonjs/services/consent.js.map +1 -1
- package/lib/commonjs/services/google-consent-mode-mapper.js +109 -0
- package/lib/commonjs/services/google-consent-mode-mapper.js.map +1 -0
- package/lib/commonjs/types/google-consent-mode.js +73 -0
- package/lib/commonjs/types/google-consent-mode.js.map +1 -0
- package/lib/commonjs/utils/OsanoLogger.js +51 -0
- package/lib/commonjs/utils/OsanoLogger.js.map +1 -0
- package/lib/commonjs/utils/index.js +7 -0
- package/lib/commonjs/utils/index.js.map +1 -1
- package/lib/commonjs/views/Dialog/Buttons.js +1 -2
- package/lib/commonjs/views/Dialog/Buttons.js.map +1 -1
- package/lib/commonjs/views/Dialog/FirstLayerUsage.js +1 -2
- package/lib/commonjs/views/Dialog/FirstLayerUsage.js.map +1 -1
- package/lib/commonjs/views/Dialog/Message.js +1 -2
- package/lib/commonjs/views/Dialog/Message.js.map +1 -1
- package/lib/commonjs/views/Dialog/PreferenceManagementDeepLinks.js +1 -2
- package/lib/commonjs/views/Dialog/PreferenceManagementDeepLinks.js.map +1 -1
- package/lib/commonjs/views/Dialog/index.js +1 -2
- package/lib/commonjs/views/Dialog/index.js.map +1 -1
- package/lib/commonjs/views/Drawer/Drawer.ConsentCategories.js +1 -2
- package/lib/commonjs/views/Drawer/Drawer.ConsentCategories.js.map +1 -1
- package/lib/commonjs/views/Drawer/Drawer.Header.js +1 -2
- package/lib/commonjs/views/Drawer/Drawer.Header.js.map +1 -1
- package/lib/commonjs/views/Drawer/Drawer.Iab.Disclosures.js +1 -2
- package/lib/commonjs/views/Drawer/Drawer.Iab.Disclosures.js.map +1 -1
- package/lib/commonjs/views/Drawer/Drawer.Iab.Vendors.js +1 -2
- package/lib/commonjs/views/Drawer/Drawer.Iab.Vendors.js.map +1 -1
- package/lib/commonjs/views/Drawer/index.js +1 -2
- package/lib/commonjs/views/Drawer/index.js.map +1 -1
- package/lib/module/ConsentManager.js +56 -12
- package/lib/module/ConsentManager.js.map +1 -1
- package/lib/module/ConsentUiBuilder.js +9 -5
- package/lib/module/ConsentUiBuilder.js.map +1 -1
- package/lib/module/commands.js +10 -5
- package/lib/module/commands.js.map +1 -1
- package/lib/module/components/Button.js +5 -5
- package/lib/module/components/Button.js.map +1 -1
- package/lib/module/context.js +5 -4
- package/lib/module/context.js.map +1 -1
- package/lib/module/iab/tcf/constants.js +32 -0
- package/lib/module/iab/tcf/constants.js.map +1 -1
- package/lib/module/iab/tcf/iab-storage-utils.js +89 -0
- package/lib/module/iab/tcf/iab-storage-utils.js.map +1 -0
- package/lib/module/iab/tcf/middleware.js +25 -27
- package/lib/module/iab/tcf/middleware.js.map +1 -1
- package/lib/module/iab/tcf/selectors.js +1 -1
- package/lib/module/iab/tcf/selectors.js.map +1 -1
- package/lib/module/index.js +22 -7
- package/lib/module/index.js.map +1 -1
- package/lib/module/locale/af.json +342 -323
- package/lib/module/locale/ar.json +342 -323
- package/lib/module/locale/bg.json +342 -323
- package/lib/module/locale/ca.json +342 -323
- package/lib/module/locale/cs.json +342 -323
- package/lib/module/locale/da.json +342 -323
- package/lib/module/locale/de-at.json +342 -323
- package/lib/module/locale/de.json +342 -323
- package/lib/module/locale/el.json +342 -323
- package/lib/module/locale/en-au.json +342 -323
- package/lib/module/locale/en-ca.json +342 -323
- package/lib/module/locale/en-gb.json +342 -323
- package/lib/module/locale/en.json +342 -323
- package/lib/module/locale/es-mx.json +342 -323
- package/lib/module/locale/es.json +342 -323
- package/lib/module/locale/et.json +342 -323
- package/lib/module/locale/fa.json +342 -323
- package/lib/module/locale/fi.json +342 -323
- package/lib/module/locale/fr-ca.json +342 -323
- package/lib/module/locale/fr.json +342 -323
- package/lib/module/locale/gd.json +342 -323
- package/lib/module/locale/he.json +342 -323
- package/lib/module/locale/hi.json +342 -323
- package/lib/module/locale/hr.json +342 -323
- package/lib/module/locale/hu.json +342 -323
- package/lib/module/locale/hy.json +342 -323
- package/lib/module/locale/id.json +342 -323
- package/lib/module/locale/is.json +342 -323
- package/lib/module/locale/it.json +342 -323
- package/lib/module/locale/ja.json +342 -323
- package/lib/module/locale/kk.json +342 -323
- package/lib/module/locale/ko.json +342 -323
- package/lib/module/locale/lt.json +342 -323
- package/lib/module/locale/lv.json +342 -323
- package/lib/module/locale/mi.json +342 -323
- package/lib/module/locale/ms.json +342 -323
- package/lib/module/locale/nb.json +342 -323
- package/lib/module/locale/nl-be.json +342 -323
- package/lib/module/locale/nl.json +342 -323
- package/lib/module/locale/nn.json +342 -323
- package/lib/module/locale/no.json +342 -323
- package/lib/module/locale/pl.json +342 -323
- package/lib/module/locale/pt-br.json +342 -323
- package/lib/module/locale/pt.json +342 -323
- package/lib/module/locale/ro.json +342 -323
- package/lib/module/locale/ru.json +342 -323
- package/lib/module/locale/sk.json +342 -323
- package/lib/module/locale/sl.json +342 -323
- package/lib/module/locale/sq.json +342 -323
- package/lib/module/locale/sr.json +342 -323
- package/lib/module/locale/sv.json +342 -323
- package/lib/module/locale/th.json +342 -323
- package/lib/module/locale/tl.json +342 -323
- package/lib/module/locale/tr.json +342 -323
- package/lib/module/locale/uk.json +342 -323
- package/lib/module/locale/vi.json +342 -323
- package/lib/module/locale/zh-hk.json +342 -323
- package/lib/module/locale/zh-tw.json +342 -323
- package/lib/module/locale/zh.json +342 -323
- package/lib/module/locale/zu.json +342 -323
- package/lib/module/native/OsanoCmp.js +12 -0
- package/lib/module/native/OsanoCmp.js.map +1 -1
- package/lib/module/services/consent.js +6 -6
- package/lib/module/services/consent.js.map +1 -1
- package/lib/module/services/google-consent-mode-mapper.js +103 -0
- package/lib/module/services/google-consent-mode-mapper.js.map +1 -0
- package/lib/module/types/google-consent-mode.js +70 -0
- package/lib/module/types/google-consent-mode.js.map +1 -0
- package/lib/module/utils/OsanoLogger.js +44 -0
- package/lib/module/utils/OsanoLogger.js.map +1 -0
- package/lib/module/utils/index.js +1 -0
- package/lib/module/utils/index.js.map +1 -1
- package/lib/typescript/lib/commonjs/ConsentManager.d.ts +15 -0
- package/lib/typescript/lib/commonjs/ConsentManager.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/ConsentUiBuilder.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/commands.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/components/Button.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/components/Checkbox.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/components/ExpansionPanel.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/components/Link.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/components/StoragePolicyLink.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/components/Toggle.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/constants.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/iab/gpp/api.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/iab/gpp/consent.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/iab/gpp/v1/index.d.ts +1 -3
- package/lib/typescript/lib/commonjs/iab/gpp/v1/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/iab/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/iab/tcf/consent.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/iab/tcf/constants.d.ts +41 -1
- package/lib/typescript/lib/commonjs/iab/tcf/constants.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/iab/tcf/iab-storage-utils.d.ts +9 -0
- package/lib/typescript/lib/commonjs/iab/tcf/iab-storage-utils.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/middleware.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/iab/tcf/reducer.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/iab/tcf/selectors.d.ts +0 -1
- package/lib/typescript/lib/commonjs/iab/tcf/selectors.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/iab/tcf/v2.0/shared-constants.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/iab/usp/api.d.ts +1 -1
- package/lib/typescript/lib/commonjs/iab/usp/api.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/iab/usp/consent.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/iab/usp/selectors.d.ts +1 -4
- package/lib/typescript/lib/commonjs/iab/usp/selectors.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/iab/usp/v1/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/index.d.ts +2 -0
- package/lib/typescript/lib/commonjs/native/OsanoCmp.d.ts +4 -0
- package/lib/typescript/lib/commonjs/native/OsanoCmp.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/reducer.d.ts +7 -1
- package/lib/typescript/lib/commonjs/reducer.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/services/consent.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/services/google-consent-mode-mapper.d.ts +72 -0
- package/lib/typescript/lib/commonjs/services/google-consent-mode-mapper.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/types/google-consent-mode.d.ts +32 -0
- package/lib/typescript/lib/commonjs/types/google-consent-mode.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/utils/OsanoLogger.d.ts +16 -0
- package/lib/typescript/lib/commonjs/utils/OsanoLogger.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/utils/Translator.d.ts +1 -1
- package/lib/typescript/lib/commonjs/utils/Translator.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/utils/index.d.ts +2 -0
- package/lib/typescript/lib/commonjs/utils/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/views/Dialog/Buttons.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/views/Dialog/FirstLayerUsage.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/views/Dialog/Message.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/views/Dialog/PreferenceManagementDeepLinks.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/views/Dialog/index.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/views/Drawer/Drawer.ConsentCategories.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Header.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Iab.Disclosures.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Iab.Vendors.d.ts.map +1 -1
- package/lib/typescript/lib/commonjs/views/Drawer/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/ConsentManager.d.ts +17 -2
- package/lib/typescript/lib/module/ConsentManager.d.ts.map +1 -1
- package/lib/typescript/lib/module/ConsentUiBuilder.d.ts +1 -0
- package/lib/typescript/lib/module/ConsentUiBuilder.d.ts.map +1 -1
- package/lib/typescript/lib/module/actions.d.ts.map +1 -1
- package/lib/typescript/lib/module/commands.d.ts +1 -1
- package/lib/typescript/lib/module/commands.d.ts.map +1 -1
- package/lib/typescript/lib/module/components/Button.d.ts.map +1 -1
- package/lib/typescript/lib/module/constants.d.ts.map +1 -1
- package/lib/typescript/lib/module/context.d.ts +9 -1
- package/lib/typescript/lib/module/context.d.ts.map +1 -1
- package/lib/typescript/lib/module/flavors/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/iab/constants.d.ts.map +1 -1
- package/lib/typescript/lib/module/iab/gpp/api.d.ts.map +1 -1
- package/lib/typescript/lib/module/iab/gpp/consent.d.ts.map +1 -1
- package/lib/typescript/lib/module/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts.map +1 -1
- package/lib/typescript/lib/module/iab/gpp/v1/constants.d.ts.map +1 -1
- package/lib/typescript/lib/module/iab/gpp/v1/index.d.ts +1 -3
- package/lib/typescript/lib/module/iab/gpp/v1/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/iab/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/iab/tcf/consent.d.ts.map +1 -1
- package/lib/typescript/lib/module/iab/tcf/constants.d.ts +41 -1
- package/lib/typescript/lib/module/iab/tcf/constants.d.ts.map +1 -1
- package/lib/typescript/lib/module/iab/tcf/iab-storage-utils.d.ts +8 -0
- package/lib/typescript/lib/module/iab/tcf/iab-storage-utils.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/index.d.ts +0 -2
- package/lib/typescript/lib/module/iab/tcf/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/iab/tcf/middleware.d.ts.map +1 -1
- package/lib/typescript/lib/module/iab/tcf/reducer.d.ts.map +1 -1
- package/lib/typescript/lib/module/iab/tcf/selectors.d.ts +0 -1
- package/lib/typescript/lib/module/iab/tcf/selectors.d.ts.map +1 -1
- package/lib/typescript/lib/module/iab/tcf/v2.0/index.d.ts +0 -2
- package/lib/typescript/lib/module/iab/tcf/v2.0/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/iab/tcf/v2.0/shared-constants.d.ts +0 -1
- package/lib/typescript/lib/module/iab/tcf/v2.0/shared-constants.d.ts.map +1 -1
- package/lib/typescript/lib/module/iab/tcf/v2.0/tcfcav1-constants.d.ts +5 -2
- package/lib/typescript/lib/module/iab/tcf/v2.0/tcfcav1-constants.d.ts.map +1 -1
- package/lib/typescript/lib/module/iab/tcf/v2.0/tcfeuv2-constants.d.ts +0 -1
- package/lib/typescript/lib/module/iab/tcf/v2.0/tcfeuv2-constants.d.ts.map +1 -1
- package/lib/typescript/lib/module/iab/usp/api.d.ts +1 -1
- package/lib/typescript/lib/module/iab/usp/api.d.ts.map +1 -1
- package/lib/typescript/lib/module/iab/usp/consent.d.ts.map +1 -1
- package/lib/typescript/lib/module/iab/usp/selectors.d.ts +1 -4
- package/lib/typescript/lib/module/iab/usp/selectors.d.ts.map +1 -1
- package/lib/typescript/lib/module/iab/usp/v1/constants.d.ts.map +1 -1
- package/lib/typescript/lib/module/iab/usp/v1/index.d.ts +1 -1
- package/lib/typescript/lib/module/iab/usp/v1/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/index.d.ts +1 -0
- package/lib/typescript/lib/module/index.d.ts.map +1 -1
- package/lib/typescript/lib/module/native/OsanoCmp.d.ts +4 -0
- package/lib/typescript/lib/module/native/OsanoCmp.d.ts.map +1 -1
- package/lib/typescript/lib/module/reducer.d.ts +7 -1
- package/lib/typescript/lib/module/reducer.d.ts.map +1 -1
- package/lib/typescript/lib/module/services/google-consent-mode-mapper.d.ts +71 -0
- package/lib/typescript/lib/module/services/google-consent-mode-mapper.d.ts.map +1 -0
- package/lib/typescript/lib/module/types/google-consent-mode.d.ts +38 -0
- package/lib/typescript/lib/module/types/google-consent-mode.d.ts.map +1 -0
- package/lib/typescript/lib/module/utils/OsanoLogger.d.ts +15 -0
- package/lib/typescript/lib/module/utils/OsanoLogger.d.ts.map +1 -0
- package/lib/typescript/lib/module/utils/Translator.d.ts +1 -1
- package/lib/typescript/lib/module/utils/Translator.d.ts.map +1 -1
- package/lib/typescript/lib/module/utils/index.d.ts +1 -0
- package/lib/typescript/src/ConsentManager.d.ts +23 -7
- package/lib/typescript/src/ConsentManager.d.ts.map +1 -1
- package/lib/typescript/src/ConsentUiBuilder.d.ts +1 -1
- package/lib/typescript/src/ConsentUiBuilder.d.ts.map +1 -1
- package/lib/typescript/src/commands.d.ts.map +1 -1
- package/lib/typescript/src/components/Button.d.ts +1 -1
- package/lib/typescript/src/components/Button.d.ts.map +1 -1
- package/lib/typescript/src/components/Divider.d.ts.map +1 -1
- package/lib/typescript/src/components/ExpansionPanel.d.ts.map +1 -1
- package/lib/typescript/src/components/Link.d.ts.map +1 -1
- package/lib/typescript/src/components/Locale.d.ts.map +1 -1
- package/lib/typescript/src/components/StoragePolicyLink.d.ts.map +1 -1
- package/lib/typescript/src/components/Toggle.d.ts.map +1 -1
- package/lib/typescript/src/context.d.ts +4 -2
- package/lib/typescript/src/context.d.ts.map +1 -1
- package/lib/typescript/src/iab/actions.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/api.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/consent.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/encoders/BooleanEncoder.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/encoders/DatetimeEncoder.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/encoders/FixedBitfieldEncoder.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/encoders/FixedIntegerEncoder.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/encoders/FixedIntegerListEncoder.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/encoders/FixedStringEncoder.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/v1/constants.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/v1/index.d.ts +1 -3
- package/lib/typescript/src/iab/gpp/v1/index.d.ts.map +1 -1
- package/lib/typescript/src/iab/index.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/actions.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/consent.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/constants.d.ts +32 -0
- package/lib/typescript/src/iab/tcf/constants.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/helpers.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/iab-storage-utils.d.ts +24 -0
- package/lib/typescript/src/iab/tcf/iab-storage-utils.d.ts.map +1 -0
- package/lib/typescript/src/iab/tcf/middleware.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/reducer.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/selectors.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/v2.0/formatters.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/v2.0/shared-constants.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/v2.0/tcfcav1-constants.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/v2.0/tcfeuv2-constants.d.ts.map +1 -1
- package/lib/typescript/src/iab/usp/api.d.ts +1 -1
- package/lib/typescript/src/iab/usp/api.d.ts.map +1 -1
- package/lib/typescript/src/iab/usp/consent.d.ts.map +1 -1
- package/lib/typescript/src/iab/usp/selectors.d.ts +1 -4
- package/lib/typescript/src/iab/usp/selectors.d.ts.map +1 -1
- package/lib/typescript/src/iab/usp/v1/constants.d.ts.map +1 -1
- package/lib/typescript/src/iab/usp/v1/index.d.ts +1 -1
- package/lib/typescript/src/iab/usp/v1/index.d.ts.map +1 -1
- package/lib/typescript/src/iab/utilities.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +2 -0
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/native/OsanoCmp.d.ts +4 -0
- package/lib/typescript/src/native/OsanoCmp.d.ts.map +1 -1
- package/lib/typescript/src/reducer.d.ts.map +1 -1
- package/lib/typescript/src/selectors.d.ts.map +1 -1
- package/lib/typescript/src/services/consent.d.ts +1 -1
- package/lib/typescript/src/services/consent.d.ts.map +1 -1
- package/lib/typescript/src/services/google-consent-mode-mapper.d.ts +66 -0
- package/lib/typescript/src/services/google-consent-mode-mapper.d.ts.map +1 -0
- package/lib/typescript/src/styles.d.ts.map +1 -1
- package/lib/typescript/src/types/google-consent-mode.d.ts +77 -0
- package/lib/typescript/src/types/google-consent-mode.d.ts.map +1 -0
- package/lib/typescript/src/utils/Color.d.ts.map +1 -1
- package/lib/typescript/src/utils/OsanoLogger.d.ts +15 -0
- package/lib/typescript/src/utils/OsanoLogger.d.ts.map +1 -0
- package/lib/typescript/src/utils/index.d.ts +1 -0
- package/lib/typescript/src/utils/index.d.ts.map +1 -1
- package/package.json +4 -2
- package/src/ConsentManager.ts +93 -25
- package/src/ConsentUiBuilder.tsx +23 -13
- package/src/commands.ts +11 -8
- package/src/components/Button.tsx +17 -17
- package/src/context.ts +6 -3
- package/src/iab/tcf/constants.ts +46 -0
- package/src/iab/tcf/iab-storage-utils.ts +166 -0
- package/src/iab/tcf/middleware.ts +43 -51
- package/src/index.tsx +35 -8
- package/src/locale/af.json +342 -323
- package/src/locale/ar.json +342 -323
- package/src/locale/bg.json +342 -323
- package/src/locale/ca.json +342 -323
- package/src/locale/cs.json +342 -323
- package/src/locale/da.json +342 -323
- package/src/locale/de-at.json +342 -323
- package/src/locale/de.json +342 -323
- package/src/locale/el.json +342 -323
- package/src/locale/en-au.json +342 -323
- package/src/locale/en-ca.json +342 -323
- package/src/locale/en-gb.json +342 -323
- package/src/locale/en.json +342 -323
- package/src/locale/es-mx.json +342 -323
- package/src/locale/es.json +342 -323
- package/src/locale/et.json +342 -323
- package/src/locale/fa.json +342 -323
- package/src/locale/fi.json +342 -323
- package/src/locale/fr-ca.json +342 -323
- package/src/locale/fr.json +342 -323
- package/src/locale/gd.json +342 -323
- package/src/locale/he.json +342 -323
- package/src/locale/hi.json +342 -323
- package/src/locale/hr.json +342 -323
- package/src/locale/hu.json +342 -323
- package/src/locale/hy.json +342 -323
- package/src/locale/id.json +342 -323
- package/src/locale/is.json +342 -323
- package/src/locale/it.json +342 -323
- package/src/locale/ja.json +342 -323
- package/src/locale/kk.json +342 -323
- package/src/locale/ko.json +342 -323
- package/src/locale/lt.json +342 -323
- package/src/locale/lv.json +342 -323
- package/src/locale/mi.json +342 -323
- package/src/locale/ms.json +342 -323
- package/src/locale/nb.json +342 -323
- package/src/locale/nl-be.json +342 -323
- package/src/locale/nl.json +342 -323
- package/src/locale/nn.json +342 -323
- package/src/locale/no.json +342 -323
- package/src/locale/pl.json +342 -323
- package/src/locale/pt-br.json +342 -323
- package/src/locale/pt.json +342 -323
- package/src/locale/ro.json +342 -323
- package/src/locale/ru.json +342 -323
- package/src/locale/sk.json +342 -323
- package/src/locale/sl.json +342 -323
- package/src/locale/sq.json +342 -323
- package/src/locale/sr.json +342 -323
- package/src/locale/sv.json +342 -323
- package/src/locale/th.json +342 -323
- package/src/locale/tl.json +342 -323
- package/src/locale/tr.json +342 -323
- package/src/locale/uk.json +342 -323
- package/src/locale/vi.json +342 -323
- package/src/locale/zh-hk.json +342 -323
- package/src/locale/zh-tw.json +342 -323
- package/src/locale/zh.json +342 -323
- package/src/locale/zu.json +342 -323
- package/src/native/OsanoCmp.ts +29 -0
- package/src/services/consent.ts +9 -8
- package/src/services/google-consent-mode-mapper.ts +122 -0
- package/src/types/google-consent-mode.ts +122 -0
- package/src/types/index.d.ts +4 -2
- package/src/utils/OsanoLogger.ts +53 -0
- package/src/utils/index.ts +2 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../commonjs/iab/usp/api.js"],"names":[],"mappings":";;AAOA;
|
|
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
|
|
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
|
|
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,
|
|
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":";
|
|
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
|
-
[
|
|
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":"
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../commonjs/services/consent.js"],"names":[],"mappings":";
|
|
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"}
|
|
@@ -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
|
|
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,
|
|
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":"
|
|
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":";;
|
|
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":";;
|
|
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":";;
|
|
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":";;
|
|
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":";;
|
|
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":";;
|
|
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":";;
|
|
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":";;
|
|
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":";;
|
|
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":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../commonjs/views/Drawer/index.js"],"names":[],"mappings":";AAoBA,8BAkKC"}
|
|
@@ -237,7 +237,6 @@ export class ConsentConfig extends EventEmitter {
|
|
|
237
237
|
getStateData: (state: any, apiVersion: any) => any;
|
|
238
238
|
getCurrentScreen: (state: any) => number;
|
|
239
239
|
getConsentString: (state: any, { gppSection, tcString }?: {
|
|
240
|
-
gppSection: any;
|
|
241
240
|
tcString?: string | undefined;
|
|
242
241
|
}) => any;
|
|
243
242
|
getPublisherLegitimateInterests: () => {};
|
|
@@ -252,7 +251,8 @@ export class ConsentConfig extends EventEmitter {
|
|
|
252
251
|
vendorId: any;
|
|
253
252
|
}) => any;
|
|
254
253
|
getVendorIds: (config: any, apiVersion: any) => number[];
|
|
255
|
-
getVendorOptOuts: (
|
|
254
|
+
getVendorOptOuts: (// If the config is not stale, we can return the cached config
|
|
255
|
+
state: any, apiVersion: any) => any;
|
|
256
256
|
getVendorListError: (state: any, apiVersion: any) => any;
|
|
257
257
|
getVendorListVersion: (config: any, apiVersion: any) => any;
|
|
258
258
|
hasActed: (state: any, gppSection: any) => boolean;
|
|
@@ -339,6 +339,21 @@ export class ConsentManager {
|
|
|
339
339
|
_configLoadFailureSubscription: import("./utils/EventEmitter").EventSubscription | undefined;
|
|
340
340
|
_consent: any;
|
|
341
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;
|
|
342
357
|
get loaded(): boolean;
|
|
343
358
|
get loading(): boolean;
|
|
344
359
|
set consentingDomain(value: any);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConsentManager.d.ts","sourceRoot":"","sources":["../../../module/ConsentManager.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
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
|
|
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,
|
|
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<
|
|
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,
|
|
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;
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../module/constants.js"],"names":[],"mappings":";;;;;;;;AAcA,+BAQM;;;;;;;;AAtBN,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../module/constants.js"],"names":[],"mappings":";;;;;;;;AAcA,+BAQM;;;;;;;;AAtBN,sBAAe,IAAI,CAAC"}
|
|
@@ -21,7 +21,13 @@ export const OsanoPrivateContext: React.Context<{
|
|
|
21
21
|
config: undefined;
|
|
22
22
|
configId: string;
|
|
23
23
|
consent: {
|
|
24
|
-
[
|
|
24
|
+
[ConsentCategory.ESSENTIAL]: boolean;
|
|
25
|
+
[ConsentCategory.STORAGE]: boolean;
|
|
26
|
+
[ConsentCategory.MARKETING]: boolean;
|
|
27
|
+
[ConsentCategory.PERSONALIZATION]: boolean;
|
|
28
|
+
[ConsentCategory.ANALYTICS]: boolean;
|
|
29
|
+
[ConsentCategory.
|
|
30
|
+
OPT_OUT]: boolean;
|
|
25
31
|
};
|
|
26
32
|
consentTimestamp: number;
|
|
27
33
|
customerId: string;
|
|
@@ -180,7 +186,9 @@ export const OsanoPrivateContext: React.Context<{
|
|
|
180
186
|
};
|
|
181
187
|
};
|
|
182
188
|
translate: () => "";
|
|
189
|
+
setGoogleConsentModeCallback: typeof noop;
|
|
183
190
|
}>;
|
|
184
191
|
import { noop } from './utils';
|
|
185
192
|
import React from 'react';
|
|
193
|
+
import { ConsentCategory } from './constants';
|
|
186
194
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../module/context.js"],"names":[],"mappings":"AAMA;;;;;;;;;;GAYG;AACH
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../module/context.js"],"names":[],"mappings":"AAMA;;;;;;;;;;GAYG;AACH;;;;;;;;;;;;YAAoD,CAAM,eACvD,CAAC,SAAS,CAAC;YAAO,CACjB,eAAe,CAAC,OACnB,CAAC;YAAQ,CAAM,eACH,CAAC,SACZ,CAAC;YAAQ,CAAM,eACX,CAAC,eAAe,CAAC;YACrB,CAAM,eACH,CAAC,SAAS,CAAC;YACZ,CAAK,eACL;gBACF,OAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAIJ;qBA9BkB,SAAS;kBAJZ,OAAO;gCACO,aAAa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../module/flavors/index.js"],"names":[],"mappings":";;;;;;;;AAuBA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../module/flavors/index.js"],"names":[],"mappings":";;;;;;;;AAuBA,4BAA6B,KAAK,CAAC;;oBAZf,YAAY;oBAGZ,YAAY;sBADV,cAAc;qBAHf,aAAa;qBADb,aAAa;oBAGd,YAAY"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../module/iab/constants.js"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../module/iab/constants.js"],"names":[],"mappings":"AAAA,qBAAsB,GAAG,CAAC;AAC1B,8BAA+B,IAAI,CAAC;AACpC,mCAAiC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../module/iab/gpp/api.js"],"names":[],"mappings":"AAwFA
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../module/iab/gpp/api.js"],"names":[],"mappings":"AAwFA;yCAiD2B,YAAO,EAAE,aAAQ,EAAE,cAAS;;EAiFtD;AA9LD,8DAAmH;AAkCnH,yDAAyG;;;;;;;;;aAtD3F,MAAM;;;;;;;;;;;;yBAUP,MAAM"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../../module/iab/gpp/consent.js"],"names":[],"mappings":"AAeO,yEA4BN;AACM;;;;;;
|
|
1
|
+
{"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../../module/iab/gpp/consent.js"],"names":[],"mappings":"AAeO,yEA4BN;AACM,uDAA0C,UAAK;;;;;;EAOpD;AACK,2DAA+C,cAAS,EAAE,UAAK;;;;;;;;;;;;;EAoBrE;AACM,wDAcN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractBase64UrlEncoder.d.ts","sourceRoot":"","sources":["../../../../../../module/iab/gpp/encoders/AbstractBase64UrlEncoder.js"],"names":[],"mappings":"AAgGO,
|
|
1
|
+
{"version":3,"file":"AbstractBase64UrlEncoder.d.ts","sourceRoot":"","sources":["../../../../../../module/iab/gpp/encoders/AbstractBase64UrlEncoder.js"],"names":[],"mappings":"AAgGO,uCAA0B,cAAS,YAgBzC;AACM,yCAaN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../module/iab/gpp/v1/constants.js"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../module/iab/gpp/v1/constants.js"],"names":[],"mappings":"AAAA,sBAAuB,OAAO,CAAC;AAE/B,yBAA0B,KAAK,CAAC;AAChC,yBAA0B,cAAc,CAAC;AACzC,sBAAuB,KAAK,CAAC"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
export function createMiddleware({ dispatchEvent }?: {
|
|
2
|
-
dispatchEvent: any;
|
|
3
|
-
}): (store: any) => (next: any) => (action: any) => any;
|
|
1
|
+
export function createMiddleware({ dispatchEvent }?: {}): (store: any) => (next: any) => (action: any) => any;
|
|
4
2
|
export default v1;
|
|
5
3
|
declare namespace v1 {
|
|
6
4
|
export let api: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../module/iab/gpp/v1/index.js"],"names":[],"mappings":"AASA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../module/iab/gpp/v1/index.js"],"names":[],"mappings":"AASA,2DAGS,UAAK,MAAI,SAAI,MAAI,WAAM,SA0C/B;;;;6CAU8yF,YAAO,EAAC,aAAS,EAAC,cAAU;;;;;;;;;wBAhE9wF,aAAa;2BAAb,aAAa;2BAAb,aAAa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../module/iab/index.js"],"names":[],"mappings":"AAEO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../module/iab/index.js"],"names":[],"mappings":"AAEO,kDAAqC,UAAK,UAsBhD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../../module/iab/tcf/consent.js"],"names":[],"mappings":";;;;;;;;;AAgBO,gFAwCN;AACM,2FAgDN;AACM;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../../module/iab/tcf/consent.js"],"names":[],"mappings":";;;;;;;;;AAgBO,gFAwCN;AACM,2FAgDN;AACM,2DAA8C,aAAQ;;;;;;;;;;;EAiC5D;AACM,iDAKG,aAAQ,EAAE,mBAAc,SACjC;AACM,2DAA+C,WAAM,EAAE,UAAK;;;;;;;;;;;;;;;;;;;;;;;;;;EA6DlE;AACM,4DAAgD,WAAM,EAAE,UAAK,YA8BnE;AACM,wDAIE,YAAO;;;;EAOf"}
|
|
@@ -13,9 +13,49 @@ export namespace DisplayStatusCodes {
|
|
|
13
13
|
let HIDDEN: string;
|
|
14
14
|
let DISABLED: string;
|
|
15
15
|
}
|
|
16
|
+
export namespace IABKeys {
|
|
17
|
+
namespace LEGACY {
|
|
18
|
+
let CMP_PRESENT: string;
|
|
19
|
+
let SUBJECT_TO_GDPR: string;
|
|
20
|
+
let CONSENT_STRING: string;
|
|
21
|
+
let PARSED_PURPOSE_CONSENTS: string;
|
|
22
|
+
let PARSED_VENDOR_CONSENTS: string;
|
|
23
|
+
}
|
|
24
|
+
namespace IABTCF {
|
|
25
|
+
let CMP_SDK_ID: string;
|
|
26
|
+
let CMP_SDK_VERSION: string;
|
|
27
|
+
let POLICY_VERSION: string;
|
|
28
|
+
let GDPR_APPLIES: string;
|
|
29
|
+
let PUBLISHER_CC: string;
|
|
30
|
+
let PURPOSE_ONE_TREATMENT: string;
|
|
31
|
+
let USE_NON_STANDARD_TEXTS: string;
|
|
32
|
+
let TC_STRING: string;
|
|
33
|
+
let VENDOR_CONSENTS: string;
|
|
34
|
+
let VENDOR_LEGITIMATE_INTERESTS: string;
|
|
35
|
+
let PURPOSE_CONSENTS: string;
|
|
36
|
+
let PURPOSE_LEGITIMATE_INTERESTS: string;
|
|
37
|
+
let SPECIAL_FEATURES_OPT_INS: string;
|
|
38
|
+
let ADDTL_CONSENT: string;
|
|
39
|
+
let ENABLE_ADVERTISER_CONSENT_MODE: string;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
export function getAllIABKeys(): string[];
|
|
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[];
|
|
16
50
|
export const purposeIds: number[];
|
|
17
51
|
export const purposeMap: {
|
|
18
|
-
[
|
|
52
|
+
[ConsentCategory.ESSENTIAL]: number[];
|
|
53
|
+
[ConsentCategory.ANALYTICS]: number[];
|
|
54
|
+
[ConsentCategory.STORAGE]: number[];
|
|
55
|
+
[ConsentCategory.MARKETING]: number[];
|
|
56
|
+
[ConsentCategory.PERSONALIZATION]: number[];
|
|
57
|
+
[ConsentCategory.OPT_OUT]: never[];
|
|
19
58
|
};
|
|
20
59
|
export function consentToPurpose(consent?: {}, apiVersion?: string): {};
|
|
60
|
+
import { ConsentCategory } from '../../constants';
|
|
21
61
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../module/iab/tcf/constants.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../module/iab/tcf/constants.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CO,0CAAgG;;;;;;;AAKvG,2CAAiE;AACjE,kCAA8D;AAC9D;IACE,CAAC,eAAe,CAAC,SAAS,CAAC,WAAK;IAChC,CAAC,eAAe,CAAC,SAAS,CAAC,WAAe;IAC1C,CAAC,eAAe,CAAC,OAAO,CAAC,WAAK;IAC9B,CAAC,eAAe,CAAC,SAAS,CAAC,WAAW;IACtC,CAAC,eAAe,CAAC,eAAe,CAAC,WAAY;IAC7C,CAAC,eAAe,CAAC,OAAO,CAAC,UAAI;EAC7B;AACK,wEAUN;gCAnE+B,iBAAiB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export function clearAllIABKeys(): void;
|
|
2
|
+
export function setAllIABKeys(consentData: any): void;
|
|
3
|
+
export function setCustomIABKey(key: any, value: any): void;
|
|
4
|
+
export function setDefaultIABKey(key: any, value: any): void;
|
|
5
|
+
export function setDefaultIABKeyAsInt(key: any, value: any): void;
|
|
6
|
+
export function clearCustomIABKey(key: any): void;
|
|
7
|
+
export function clearDefaultIABKey(key: any): void;
|
|
8
|
+
//# sourceMappingURL=iab-storage-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iab-storage-utils.d.ts","sourceRoot":"","sources":["../../../../../module/iab/tcf/iab-storage-utils.js"],"names":[],"mappings":"AAGO,wCAYN;AACM,sDAwDN;AACM,4DAEN;AACM,6DAEN;AACM,kEAEN;AACM,kDAEN;AACM,mDAEN"}
|
|
@@ -93,7 +93,6 @@ declare const _default: {
|
|
|
93
93
|
getStateData: (state: any, apiVersion: any) => any;
|
|
94
94
|
getCurrentScreen: (state: any) => number;
|
|
95
95
|
getConsentString: (state: any, { gppSection, tcString }?: {
|
|
96
|
-
gppSection: any;
|
|
97
96
|
tcString?: string | undefined;
|
|
98
97
|
}) => any;
|
|
99
98
|
getPublisherLegitimateInterests: () => {};
|
|
@@ -243,7 +242,6 @@ declare const _default: {
|
|
|
243
242
|
getStateData: (state: any, apiVersion: any) => any;
|
|
244
243
|
getCurrentScreen: (state: any) => number;
|
|
245
244
|
getConsentString: (state: any, { gppSection, tcString }?: {
|
|
246
|
-
gppSection: any;
|
|
247
245
|
tcString?: string | undefined;
|
|
248
246
|
}) => any;
|
|
249
247
|
getPublisherLegitimateInterests: () => {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../module/iab/tcf/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../module/iab/tcf/index.js"],"names":[],"mappings":";;;qCAM86B,SAAK,MAAG,WAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAArvB,WAAM,EAAC,eAAW;uBAA4G,WAAO;2BAAwD,WAAO;4BAA+D,WAAM,EAAC,mBAAiB;2BAA6F,UAAK,EAAC,eAAW;+BAAqG,UAAM;+BAA0E,UAAK,EAAC;;aAAuC;;;gCAA2U,UAAK,EAAC,eAAW;iCAAsG,UAAK,EAAC,eAAW;wCAAsd,UAAK,EAAC,eAAW;sCAAg9B,UAAK,EAAC,eAAW;yBAAoG,WAAM,EAAC,eAAW;4BAA4F,UAAK,EAAC;;;aAA6B;2BAA2F,WAAM,EAAC,eAAW;+BAAwI,UAAK,EAAC,eAAW;iCAAqG,UAAK,EAAC,eAAW;mCAAsG,WAAM,EAAC,eAAW;uBAA2F,UAAK,EAAC,eAAW;2CAAiG,UAAK,EAAC;;;aAAqC;kCAA8G,UAAK,EAAC;;;aAA6B;mCAAgG,UAAK,EAAC;;;aAA8B;8BAA2F,UAAM;iCAAwJ,UAAK,EAAC,eAAW;kCAAqG,UAAK,EAAC,eAAW;6BAA+F,WAAO;8BAA6F,UAAM;sBAA4D,UAAM;kCAAkE,UAAK,EAAC,oBAAgB;yBAAiT,UAAM;;;;;;;;;;;;;;;;;qCAAhjI,SAAK,MAAG,WAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAArvB,WAAM,EAAC,eAAW;uBAA4G,WAAO;2BAAwD,WAAO;4BAA+D,WAAM,EAAC,mBAAiB;2BAA6F,UAAK,EAAC,eAAW;+BAAqG,UAAM;+BAA0E,UAAK,EAAC;;aAAuC;;;gCAA2U,UAAK,EAAC,eAAW;iCAAsG,UAAK,EAAC,eAAW;wCAAsd,UAAK,EAAC,eAAW;sCAAg9B,UAAK,EAAC,eAAW;yBAAoG,WAAM,EAAC,eAAW;4BAA4F,UAAK,EAAC;;;aAA6B;2BAA2F,WAAM,EAAC,eAAW;+BAAwI,UAAK,EAAC,eAAW;iCAAqG,UAAK,EAAC,eAAW;mCAAsG,WAAM,EAAC,eAAW;uBAA2F,UAAK,EAAC,eAAW;2CAAiG,UAAK,EAAC;;;aAAqC;kCAA8G,UAAK,EAAC;;;aAA6B;mCAAgG,UAAK,EAAC;;;aAA8B;8BAA2F,UAAM;iCAAwJ,UAAK,EAAC,eAAW;kCAAqG,UAAK,EAAC,eAAW;6BAA+F,WAAO;8BAA6F,UAAM;sBAA4D,UAAM;kCAAkE,UAAK,EAAC,oBAAgB;yBAAiT,UAAM;;;;;;;;;;;;;;;;;;2BANn8J,aAAa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../../../../module/iab/tcf/middleware.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../../../../module/iab/tcf/middleware.js"],"names":[],"mappings":"AAWO,mDAQE,UAAK,MAAI,SAAI,MAAI,WAAM,SA4I/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../../../module/iab/tcf/reducer.js"],"names":[],"mappings":"AAiEA,
|
|
1
|
+
{"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../../../module/iab/tcf/reducer.js"],"names":[],"mappings":"AAiEA,wDAMU,UAAK,EAAE,WAAM,SAiKtB"}
|