@osano/osano-cmp-react-native 0.1.0 → 0.2.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.md +251 -0
- package/lib/commonjs/ConsentManager.js +209 -69
- package/lib/commonjs/ConsentManager.js.map +1 -1
- package/lib/commonjs/ConsentUiBuilder.js +2 -2
- package/lib/commonjs/ConsentUiBuilder.js.map +1 -1
- package/lib/commonjs/actions.js +84 -0
- package/lib/commonjs/actions.js.map +1 -0
- package/lib/commonjs/commands.js +63 -0
- package/lib/commonjs/commands.js.map +1 -0
- package/lib/commonjs/components/Button.js +35 -25
- package/lib/commonjs/components/Button.js.map +1 -1
- package/lib/commonjs/components/Locale.js +5 -3
- package/lib/commonjs/components/Locale.js.map +1 -1
- package/lib/commonjs/context.js +4 -3
- package/lib/commonjs/context.js.map +1 -1
- package/lib/commonjs/flavors/index.js +1 -1
- package/lib/commonjs/hooks/usePrevious.js +1 -1
- package/lib/commonjs/hooks/usePrevious.js.map +1 -1
- package/lib/commonjs/hooks/useThunkReducer.js +40 -15
- package/lib/commonjs/hooks/useThunkReducer.js.map +1 -1
- package/lib/commonjs/iab/actions.js +17 -0
- package/lib/commonjs/iab/actions.js.map +1 -0
- package/lib/commonjs/iab/constants.js +3 -1
- package/lib/commonjs/iab/constants.js.map +1 -1
- package/lib/commonjs/iab/gpp/encoders/FixedIntegerEncoder.js +1 -1
- package/lib/commonjs/iab/gpp/encoders/TraditionalBase64UrlEncoder.js.map +1 -1
- package/lib/commonjs/iab/index.js +33 -0
- package/lib/commonjs/iab/index.js.map +1 -0
- package/lib/commonjs/iab/reducer.js +46 -0
- package/lib/commonjs/iab/reducer.js.map +1 -0
- package/lib/commonjs/iab/tcf/actions.js +74 -14
- package/lib/commonjs/iab/tcf/actions.js.map +1 -1
- package/lib/commonjs/iab/tcf/consent.js +51 -87
- package/lib/commonjs/iab/tcf/consent.js.map +1 -1
- package/lib/commonjs/iab/tcf/constants.js +5 -5
- package/lib/commonjs/iab/tcf/constants.js.map +1 -1
- package/lib/commonjs/iab/tcf/helpers.js +72 -0
- package/lib/commonjs/iab/tcf/helpers.js.map +1 -0
- package/lib/commonjs/iab/tcf/index.js +5 -3
- package/lib/commonjs/iab/tcf/index.js.map +1 -1
- package/lib/commonjs/iab/tcf/middleware.js +172 -0
- package/lib/commonjs/iab/tcf/middleware.js.map +1 -0
- package/lib/commonjs/iab/tcf/reducer.js +225 -40
- package/lib/commonjs/iab/tcf/reducer.js.map +1 -1
- package/lib/commonjs/iab/tcf/selectors.js +60 -69
- package/lib/commonjs/iab/tcf/selectors.js.map +1 -1
- package/lib/commonjs/iab/tcf/v2.0/encoders.js +0 -8
- package/lib/commonjs/iab/tcf/v2.0/encoders.js.map +1 -1
- package/lib/commonjs/iab/tcf/v2.0/formatters.js +5 -7
- package/lib/commonjs/iab/tcf/v2.0/formatters.js.map +1 -1
- package/lib/commonjs/iab/tcf/v2.0/index.js +18 -16
- package/lib/commonjs/iab/tcf/v2.0/index.js.map +1 -1
- package/lib/commonjs/iab/tcf/v2.0/shared-constants.js +19 -3
- package/lib/commonjs/iab/tcf/v2.0/shared-constants.js.map +1 -1
- package/lib/commonjs/iab/tcf/v2.0/tcfcav1-constants.js +2 -14
- package/lib/commonjs/iab/tcf/v2.0/tcfcav1-constants.js.map +1 -1
- package/lib/commonjs/iab/tcf/v2.0/tcfeuv2-constants.js +2 -13
- package/lib/commonjs/iab/tcf/v2.0/tcfeuv2-constants.js.map +1 -1
- package/lib/commonjs/index.js +77 -30
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/reducer.js +366 -0
- package/lib/commonjs/reducer.js.map +1 -0
- package/lib/commonjs/selectors.js +83 -0
- package/lib/commonjs/selectors.js.map +1 -0
- package/lib/commonjs/services/consent.js +20 -4
- package/lib/commonjs/services/consent.js.map +1 -1
- package/lib/commonjs/styles.js +1 -1
- package/lib/commonjs/styles.js.map +1 -1
- package/lib/commonjs/utils/Translator.js +4 -2
- package/lib/commonjs/utils/Translator.js.map +1 -1
- package/lib/commonjs/utils/index.js +3 -16
- package/lib/commonjs/utils/index.js.map +1 -1
- package/lib/commonjs/utils/types.js +2 -0
- package/lib/commonjs/utils/types.js.map +1 -0
- package/lib/commonjs/views/Dialog/Buttons.js +2 -2
- package/lib/commonjs/views/Dialog/Buttons.js.map +1 -1
- package/lib/commonjs/views/Dialog/Message.js +1 -1
- package/lib/commonjs/views/Dialog/Message.js.map +1 -1
- package/lib/commonjs/views/Dialog/PreferenceManagementDeepLinks.js +5 -5
- package/lib/commonjs/views/Dialog/PreferenceManagementDeepLinks.js.map +1 -1
- package/lib/commonjs/views/Dialog/index.js +15 -9
- package/lib/commonjs/views/Dialog/index.js.map +1 -1
- package/lib/commonjs/views/Drawer/Drawer.ConsentCategories.js +50 -22
- package/lib/commonjs/views/Drawer/Drawer.ConsentCategories.js.map +1 -1
- package/lib/commonjs/views/Drawer/Drawer.Header.js +1 -0
- package/lib/commonjs/views/Drawer/Drawer.Header.js.map +1 -1
- package/lib/commonjs/views/Drawer/Drawer.Iab.Disclosures.js +26 -14
- package/lib/commonjs/views/Drawer/Drawer.Iab.Disclosures.js.map +1 -1
- package/lib/commonjs/views/Drawer/Drawer.Iab.Vendors.js +60 -36
- package/lib/commonjs/views/Drawer/Drawer.Iab.Vendors.js.map +1 -1
- package/lib/commonjs/views/Drawer/index.js +11 -10
- package/lib/commonjs/views/Drawer/index.js.map +1 -1
- package/lib/module/ConsentManager.js +209 -71
- package/lib/module/ConsentManager.js.map +1 -1
- package/lib/module/ConsentUiBuilder.js +1 -1
- package/lib/module/ConsentUiBuilder.js.map +1 -1
- package/lib/module/actions.js +66 -0
- package/lib/module/actions.js.map +1 -0
- package/lib/module/commands.js +55 -0
- package/lib/module/commands.js.map +1 -0
- package/lib/module/components/Button.js +30 -20
- package/lib/module/components/Button.js.map +1 -1
- package/lib/module/components/Locale.js +5 -3
- package/lib/module/components/Locale.js.map +1 -1
- package/lib/module/context.js +3 -2
- package/lib/module/context.js.map +1 -1
- package/lib/module/flavors/index.js +1 -1
- package/lib/module/hooks/usePrevious.js +1 -1
- package/lib/module/hooks/usePrevious.js.map +1 -1
- package/lib/module/hooks/useThunkReducer.js +40 -16
- package/lib/module/hooks/useThunkReducer.js.map +1 -1
- package/lib/module/iab/actions.js +10 -0
- package/lib/module/iab/actions.js.map +1 -0
- package/lib/module/iab/constants.js +2 -0
- package/lib/module/iab/constants.js.map +1 -1
- package/lib/module/iab/gpp/encoders/FixedIntegerEncoder.js +1 -1
- package/lib/module/iab/gpp/encoders/FixedIntegerEncoder.js.map +1 -1
- package/lib/module/iab/gpp/encoders/TraditionalBase64UrlEncoder.js.map +1 -1
- package/lib/module/iab/index.js +26 -0
- package/lib/module/iab/index.js.map +1 -0
- package/lib/module/iab/reducer.js +39 -0
- package/lib/module/iab/reducer.js.map +1 -0
- package/lib/module/iab/tcf/actions.js +63 -13
- package/lib/module/iab/tcf/actions.js.map +1 -1
- package/lib/module/iab/tcf/consent.js +47 -84
- package/lib/module/iab/tcf/consent.js.map +1 -1
- package/lib/module/iab/tcf/constants.js +5 -5
- package/lib/module/iab/tcf/constants.js.map +1 -1
- package/lib/module/iab/tcf/helpers.js +62 -0
- package/lib/module/iab/tcf/helpers.js.map +1 -0
- package/lib/module/iab/tcf/index.js +3 -3
- package/lib/module/iab/tcf/index.js.map +1 -1
- package/lib/module/iab/tcf/middleware.js +164 -0
- package/lib/module/iab/tcf/middleware.js.map +1 -0
- package/lib/module/iab/tcf/reducer.js +223 -40
- package/lib/module/iab/tcf/reducer.js.map +1 -1
- package/lib/module/iab/tcf/selectors.js +45 -57
- package/lib/module/iab/tcf/selectors.js.map +1 -1
- package/lib/module/iab/tcf/v2.0/encoders.js +0 -9
- package/lib/module/iab/tcf/v2.0/encoders.js.map +1 -1
- package/lib/module/iab/tcf/v2.0/formatters.js +5 -7
- package/lib/module/iab/tcf/v2.0/formatters.js.map +1 -1
- package/lib/module/iab/tcf/v2.0/index.js +18 -16
- package/lib/module/iab/tcf/v2.0/index.js.map +1 -1
- package/lib/module/iab/tcf/v2.0/shared-constants.js +17 -3
- package/lib/module/iab/tcf/v2.0/shared-constants.js.map +1 -1
- package/lib/module/iab/tcf/v2.0/tcfcav1-constants.js +2 -14
- package/lib/module/iab/tcf/v2.0/tcfcav1-constants.js.map +1 -1
- package/lib/module/iab/tcf/v2.0/tcfeuv2-constants.js +2 -13
- package/lib/module/iab/tcf/v2.0/tcfeuv2-constants.js.map +1 -1
- package/lib/module/index.js +77 -29
- package/lib/module/index.js.map +1 -1
- package/lib/module/{store.js → reducer.js} +76 -238
- package/lib/module/reducer.js.map +1 -0
- package/lib/module/selectors.js +60 -0
- package/lib/module/selectors.js.map +1 -0
- package/lib/module/services/consent.js +20 -4
- package/lib/module/services/consent.js.map +1 -1
- package/lib/module/styles.js +1 -1
- package/lib/module/styles.js.map +1 -1
- package/lib/module/utils/Translator.js +4 -2
- package/lib/module/utils/Translator.js.map +1 -1
- package/lib/module/utils/index.js +3 -16
- package/lib/module/utils/index.js.map +1 -1
- package/lib/module/utils/types.js +2 -0
- package/lib/module/utils/types.js.map +1 -0
- package/lib/module/views/Dialog/Buttons.js +1 -1
- package/lib/module/views/Dialog/Buttons.js.map +1 -1
- package/lib/module/views/Dialog/Message.js +1 -1
- package/lib/module/views/Dialog/Message.js.map +1 -1
- package/lib/module/views/Dialog/PreferenceManagementDeepLinks.js +4 -4
- package/lib/module/views/Dialog/PreferenceManagementDeepLinks.js.map +1 -1
- package/lib/module/views/Dialog/index.js +11 -5
- package/lib/module/views/Dialog/index.js.map +1 -1
- package/lib/module/views/Drawer/Drawer.ConsentCategories.js +41 -12
- package/lib/module/views/Drawer/Drawer.ConsentCategories.js.map +1 -1
- package/lib/module/views/Drawer/Drawer.Header.js +1 -0
- package/lib/module/views/Drawer/Drawer.Header.js.map +1 -1
- package/lib/module/views/Drawer/Drawer.Iab.Disclosures.js +24 -12
- package/lib/module/views/Drawer/Drawer.Iab.Disclosures.js.map +1 -1
- package/lib/module/views/Drawer/Drawer.Iab.Vendors.js +55 -31
- package/lib/module/views/Drawer/Drawer.Iab.Vendors.js.map +1 -1
- package/lib/module/views/Drawer/index.js +3 -1
- package/lib/module/views/Drawer/index.js.map +1 -1
- package/lib/typescript/babel.config.d.ts +2 -0
- package/lib/typescript/babel.config.d.ts.map +1 -0
- package/lib/typescript/documentation/babel.config.d.ts +2 -0
- package/lib/typescript/documentation/babel.config.d.ts.map +1 -0
- package/lib/typescript/documentation/docusaurus.config.d.ts +4 -0
- package/lib/typescript/documentation/docusaurus.config.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/ConsentManager.d.ts +190 -0
- package/lib/typescript/lib/commonjs/ConsentManager.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/ConsentUiBuilder.d.ts +3 -0
- package/lib/typescript/lib/commonjs/ConsentUiBuilder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/actions.d.ts +66 -0
- package/lib/typescript/lib/commonjs/actions.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/commands.d.ts +4 -0
- package/lib/typescript/lib/commonjs/commands.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Button.d.ts +11 -0
- package/lib/typescript/lib/commonjs/components/Button.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Checkbox.d.ts +4 -0
- package/lib/typescript/lib/commonjs/components/Checkbox.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Divider.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/Divider.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/ExpansionPanel.d.ts +8 -0
- package/lib/typescript/lib/commonjs/components/ExpansionPanel.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Link.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/Link.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/List.d.ts +3 -0
- package/lib/typescript/lib/commonjs/components/List.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Locale.d.ts +6 -0
- package/lib/typescript/lib/commonjs/components/Locale.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/StoragePolicyLink.d.ts +4 -0
- package/lib/typescript/lib/commonjs/components/StoragePolicyLink.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/components/Toggle.d.ts +4 -0
- package/lib/typescript/lib/commonjs/components/Toggle.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/constants.d.ts +20 -0
- package/lib/typescript/lib/commonjs/constants.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/context.d.ts +4 -0
- package/lib/typescript/lib/commonjs/context.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/flavors/index.d.ts +122 -0
- package/lib/typescript/lib/commonjs/flavors/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/hooks/useBoundCallback.d.ts +18 -0
- package/lib/typescript/lib/commonjs/hooks/useBoundCallback.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/hooks/useDeviceOrientation.d.ts +4 -0
- package/lib/typescript/lib/commonjs/hooks/useDeviceOrientation.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/hooks/usePrevious.d.ts +3 -0
- package/lib/typescript/lib/commonjs/hooks/usePrevious.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/hooks/useThunkReducer.d.ts +8 -0
- package/lib/typescript/lib/commonjs/hooks/useThunkReducer.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/actions.d.ts +10 -0
- package/lib/typescript/lib/commonjs/iab/actions.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/constants.d.ts +5 -0
- package/lib/typescript/lib/commonjs/iab/constants.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/api.d.ts +30 -0
- package/lib/typescript/lib/commonjs/iab/gpp/api.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/consent.d.ts +25 -0
- package/lib/typescript/lib/commonjs/iab/gpp/consent.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/constants.d.ts +26 -0
- package/lib/typescript/lib/commonjs/iab/gpp/constants.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts +9 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/BooleanEncoder.d.ts +32 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/BooleanEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/CompressedBase64UrlEncoder.d.ts +10 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/CompressedBase64UrlEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/DatetimeEncoder.d.ts +29 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/DatetimeEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/EncodableOptimizedFixedRange.d.ts +19 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/EncodableOptimizedFixedRange.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts +29 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts +29 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedBitfieldEncoder.d.ts +29 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedBitfieldEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIdBitMapEncoder.d.ts +7 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIdBitMapEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIntegerEncoder.d.ts +29 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIntegerEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIntegerListEncoder.d.ts +29 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIntegerListEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts +29 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedStringEncoder.d.ts +29 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/FixedStringEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts +10 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/errors.d.ts +17 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/errors.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/index.d.ts +16 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/types.d.ts +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/encoders/types.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/index.d.ts +9 -0
- package/lib/typescript/lib/commonjs/iab/gpp/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/reducer.d.ts +7 -0
- package/lib/typescript/lib/commonjs/iab/gpp/reducer.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/selectors.d.ts +7 -0
- package/lib/typescript/lib/commonjs/iab/gpp/selectors.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/types.d.ts +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/types.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/v1/constants.d.ts +13 -0
- package/lib/typescript/lib/commonjs/iab/gpp/v1/constants.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/gpp/v1/index.d.ts +14 -0
- package/lib/typescript/lib/commonjs/iab/gpp/v1/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/iab/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/reducer.d.ts +6 -0
- package/lib/typescript/lib/commonjs/iab/reducer.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/actions.d.ts +64 -0
- package/lib/typescript/lib/commonjs/iab/tcf/actions.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/consent.d.ts +59 -0
- package/lib/typescript/lib/commonjs/iab/tcf/consent.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/constants.d.ts +22 -0
- package/lib/typescript/lib/commonjs/iab/tcf/constants.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/helpers.d.ts +9 -0
- package/lib/typescript/lib/commonjs/iab/tcf/helpers.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/index.d.ts +4 -0
- package/lib/typescript/lib/commonjs/iab/tcf/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/middleware.d.ts +4 -0
- package/lib/typescript/lib/commonjs/iab/tcf/middleware.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/reducer.d.ts +22 -0
- package/lib/typescript/lib/commonjs/iab/tcf/reducer.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/selectors.d.ts +48 -0
- package/lib/typescript/lib/commonjs/iab/tcf/selectors.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/types.d.ts +2 -0
- package/lib/typescript/lib/commonjs/iab/tcf/types.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/v2.0/encoders.d.ts +14 -0
- package/lib/typescript/lib/commonjs/iab/tcf/v2.0/encoders.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/v2.0/formatters.d.ts +5 -0
- package/lib/typescript/lib/commonjs/iab/tcf/v2.0/formatters.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/v2.0/index.d.ts +191 -0
- package/lib/typescript/lib/commonjs/iab/tcf/v2.0/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/v2.0/shared-constants.d.ts +32 -0
- package/lib/typescript/lib/commonjs/iab/tcf/v2.0/shared-constants.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/v2.0/tcfcav1-constants.d.ts +43 -0
- package/lib/typescript/lib/commonjs/iab/tcf/v2.0/tcfcav1-constants.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/tcf/v2.0/tcfeuv2-constants.d.ts +48 -0
- package/lib/typescript/lib/commonjs/iab/tcf/v2.0/tcfeuv2-constants.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/types.d.ts +2 -0
- package/lib/typescript/lib/commonjs/iab/types.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/usp/api.d.ts +6 -0
- package/lib/typescript/lib/commonjs/iab/usp/api.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/usp/consent.d.ts +27 -0
- package/lib/typescript/lib/commonjs/iab/usp/consent.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/usp/constants.d.ts +109 -0
- package/lib/typescript/lib/commonjs/iab/usp/constants.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/usp/index.d.ts +9 -0
- package/lib/typescript/lib/commonjs/iab/usp/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/usp/reducer.d.ts +14 -0
- package/lib/typescript/lib/commonjs/iab/usp/reducer.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/usp/selectors.d.ts +10 -0
- package/lib/typescript/lib/commonjs/iab/usp/selectors.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/usp/types.d.ts +1 -0
- package/lib/typescript/lib/commonjs/iab/usp/types.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/usp/v1/constants.d.ts +13 -0
- package/lib/typescript/lib/commonjs/iab/usp/v1/constants.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/usp/v1/index.d.ts +12 -0
- package/lib/typescript/lib/commonjs/iab/usp/v1/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/iab/utilities.d.ts +3 -0
- package/lib/typescript/lib/commonjs/iab/utilities.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/index.d.ts +4 -0
- package/lib/typescript/lib/commonjs/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/locale/index.d.ts +62 -0
- package/lib/typescript/lib/commonjs/locale/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/native/OsanoCmp.d.ts +6 -0
- package/lib/typescript/lib/commonjs/native/OsanoCmp.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/reducer.d.ts +29 -0
- package/lib/typescript/lib/commonjs/reducer.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/selectors.d.ts +16 -0
- package/lib/typescript/lib/commonjs/selectors.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/services/consent.d.ts +6 -0
- package/lib/typescript/lib/commonjs/services/consent.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/services/disclosures.d.ts +3 -0
- package/lib/typescript/lib/commonjs/services/disclosures.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/services/locale.d.ts +4 -0
- package/lib/typescript/lib/commonjs/services/locale.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/styles.d.ts +141 -0
- package/lib/typescript/lib/commonjs/styles.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/types/consent-config.d.d.ts +2 -0
- package/lib/typescript/lib/commonjs/types/consent-config.d.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/types/env.d.d.ts +1 -0
- package/lib/typescript/lib/commonjs/types/env.d.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/types/index.d.d.ts +2 -0
- package/lib/typescript/lib/commonjs/types/index.d.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/types/store.d.d.ts +2 -0
- package/lib/typescript/lib/commonjs/types/store.d.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/utils/API.d.ts +7 -0
- package/lib/typescript/lib/commonjs/utils/API.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/utils/Color.d.ts +13 -0
- package/lib/typescript/lib/commonjs/utils/Color.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/utils/EventEmitter.d.ts +16 -0
- package/lib/typescript/lib/commonjs/utils/EventEmitter.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/utils/Translator.d.ts +54 -0
- package/lib/typescript/lib/commonjs/utils/Translator.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/utils/index.d.ts +6 -0
- package/lib/typescript/lib/commonjs/utils/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/utils/types.d.ts +1 -0
- package/lib/typescript/lib/commonjs/utils/types.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/views/Dialog/Buttons.d.ts +4 -0
- package/lib/typescript/lib/commonjs/views/Dialog/Buttons.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/views/Dialog/FirstLayerUsage.d.ts +4 -0
- package/lib/typescript/lib/commonjs/views/Dialog/FirstLayerUsage.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/views/Dialog/Message.d.ts +4 -0
- package/lib/typescript/lib/commonjs/views/Dialog/Message.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/views/Dialog/PreferenceManagementDeepLinks.d.ts +4 -0
- package/lib/typescript/lib/commonjs/views/Dialog/PreferenceManagementDeepLinks.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/views/Dialog/index.d.ts +4 -0
- package/lib/typescript/lib/commonjs/views/Dialog/index.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/views/Drawer/Drawer.ConsentCategories.d.ts +4 -0
- package/lib/typescript/lib/commonjs/views/Drawer/Drawer.ConsentCategories.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Header.d.ts +4 -0
- package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Header.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Iab.Disclosures.d.ts +4 -0
- package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Iab.Disclosures.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Iab.Vendors.d.ts +4 -0
- package/lib/typescript/lib/commonjs/views/Drawer/Drawer.Iab.Vendors.d.ts.map +1 -0
- package/lib/typescript/lib/commonjs/views/Drawer/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/views/Drawer/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/ConsentManager.d.ts +347 -0
- package/lib/typescript/lib/module/ConsentManager.d.ts.map +1 -0
- package/lib/typescript/lib/module/ConsentUiBuilder.d.ts +174 -0
- package/lib/typescript/lib/module/ConsentUiBuilder.d.ts.map +1 -0
- package/lib/typescript/lib/module/actions.d.ts +65 -0
- package/lib/typescript/lib/module/actions.d.ts.map +1 -0
- package/lib/typescript/lib/module/commands.d.ts +3 -0
- package/lib/typescript/lib/module/commands.d.ts.map +1 -0
- package/lib/typescript/lib/module/components/Button.d.ts +11 -0
- package/lib/typescript/lib/module/components/Button.d.ts.map +1 -0
- package/lib/typescript/lib/module/components/Checkbox.d.ts +4 -0
- package/lib/typescript/lib/module/components/Checkbox.d.ts.map +1 -0
- package/lib/typescript/lib/module/components/Divider.d.ts +4 -0
- package/lib/typescript/lib/module/components/Divider.d.ts.map +1 -0
- package/lib/typescript/lib/module/components/ExpansionPanel.d.ts +9 -0
- package/lib/typescript/lib/module/components/ExpansionPanel.d.ts.map +1 -0
- package/lib/typescript/lib/module/components/Link.d.ts +4 -0
- package/lib/typescript/lib/module/components/Link.d.ts.map +1 -0
- package/lib/typescript/lib/module/components/List.d.ts +4 -0
- package/lib/typescript/lib/module/components/List.d.ts.map +1 -0
- package/lib/typescript/lib/module/components/Locale.d.ts +5 -0
- package/lib/typescript/lib/module/components/Locale.d.ts.map +1 -0
- package/lib/typescript/lib/module/components/StoragePolicyLink.d.ts +4 -0
- package/lib/typescript/lib/module/components/StoragePolicyLink.d.ts.map +1 -0
- package/lib/typescript/lib/module/components/Toggle.d.ts +4 -0
- package/lib/typescript/lib/module/components/Toggle.d.ts.map +1 -0
- package/lib/typescript/lib/module/constants.d.ts +19 -0
- package/lib/typescript/lib/module/constants.d.ts.map +1 -0
- package/lib/typescript/lib/module/context.d.ts +185 -0
- package/lib/typescript/lib/module/context.d.ts.map +1 -0
- package/lib/typescript/lib/module/flavors/index.d.ts +17 -0
- package/lib/typescript/lib/module/flavors/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/hooks/useBoundCallback.d.ts +17 -0
- package/lib/typescript/lib/module/hooks/useBoundCallback.d.ts.map +1 -0
- package/lib/typescript/lib/module/hooks/useDeviceOrientation.d.ts +3 -0
- package/lib/typescript/lib/module/hooks/useDeviceOrientation.d.ts.map +1 -0
- package/lib/typescript/lib/module/hooks/usePrevious.d.ts +2 -0
- package/lib/typescript/lib/module/hooks/usePrevious.d.ts.map +1 -0
- package/lib/typescript/lib/module/hooks/useThunkReducer.d.ts +7 -0
- package/lib/typescript/lib/module/hooks/useThunkReducer.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/actions.d.ts +9 -0
- package/lib/typescript/lib/module/iab/actions.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/constants.d.ts +4 -0
- package/lib/typescript/lib/module/iab/constants.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/api.d.ts +28 -0
- package/lib/typescript/lib/module/iab/gpp/api.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/consent.d.ts +24 -0
- package/lib/typescript/lib/module/iab/gpp/consent.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/constants.d.ts +37 -0
- package/lib/typescript/lib/module/iab/gpp/constants.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts +8 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/BooleanEncoder.d.ts +8 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/BooleanEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/CompressedBase64UrlEncoder.d.ts +9 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/CompressedBase64UrlEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/DatetimeEncoder.d.ts +8 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/DatetimeEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/EncodableOptimizedFixedRange.d.ts +18 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/EncodableOptimizedFixedRange.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts +8 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FibonacciIntegerEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts +8 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FibonacciIntegerRangeEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FixedBitfieldEncoder.d.ts +8 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FixedBitfieldEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FixedIdBitMapEncoder.d.ts +6 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FixedIdBitMapEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FixedIntegerEncoder.d.ts +8 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FixedIntegerEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FixedIntegerListEncoder.d.ts +8 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FixedIntegerListEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts +8 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FixedIntegerRangeEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FixedStringEncoder.d.ts +8 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/FixedStringEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts +9 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/errors.d.ts +16 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/errors.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/index.d.ts +15 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/types.d.ts +1 -0
- package/lib/typescript/lib/module/iab/gpp/encoders/types.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/index.d.ts +10 -0
- package/lib/typescript/lib/module/iab/gpp/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/reducer.d.ts +6 -0
- package/lib/typescript/lib/module/iab/gpp/reducer.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/selectors.d.ts +6 -0
- package/lib/typescript/lib/module/iab/gpp/selectors.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/types.d.ts +1 -0
- package/lib/typescript/lib/module/iab/gpp/types.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/v1/constants.d.ts +9 -0
- package/lib/typescript/lib/module/iab/gpp/v1/constants.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/gpp/v1/index.d.ts +19 -0
- package/lib/typescript/lib/module/iab/gpp/v1/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/index.d.ts +2 -0
- package/lib/typescript/lib/module/iab/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/reducer.d.ts +5 -0
- package/lib/typescript/lib/module/iab/reducer.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/actions.d.ts +63 -0
- package/lib/typescript/lib/module/iab/tcf/actions.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/consent.d.ts +58 -0
- package/lib/typescript/lib/module/iab/tcf/consent.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/constants.d.ts +21 -0
- package/lib/typescript/lib/module/iab/tcf/constants.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/helpers.d.ts +8 -0
- package/lib/typescript/lib/module/iab/tcf/helpers.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/index.d.ts +303 -0
- package/lib/typescript/lib/module/iab/tcf/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/middleware.d.ts +3 -0
- package/lib/typescript/lib/module/iab/tcf/middleware.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/reducer.d.ts +20 -0
- package/lib/typescript/lib/module/iab/tcf/reducer.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/selectors.d.ts +47 -0
- package/lib/typescript/lib/module/iab/tcf/selectors.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/types.d.ts +2 -0
- package/lib/typescript/lib/module/iab/tcf/types.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/v2.0/encoders.d.ts +13 -0
- package/lib/typescript/lib/module/iab/tcf/v2.0/encoders.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/v2.0/formatters.d.ts +4 -0
- package/lib/typescript/lib/module/iab/tcf/v2.0/formatters.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/v2.0/index.d.ts +308 -0
- package/lib/typescript/lib/module/iab/tcf/v2.0/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/v2.0/shared-constants.d.ts +80 -0
- package/lib/typescript/lib/module/iab/tcf/v2.0/shared-constants.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/v2.0/tcfcav1-constants.d.ts +104 -0
- package/lib/typescript/lib/module/iab/tcf/v2.0/tcfcav1-constants.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/tcf/v2.0/tcfeuv2-constants.d.ts +103 -0
- package/lib/typescript/lib/module/iab/tcf/v2.0/tcfeuv2-constants.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/types.d.ts +2 -0
- package/lib/typescript/lib/module/iab/types.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/usp/api.d.ts +4 -0
- package/lib/typescript/lib/module/iab/usp/api.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/usp/consent.d.ts +13 -0
- package/lib/typescript/lib/module/iab/usp/consent.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/usp/constants.d.ts +77 -0
- package/lib/typescript/lib/module/iab/usp/constants.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/usp/index.d.ts +10 -0
- package/lib/typescript/lib/module/iab/usp/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/usp/reducer.d.ts +13 -0
- package/lib/typescript/lib/module/iab/usp/reducer.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/usp/selectors.d.ts +9 -0
- package/lib/typescript/lib/module/iab/usp/selectors.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/usp/types.d.ts +1 -0
- package/lib/typescript/lib/module/iab/usp/types.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/usp/v1/constants.d.ts +9 -0
- package/lib/typescript/lib/module/iab/usp/v1/constants.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/usp/v1/index.d.ts +16 -0
- package/lib/typescript/lib/module/iab/usp/v1/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/iab/utilities.d.ts +2 -0
- package/lib/typescript/lib/module/iab/utilities.d.ts.map +1 -0
- package/lib/typescript/lib/module/index.d.ts +4 -0
- package/lib/typescript/lib/module/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/locale/index.d.ts +61 -0
- package/lib/typescript/lib/module/locale/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/native/OsanoCmp.d.ts +5 -0
- package/lib/typescript/lib/module/native/OsanoCmp.d.ts.map +1 -0
- package/lib/typescript/lib/module/reducer.d.ts +28 -0
- package/lib/typescript/lib/module/reducer.d.ts.map +1 -0
- package/lib/typescript/lib/module/selectors.d.ts +15 -0
- package/lib/typescript/lib/module/selectors.d.ts.map +1 -0
- package/lib/typescript/lib/module/services/consent.d.ts +5 -0
- package/lib/typescript/lib/module/services/consent.d.ts.map +1 -0
- package/lib/typescript/lib/module/services/disclosures.d.ts +2 -0
- package/lib/typescript/lib/module/services/disclosures.d.ts.map +1 -0
- package/lib/typescript/lib/module/services/locale.d.ts +3 -0
- package/lib/typescript/lib/module/services/locale.d.ts.map +1 -0
- package/lib/typescript/lib/module/styles.d.ts +140 -0
- package/lib/typescript/lib/module/styles.d.ts.map +1 -0
- package/lib/typescript/lib/module/types/consent-config.d.d.ts +2 -0
- package/lib/typescript/lib/module/types/consent-config.d.d.ts.map +1 -0
- package/lib/typescript/lib/module/types/env.d.d.ts +1 -0
- package/lib/typescript/lib/module/types/env.d.d.ts.map +1 -0
- package/lib/typescript/lib/module/types/index.d.d.ts +2 -0
- package/lib/typescript/lib/module/types/index.d.d.ts.map +1 -0
- package/lib/typescript/lib/module/types/store.d.d.ts +2 -0
- package/lib/typescript/lib/module/types/store.d.d.ts.map +1 -0
- package/lib/typescript/lib/module/utils/API.d.ts +6 -0
- package/lib/typescript/lib/module/utils/API.d.ts.map +1 -0
- package/lib/typescript/lib/module/utils/Color.d.ts +12 -0
- package/lib/typescript/lib/module/utils/Color.d.ts.map +1 -0
- package/lib/typescript/lib/module/utils/EventEmitter.d.ts +15 -0
- package/lib/typescript/lib/module/utils/EventEmitter.d.ts.map +1 -0
- package/lib/typescript/lib/module/utils/Translator.d.ts +52 -0
- package/lib/typescript/lib/module/utils/Translator.d.ts.map +1 -0
- package/lib/typescript/lib/module/utils/index.d.ts +5 -0
- package/lib/typescript/lib/module/utils/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/utils/types.d.ts +1 -0
- package/lib/typescript/lib/module/utils/types.d.ts.map +1 -0
- package/lib/typescript/lib/module/views/Dialog/Buttons.d.ts +5 -0
- package/lib/typescript/lib/module/views/Dialog/Buttons.d.ts.map +1 -0
- package/lib/typescript/lib/module/views/Dialog/FirstLayerUsage.d.ts +5 -0
- package/lib/typescript/lib/module/views/Dialog/FirstLayerUsage.d.ts.map +1 -0
- package/lib/typescript/lib/module/views/Dialog/Message.d.ts +4 -0
- package/lib/typescript/lib/module/views/Dialog/Message.d.ts.map +1 -0
- package/lib/typescript/lib/module/views/Dialog/PreferenceManagementDeepLinks.d.ts +6 -0
- package/lib/typescript/lib/module/views/Dialog/PreferenceManagementDeepLinks.d.ts.map +1 -0
- package/lib/typescript/lib/module/views/Dialog/index.d.ts +5 -0
- package/lib/typescript/lib/module/views/Dialog/index.d.ts.map +1 -0
- package/lib/typescript/lib/module/views/Drawer/Drawer.ConsentCategories.d.ts +5 -0
- package/lib/typescript/lib/module/views/Drawer/Drawer.ConsentCategories.d.ts.map +1 -0
- package/lib/typescript/lib/module/views/Drawer/Drawer.Header.d.ts +5 -0
- package/lib/typescript/lib/module/views/Drawer/Drawer.Header.d.ts.map +1 -0
- package/lib/typescript/lib/module/views/Drawer/Drawer.Iab.Disclosures.d.ts +5 -0
- package/lib/typescript/lib/module/views/Drawer/Drawer.Iab.Disclosures.d.ts.map +1 -0
- package/lib/typescript/lib/module/views/Drawer/Drawer.Iab.Vendors.d.ts +5 -0
- package/lib/typescript/lib/module/views/Drawer/Drawer.Iab.Vendors.d.ts.map +1 -0
- package/lib/typescript/lib/module/views/Drawer/index.d.ts +4 -0
- package/lib/typescript/lib/module/views/Drawer/index.d.ts.map +1 -0
- package/lib/typescript/scripts/updateLocalization.d.ts +2 -0
- package/lib/typescript/scripts/updateLocalization.d.ts.map +1 -0
- package/lib/typescript/src/ConsentManager.d.ts +31 -16
- 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/actions.d.ts +42 -0
- package/lib/typescript/src/actions.d.ts.map +1 -0
- package/lib/typescript/src/commands.d.ts +14 -0
- package/lib/typescript/src/commands.d.ts.map +1 -0
- 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/Locale.d.ts +1 -0
- package/lib/typescript/src/components/Locale.d.ts.map +1 -1
- package/lib/typescript/src/context.d.ts +3 -3
- package/lib/typescript/src/context.d.ts.map +1 -1
- package/lib/typescript/src/flavors/index.d.ts +1 -1
- package/lib/typescript/src/hooks/usePrevious.d.ts +1 -1
- package/lib/typescript/src/hooks/usePrevious.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useThunkReducer.d.ts +6 -8
- package/lib/typescript/src/hooks/useThunkReducer.d.ts.map +1 -1
- package/lib/typescript/src/iab/actions.d.ts +7 -0
- package/lib/typescript/src/iab/actions.d.ts.map +1 -0
- package/lib/typescript/src/iab/constants.d.ts +2 -0
- package/lib/typescript/src/iab/constants.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/api.d.ts +28 -0
- package/lib/typescript/src/iab/gpp/api.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/consent.d.ts +24 -0
- package/lib/typescript/src/iab/gpp/consent.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/constants.d.ts +37 -0
- package/lib/typescript/src/iab/gpp/constants.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/encoders/AbstractBase64UrlEncoder.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/encoders/BooleanEncoder.d.ts +2 -2
- package/lib/typescript/src/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts +4 -2
- package/lib/typescript/src/iab/gpp/encoders/TraditionalBase64UrlEncoder.d.ts.map +1 -1
- package/lib/typescript/src/iab/gpp/index.d.ts +10 -0
- package/lib/typescript/src/iab/gpp/index.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/reducer.d.ts +6 -0
- package/lib/typescript/src/iab/gpp/reducer.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/selectors.d.ts +6 -0
- package/lib/typescript/src/iab/gpp/selectors.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/v1/constants.d.ts +9 -0
- package/lib/typescript/src/iab/gpp/v1/constants.d.ts.map +1 -0
- package/lib/typescript/src/iab/gpp/v1/index.d.ts +19 -0
- package/lib/typescript/src/iab/gpp/v1/index.d.ts.map +1 -0
- package/lib/typescript/src/iab/index.d.ts +5 -0
- package/lib/typescript/src/iab/index.d.ts.map +1 -0
- package/lib/typescript/src/iab/reducer.d.ts +6 -0
- package/lib/typescript/src/iab/reducer.d.ts.map +1 -0
- package/lib/typescript/src/iab/tcf/actions.d.ts +35 -0
- package/lib/typescript/src/iab/tcf/actions.d.ts.map +1 -0
- package/lib/typescript/src/iab/tcf/consent.d.ts +25 -0
- package/lib/typescript/src/iab/tcf/consent.d.ts.map +1 -0
- package/lib/typescript/src/iab/tcf/constants.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/helpers.d.ts +15 -0
- package/lib/typescript/src/iab/tcf/helpers.d.ts.map +1 -0
- package/lib/typescript/src/iab/tcf/index.d.ts +8 -0
- package/lib/typescript/src/iab/tcf/index.d.ts.map +1 -0
- package/lib/typescript/src/iab/tcf/middleware.d.ts +4 -0
- package/lib/typescript/src/iab/tcf/middleware.d.ts.map +1 -0
- package/lib/typescript/src/iab/tcf/reducer.d.ts +59 -0
- package/lib/typescript/src/iab/tcf/reducer.d.ts.map +1 -0
- package/lib/typescript/src/iab/tcf/selectors.d.ts +52 -0
- package/lib/typescript/src/iab/tcf/selectors.d.ts.map +1 -0
- package/lib/typescript/src/iab/tcf/types.d.ts +82 -4
- package/lib/typescript/src/iab/tcf/types.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/v2.0/encoders.d.ts +35 -6
- package/lib/typescript/src/iab/tcf/v2.0/encoders.d.ts.map +1 -1
- package/lib/typescript/src/iab/tcf/v2.0/formatters.d.ts +4 -0
- package/lib/typescript/src/iab/tcf/v2.0/formatters.d.ts.map +1 -0
- package/lib/typescript/src/iab/tcf/v2.0/index.d.ts +7 -0
- package/lib/typescript/src/iab/tcf/v2.0/index.d.ts.map +1 -0
- package/lib/typescript/src/iab/tcf/v2.0/shared-constants.d.ts +60 -0
- package/lib/typescript/src/iab/tcf/v2.0/shared-constants.d.ts.map +1 -0
- package/lib/typescript/src/iab/tcf/v2.0/tcfcav1-constants.d.ts +77 -0
- package/lib/typescript/src/iab/tcf/v2.0/tcfcav1-constants.d.ts.map +1 -0
- package/lib/typescript/src/iab/tcf/v2.0/tcfeuv2-constants.d.ts +82 -0
- package/lib/typescript/src/iab/tcf/v2.0/tcfeuv2-constants.d.ts.map +1 -0
- package/lib/typescript/src/iab/types.d.ts +14 -5
- package/lib/typescript/src/iab/types.d.ts.map +1 -1
- package/lib/typescript/src/iab/usp/api.d.ts +4 -0
- package/lib/typescript/src/iab/usp/api.d.ts.map +1 -0
- package/lib/typescript/src/iab/usp/consent.d.ts +13 -0
- package/lib/typescript/src/iab/usp/consent.d.ts.map +1 -0
- package/lib/typescript/src/iab/usp/constants.d.ts +77 -0
- package/lib/typescript/src/iab/usp/constants.d.ts.map +1 -0
- package/lib/typescript/src/iab/usp/index.d.ts +10 -0
- package/lib/typescript/src/iab/usp/index.d.ts.map +1 -0
- package/lib/typescript/src/iab/usp/reducer.d.ts +13 -0
- package/lib/typescript/src/iab/usp/reducer.d.ts.map +1 -0
- package/lib/typescript/src/iab/usp/selectors.d.ts +9 -0
- package/lib/typescript/src/iab/usp/selectors.d.ts.map +1 -0
- package/lib/typescript/src/iab/usp/v1/constants.d.ts +9 -0
- package/lib/typescript/src/iab/usp/v1/constants.d.ts.map +1 -0
- package/lib/typescript/src/iab/usp/v1/index.d.ts +16 -0
- package/lib/typescript/src/iab/usp/v1/index.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/locale/index.d.ts +61 -0
- package/lib/typescript/src/locale/index.d.ts.map +1 -0
- package/lib/typescript/src/reducer.d.ts +7 -0
- package/lib/typescript/src/reducer.d.ts.map +1 -0
- package/lib/typescript/src/selectors.d.ts +19 -0
- package/lib/typescript/src/selectors.d.ts.map +1 -0
- package/lib/typescript/src/services/consent.d.ts.map +1 -1
- package/lib/typescript/src/styles.d.ts +2 -2
- package/lib/typescript/src/styles.d.ts.map +1 -1
- package/lib/typescript/src/utils/Translator.d.ts +1 -1
- package/lib/typescript/src/utils/Translator.d.ts.map +1 -1
- package/lib/typescript/src/utils/index.d.ts +2 -1
- package/lib/typescript/src/utils/index.d.ts.map +1 -1
- package/lib/typescript/src/utils/types.d.ts +5 -0
- package/lib/typescript/src/utils/types.d.ts.map +1 -0
- package/lib/typescript/src/views/Dialog/PreferenceManagementDeepLinks.d.ts.map +1 -1
- package/lib/typescript/src/views/Dialog/index.d.ts.map +1 -1
- package/lib/typescript/src/views/Drawer/Drawer.ConsentCategories.d.ts.map +1 -1
- package/lib/typescript/src/views/Drawer/Drawer.Header.d.ts.map +1 -1
- package/lib/typescript/src/views/Drawer/Drawer.Iab.Disclosures.d.ts.map +1 -1
- package/lib/typescript/src/views/Drawer/Drawer.Iab.Vendors.d.ts.map +1 -1
- package/package.json +18 -38
- package/src/ConsentManager.ts +325 -120
- package/src/ConsentUiBuilder.tsx +2 -2
- package/src/actions.ts +80 -0
- package/src/commands.ts +96 -0
- package/src/components/Button.tsx +34 -27
- package/src/components/Locale.tsx +30 -16
- package/src/context.ts +12 -12
- package/src/flavors/index.ts +1 -1
- package/src/hooks/usePrevious.ts +1 -1
- package/src/hooks/useThunkReducer.ts +86 -54
- package/src/iab/actions.ts +19 -0
- package/src/iab/constants.ts +2 -0
- package/src/iab/gpp/encoders/FixedIntegerEncoder.ts +1 -1
- package/src/iab/gpp/encoders/TraditionalBase64UrlEncoder.ts +1 -2
- package/src/iab/index.ts +34 -0
- package/src/iab/reducer.ts +38 -0
- package/src/iab/tcf/actions.ts +116 -0
- package/src/iab/tcf/{consent.js → consent.ts} +143 -164
- package/src/iab/tcf/constants.ts +6 -6
- package/src/iab/tcf/helpers.ts +95 -0
- package/src/iab/tcf/index.ts +8 -0
- package/src/iab/tcf/middleware.ts +217 -0
- package/src/iab/tcf/reducer.ts +250 -0
- package/src/iab/tcf/selectors.ts +192 -0
- package/src/iab/tcf/types.ts +108 -4
- package/src/iab/tcf/v2.0/encoders.ts +7 -16
- package/src/iab/tcf/v2.0/formatters.ts +18 -0
- package/src/iab/tcf/v2.0/index.ts +40 -0
- package/src/iab/tcf/v2.0/shared-constants.ts +53 -0
- package/src/iab/tcf/v2.0/{tcfcav1-constants.js → tcfcav1-constants.ts} +4 -15
- package/src/iab/tcf/v2.0/{tcfeuv2-constants.js → tcfeuv2-constants.ts} +4 -14
- package/src/iab/types.ts +21 -5
- package/src/index.tsx +184 -99
- package/src/reducer.ts +416 -0
- package/src/selectors.ts +109 -0
- package/src/services/consent.ts +35 -12
- package/src/styles.ts +3 -5
- package/src/types/consent-config.d.ts +16 -12
- package/src/types/index.d.ts +21 -5
- package/src/types/store.d.ts +14 -4
- package/src/utils/Translator.ts +47 -43
- package/src/utils/index.ts +23 -27
- package/src/utils/types.ts +35 -0
- package/src/views/Dialog/Buttons.tsx +2 -2
- package/src/views/Dialog/Message.tsx +1 -1
- package/src/views/Dialog/PreferenceManagementDeepLinks.tsx +7 -5
- package/src/views/Dialog/index.tsx +22 -38
- package/src/views/Drawer/Drawer.ConsentCategories.tsx +84 -41
- package/src/views/Drawer/Drawer.Header.tsx +3 -2
- package/src/views/Drawer/Drawer.Iab.Disclosures.tsx +71 -41
- package/src/views/Drawer/Drawer.Iab.Vendors.tsx +78 -37
- package/src/views/Drawer/index.tsx +8 -8
- package/lib/commonjs/iab/tcf/tcfcav1-api.js +0 -41
- package/lib/commonjs/iab/tcf/tcfcav1-api.js.map +0 -1
- package/lib/commonjs/iab/tcf/tcfeuv2-api.js +0 -256
- package/lib/commonjs/iab/tcf/tcfeuv2-api.js.map +0 -1
- package/lib/commonjs/iab/tcf/v2.0/helpers.js +0 -25
- package/lib/commonjs/iab/tcf/v2.0/helpers.js.map +0 -1
- package/lib/commonjs/iab/tcf/v2.0/middleware.js +0 -80
- package/lib/commonjs/iab/tcf/v2.0/middleware.js.map +0 -1
- package/lib/commonjs/iab/tcf/v2.0/reducer.js +0 -318
- package/lib/commonjs/iab/tcf/v2.0/reducer.js.map +0 -1
- package/lib/commonjs/store.js +0 -558
- package/lib/commonjs/store.js.map +0 -1
- package/lib/module/iab/tcf/tcfcav1-api.js +0 -35
- package/lib/module/iab/tcf/tcfcav1-api.js.map +0 -1
- package/lib/module/iab/tcf/tcfeuv2-api.js +0 -251
- package/lib/module/iab/tcf/tcfeuv2-api.js.map +0 -1
- package/lib/module/iab/tcf/v2.0/helpers.js +0 -18
- package/lib/module/iab/tcf/v2.0/helpers.js.map +0 -1
- package/lib/module/iab/tcf/v2.0/middleware.js +0 -74
- package/lib/module/iab/tcf/v2.0/middleware.js.map +0 -1
- package/lib/module/iab/tcf/v2.0/reducer.js +0 -311
- package/lib/module/iab/tcf/v2.0/reducer.js.map +0 -1
- package/lib/module/store.js.map +0 -1
- package/lib/typescript/src/iab/tcf/v2.0/helpers.d.ts +0 -5
- package/lib/typescript/src/iab/tcf/v2.0/helpers.d.ts.map +0 -1
- package/lib/typescript/src/store.d.ts +0 -55
- package/lib/typescript/src/store.d.ts.map +0 -1
- package/src/iab/tcf/actions.js +0 -52
- package/src/iab/tcf/index.js +0 -7
- package/src/iab/tcf/reducer.js +0 -59
- package/src/iab/tcf/selectors.js +0 -151
- package/src/iab/tcf/tcfcav1-api.js +0 -39
- package/src/iab/tcf/tcfeuv2-api.js +0 -264
- package/src/iab/tcf/v2.0/formatters.js +0 -14
- package/src/iab/tcf/v2.0/helpers.ts +0 -23
- package/src/iab/tcf/v2.0/index.js +0 -36
- package/src/iab/tcf/v2.0/middleware.js +0 -72
- package/src/iab/tcf/v2.0/reducer.js +0 -327
- package/src/iab/tcf/v2.0/shared-constants.js +0 -17
- package/src/store.ts +0 -602
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
export { tcfeuv2 };
|
|
3
|
+
export { tcfcav1 };
|
|
4
|
+
}
|
|
5
|
+
export default _default;
|
|
6
|
+
/**
|
|
7
|
+
* TCF-Canada v1 is nearly identical to TCF-EU v2, just with a few fields left
|
|
8
|
+
* out and some renamed. As such, it makes use of the same state data as
|
|
9
|
+
* tcfeuv2, so there is an implicit dependency on tcfeuv2's reducer.
|
|
10
|
+
*/
|
|
11
|
+
declare const tcfeuv2: {
|
|
12
|
+
middleware: (store: any) => (next: any) => (action: any) => any;
|
|
13
|
+
reducer: (state: any, action: any) => any;
|
|
14
|
+
consentFromOptions: (config: any, state: any) => {
|
|
15
|
+
cmpLoaded: boolean;
|
|
16
|
+
cmpStatus: string;
|
|
17
|
+
eventStatus: string;
|
|
18
|
+
currentScreen: number;
|
|
19
|
+
displayStatus: string;
|
|
20
|
+
cmpId: any;
|
|
21
|
+
cmpVersion: any;
|
|
22
|
+
gvlVersion: any;
|
|
23
|
+
consentLanguage: any;
|
|
24
|
+
publisherCC: any;
|
|
25
|
+
tcfPolicyVersion: any;
|
|
26
|
+
gdprApplies: any;
|
|
27
|
+
vendor: {
|
|
28
|
+
consents: {};
|
|
29
|
+
legitimateInterests: {};
|
|
30
|
+
};
|
|
31
|
+
specialFeatureOptins: any;
|
|
32
|
+
purpose: {
|
|
33
|
+
consents: {};
|
|
34
|
+
legitimateInterests: Record<string, boolean>;
|
|
35
|
+
};
|
|
36
|
+
isServiceSpecific: boolean;
|
|
37
|
+
useNonStandardStacks: boolean;
|
|
38
|
+
purposeOneTreatment: boolean;
|
|
39
|
+
version: any;
|
|
40
|
+
};
|
|
41
|
+
formatConsentString: (config: any, state: any) => string;
|
|
42
|
+
parseConsentString: (tcString: any) => {
|
|
43
|
+
cmpId: any;
|
|
44
|
+
cmpVersion: any;
|
|
45
|
+
tcfPolicyVersion: number;
|
|
46
|
+
consentLanguage: string;
|
|
47
|
+
cmpLoaded: boolean;
|
|
48
|
+
cmpStatus: string;
|
|
49
|
+
eventStatus: string;
|
|
50
|
+
isServiceSpecific: boolean;
|
|
51
|
+
useNonStandardStacks: boolean;
|
|
52
|
+
purposeOneTreatment: boolean;
|
|
53
|
+
};
|
|
54
|
+
readFromStorage: (storage: any) => {
|
|
55
|
+
tcf: {
|
|
56
|
+
[x: string]: any;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
coreFieldSequence: (string | number | {
|
|
60
|
+
decode: (bitString: any, numBits: any) => {
|
|
61
|
+
bitLength: any;
|
|
62
|
+
value: any;
|
|
63
|
+
};
|
|
64
|
+
encode: any;
|
|
65
|
+
})[][];
|
|
66
|
+
gppSection: string;
|
|
67
|
+
tcString: string;
|
|
68
|
+
staticFields: {
|
|
69
|
+
version: number;
|
|
70
|
+
cmpId: number;
|
|
71
|
+
cmpVersion: number;
|
|
72
|
+
tcfPolicyVersion: number;
|
|
73
|
+
useNonStandardStacks: boolean;
|
|
74
|
+
isServiceSpecific: boolean;
|
|
75
|
+
purposeOneTreatment: boolean;
|
|
76
|
+
numPubRestrictions: number;
|
|
77
|
+
};
|
|
78
|
+
dynamicFields: {
|
|
79
|
+
created: ({ defaultTimestamp }: {
|
|
80
|
+
defaultTimestamp?: number | undefined;
|
|
81
|
+
}, state: any) => number;
|
|
82
|
+
lastUpdated: ({ defaultTimestamp }: {
|
|
83
|
+
defaultTimestamp?: number | undefined;
|
|
84
|
+
}, state: any) => number;
|
|
85
|
+
};
|
|
86
|
+
encoder: {
|
|
87
|
+
decode: (str: any) => string;
|
|
88
|
+
encode: (bitString: any) => string;
|
|
89
|
+
};
|
|
90
|
+
storageKey: string;
|
|
91
|
+
version: string;
|
|
92
|
+
cmpId: number;
|
|
93
|
+
cmpVersion: number;
|
|
94
|
+
fallbackGvlVersion: number;
|
|
95
|
+
defaultTimestamp: number;
|
|
96
|
+
selectors: {
|
|
97
|
+
doesGDPRApply: (config: any, apiVersion: any) => boolean;
|
|
98
|
+
getStore: (config: any) => any;
|
|
99
|
+
isIABEnabled: (config: any) => any;
|
|
100
|
+
getConfigData: (config: any, apiVersion?: string) => any;
|
|
101
|
+
getStateData: (state: any, apiVersion: any) => any;
|
|
102
|
+
getCurrentScreen: (state: any) => number;
|
|
103
|
+
getConsentString: (state: any, { gppSection, tcString }?: {
|
|
104
|
+
gppSection: any;
|
|
105
|
+
tcString?: string | undefined;
|
|
106
|
+
}) => any;
|
|
107
|
+
getPublisherLegitimateInterests: () => {};
|
|
108
|
+
getPurposeIds: () => number[];
|
|
109
|
+
getPurposeOptOuts: (state: any, apiVersion: any) => any;
|
|
110
|
+
getPurposeConsents: (state: any, apiVersion: any) => {};
|
|
111
|
+
getPurposesLITransparency: (state: any, apiVersion: any) => Record<string, boolean>;
|
|
112
|
+
getSpecialFeatureOptIns: (state: any, apiVersion: any) => any;
|
|
113
|
+
getVendors: (config: any, apiVersion: any) => any;
|
|
114
|
+
getVendorData: (state: any, { apiVersion, vendorId }: {
|
|
115
|
+
apiVersion: any;
|
|
116
|
+
vendorId: any;
|
|
117
|
+
}) => any;
|
|
118
|
+
getVendorIds: (config: any, apiVersion: any) => number[];
|
|
119
|
+
getVendorOptOuts: (state: any, apiVersion: any) => any;
|
|
120
|
+
getVendorListError: (state: any, apiVersion: any) => any;
|
|
121
|
+
getVendorListVersion: (config: any, apiVersion: any) => any;
|
|
122
|
+
hasActed: (state: any, gppSection: any) => boolean;
|
|
123
|
+
hasConsentedToSpecialFeature: (state: any, { apiVersion, specialFeatureId }: {
|
|
124
|
+
apiVersion: any;
|
|
125
|
+
specialFeatureId: any;
|
|
126
|
+
}) => boolean;
|
|
127
|
+
hasOptedOutOfVendor: (state: any, { apiVersion, vendorId }: {
|
|
128
|
+
apiVersion: any;
|
|
129
|
+
vendorId: any;
|
|
130
|
+
}) => boolean;
|
|
131
|
+
hasOptedOutOfPurpose: (state: any, { apiVersion, purposeId }: {
|
|
132
|
+
apiVersion: any;
|
|
133
|
+
purposeId: any;
|
|
134
|
+
}) => boolean;
|
|
135
|
+
isTcfApplicable: (state: any) => boolean;
|
|
136
|
+
isVendorListLoaded: (state: any, apiVersion: any) => boolean;
|
|
137
|
+
isVendorListLoading: (state: any, apiVersion: any) => boolean;
|
|
138
|
+
getCountryCode: (config: any) => string | null;
|
|
139
|
+
getSavedConsent: (state: any) => any;
|
|
140
|
+
isSaved: (state: any) => boolean;
|
|
141
|
+
getFinalOptOutValue: (state: any, pendingNewValue: any) => any;
|
|
142
|
+
getConsent: (state: any) => any;
|
|
143
|
+
};
|
|
144
|
+
createConsentPayload(state: any): {
|
|
145
|
+
v2: {
|
|
146
|
+
purposeOptouts: {
|
|
147
|
+
[k: string]: any;
|
|
148
|
+
};
|
|
149
|
+
specialFeatureOptins: {
|
|
150
|
+
[k: string]: any;
|
|
151
|
+
};
|
|
152
|
+
vendorOptouts: {
|
|
153
|
+
[k: string]: any;
|
|
154
|
+
};
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
declare const tcfcav1: {
|
|
159
|
+
middleware: (store: any) => (next: any) => (action: any) => any;
|
|
160
|
+
reducer: (state: any, action: any) => any;
|
|
161
|
+
consentFromOptions: (config: any, state: any) => {
|
|
162
|
+
cmpLoaded: boolean;
|
|
163
|
+
cmpStatus: string;
|
|
164
|
+
eventStatus: string;
|
|
165
|
+
currentScreen: number;
|
|
166
|
+
displayStatus: string;
|
|
167
|
+
cmpId: any;
|
|
168
|
+
cmpVersion: any;
|
|
169
|
+
gvlVersion: any;
|
|
170
|
+
consentLanguage: any;
|
|
171
|
+
publisherCC: any;
|
|
172
|
+
tcfPolicyVersion: any;
|
|
173
|
+
gdprApplies: any;
|
|
174
|
+
vendor: {
|
|
175
|
+
consents: {};
|
|
176
|
+
legitimateInterests: {};
|
|
177
|
+
};
|
|
178
|
+
specialFeatureOptins: any;
|
|
179
|
+
purpose: {
|
|
180
|
+
consents: {};
|
|
181
|
+
legitimateInterests: Record<string, boolean>;
|
|
182
|
+
};
|
|
183
|
+
isServiceSpecific: boolean;
|
|
184
|
+
useNonStandardStacks: boolean;
|
|
185
|
+
purposeOneTreatment: boolean;
|
|
186
|
+
version: any;
|
|
187
|
+
};
|
|
188
|
+
formatConsentString: (config: any, state: any) => string;
|
|
189
|
+
parseConsentString: (tcString: any) => {
|
|
190
|
+
cmpId: any;
|
|
191
|
+
cmpVersion: any;
|
|
192
|
+
tcfPolicyVersion: number;
|
|
193
|
+
consentLanguage: string;
|
|
194
|
+
cmpLoaded: boolean;
|
|
195
|
+
cmpStatus: string;
|
|
196
|
+
eventStatus: string;
|
|
197
|
+
isServiceSpecific: boolean;
|
|
198
|
+
useNonStandardStacks: boolean;
|
|
199
|
+
purposeOneTreatment: boolean;
|
|
200
|
+
};
|
|
201
|
+
readFromStorage: (storage: any) => {
|
|
202
|
+
tcf: {
|
|
203
|
+
[x: string]: any;
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
coreFieldSequence: ((string | number | ((deciseconds: any) => Date) | {
|
|
207
|
+
decode: (bitString: any, numBits: any) => {
|
|
208
|
+
bitLength: any;
|
|
209
|
+
value: any;
|
|
210
|
+
};
|
|
211
|
+
encode: any;
|
|
212
|
+
})[] | (string | number | ((idValueMap: any, length: any) => any[]) | {
|
|
213
|
+
decode: (bitString: any, numBits: any) => {
|
|
214
|
+
bitLength: any;
|
|
215
|
+
value: any;
|
|
216
|
+
};
|
|
217
|
+
encode: any;
|
|
218
|
+
})[])[];
|
|
219
|
+
gppSection: string;
|
|
220
|
+
tcString: string;
|
|
221
|
+
staticFields: {
|
|
222
|
+
version: number;
|
|
223
|
+
cmpId: number;
|
|
224
|
+
cmpVersion: number;
|
|
225
|
+
tcfPolicyVersion: number;
|
|
226
|
+
useNonStandardStacks: boolean;
|
|
227
|
+
};
|
|
228
|
+
dynamicFields: {
|
|
229
|
+
created: ({ defaultTimestamp }: {
|
|
230
|
+
defaultTimestamp?: number | undefined;
|
|
231
|
+
}, state: any) => number;
|
|
232
|
+
lastUpdated: ({ defaultTimestamp }: {
|
|
233
|
+
defaultTimestamp?: number | undefined;
|
|
234
|
+
}, state: any) => number;
|
|
235
|
+
};
|
|
236
|
+
encoder: {
|
|
237
|
+
decode: (str: any) => string;
|
|
238
|
+
encode: (bitString: any) => string;
|
|
239
|
+
};
|
|
240
|
+
storageKey: string;
|
|
241
|
+
version: string;
|
|
242
|
+
cmpId: number;
|
|
243
|
+
cmpVersion: number;
|
|
244
|
+
fallbackGvlVersion: number;
|
|
245
|
+
defaultTimestamp: number;
|
|
246
|
+
selectors: {
|
|
247
|
+
doesGDPRApply: (config: any, apiVersion: any) => boolean;
|
|
248
|
+
getStore: (config: any) => any;
|
|
249
|
+
isIABEnabled: (config: any) => any;
|
|
250
|
+
getConfigData: (config: any, apiVersion?: string) => any;
|
|
251
|
+
getStateData: (state: any, apiVersion: any) => any;
|
|
252
|
+
getCurrentScreen: (state: any) => number;
|
|
253
|
+
getConsentString: (state: any, { gppSection, tcString }?: {
|
|
254
|
+
gppSection: any;
|
|
255
|
+
tcString?: string | undefined;
|
|
256
|
+
}) => any;
|
|
257
|
+
getPublisherLegitimateInterests: () => {};
|
|
258
|
+
getPurposeIds: () => number[];
|
|
259
|
+
getPurposeOptOuts: (state: any, apiVersion: any) => any;
|
|
260
|
+
getPurposeConsents: (state: any, apiVersion: any) => {};
|
|
261
|
+
getPurposesLITransparency: (state: any, apiVersion: any) => Record<string, boolean>;
|
|
262
|
+
getSpecialFeatureOptIns: (state: any, apiVersion: any) => any;
|
|
263
|
+
getVendors: (config: any, apiVersion: any) => any;
|
|
264
|
+
getVendorData: (state: any, { apiVersion, vendorId }: {
|
|
265
|
+
apiVersion: any;
|
|
266
|
+
vendorId: any;
|
|
267
|
+
}) => any;
|
|
268
|
+
getVendorIds: (config: any, apiVersion: any) => number[];
|
|
269
|
+
getVendorOptOuts: (state: any, apiVersion: any) => any;
|
|
270
|
+
getVendorListError: (state: any, apiVersion: any) => any;
|
|
271
|
+
getVendorListVersion: (config: any, apiVersion: any) => any;
|
|
272
|
+
hasActed: (state: any, gppSection: any) => boolean;
|
|
273
|
+
hasConsentedToSpecialFeature: (state: any, { apiVersion, specialFeatureId }: {
|
|
274
|
+
apiVersion: any;
|
|
275
|
+
specialFeatureId: any;
|
|
276
|
+
}) => boolean;
|
|
277
|
+
hasOptedOutOfVendor: (state: any, { apiVersion, vendorId }: {
|
|
278
|
+
apiVersion: any;
|
|
279
|
+
vendorId: any;
|
|
280
|
+
}) => boolean;
|
|
281
|
+
hasOptedOutOfPurpose: (state: any, { apiVersion, purposeId }: {
|
|
282
|
+
apiVersion: any;
|
|
283
|
+
purposeId: any;
|
|
284
|
+
}) => boolean;
|
|
285
|
+
isTcfApplicable: (state: any) => boolean;
|
|
286
|
+
isVendorListLoaded: (state: any, apiVersion: any) => boolean;
|
|
287
|
+
isVendorListLoading: (state: any, apiVersion: any) => boolean;
|
|
288
|
+
getCountryCode: (config: any) => string | null;
|
|
289
|
+
getSavedConsent: (state: any) => any;
|
|
290
|
+
isSaved: (state: any) => boolean;
|
|
291
|
+
getFinalOptOutValue: (state: any, pendingNewValue: any) => any;
|
|
292
|
+
getConsent: (state: any) => any;
|
|
293
|
+
};
|
|
294
|
+
createConsentPayload(state: any): {
|
|
295
|
+
v2: {
|
|
296
|
+
purposeOptouts: {
|
|
297
|
+
[k: string]: any;
|
|
298
|
+
};
|
|
299
|
+
specialFeatureOptins: {
|
|
300
|
+
[k: string]: any;
|
|
301
|
+
};
|
|
302
|
+
vendorOptouts: {
|
|
303
|
+
[k: string]: any;
|
|
304
|
+
};
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../module/iab/tcf/v2.0/index.js"],"names":[],"mappings":";;;;;AAMA;;;;GAIG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQE;AACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQE"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export namespace baseInitOptions {
|
|
2
|
+
export { storageKey };
|
|
3
|
+
export { version };
|
|
4
|
+
export { CMP_ID as cmpId };
|
|
5
|
+
export { IAB_CMP_VERSION as cmpVersion };
|
|
6
|
+
export { FALLBACK_GVL_VERSION as fallbackGvlVersion };
|
|
7
|
+
export let defaultTimestamp: number;
|
|
8
|
+
export let selectors: {
|
|
9
|
+
doesGDPRApply: (config: any, apiVersion: any) => boolean;
|
|
10
|
+
getStore: (config: any) => any;
|
|
11
|
+
isIABEnabled: (config: any) => any;
|
|
12
|
+
getConfigData: (config: any, apiVersion?: string) => any;
|
|
13
|
+
getStateData: (state: any, apiVersion: any) => any;
|
|
14
|
+
getCurrentScreen: (state: any) => number;
|
|
15
|
+
getConsentString: (state: any, { gppSection, tcString }?: {
|
|
16
|
+
gppSection: any;
|
|
17
|
+
tcString?: string | undefined;
|
|
18
|
+
}) => any;
|
|
19
|
+
getPublisherLegitimateInterests: () => {};
|
|
20
|
+
getPurposeIds: () => number[];
|
|
21
|
+
getPurposeOptOuts: (state: any, apiVersion: any) => any;
|
|
22
|
+
getPurposeConsents: (state: any, apiVersion: any) => {};
|
|
23
|
+
getPurposesLITransparency: (state: any, apiVersion: any) => Record<string, boolean>;
|
|
24
|
+
getSpecialFeatureOptIns: (state: any, apiVersion: any) => any;
|
|
25
|
+
getVendors: (config: any, apiVersion: any) => any;
|
|
26
|
+
getVendorData: (state: any, { apiVersion, vendorId }: {
|
|
27
|
+
apiVersion: any;
|
|
28
|
+
vendorId: any;
|
|
29
|
+
}) => any;
|
|
30
|
+
getVendorIds: (config: any, apiVersion: any) => number[];
|
|
31
|
+
getVendorOptOuts: (state: any, apiVersion: any) => any;
|
|
32
|
+
getVendorListError: (state: any, apiVersion: any) => any;
|
|
33
|
+
getVendorListVersion: (config: any, apiVersion: any) => any;
|
|
34
|
+
hasActed: (state: any, gppSection: any) => boolean;
|
|
35
|
+
hasConsentedToSpecialFeature: (state: any, { apiVersion, specialFeatureId }: {
|
|
36
|
+
apiVersion: any;
|
|
37
|
+
specialFeatureId: any;
|
|
38
|
+
}) => boolean;
|
|
39
|
+
hasOptedOutOfVendor: (state: any, { apiVersion, vendorId }: {
|
|
40
|
+
apiVersion: any;
|
|
41
|
+
vendorId: any;
|
|
42
|
+
}) => boolean;
|
|
43
|
+
hasOptedOutOfPurpose: (state: any, { apiVersion, purposeId }: {
|
|
44
|
+
apiVersion: any;
|
|
45
|
+
purposeId: any;
|
|
46
|
+
}) => boolean;
|
|
47
|
+
isTcfApplicable: (state: any) => boolean;
|
|
48
|
+
isVendorListLoaded: (state: any, apiVersion: any) => boolean;
|
|
49
|
+
isVendorListLoading: (state: any, apiVersion: any) => boolean;
|
|
50
|
+
getCountryCode: (config: any) => string | null;
|
|
51
|
+
getSavedConsent: (state: any) => any;
|
|
52
|
+
isSaved: (state: any) => boolean;
|
|
53
|
+
getFinalOptOutValue: (state: any, pendingNewValue: any) => any;
|
|
54
|
+
getConsent: (state: any) => any;
|
|
55
|
+
};
|
|
56
|
+
export function createConsentPayload(state: any): {
|
|
57
|
+
v2: {
|
|
58
|
+
purposeOptouts: {
|
|
59
|
+
[k: string]: any;
|
|
60
|
+
};
|
|
61
|
+
specialFeatureOptins: {
|
|
62
|
+
[k: string]: any;
|
|
63
|
+
};
|
|
64
|
+
vendorOptouts: {
|
|
65
|
+
[k: string]: any;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
declare const storageKey: "IABTCF_TCString";
|
|
71
|
+
declare const version: "2.0";
|
|
72
|
+
import { CMP_ID } from '../../constants';
|
|
73
|
+
import { IAB_CMP_VERSION } from '../../constants';
|
|
74
|
+
/**
|
|
75
|
+
* We'll use this value of the GVL when the customer's config doesn't contain
|
|
76
|
+
* one. It's from March 2023.
|
|
77
|
+
*/
|
|
78
|
+
declare const FALLBACK_GVL_VERSION: 187;
|
|
79
|
+
export {};
|
|
80
|
+
//# sourceMappingURL=shared-constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared-constants.d.ts","sourceRoot":"","sources":["../../../../../../module/iab/tcf/v2.0/shared-constants.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAmBE;;;;;;;;;;;;MAQC;;AAxBH,4CAAqC;AADrC,6BAAsB;uBADkB,iBAAiB;gCAAjB,iBAAiB;AAGzD;;;GAGG;AACH,wCAAiC"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
export const initOptions: {
|
|
2
|
+
coreFieldSequence: ((string | number | ((deciseconds: any) => Date) | {
|
|
3
|
+
decode: (bitString: any, numBits: any) => {
|
|
4
|
+
bitLength: any;
|
|
5
|
+
value: any;
|
|
6
|
+
};
|
|
7
|
+
encode: any;
|
|
8
|
+
})[] | (string | number | ((idValueMap: any, length: any) => any[]) | {
|
|
9
|
+
decode: (bitString: any, numBits: any) => {
|
|
10
|
+
bitLength: any;
|
|
11
|
+
value: any;
|
|
12
|
+
};
|
|
13
|
+
encode: any;
|
|
14
|
+
})[])[];
|
|
15
|
+
gppSection: string;
|
|
16
|
+
tcString: string;
|
|
17
|
+
staticFields: {
|
|
18
|
+
version: number;
|
|
19
|
+
cmpId: number;
|
|
20
|
+
cmpVersion: number;
|
|
21
|
+
tcfPolicyVersion: number;
|
|
22
|
+
useNonStandardStacks: boolean;
|
|
23
|
+
};
|
|
24
|
+
dynamicFields: {
|
|
25
|
+
created: ({ defaultTimestamp }: {
|
|
26
|
+
defaultTimestamp?: number | undefined;
|
|
27
|
+
}, state: any) => number;
|
|
28
|
+
lastUpdated: ({ defaultTimestamp }: {
|
|
29
|
+
defaultTimestamp?: number | undefined;
|
|
30
|
+
}, state: any) => number;
|
|
31
|
+
};
|
|
32
|
+
encoder: {
|
|
33
|
+
decode: (str: any) => string;
|
|
34
|
+
encode: (bitString: any) => string;
|
|
35
|
+
};
|
|
36
|
+
storageKey: string;
|
|
37
|
+
version: string;
|
|
38
|
+
cmpId: number;
|
|
39
|
+
cmpVersion: number;
|
|
40
|
+
fallbackGvlVersion: number;
|
|
41
|
+
defaultTimestamp: number;
|
|
42
|
+
selectors: {
|
|
43
|
+
doesGDPRApply: (config: any, apiVersion: any) => boolean;
|
|
44
|
+
getStore: (config: any) => any;
|
|
45
|
+
isIABEnabled: (config: any) => any;
|
|
46
|
+
getConfigData: (config: any, apiVersion?: string) => any;
|
|
47
|
+
getStateData: (state: any, apiVersion: any) => any;
|
|
48
|
+
getCurrentScreen: (state: any) => number;
|
|
49
|
+
getConsentString: (state: any, { gppSection, tcString }?: {
|
|
50
|
+
gppSection: any;
|
|
51
|
+
tcString?: string | undefined;
|
|
52
|
+
}) => any;
|
|
53
|
+
getPublisherLegitimateInterests: () => {};
|
|
54
|
+
getPurposeIds: () => number[];
|
|
55
|
+
getPurposeOptOuts: (state: any, apiVersion: any) => any;
|
|
56
|
+
getPurposeConsents: (state: any, apiVersion: any) => {};
|
|
57
|
+
getPurposesLITransparency: (state: any, apiVersion: any) => Record<string, boolean>;
|
|
58
|
+
getSpecialFeatureOptIns: (state: any, apiVersion: any) => any;
|
|
59
|
+
getVendors: (config: any, apiVersion: any) => any;
|
|
60
|
+
getVendorData: (state: any, { apiVersion, vendorId }: {
|
|
61
|
+
apiVersion: any;
|
|
62
|
+
vendorId: any;
|
|
63
|
+
}) => any;
|
|
64
|
+
getVendorIds: (config: any, apiVersion: any) => number[];
|
|
65
|
+
getVendorOptOuts: (state: any, apiVersion: any) => any;
|
|
66
|
+
getVendorListError: (state: any, apiVersion: any) => any;
|
|
67
|
+
getVendorListVersion: (config: any, apiVersion: any) => any;
|
|
68
|
+
hasActed: (state: any, gppSection: any) => boolean;
|
|
69
|
+
hasConsentedToSpecialFeature: (state: any, { apiVersion, specialFeatureId }: {
|
|
70
|
+
apiVersion: any;
|
|
71
|
+
specialFeatureId: any;
|
|
72
|
+
}) => boolean;
|
|
73
|
+
hasOptedOutOfVendor: (state: any, { apiVersion, vendorId }: {
|
|
74
|
+
apiVersion: any;
|
|
75
|
+
vendorId: any;
|
|
76
|
+
}) => boolean;
|
|
77
|
+
hasOptedOutOfPurpose: (state: any, { apiVersion, purposeId }: {
|
|
78
|
+
apiVersion: any;
|
|
79
|
+
purposeId: any;
|
|
80
|
+
}) => boolean;
|
|
81
|
+
isTcfApplicable: (state: any) => boolean;
|
|
82
|
+
isVendorListLoaded: (state: any, apiVersion: any) => boolean;
|
|
83
|
+
isVendorListLoading: (state: any, apiVersion: any) => boolean;
|
|
84
|
+
getCountryCode: (config: any) => string | null;
|
|
85
|
+
getSavedConsent: (state: any) => any;
|
|
86
|
+
isSaved: (state: any) => boolean;
|
|
87
|
+
getFinalOptOutValue: (state: any, pendingNewValue: any) => any;
|
|
88
|
+
getConsent: (state: any) => any;
|
|
89
|
+
};
|
|
90
|
+
createConsentPayload(state: any): {
|
|
91
|
+
v2: {
|
|
92
|
+
purposeOptouts: {
|
|
93
|
+
[k: string]: any;
|
|
94
|
+
};
|
|
95
|
+
specialFeatureOptins: {
|
|
96
|
+
[k: string]: any;
|
|
97
|
+
};
|
|
98
|
+
vendorOptouts: {
|
|
99
|
+
[k: string]: any;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
//# sourceMappingURL=tcfcav1-constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tcfcav1-constants.d.ts","sourceRoot":"","sources":["../../../../../../module/iab/tcf/v2.0/tcfcav1-constants.js"],"names":[],"mappings":"AAmCA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQE"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
export const apiName: "__tcfapi";
|
|
2
|
+
export const iframeName: "__tcfapiLocator";
|
|
3
|
+
export const initOptions: {
|
|
4
|
+
coreFieldSequence: (string | number | {
|
|
5
|
+
decode: (bitString: any, numBits: any) => {
|
|
6
|
+
bitLength: any;
|
|
7
|
+
value: any;
|
|
8
|
+
};
|
|
9
|
+
encode: any;
|
|
10
|
+
})[][];
|
|
11
|
+
gppSection: string;
|
|
12
|
+
tcString: string;
|
|
13
|
+
staticFields: {
|
|
14
|
+
version: number;
|
|
15
|
+
cmpId: number;
|
|
16
|
+
cmpVersion: number;
|
|
17
|
+
tcfPolicyVersion: number;
|
|
18
|
+
useNonStandardStacks: boolean;
|
|
19
|
+
isServiceSpecific: boolean;
|
|
20
|
+
purposeOneTreatment: boolean;
|
|
21
|
+
numPubRestrictions: number;
|
|
22
|
+
};
|
|
23
|
+
dynamicFields: {
|
|
24
|
+
created: ({ defaultTimestamp }: {
|
|
25
|
+
defaultTimestamp?: number | undefined;
|
|
26
|
+
}, state: any) => number;
|
|
27
|
+
lastUpdated: ({ defaultTimestamp }: {
|
|
28
|
+
defaultTimestamp?: number | undefined;
|
|
29
|
+
}, state: any) => number;
|
|
30
|
+
};
|
|
31
|
+
encoder: {
|
|
32
|
+
decode: (str: any) => string;
|
|
33
|
+
encode: (bitString: any) => string;
|
|
34
|
+
};
|
|
35
|
+
storageKey: string;
|
|
36
|
+
version: string;
|
|
37
|
+
cmpId: number;
|
|
38
|
+
cmpVersion: number;
|
|
39
|
+
fallbackGvlVersion: number;
|
|
40
|
+
defaultTimestamp: number;
|
|
41
|
+
selectors: {
|
|
42
|
+
doesGDPRApply: (config: any, apiVersion: any) => boolean;
|
|
43
|
+
getStore: (config: any) => any;
|
|
44
|
+
isIABEnabled: (config: any) => any;
|
|
45
|
+
getConfigData: (config: any, apiVersion?: string) => any;
|
|
46
|
+
getStateData: (state: any, apiVersion: any) => any;
|
|
47
|
+
getCurrentScreen: (state: any) => number;
|
|
48
|
+
getConsentString: (state: any, { gppSection, tcString }?: {
|
|
49
|
+
gppSection: any;
|
|
50
|
+
tcString?: string | undefined;
|
|
51
|
+
}) => any;
|
|
52
|
+
getPublisherLegitimateInterests: () => {};
|
|
53
|
+
getPurposeIds: () => number[];
|
|
54
|
+
getPurposeOptOuts: (state: any, apiVersion: any) => any;
|
|
55
|
+
getPurposeConsents: (state: any, apiVersion: any) => {};
|
|
56
|
+
getPurposesLITransparency: (state: any, apiVersion: any) => Record<string, boolean>;
|
|
57
|
+
getSpecialFeatureOptIns: (state: any, apiVersion: any) => any;
|
|
58
|
+
getVendors: (config: any, apiVersion: any) => any;
|
|
59
|
+
getVendorData: (state: any, { apiVersion, vendorId }: {
|
|
60
|
+
apiVersion: any;
|
|
61
|
+
vendorId: any;
|
|
62
|
+
}) => any;
|
|
63
|
+
getVendorIds: (config: any, apiVersion: any) => number[];
|
|
64
|
+
getVendorOptOuts: (state: any, apiVersion: any) => any;
|
|
65
|
+
getVendorListError: (state: any, apiVersion: any) => any;
|
|
66
|
+
getVendorListVersion: (config: any, apiVersion: any) => any;
|
|
67
|
+
hasActed: (state: any, gppSection: any) => boolean;
|
|
68
|
+
hasConsentedToSpecialFeature: (state: any, { apiVersion, specialFeatureId }: {
|
|
69
|
+
apiVersion: any;
|
|
70
|
+
specialFeatureId: any;
|
|
71
|
+
}) => boolean;
|
|
72
|
+
hasOptedOutOfVendor: (state: any, { apiVersion, vendorId }: {
|
|
73
|
+
apiVersion: any;
|
|
74
|
+
vendorId: any;
|
|
75
|
+
}) => boolean;
|
|
76
|
+
hasOptedOutOfPurpose: (state: any, { apiVersion, purposeId }: {
|
|
77
|
+
apiVersion: any;
|
|
78
|
+
purposeId: any;
|
|
79
|
+
}) => boolean;
|
|
80
|
+
isTcfApplicable: (state: any) => boolean;
|
|
81
|
+
isVendorListLoaded: (state: any, apiVersion: any) => boolean;
|
|
82
|
+
isVendorListLoading: (state: any, apiVersion: any) => boolean;
|
|
83
|
+
getCountryCode: (config: any) => string | null;
|
|
84
|
+
getSavedConsent: (state: any) => any;
|
|
85
|
+
isSaved: (state: any) => boolean;
|
|
86
|
+
getFinalOptOutValue: (state: any, pendingNewValue: any) => any;
|
|
87
|
+
getConsent: (state: any) => any;
|
|
88
|
+
};
|
|
89
|
+
createConsentPayload(state: any): {
|
|
90
|
+
v2: {
|
|
91
|
+
purposeOptouts: {
|
|
92
|
+
[k: string]: any;
|
|
93
|
+
};
|
|
94
|
+
specialFeatureOptins: {
|
|
95
|
+
[k: string]: any;
|
|
96
|
+
};
|
|
97
|
+
vendorOptouts: {
|
|
98
|
+
[k: string]: any;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
//# sourceMappingURL=tcfeuv2-constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tcfeuv2-constants.d.ts","sourceRoot":"","sources":["../../../../../../module/iab/tcf/v2.0/tcfeuv2-constants.js"],"names":[],"mappings":"AAIA,iCAAkC;AAClC,2CAA4C;AA2D5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../module/iab/types.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../../module/iab/usp/api.js"],"names":[],"mappings":"AACA;oCAMe,MAAM,WACN,MAAM;EA2CpB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export function makeParseConsentString({ version: providedVersion }?: {
|
|
2
|
+
version?: number | undefined;
|
|
3
|
+
}): (uspString: any) => {
|
|
4
|
+
version: any;
|
|
5
|
+
notified: any;
|
|
6
|
+
signatory: any;
|
|
7
|
+
optOut: any;
|
|
8
|
+
};
|
|
9
|
+
export function makeGetField(initOptions?: {}): (state: any, field: any) => any;
|
|
10
|
+
export function makeFormatConsentString(initOptions?: {}): string;
|
|
11
|
+
export function makeConsentFromOptions(initOptions: any): import('./constants').USPConsent;
|
|
12
|
+
export function getConsentDataObject(initOptions: any): import('./constants').USPData;
|
|
13
|
+
//# sourceMappingURL=consent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consent.d.ts","sourceRoot":"","sources":["../../../../../module/iab/usp/consent.js"],"names":[],"mappings":"AAGO;;;;;;;EAeN;AACM,gFAiBN;AAQM,2DAFM,MAAM,CAsBlB;AAQM,0DAFM,OAAO,aAAa,EAAE,UAAU,CA6B5C;AAQM,wDAFM,OAAO,aAAa,EAAE,OAAO,CAsBzC"}
|