See PHP file inc/Assets.php.

Hierarchy (view full)

Constructors

Properties

addLinksToNavigationMenu affiliateLabelBehind? affiliateLabelDescription? affiliateLink? ageNoticeAgeLimit allBlockerCount allCookieCount allScannerResultExternalUrlsCount allScannerResultTemplatesCount allTcfVendorConfigurationCount bannerLessConsentShowOnPageIds bannerLinks bannerlessConsentChecks busyAddLinksToNavigationMenu busyCountryBypassUpdate busySettings checkSavingConsentViaRestApiEndpointWorkingHtml chunkFolder? chunks? chunksLanguageFolder? cloudReleaseInfo consentDuration consentsDeletedAt contexts cookieCounts cookieDuration cookiePolicyId countryBypassCountries countryBypassDbDownloadTime? countryBypassType? createdTagManagers crossDomains dashboardMigration dismissBannerlessConsentLegitimateServicesNotice dismissBannerlessConsentServicesWithoutVisualContentBlockerNotice dismissConfigProNotice dismissMigration dismissServiceDataProcessingInUnsafeCountriesNotice failedConsentDocumentationHandling fetchBannerLinks fetchCurrentRevision fetchSettings fetchedBannerLinks fomoCoupon forwardTo googleConsentModeNoticesHtml hidePageIds isAcceptAllForBots isAgeNotice isBannerActive isBannerLessConsent isBannerStickyLinksEnabled? isBlockerActive isConsentForwarding isCountryBypass? isDataProcessingInUnsafeCountries isGcm? isGcmCollectAdditionalDataViaUrlParameters? isGcmListPurposes? isGcmRedactAdsDataWithoutConsent? isGcmShowRecommandationsWithoutConsent? isListServicesNotice isRespectDoNotTrack isSaveIp isTcf navMenus needsRevisionRetrigger operatorContactAddress operatorContactEmail operatorContactFormId operatorContactPhone operatorCountry others publicCookieCount publicUrl? pureSlug pureSlugCamelCased restNamespace? restNonce? restPathObfuscateOffset? restQuery? restRecreateNonceEndpoint? restRoot? restUrl? rootStore servicesDataProcessingInUnsafeCountriesNoticeHtml servicesWithEmptyPrivacyPolicyNoticeHtml setCookiesViaManager setModalHintSeen slug tcfAcceptedTime? tcfGvlDownloadTime? tcfVendorConfigurationCounts? templateNeedsUpdate templateSuccessorsNoticeHtml templateUpdateNoticeHtml territorialLegalBasis textDomain updateCountryBypassDatabase updateCurrentRevision updateSettings version

Accessors

Methods

Constructors

Properties

addLinksToNavigationMenu: ((id) => Promise<boolean>) = ...

Type declaration

    • (id): Promise<boolean>
    • Parameters

      • id: string

      Returns Promise<boolean>

affiliateLabelBehind?: string | false
affiliateLabelDescription?: string | false
affiliateLink?: string
ageNoticeAgeLimit: "INHERIT" | "GDPR" | string & {
    h?: string;
}
allBlockerCount: number = 0
allCookieCount: number = 0
allScannerResultExternalUrlsCount: number = 0
allScannerResultTemplatesCount: number = 0
allTcfVendorConfigurationCount: number = 0
bannerLessConsentShowOnPageIds: number[]
bannerLinks: BannerLinkCollection
bannerlessConsentChecks: Record<"essential" | "legalBasisConsentWithoutVisualContentBlocker" | "legalBasisLegitimateInterest", {
    groupId: number;
    id: number;
    name: string;
}[]> = ...
busyAddLinksToNavigationMenu: boolean = false
busyCountryBypassUpdate: boolean = false
busySettings: boolean = false
checkSavingConsentViaRestApiEndpointWorkingHtml: string
chunkFolder?: string
chunks?: Record<string, string[]>
chunksLanguageFolder?: string
cloudReleaseInfo: Record<"blocker" | "service", {
    downloadTime: string;
    isPreReleaseEnabled: boolean;
    releaseId: number;
}> = ...

Type declaration

  • downloadTime: string
  • isPreReleaseEnabled: boolean
  • releaseId: number
consentDuration: number
consentsDeletedAt: string
contexts: Record<string, string> = ...
cookieCounts: {
    draft: number;
    private: number;
    publish: number;
    [key: string]: number;
} = ...

Type declaration

  • [key: string]: number
  • draft: number
  • private: number
  • publish: number
cookieDuration: number
cookiePolicyId: number
countryBypassCountries: string[] = []
countryBypassDbDownloadTime?: string
countryBypassType?: "essentials" | "all"
createdTagManagers: Record<"gtm" | "mtm", number[]> = ...
crossDomains: string
dashboardMigration: DashboardTileMigration
dismissBannerlessConsentLegitimateServicesNotice: (() => Promise<void>) = ...

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

dismissBannerlessConsentServicesWithoutVisualContentBlockerNotice: (() => Promise<void>) = ...

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

dismissConfigProNotice: (() => Promise<void>) = ...

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

