Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DefaultUISettings

Hierarchy

  • BaseUISettings
    • DefaultUISettings

Index

Properties

buttons

buttons: { acceptAll: { label: string }; denyAll: { isEnabled: boolean; label: string }; save: { label: string }; showSecondLayer: { isEnabled: boolean; label: string; url: string | null } }

Type declaration

  • acceptAll: { label: string }
    • label: string
  • denyAll: { isEnabled: boolean; label: string }
    • isEnabled: boolean
    • label: string
  • save: { label: string }
    • label: string
  • showSecondLayer: { isEnabled: boolean; label: string; url: string | null }
    • isEnabled: boolean
    • label: string
    • url: string | null

      If the url is null, open up the second layer (i.e. modal). If the url exists, open link in new tab.

customization

customization: { color: { primary: string }; font: { family: string; size: number }; theme: THEME }

Type declaration

  • color: { primary: string }
    • primary: string

      Currently hard-coded as "#0045A5"

  • font: { family: string; size: number }
    • family: string

      Currently hard-coded as ""

    • size: number

      Currently hard-coded as 14

  • theme: THEME

    Currently hard-coded as THEME.LIGHT

firstLayer

firstLayer: { description: { default: string; short: string | null }; isCategoryTogglesEnabled: boolean; isOverlayEnabled: boolean; title: string; variant: FIRST_LAYER_VARIANT }

Type declaration

  • description: { default: string; short: string | null }
    • default: string
    • short: string | null
  • isCategoryTogglesEnabled: boolean

    Currently hard-coded as false

  • isOverlayEnabled: boolean
  • title: string

    Currently hard-coded as "Privacy Settings" (translated)

  • variant: FIRST_LAYER_VARIANT

    Currently hard-coded as FIRST_LAYER_VARIANT.BANNER

labels

language

language: { available: string[]; isSelectorEnabled: boolean; selected: string }

Type declaration

  • available: string[]
  • isSelectorEnabled: boolean
  • selected: string

links

links: { cookiePolicy: { label: string; url: string | null }; imprint: { label: string | null; url: string | null }; privacyPolicy: { label: string; url: string | null } }

Type declaration

  • cookiePolicy: { label: string; url: string | null }

    Currently doesn't exist in Settings app

    • label: string
    • url: string | null
  • imprint: { label: string | null; url: string | null }
    • label: string | null
    • url: string | null
  • privacyPolicy: { label: string; url: string | null }
    • label: string
    • url: string | null

poweredBy

poweredBy: { isEnabled: boolean; label: string; partnerUrl: string | null; partnerUrlLabel: string | null; url: string; urlLabel: string }

Type declaration

  • isEnabled: boolean
  • label: string

    Currently hard-coded as: "Powered by"

  • partnerUrl: string | null
  • partnerUrlLabel: string | null
  • url: string
  • urlLabel: string

    Currently hard-coded as: "Usercentrics Consent Management"

privacyButton

privacyButton: { isEnabled: boolean }

Type declaration

  • isEnabled: boolean

secondLayer

secondLayer: { description: string; isOverlayEnabled: boolean; tabs: { categories: { isEnabled: boolean; label: string }; services: { isEnabled: boolean; label: string } }; title: string; variant: SECOND_LAYER_VARIANT }

Type declaration

  • description: string
  • isOverlayEnabled: boolean
  • tabs: { categories: { isEnabled: boolean; label: string }; services: { isEnabled: boolean; label: string } }
    • categories: { isEnabled: boolean; label: string }
      • isEnabled: boolean

        Currently hard-coded as true

      • label: string
    • services: { isEnabled: boolean; label: string }
      • isEnabled: boolean

        Currently hard-coded as true

      • label: string

        Currently hard-coded as: "Services"

  • title: string
  • variant: SECOND_LAYER_VARIANT

    Currently hard-coded as SECOND_LAYER_VARIANT.CENTER