Type aliases
BannerContextActionProps
BannerContextActionProps: { openBanner: ( e?: MouseEvent ) => void ; openHistory: ( e?: MouseEvent ) => void ; revokeConsent: ( successMessage?: string , e?: MouseEvent ) => void }
Defined in builds/devowlio/devowl-wp/frontend-packages/react-cookie-banner/src/types/bannerContext.tsx:111
Type declaration
openBanner: ( e?: MouseEvent ) => void
openHistory: ( e?: MouseEvent ) => void
revokeConsent: ( successMessage?: string , e?: MouseEvent ) => void
( successMessage?: string , e?: MouseEvent ) : void
Parameters
Optional successMessage: string
Optional e: MouseEvent
Returns void
BannerContextContainerProps
BannerContextContainerProps: { activeAction: "history" | "revoke" | "change" ; animationVisible: boolean ; essentialGroup: string ; gotHiddenDueLegal: ( state: boolean ) => void ; individualPrivacyOpen: boolean ; onClose: ( ) => void ; pageId: number ; pageRequestUuid4: string ; skipOverlay: boolean ; updateIndividualPrivacyOpen: ( state: boolean ) => void ; visible: boolean }
Defined in builds/devowlio/devowl-wp/frontend-packages/react-cookie-banner/src/types/bannerContext.tsx:21
Type declaration
activeAction: "history" | "revoke" | "change"
animationVisible: boolean
essentialGroup: string
gotHiddenDueLegal: ( state: boolean ) => void
individualPrivacyOpen: boolean
onClose: ( ) => void
pageId: number
pageRequestUuid4: string
skipOverlay: boolean
updateIndividualPrivacyOpen: ( state: boolean ) => void
visible: boolean
BannerContextHistoryProps
Banner
ContextHistoryProps: { fetchHistory: ( ) => Promise < BannerContextHistoryProps [ "history" ] > ; history: BannerHistoryEntry [] ; selectHistoryEntry?: ( groups: VisualServiceGroup [] , consent: ConsentProps [ "groups" ] , tcf?: BannerHistoryEntry [ "tcf" ] ) => void }
Defined in builds/devowlio/devowl-wp/frontend-packages/react-cookie-banner/src/types/bannerContext.tsx:77
Type declaration
fetchHistory: ( ) => Promise < BannerContextHistoryProps [ "history" ] >
( ) : Promise < BannerContextHistoryProps [ "history" ] >
Returns Promise < BannerContextHistoryProps [ "history" ] >
Optional selectHistoryEntry?: ( groups: VisualServiceGroup [] , consent: ConsentProps [ "groups" ] , tcf?: BannerHistoryEntry [ "tcf" ] ) => void
( groups: VisualServiceGroup [] , consent: ConsentProps [ "groups" ] , tcf?: BannerHistoryEntry [ "tcf" ] ) : void
Parameters
consent: ConsentProps [ "groups" ]
Optional tcf: BannerHistoryEntry [ "tcf" ]
Returns void
BannerContextI18nProps
BannerContextI18nProps: { andSeparator: string ; closeWithoutSaving: string ; headerTitlePrivacyPolicyHistory: string ; historyLabel: string ; historySelectNone: string ; tcf: { declarations: Record < keyof Omit < Declarations , "stacks" > , { desc: string ; title: string } > ; filterNoVendors: string ; filterText: string ; hideMore: string ; listOfServicesAppendix: string ; nonStandard: string ; nonStandardDesc: string ; showMore: string ; tcfStandard: string ; tcfStandardDesc: string ; vendorList: string ; vendors: string } }
Defined in builds/devowlio/devowl-wp/frontend-packages/react-cookie-banner/src/types/bannerContext.tsx:156
Type declaration
andSeparator: string
closeWithoutSaving: string
headerTitlePrivacyPolicyHistory: string
historyLabel: string
historySelectNone: string
tcf: { declarations: Record < keyof Omit < Declarations , "stacks" > , { desc: string ; title: string } > ; filterNoVendors: string ; filterText: string ; hideMore: string ; listOfServicesAppendix: string ; nonStandard: string ; nonStandardDesc: string ; showMore: string ; tcfStandard: string ; tcfStandardDesc: string ; vendorList: string ; vendors: string }
declarations: Record < keyof Omit < Declarations , "stacks" > , { desc: string ; title: string } >
filterNoVendors: string
filterText: string
hideMore: string
listOfServicesAppendix: string
nonStandard: string
nonStandardDesc: string
showMore: string
tcfStandard: string
tcfStandardDesc: string
vendorList: string
vendors: string
BannerContextImitateProps
Defined in builds/devowlio/devowl-wp/frontend-packages/react-cookie-banner/src/types/bannerContext.tsx:126
BannerContextProps
Defined in builds/devowlio/devowl-wp/frontend-packages/react-cookie-banner/src/types/bannerContext.tsx:188
BannerContextSaveActionProps
Banner
ContextSaveActionProps: { didGroupFirstChange: boolean ; onSave?: ( markAsDoNotTrack: boolean , buttonClicked: ClickableButtonsNamed ) => void ; previewCheckboxActiveState: boolean ; refreshSiteAfterSave?: number | false ; updateCookieChecked: ( group: number , id: number , state: boolean ) => void ; updateGroupChecked: ( id: number , state: boolean ) => void }
Defined in builds/devowlio/devowl-wp/frontend-packages/react-cookie-banner/src/types/bannerContext.tsx:137
Type declaration
didGroupFirstChange: boolean
Optional onSave?: ( markAsDoNotTrack: boolean , buttonClicked: ClickableButtonsNamed ) => void
Parameters
markAsDoNotTrack: boolean
Returns void
previewCheckboxActiveState: boolean
Optional refreshSiteAfterSave?: number | false
updateCookieChecked: ( group: number , id: number , state: boolean ) => void
( group: number , id: number , state: boolean ) : void
Parameters
group: number
id: number
state: boolean
Returns void
updateGroupChecked: ( id: number , state: boolean ) => void
( id: number , state: boolean ) : void
Parameters
id: number
state: boolean
Returns void
BannerContextTcfProps
Defined in builds/devowlio/devowl-wp/frontend-packages/react-cookie-banner/src/types/bannerContext.tsx:94
Type declaration
tcf: { gvl: GVL ; metadata: TcfMetadata ; model: TCModel ; original: Tcf }
gvl: GVL
model: TCModel
original: Tcf
BannerHistoryEntry
Banner
HistoryEntry: { created: string ; decision: ConsentProps [ "groups" ] ; groups: VisualServiceGroup [] ; id: number ; isDoNotTrack: boolean ; isForwarded: boolean ; isUnblock: boolean ; tcf?: { tcf: Tcf ; tcfMeta: TcfMetadata ; tcfString: string } | BannerContextTcfProps [ "tcf" ] ; uuid: string }
Defined in builds/devowlio/devowl-wp/frontend-packages/react-cookie-banner/src/types/bannerContext.tsx:59
Type declaration
created: string
decision: ConsentProps [ "groups" ]
id: number
isDoNotTrack: boolean
isForwarded: boolean
isUnblock: boolean
Optional tcf?: { tcf: Tcf ; tcfMeta: TcfMetadata ; tcfString: string } | BannerContextTcfProps [ "tcf" ]
uuid: string
ClickableButtonsNamed
ClickableButtonsNamed: "none" | "main_all" | "main_essential" | "main_close_icon" | "main_custom" | "ind_all" | "ind_essential" | "ind_close_icon" | "ind_custom" | "shortcode_revoke" | "unblock"
Defined in builds/devowlio/devowl-wp/frontend-packages/react-cookie-banner/src/types/bannerContext.tsx:5
Banner action to open banner.