dismissMigration: (() => Promise<void>) = ...

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

dismissServiceDataProcessingInUnsafeCountriesNotice: (() => Promise<void>) = ...

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

failedConsentDocumentationHandling: "optimistic" | "essentials"
fetchBannerLinks: (() => Promise<void>) = ...

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

fetchCurrentRevision: (() => Promise<void>) = ...

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

fetchSettings: ((setFrom?) => Promise<void>) = ...

Type declaration

fetchedBannerLinks: boolean = false
fomoCoupon: {
    coupon: string;
    validUntil: string;
    valueInPercent: number;
}

Type declaration

  • coupon: string
  • validUntil: string
  • valueInPercent: number
forwardTo: string[] = []
googleConsentModeNoticesHtml: string[] = []
hidePageIds: number[] = []
isAcceptAllForBots: boolean
isAgeNotice: boolean
isBannerActive: boolean = false
isBannerLessConsent: boolean
isBannerStickyLinksEnabled?: boolean = false
isBlockerActive: boolean = false
isConsentForwarding: boolean
isCountryBypass?: boolean
isDataProcessingInUnsafeCountries: boolean
isGcm?: boolean = false
isGcmCollectAdditionalDataViaUrlParameters?: boolean = false
isGcmListPurposes?: boolean = true
isGcmRedactAdsDataWithoutConsent?: boolean = true
isGcmShowRecommandationsWithoutConsent?: boolean = false
isListServicesNotice: boolean
isRespectDoNotTrack: boolean
isSaveIp: boolean
isTcf: boolean = false
navMenus: ({
    applied: boolean;
    edit_url: string;
    id: string;
    languages: {
        code: string;
        language: string;
        location: string;
    }[];
    locations: Record<string, string>;
    name: string;
    term_id: number;
    type: "legacy_nav";
} | {
    applied: boolean;
    edit_url: string;
    id: string;
    languages: {
        code: string;
        language: string;
        location: string;
    }[];
    name: string;
    post_id: number;
    type: "nav_menu";
})[] = []
needsRevisionRetrigger: boolean = false
operatorContactAddress: string
operatorContactEmail: string
operatorContactFormId: number
operatorContactPhone: string
operatorCountry: string
others: OtherOptions
publicCookieCount: number = 0
publicUrl?: string
pureSlug: string
pureSlugCamelCased: string
restNamespace?: string
restNonce?: string
restPathObfuscateOffset?: string
restQuery?: object
restRecreateNonceEndpoint?: string
restRoot?: string
restUrl?: string
rootStore: RootStore
servicesDataProcessingInUnsafeCountriesNoticeHtml: string = ""
servicesWithEmptyPrivacyPolicyNoticeHtml: string = ""
setCookiesViaManager: ServiceTagManager
setModalHintSeen: ((identifier) => Promise<void>) = ...

Type declaration

    • (identifier): Promise<void>
    • Parameters

      • identifier: ConfigHintTextIdentifier

      Returns Promise<void>

slug: string
tcfAcceptedTime?: string
tcfGvlDownloadTime?: string
tcfVendorConfigurationCounts?: {
    draft: number;
    private: number;
    publish: number;
    [key: string]: number;
}

Type declaration

  • [key: string]: number
  • draft: number
  • private: number
  • publish: number
templateNeedsUpdate: {
    post_id: number;
    post_template_identifier: string;
    post_template_version: number;
    post_title: string;
    post_type: string;
    post_version_meta_id: number;
    should: number;
}[] = []

Type declaration

  • post_id: number
  • post_template_identifier: string
  • post_template_version: number
  • post_title: string
  • post_type: string
  • post_version_meta_id: number
  • should: number
templateSuccessorsNoticeHtml: string
templateUpdateNoticeHtml: string
territorialLegalBasis: TerritorialLegalBasis[]
textDomain: string
updateCountryBypassDatabase: (() => Promise<void>) = ...

Type declaration

    • (): Promise<void>
    • Returns Promise<void>

updateCurrentRevision: ((data) => Promise<void>) = ...

Type declaration

updateSettings: ((update, bannerLinks?) => Promise<void>) = ...

Type declaration

    • (update, bannerLinks?): Promise<void>
    • Parameters

      • update: Partial<OptionStore>
      • Optional bannerLinks: FormSettingsValuePropsNavItem[]

      Returns Promise<void>

version: string

Accessors

  • get areSettingsFetched(): boolean
  • Returns boolean

  • get isOnlyRcbCookieCreated(): boolean
  • Ignore real-cookie-banner cookie as it is hidden when no other cookie is created.

    Returns boolean

Methods

  • Parameters

    Returns void

  • Parameters

    • state: boolean
    • isLicensed: boolean

    Returns void

  • Get the slug from the current process (webpack) instead of the PHP plugin output. For some cases you need to use that.

    Parameters

    • slug: string
    • camelCase: boolean = false

    Returns string

  • Convert a slug like "my-plugin" to "myPlugin". This can be useful for library naming (window[""] is bad because the hyphens).

    Parameters

    • slug: string

    Returns string