Module "frontend-packages/react-cookie-banner-admin/src/contexts/formService"
Functions
useFormService
- useFormService(): Partial<Pick<TranslationFunctions, "__" | "_i"> & { allowContentBlockerCreation: boolean; allowLegalBasisLegalRequirement: boolean; contentBlockerTemplates: Array<{ identifier: string; name: string; subHeadline?: string }>; defaultPresetValues: Partial<FormServiceValueProps>; dynamicFields: FormServiceFieldHandlingDynamicFieldProps[]; essentialGroupId: number; groups: Array<{ id: number; name: string }>; hasManager: boolean; hasServiceByConsentForwardingUniqueName: (slug: string) => Promise<boolean>; isConsentForwarding: boolean; isDataProcessingInUnsafeCountries: boolean; isEdit: boolean; isPro: boolean; isTcf: boolean; isTemplateUpdate: boolean; notices: { createContentBlocker: NoticeEntry[]; group: NoticeEntry[]; providerPrivacyPolicyUrl: NoticeEntry[]; technicalHandling: NoticeEntry[] }; presetCheck: boolean; renderCodeMirror: () => Element; serviceGotScanned: boolean; serviceIsManager: boolean; setCookiesViaManager: ServiceTagManager; skipIfActiveComponents: Record<string, string> }>
-
Returns Partial<Pick<TranslationFunctions, "__" | "_i"> & { allowContentBlockerCreation: boolean; allowLegalBasisLegalRequirement: boolean; contentBlockerTemplates: Array<{ identifier: string; name: string; subHeadline?: string }>; defaultPresetValues: Partial<FormServiceValueProps>; dynamicFields: FormServiceFieldHandlingDynamicFieldProps[]; essentialGroupId: number; groups: Array<{ id: number; name: string }>; hasManager: boolean; hasServiceByConsentForwardingUniqueName: (slug: string) => Promise<boolean>; isConsentForwarding: boolean; isDataProcessingInUnsafeCountries: boolean; isEdit: boolean; isPro: boolean; isTcf: boolean; isTemplateUpdate: boolean; notices: { createContentBlocker: NoticeEntry[]; group: NoticeEntry[]; providerPrivacyPolicyUrl: NoticeEntry[]; technicalHandling: NoticeEntry[] }; presetCheck: boolean; renderCodeMirror: () => Element; serviceGotScanned: boolean; serviceIsManager: boolean; setCookiesViaManager: ServiceTagManager; skipIfActiveComponents: Record<string, string> }>