Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "wordpress-plugins/real-cookie-banner/src/public/ts/components/config/cookies/tcf/formFields/general"

Index

Variables

Const TcfVendorConfigurationFormGeneralFields

TcfVendorConfigurationFormGeneralFields: FC<{ vendor: TcfVendor }> = observer(({vendor: {data: {id,name,policyUrl,additionalInformation: { legalAddress, territorialScope }}}}) => {const {optionStore: {ePrivacyUSA,others: { iso3166OneAlpha2 }}} = useStores();return (<><FormHeadline offset={TcfVendorConfigurationFormLayout.labelCol.span}>{__("General vendor configuration")}</FormHeadline><Form.Item label={__("Provider")}><Input value={name} readOnly addonAfter={__("Vendor ID: %d", id)} /></Form.Item><Form.Item label={__("Status")} required><Form.Itemname="status"noStylerules={[{ required: true, message: __("Please choose a status!") }]}><Radio.Group><Radio.Button value="publish">{__("Enabled")}</Radio.Button><Radio.Button value="private">{__("Disabled")}</Radio.Button><Radio.Button value="draft">{__("Draft")}</Radio.Button></Radio.Group></Form.Item><p className="description">{__('Vendor configurations with the status "Draft" or "Disabled" are not visible to the public. In addition, a draft is highlighted in the table of vendor configurations so that you do not forget to complete it.')}</p></Form.Item><Form.Item label={__("Legal address")}><Input.TextArea value={legalAddress.split(";").join("\n")} readOnly autoSize /></Form.Item><Form.Item label={__("Privacy policy of the provider")}><Input value={policyUrl} readOnly /></Form.Item><Form.Item label={__("US data processing")} style={{ display: ePrivacyUSA ? undefined : "none" }}><Form.Item name="ePrivacyUSA" noStyle><Radio.Group><Radio.Button value={2}>{__("Unknown")}</Radio.Button><Radio.Button value={1}>{__("Yes")}</Radio.Button><Radio.Button value={0}>{__("No")}</Radio.Button></Radio.Group></Form.Item><p className="description">{__("This vendor processes data in the USA or transfers data to US companies or servers.")}</p></Form.Item><Form.Item label={__("Territorial scope")}>{territorialScope.map((scope) => (<Tag key={scope}>{iso3166OneAlpha2[scope]}</Tag>))}</Form.Item></>);})

Generated using TypeDoc