@osano/osano-cmp-react-native 0.11.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.dev.md +216 -1
- package/README.md +2 -267
- package/android/src/main/java/com/OsanoCMPSDK/OsanoCMPSDKModule.kt +41 -0
- package/ios/OsanoCmpSDK.mm +42 -0
- package/lib/commonjs/ConsentManager.js +82 -11
- 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 +7 -5
- package/lib/commonjs/context.js.map +1 -1
- package/lib/commonjs/iab/tcf/consent.js +0 -5
- package/lib/commonjs/iab/tcf/consent.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 +54 -15
- 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/selectors.js +1 -1
- package/lib/commonjs/selectors.js.map +1 -1
- package/lib/commonjs/services/consent.js +60 -8
- 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/EventEmitter.js +0 -2
- package/lib/commonjs/utils/EventEmitter.js.map +1 -1
- package/lib/commonjs/utils/OsanoLogger.js +51 -0
- package/lib/commonjs/utils/OsanoLogger.js.map +1 -0
- package/lib/commonjs/utils/Translator.js +2 -2
- package/lib/commonjs/utils/Translator.js.map +1 -1
- 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 +81 -9
- 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 +7 -5
- package/lib/module/context.js.map +1 -1
- package/lib/module/iab/tcf/consent.js +0 -5
- package/lib/module/iab/tcf/consent.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 +47 -13
- 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/selectors.js +1 -1
- package/lib/module/selectors.js.map +1 -1
- package/lib/module/services/consent.js +54 -7
- 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/EventEmitter.js +0 -2
- package/lib/module/utils/EventEmitter.js.map +1 -1
- package/lib/module/utils/OsanoLogger.js +44 -0
- package/lib/module/utils/OsanoLogger.js.map +1 -0
- package/lib/module/utils/Translator.js +2 -2
- package/lib/module/utils/Translator.js.map +1 -1
- 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 +17 -1
- 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 +4 -0
- 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/EventEmitter.d.ts.map +1 -1
- 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 +18 -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 +10 -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/consent.d.ts +4 -0
- package/lib/typescript/lib/module/services/consent.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/EventEmitter.d.ts.map +1 -1
- 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 +24 -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 +5 -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 +13 -2
- 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/EventEmitter.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 +131 -22
- package/src/ConsentUiBuilder.tsx +23 -13
- package/src/commands.ts +11 -8
- package/src/components/Button.tsx +17 -17
- package/src/context.ts +14 -9
- package/src/iab/tcf/consent.ts +11 -16
- 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 +77 -22
- 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/selectors.ts +1 -0
- package/src/services/consent.ts +75 -9
- package/src/services/google-consent-mode-mapper.ts +122 -0
- package/src/types/consent-config.d.ts +0 -3
- package/src/types/google-consent-mode.ts +122 -0
- package/src/types/index.d.ts +4 -2
- package/src/utils/EventEmitter.ts +1 -3
- package/src/utils/OsanoLogger.ts +53 -0
- package/src/utils/Translator.ts +15 -15
- package/src/utils/index.ts +2 -0
|
@@ -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"}
|
|
@@ -7,6 +7,7 @@ export const OsanoPublicContext: React.Context<{
|
|
|
7
7
|
setLocale: typeof noop;
|
|
8
8
|
showBanner: typeof noop;
|
|
9
9
|
showDrawer: typeof noop;
|
|
10
|
+
isReady: boolean;
|
|
10
11
|
}>;
|
|
11
12
|
export const OsanoPrivateContext: React.Context<{
|
|
12
13
|
addMiddleware: typeof noop;
|
|
@@ -20,7 +21,13 @@ export const OsanoPrivateContext: React.Context<{
|
|
|
20
21
|
config: undefined;
|
|
21
22
|
configId: string;
|
|
22
23
|
consent: {
|
|
23
|
-
[
|
|
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;
|
|
24
31
|
};
|
|
25
32
|
consentTimestamp: number;
|
|
26
33
|
customerId: string;
|
|
@@ -179,7 +186,9 @@ export const OsanoPrivateContext: React.Context<{
|
|
|
179
186
|
};
|
|
180
187
|
};
|
|
181
188
|
translate: () => "";
|
|
189
|
+
setGoogleConsentModeCallback: typeof noop;
|
|
182
190
|
}>;
|
|
183
191
|
import { noop } from './utils';
|
|
184
192
|
import React from 'react';
|
|
193
|
+
import { ConsentCategory } from './constants';
|
|
185
194
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../module/context.js"],"names":[],"mappings":"AAMA
|
|
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"}
|
|
@@ -5,7 +5,6 @@ export function getConfigData(config: any, apiVersion?: string): any;
|
|
|
5
5
|
export function getStateData(state: any, apiVersion: any): any;
|
|
6
6
|
export function getCurrentScreen(state: any): number;
|
|
7
7
|
export function getConsentString(state: any, { gppSection, tcString }?: {
|
|
8
|
-
gppSection: any;
|
|
9
8
|
tcString?: string | undefined;
|
|
10
9
|
}): any;
|
|
11
10
|
export function getPublisherLegitimateInterests(): {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../module/iab/tcf/selectors.js"],"names":[],"mappings":"AAQO,qEAEN;AACM,2CAAkD;AAClD,+CAA0D;AAC1D,qEAA6G;AAC7G,+DAA2G;AAC3G,qDAAqE;AACrE
|
|
1
|
+
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../module/iab/tcf/selectors.js"],"names":[],"mappings":"AAQO,qEAEN;AACM,2CAAkD;AAClD,+CAA0D;AAC1D,qEAA6G;AAC7G,+DAA2G;AAC3G,qDAAqE;AACrE;;QAKN;AAGM,sDAIN;AACM,0CAA2C;AAC3C,oEAA6G;AAC7G,oEAON;AAEM,gGAuBN;AACM,0EAAyH;AACzH,8DAAkG;AAClG;;;QAGsD;AACtD,qEAA6I;AAC7I,mEAA2G;AAC3G,qEAA4G;AAC5G,wEAAgH;AAChH,+DAAqF;AACrF;;;YAGkE;AAClE;;;YAGmD;AACnD;;;YAGqD;AACrD,qDAAgJ;AAChJ,yEAA4G;AAC5G,0EAA8G;AAC9G,2DAA0F;AAC1F,iDAAiE;AACjE,6CAAiD;AACjD,2EAQN;AACM,4CAQN"}
|
|
@@ -101,7 +101,6 @@ declare const tcfeuv2: {
|
|
|
101
101
|
getStateData: (state: any, apiVersion: any) => any;
|
|
102
102
|
getCurrentScreen: (state: any) => number;
|
|
103
103
|
getConsentString: (state: any, { gppSection, tcString }?: {
|
|
104
|
-
gppSection: any;
|
|
105
104
|
tcString?: string | undefined;
|
|
106
105
|
}) => any;
|
|
107
106
|
getPublisherLegitimateInterests: () => {};
|
|
@@ -251,7 +250,6 @@ declare const tcfcav1: {
|
|
|
251
250
|
getStateData: (state: any, apiVersion: any) => any;
|
|
252
251
|
getCurrentScreen: (state: any) => number;
|
|
253
252
|
getConsentString: (state: any, { gppSection, tcString }?: {
|
|
254
|
-
gppSection: any;
|
|
255
253
|
tcString?: string | undefined;
|
|
256
254
|
}) => any;
|
|
257
255
|
getPublisherLegitimateInterests: () => {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../module/iab/tcf/v2.0/index.js"],"names":[],"mappings":";;;;;AAMA;;;;GAIG;AAEH
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../module/iab/tcf/v2.0/index.js"],"names":[],"mappings":";;;;;AAMA;;;;GAIG;AAEH;iCAWsC,SAAK,MAAG,WAC3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBApBwC,WAAK,EAAE,eAAU;mBAIjD,WAAO;uBACjB,WAAO;wBACN,WAEC,EAAC,mBACD;uBAEkB,UAAK,EAAC,eAAW;2BAET,UAAM;2BACM,UAAK,EAAC;;SAC3B;;;4BAQF,UAAK,EAAC,eAAW;6BAG1B,UAAK,EAAC,eACN;oCAG8b,UAAK,EAAC,eAAW;kCAAg9B,UAAK,EAAC,eAAW;qBAAoG,WAAM,EAAC,eAAW;wBAA4F,UAAK,EAAC;;;SAA6B;uBAA2F,WAAM,EAAC,eAAW;2BAAwI,UAAK,EAAC,eAAW;6BAAqG,UAAK,EAAC,eAAW;+BAAsG,WAAM,EAAC,eAAW;mBAA2F,UAAK,EAAC,eAAW;uCAAiG,UAAK,EAAC;;;SAAqC;8BAA8G,UAAK,EAAC;;;SAA6B;+BAAgG,UAAK,EAAC;;;SAA8B;0BAA2F,UAAM;6BAAwJ,UAAK,EAAC,eAAW;8BAAqG,UAAK,EAAC,eAAW;yBAA+F,WAAO;0BAA6F,UAAM;kBAA4D,UAAM;8BAAkE,UAAK,EAAC,oBAAgB;qBAAiT,UAAM;;;;;;;;;;;;;;;EAdvsH;AACF;iCAEsC,SAAK,MAAG,WAC3C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBApBwC,WAAK,EAAE,eAAU;mBAIjD,WAAO;uBACjB,WAAO;wBACN,WAEC,EAAC,mBACD;uBAEkB,UAAK,EAAC,eAAW;2BAET,UAAM;2BACM,UAAK,EAAC;;SAC3B;;;4BAQF,UAAK,EAAC,eAAW;6BAG1B,UAAK,EAAC,eACN;oCAG8b,UAAK,EAAC,eAAW;kCAAg9B,UAAK,EAAC,eAAW;qBAAoG,WAAM,EAAC,eAAW;wBAA4F,UAAK,EAAC;;;SAA6B;uBAA2F,WAAM,EAAC,eAAW;2BAAwI,UAAK,EAAC,eAAW;6BAAqG,UAAK,EAAC,eAAW;+BAAsG,WAAM,EAAC,eAAW;mBAA2F,UAAK,EAAC,eAAW;uCAAiG,UAAK,EAAC;;;SAAqC;8BAA8G,UAAK,EAAC;;;SAA6B;+BAAgG,UAAK,EAAC;;;SAA8B;0BAA2F,UAAM;6BAAwJ,UAAK,EAAC,eAAW;8BAAqG,UAAK,EAAC,eAAW;yBAA+F,WAAO;0BAA6F,UAAM;kBAA4D,UAAM;8BAAkE,UAAK,EAAC,oBAAgB;qBAAiT,UAAM;;;;;;;;;;;;;;;EALvsH"}
|
|
@@ -13,7 +13,6 @@ export namespace baseInitOptions {
|
|
|
13
13
|
getStateData: (state: any, apiVersion: any) => any;
|
|
14
14
|
getCurrentScreen: (state: any) => number;
|
|
15
15
|
getConsentString: (state: any, { gppSection, tcString }?: {
|
|
16
|
-
gppSection: any;
|
|
17
16
|
tcString?: string | undefined;
|
|
18
17
|
}) => any;
|
|
19
18
|
getPublisherLegitimateInterests: () => {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared-constants.d.ts","sourceRoot":"","sources":["../../../../../../module/iab/tcf/v2.0/shared-constants.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"shared-constants.d.ts","sourceRoot":"","sources":["../../../../../../module/iab/tcf/v2.0/shared-constants.js"],"names":[],"mappings":";;;;;;;;wBASO,WAAM,EAAC,eAAW;mBAKE,WAAO;uBAG9B,WAAE;wBAIA,WAAE,EAAE,mBACI;uBAA6F,UAAK,EAAC,eAAW;2BAChD,UAAM;2BAA2E,UAC7J,EAAQ;;SAAgC;;;4BAKmK,UAAK,EAAC,eAAW;6BAAsG,UAAK,EAAC,eAAW;oCAAsd,UAAK,EAAC,eAAW;kCAAg9B,UAAK,EAAC,eAAW;qBAAoG,WAAM,EAAC,eAAW;wBAA4F,UAAK,EAAC;;;SAA6B;uBAA2F,WAAM,EAAC,eAAW;2BAAwI,UAAK,EAAC,eAAW;6BAAqG,UAAK,EAAC,eAAW;+BAAsG,WAAM,EAAC,eAAW;mBAA2F,UAAK,EAAC,eAAW;uCAAiG,UAAK,EAAC;;;SAAqC;8BAA8G,UAAK,EAAC;;;SAA6B;+BAAgG,UAAK,EAAC;;;SAA8B;0BAA2F,UAAM;6BAAwJ,UAAK,EAAC,eAAW;8BAAqG,UAAK,EAAC,eAAW;yBAA+F,WAAO;0BAA6F,UAAM;kBAA4D,UAAM;8BAAkE,UAAK,EAAC,oBAAgB;qBAAiT,UAAM;;IAVziI;;;;;;;;;;;;MAQC;;AAxBH,0BAAmB,iBAAiB,CAAC;AADrC,uBAAgB,KAAK,CAAC;uBADkB,iBAAiB;gCAAjB,iBAAiB;AAGzD;;;GAGG;AACH,oCAA6B,GAAG,CAAC"}
|
|
@@ -45,9 +45,12 @@ export const initOptions: {
|
|
|
45
45
|
isIABEnabled: (config: any) => any;
|
|
46
46
|
getConfigData: (config: any, apiVersion?: string) => any;
|
|
47
47
|
getStateData: (state: any, apiVersion: any) => any;
|
|
48
|
-
getCurrentScreen: (state: any
|
|
48
|
+
getCurrentScreen: (state: any
|
|
49
|
+
/**
|
|
50
|
+
* The core fields of the TCString for TCF-Canada v1.
|
|
51
|
+
*/
|
|
52
|
+
) => number;
|
|
49
53
|
getConsentString: (state: any, { gppSection, tcString }?: {
|
|
50
|
-
gppSection: any;
|
|
51
54
|
tcString?: string | undefined;
|
|
52
55
|
}) => any;
|
|
53
56
|
getPublisherLegitimateInterests: () => {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tcfcav1-constants.d.ts","sourceRoot":"","sources":["../../../../../../module/iab/tcf/v2.0/tcfcav1-constants.js"],"names":[],"mappings":"AAmCA
|
|
1
|
+
{"version":3,"file":"tcfcav1-constants.d.ts","sourceRoot":"","sources":["../../../../../../module/iab/tcf/v2.0/tcfcav1-constants.js"],"names":[],"mappings":"AAmCA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAhC4C,WAAM,EAAC,eAAW;mBAG3C,WAAO;uBAChB,WAAO;wBAE6B,WAAM,EAAE,mBAAgB;uBAE9D,UAAK,EAAC,eAAW;2BAEwC,UACjE;QACA;;WAEG;;2BACQ,UAAK,EAAC;;SAAuC;;;4BAA2U,UAAK,EAAC,eAAW;6BAAsG,UAAK,EAAC,eAAW;oCAEzZ,UAAK,EAAC,eACjH;kCAuB4Q,UAAK,EAAC,eAAW;qBAAoG,WAAM,EAAC,eAAW;wBAA4F,UAAK,EAAC;;;SAA6B;uBAA2F,WAAM,EAAC,eAAW;2BAAwI,UAAK,EAAC,eAAW;6BAAqG,UAAK,EAAC,eAAW;+BAAsG,WAAM,EAAC,eAAW;mBAA2F,UAAK,EAAC,eAAW;uCAAiG,UAAK,EAAC;;;SAAqC;8BAA8G,UAAK,EAAC;;;SAA6B;+BAAgG,UAAK,EAAC;;;SAA8B;0BAA2F,UAAM;6BAAwJ,UAAK,EAAC,eAAW;8BAAqG,UAAK,EAAC,eAAW;yBAA+F,WAAO;0BAA6F,UAAM;kBAA4D,UAAM;8BAAkE,UAAK,EAAC,oBAAgB;qBAAiT,UAAM;;;;;;;;;;;;;;;EADljF"}
|
|
@@ -46,7 +46,6 @@ export const initOptions: {
|
|
|
46
46
|
getStateData: (state: any, apiVersion: any) => any;
|
|
47
47
|
getCurrentScreen: (state: any) => number;
|
|
48
48
|
getConsentString: (state: any, { gppSection, tcString }?: {
|
|
49
|
-
gppSection: any;
|
|
50
49
|
tcString?: string | undefined;
|
|
51
50
|
}) => any;
|
|
52
51
|
getPublisherLegitimateInterests: () => {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tcfeuv2-constants.d.ts","sourceRoot":"","sources":["../../../../../../module/iab/tcf/v2.0/tcfeuv2-constants.js"],"names":[],"mappings":"AAIA,
|
|
1
|
+
{"version":3,"file":"tcfeuv2-constants.d.ts","sourceRoot":"","sources":["../../../../../../module/iab/tcf/v2.0/tcfeuv2-constants.js"],"names":[],"mappings":"AAIA,sBAAuB,UAAU,CAAC;AAClC,yBAA0B,iBAAiB,CAAC;AA2D5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA7D8E,WAAM,EAAC,eAC/E;mBAG4B,WAAM;uBAChB,WACvB;wBAC2D,WAAM,EAAC,mBAC3D;uBAGK,UACZ,EAAE,eAAU;2BAGe,UAC5B;2BAE0C,UAAK,EAAC;;SAE1C;;;4BAI+K,UAAK,EAAC,eAAW;6BAE9H,UAAK,EAAC,eAAW;oCAEqM,UAAK,EAAE,eAAU;kCAc/Q,UAAK,EAAC,eAAW;qBACa,WAAM,EAAC,eAAW;wBACS,UAAK,EAAC;;;SAElF;uBAGJ,WAAK,EAAC,eAAW;2BAKxB,UAAK,EAAC,eAAW;6BAIoB,UACvC,EAAE,eAAU;+BAIC,WAAM,EACjB,eAAQ;mBAIY,UAAK,EAAC,eAC5B;uCAC8F,UAAK,EAAC;;;SAAqC;8BAA8G,UAAK,EAAC;;;SAA6B;+BAAgG,UAAK,EAAC;;;SAA8B;0BAA2F,UAAM;6BAAwJ,UAAK,EAAC,eAAW;8BAAqG,UAAK,EAAC,eAAW;yBAA+F,WAAO;0BAA6F,UAAM;kBAA4D,UAAM;8BAAkE,UAAK,EAAC,oBAAgB;qBAAiT,UAAM;;;;;;;;;;;;;;;EADt7C"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export default function makeApi(initOptions: any): {
|
|
2
|
-
bind: (store: any) => (command: string, version: number, callback: requestCallback, parameter?: string
|
|
2
|
+
bind: (store: any) => (command: string, version: number, callback: requestCallback, parameter?: string) => any;
|
|
3
3
|
};
|
|
4
4
|
//# sourceMappingURL=api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../module/iab/usp/api.js"],"names":[],"mappings":"AACA;
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../module/iab/usp/api.js"],"names":[],"mappings":"AACA;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":["../../../../../module/iab/usp/consent.js"],"names":[],"mappings":"AAGO
|
|
1
|
+
{"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../../module/iab/usp/consent.js"],"names":[],"mappings":"AAGO;;KAEI,cAAS;;;;;EAanB;AACM,iDAA4C,UAAK,EAAE,UAAK,SAiB9D;AAQM,2DAFM,MAAM,CAsBlB;AAQM,0DAFM,OAAO,aAAa,EAAE,UAAU,CA6B5C;AAQM,wDAFM,OAAO,aAAa,EAAE,OAAO,CAsBzC"}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
export const DOMAIN: "iab.usp";
|
|
2
2
|
export function getStore(state: any): any;
|
|
3
3
|
export function doesCCPAApply(state: any): boolean;
|
|
4
|
-
export function getConsentString(state: any, { gppSection, version: providedVersion }?: {
|
|
5
|
-
gppSection: any;
|
|
6
|
-
version: any;
|
|
7
|
-
}): any;
|
|
4
|
+
export function getConsentString(state: any, { gppSection, version: providedVersion }?: {}): any;
|
|
8
5
|
export function getOptOut(state: any): any;
|
|
9
6
|
//# sourceMappingURL=selectors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../module/iab/usp/selectors.js"],"names":[],"mappings":"AAGA
|
|
1
|
+
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../../../../module/iab/usp/selectors.js"],"names":[],"mappings":"AAGA,qBAAsB,SAAS,CAAC;AACzB,0CAAgD;AAChD,mDAA2F;AAC3F,iGAgBN;AACM,2CAAiD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../module/iab/usp/v1/constants.js"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../module/iab/usp/v1/constants.js"],"names":[],"mappings":"AAAA,sBAAuB,UAAU,CAAC;AAElC,yBAA0B,OAAO,CAAC;AAClC,yBAA0B,iBAAiB,CAAC;AAC5C,sBAAuB,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export default v1;
|
|
2
2
|
declare namespace v1 {
|
|
3
3
|
export let api: {
|
|
4
|
-
bind: (store: any) => (command: string, version: number, callback: requestCallback, parameter?: string
|
|
4
|
+
bind: (store: any) => (command: string, version: number, callback: requestCallback, parameter?: string) => any;
|
|
5
5
|
};
|
|
6
6
|
export { apiName };
|
|
7
7
|
export { createMiddleware };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../module/iab/usp/v1/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../module/iab/usp/v1/index.js"],"names":[],"mappings":";;;+BAUS,eAAM,EAAC,eAAQ,EAAC,UAJF,eAKnB,EAAC,kBAAU;;;;;;;;wBAV8C,aAAa;AAS1E,sCACS,UAAK,MAAI,SAAI,MAAI,WAAM,SA6B/B;2BAvC4D,aAAa;2BAAb,aAAa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../module/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../module/index.js"],"names":[],"mappings":";;AAqBA,uDA8KG;kBAnMkE,OAAO"}
|
|
@@ -2,4 +2,8 @@ export function getDeviceId(): any;
|
|
|
2
2
|
export function setStorage(key: any, value: any): any;
|
|
3
3
|
export function getStorage(key: any): any;
|
|
4
4
|
export function clearStorage(key: any): any;
|
|
5
|
+
export function setStorageToDefault(key: any, value: any): any;
|
|
6
|
+
export function setIntStorageToDefault(key: any, value: any): any;
|
|
7
|
+
export function setBoolStorageToDefault(key: any, value: any): any;
|
|
8
|
+
export function clearStorageFromDefault(key: any): any;
|
|
5
9
|
//# sourceMappingURL=OsanoCmp.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OsanoCmp.d.ts","sourceRoot":"","sources":["../../../../module/native/OsanoCmp.js"],"names":[],"mappings":"AAWA,mCAEC;AACD,sDAEC;AACD,0CAEC;AACD,4CAEC"}
|
|
1
|
+
{"version":3,"file":"OsanoCmp.d.ts","sourceRoot":"","sources":["../../../../module/native/OsanoCmp.js"],"names":[],"mappings":"AAWA,mCAEC;AACD,sDAEC;AACD,0CAEC;AACD,4CAEC;AACD,+DAEC;AACD,kEAEC;AACD,mEAEC;AACD,uDAEC"}
|
|
@@ -4,7 +4,12 @@ export namespace initialState {
|
|
|
4
4
|
let config: undefined;
|
|
5
5
|
let configId: string;
|
|
6
6
|
let consent: {
|
|
7
|
-
[
|
|
7
|
+
[ConsentCategory.ESSENTIAL]: boolean;
|
|
8
|
+
[ConsentCategory.STORAGE]: boolean;
|
|
9
|
+
[ConsentCategory.MARKETING]: boolean;
|
|
10
|
+
[ConsentCategory.PERSONALIZATION]: boolean;
|
|
11
|
+
[ConsentCategory.ANALYTICS]: boolean;
|
|
12
|
+
[ConsentCategory.OPT_OUT]: boolean;
|
|
8
13
|
};
|
|
9
14
|
let consentTimestamp: number;
|
|
10
15
|
let customerId: string;
|
|
@@ -25,4 +30,5 @@ export namespace initialState {
|
|
|
25
30
|
let stack: never[];
|
|
26
31
|
}
|
|
27
32
|
export function init(initialArgs: any): any;
|
|
33
|
+
import { ConsentCategory } from './constants';
|
|
28
34
|
//# sourceMappingURL=reducer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../module/reducer.js"],"names":[],"mappings":"AAgFA,sDAmRC;AA/VD,oCAA8D
|
|
1
|
+
{"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../../module/reducer.js"],"names":[],"mappings":"AAgFA,sDAmRC;AA/VD,oCAA8D;;;;;QAK1D,CAAC,eAAe,CAAC,SAAS,CAAC,UAAM;QACjC,CAAC,eAAe,CAAC,OAAO,CAAC,UAAO;QAChC,CAAC,eAAe,CAAC,SAAS,CAAC,UAAO;QAClC,CAAC,eAAe,CAAC,eAAe,CAAC,UAAO;QACxC,CAAC,eAAe,CAAC,SAAS,CAAC,UAAO;QAClC,CAAC,eAAe,CAAC,OAAO,CAAC,UAAO;;;;;;;;;;;;;;;;;;;;AAmB7B,4CAeN;gCA/C+B,aAAa"}
|
|
@@ -3,4 +3,8 @@ export function clearConsent(cmp: any): Promise<any>;
|
|
|
3
3
|
export function recordConsent(cmp: any, consent: any): Promise<any>;
|
|
4
4
|
export function fetchConsent(cmp: any): Promise<any>;
|
|
5
5
|
export function fetchConfig(customerId: any, configId: any): Promise<any>;
|
|
6
|
+
export function getStoredConfig(configId: any): Promise<any>;
|
|
7
|
+
export function storeConfig(configId: any, config: any): Promise<void>;
|
|
8
|
+
export function getConfigLastStoredAt(configId: any): Promise<Date | null>;
|
|
9
|
+
export function hasStaleConfig(configId: string): Promise<boolean>;
|
|
6
10
|
//# sourceMappingURL=consent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../module/services/consent.js"],"names":[],"mappings":"AAyIA,wFAgBC;AA7FM,qDAgBN;AAoDM,oEAQN;AAkBM,qDA0CN;AACM,0EAiBN"}
|
|
1
|
+
{"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../module/services/consent.js"],"names":[],"mappings":"AAyIA,wFAgBC;AA7FM,qDAgBN;AAoDM,oEAQN;AAkBM,qDA0CN;AACM,0EAiBN;AACM,6DAUN;AACM,uEAMN;AACM,2EAUN;AASM,yCAHI,MAAM,GACJ,OAAO,CAAC,OAAO,CAAC,CAW5B"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Google Consent Mode Category Mapper
|
|
3
|
+
*
|
|
4
|
+
* Converts Osano consent categories to Google Consent Mode v2 parameters.
|
|
5
|
+
*
|
|
6
|
+
* **Mapping Logic (matching iOS/Android SDKs):**
|
|
7
|
+
* - ANALYTICS category → analytics_storage parameter
|
|
8
|
+
* - MARKETING category → ad_storage, ad_user_data, ad_personalization parameters
|
|
9
|
+
*
|
|
10
|
+
* All Google Consent Mode parameters default to "denied" until explicitly granted through category mapping.
|
|
11
|
+
*/
|
|
12
|
+
export class GoogleConsentModeMapper {
|
|
13
|
+
static GOOGLE_CATEGORIES_MAP: {
|
|
14
|
+
[ConsentCategory.ANALYTICS]: any[];
|
|
15
|
+
[ConsentCategory.MARKETING]: any[];
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Build a Google Consent Map from a set of Osano consent categories
|
|
19
|
+
*
|
|
20
|
+
* @param categories - Set of Osano consent categories that the user has granted
|
|
21
|
+
* @returns GoogleConsentMap with appropriate Google Consent Mode v2 parameters
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```typescript
|
|
25
|
+
* const categories = new Set([ConsentCategory.ANALYTICS, ConsentCategory.MARKETING]);
|
|
26
|
+
* const consentMap = GoogleConsentModeMapper.buildGoogleConsentMap(categories);
|
|
27
|
+
*
|
|
28
|
+
* // Results in:
|
|
29
|
+
* // {
|
|
30
|
+
* // analytics_storage: 'granted',
|
|
31
|
+
* // ad_storage: 'granted',
|
|
32
|
+
* // ad_user_data: 'granted',
|
|
33
|
+
* // ad_personalization: 'granted'
|
|
34
|
+
* // }
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
static buildGoogleConsentMap(categories: any): GoogleConsentMapImpl;
|
|
38
|
+
/**
|
|
39
|
+
* Create a GoogleConsentMap from a raw consent map
|
|
40
|
+
*
|
|
41
|
+
* @param consentMap - Raw mapping of Google Consent Mode parameters to status
|
|
42
|
+
* @returns GoogleConsentMap implementation with helper methods
|
|
43
|
+
*/
|
|
44
|
+
static createGoogleConsentMap(consentMap: any): GoogleConsentMapImpl;
|
|
45
|
+
/**
|
|
46
|
+
* Check if a consent category is mapped to Google Consent Mode parameters
|
|
47
|
+
*
|
|
48
|
+
* @param category - Osano consent category to check
|
|
49
|
+
* @returns true if the category is mapped to Google Consent Mode parameters
|
|
50
|
+
*/
|
|
51
|
+
static isGoogleConsentCategory(category: any): boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Get Google Consent Mode parameters for a specific consent category
|
|
54
|
+
*
|
|
55
|
+
* @param category - Osano consent category
|
|
56
|
+
* @returns Array of Google Consent Mode parameters mapped to this category
|
|
57
|
+
*/
|
|
58
|
+
static getGoogleParametersForCategory(category: any): any[];
|
|
59
|
+
/**
|
|
60
|
+
* Get readonly copy of the categories mapping
|
|
61
|
+
*
|
|
62
|
+
* @returns Readonly mapping of Osano categories to Google Consent Mode parameters
|
|
63
|
+
*/
|
|
64
|
+
static getCategoriesMapping(): Readonly<{
|
|
65
|
+
[ConsentCategory.ANALYTICS]: any[];
|
|
66
|
+
[ConsentCategory.MARKETING]: any[];
|
|
67
|
+
}>;
|
|
68
|
+
}
|
|
69
|
+
import { ConsentCategory } from '../constants';
|
|
70
|
+
import { GoogleConsentMapImpl } from '../types/google-consent-mode';
|
|
71
|
+
//# sourceMappingURL=google-consent-mode-mapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"google-consent-mode-mapper.d.ts","sourceRoot":"","sources":["../../../../module/services/google-consent-mode-mapper.js"],"names":[],"mappings":"AAGA;;;;;;;;;;GAUG;AACH;IACE;QACE,CAAC,eAAe,CAAC,SAAS,CAAC,QAA4C;QACvE,CAAC,eAAe,CAAC,SAAS,CAAC,QAAqH;MAChJ;IAEF;;;;;;;;;;;;;;;;;;;OAmBG;IACH,oEAmBC;IAED;;;;;OAKG;IACH,qEAEC;IAED;;;;;OAKG;IACH,uDAEC;IAED;;;;;OAKG;IACH,4DAEC;IAED;;;;OAIG;IACH;QAhFE,CAAC,eAAe,CAAC,SAAS,CAAC,QAA4C;QACvE,CAAC,eAAe,CAAC,SAAS,CAAC,QAAqH;OAmFjJ;CACF;gCArG+B,cAAc;qCACoC,8BAA8B"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Google Consent Mode v2 parameters as defined by Google
|
|
3
|
+
* @see https://developers.google.com/tag-platform/security/guides/consent?consentmode=advanced
|
|
4
|
+
*/
|
|
5
|
+
export let GoogleConsentParameter: {};
|
|
6
|
+
/**
|
|
7
|
+
* Google Consent Mode v2 status values
|
|
8
|
+
*/
|
|
9
|
+
export let GoogleConsentStatus: {};
|
|
10
|
+
/**
|
|
11
|
+
* Immutable consent map that provides Google Consent Mode v2 parameters
|
|
12
|
+
* with their corresponding status values and helper methods.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Callback function type for Google Consent Mode updates
|
|
16
|
+
*
|
|
17
|
+
* This callback is triggered whenever consent status changes and provides
|
|
18
|
+
* the Google Consent Mode v2 parameters in a format ready for Firebase integration.
|
|
19
|
+
*
|
|
20
|
+
* @param consentMap - Object containing the four Google Consent Mode v2 parameters:
|
|
21
|
+
* - "analytics_storage": "granted" or "denied"
|
|
22
|
+
* - "ad_storage": "granted" or "denied"
|
|
23
|
+
* - "ad_user_data": "granted" or "denied"
|
|
24
|
+
* - "ad_personalization": "granted" or "denied"
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* Concrete implementation of GoogleConsentMap interface
|
|
28
|
+
*/
|
|
29
|
+
export class GoogleConsentMapImpl {
|
|
30
|
+
constructor(consentMap: any);
|
|
31
|
+
consentMap: any;
|
|
32
|
+
toStringMap(): {};
|
|
33
|
+
isAnalyticsStorageGranted(): boolean;
|
|
34
|
+
isAdStorageGranted(): boolean;
|
|
35
|
+
isAdUserDataGranted(): boolean;
|
|
36
|
+
isAdPersonalizationGranted(): boolean;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=google-consent-mode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"google-consent-mode.d.ts","sourceRoot":"","sources":["../../../../module/types/google-consent-mode.js"],"names":[],"mappings":"AAAA;;;GAGG;AACH,sCAMM;AAEN;;GAEG;AACH,mCAIM;AAEN;;;GAGG;AAEH;;;;;;;;;;;GAWG;AAEH;;GAEG;AACH;IACE,6BAKC;IAHC,gBAEE;IAEJ,kBAMC;IACD,qCAEC;IACD,8BAEC;IACD,+BAEC;IACD,sCAEC;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventEmitter.d.ts","sourceRoot":"","sources":["../../../../module/utils/EventEmitter.js"],"names":[],"mappings":"AACA;IACE,qDAIC;IAHC,cAAuB;IACvB,YAAmB;IACnB,eAAyB;IAE3B,eAEC;CACF;AACD;IACE,YAAa;IACb,
|
|
1
|
+
{"version":3,"file":"EventEmitter.d.ts","sourceRoot":"","sources":["../../../../module/utils/EventEmitter.js"],"names":[],"mappings":"AACA;IACE,qDAIC;IAHC,cAAuB;IACvB,YAAmB;IACnB,eAAyB;IAE3B,eAEC;CACF;AACD;IACE,YAAa;IACb,iDAOC;IACD,qCAOC;IACD,uCAIC;IACD,mDAMC;CACF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export class OsanoLogger {
|
|
2
|
+
TAG: string;
|
|
3
|
+
isEnabled: boolean;
|
|
4
|
+
setEnabled(enabled: any): void;
|
|
5
|
+
getEnabled(): boolean;
|
|
6
|
+
error(message: any, error: any): void;
|
|
7
|
+
warn(message: any): void;
|
|
8
|
+
info(message: any): void;
|
|
9
|
+
debug(message: any): void;
|
|
10
|
+
verbose(message: any): void;
|
|
11
|
+
metric(name: any, durationMs: any): void;
|
|
12
|
+
log(message: any): void;
|
|
13
|
+
}
|
|
14
|
+
export const osanoLogger: OsanoLogger;
|
|
15
|
+
//# sourceMappingURL=OsanoLogger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OsanoLogger.d.ts","sourceRoot":"","sources":["../../../../module/utils/OsanoLogger.js"],"names":[],"mappings":"AAAA;IACE,YAAiB;IACjB,mBAAiB;IACjB,+BAEC;IACD,sBAEC;IACD,sCAOC;IACD,yBAGC;IACD,yBAGC;IACD,0BAGC;IACD,4BAGC;IACD,yCAGC;IACD,wBAGC;CACF;AACD,sCAA6C"}
|
|
@@ -22,7 +22,7 @@ export default class Translator extends EventEmitter {
|
|
|
22
22
|
* @returns {this}
|
|
23
23
|
* @memberof Translator
|
|
24
24
|
*/
|
|
25
|
-
override(phrases: LocalizedStrings, locale?: string
|
|
25
|
+
override(phrases: LocalizedStrings, locale?: string): this;
|
|
26
26
|
_loading: {};
|
|
27
27
|
load(desiredLocale: any, onLangLoadSuccess: any, onLangLoadFailure: any): Promise<PromiseSettledResult<any>[]>;
|
|
28
28
|
_langLoadFailureSubscription: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Translator.d.ts","sourceRoot":"","sources":["../../../../module/utils/Translator.js"],"names":[],"mappings":"AAMA;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":["../../../../module/utils/Translator.js"],"names":[],"mappings":"AAMA;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;6BAvN4B,gBAAgB"}
|
|
@@ -2,4 +2,5 @@ export function get(object: any, pathOrArray: any, defaultValue: any): any;
|
|
|
2
2
|
export function set(object: any, pathOrArray: any, value: any): void;
|
|
3
3
|
export function merge(object: any, ...sources: any[]): any;
|
|
4
4
|
export function noop(): void;
|
|
5
|
+
export { osanoLogger as OsanoLogger } from "./OsanoLogger";
|
|
5
6
|
//# sourceMappingURL=index.d.ts.map
|