/**
 * @private
 * constructs the followers uiSchema for Hub Sites.
 * This defines how the schema properties should
 * be rendered in the site followers > settings
 * experience
 */
export const buildUiSchema = (i18nScope, _options, _context) => {
    return Promise.resolve({
        type: "Layout",
        elements: [
            {
                type: "Section",
                elements: [
                    {
                        labelKey: `${i18nScope}.fields.followers.groupAccess.label`,
                        scope: "/properties/_followers/properties/groupAccess",
                        type: "Control",
                        options: {
                            control: "hub-field-input-tile-select",
                            layout: "horizontal",
                            helperText: {
                                labelKey: `${i18nScope}.fields.followers.groupAccess.helperText`,
                            },
                            labels: [
                                `{{${i18nScope}.fields.followers.groupAccess.private.label:translate}}`,
                                `{{${i18nScope}.fields.followers.groupAccess.org.label:translate}}`,
                                `{{${i18nScope}.fields.followers.groupAccess.public.label:translate}}`,
                            ],
                            descriptions: [
                                `{{${i18nScope}.fields.followers.groupAccess.private.description:translate}}`,
                                `{{${i18nScope}.fields.followers.groupAccess.org.description:translate}}`,
                                `{{${i18nScope}.fields.followers.groupAccess.public.description:translate}}`,
                            ],
                            icons: ["users", "organization", "globe"],
                            styles: { "max-width": "45rem" },
                        },
                    },
                    {
                        labelKey: `${i18nScope}.fields.followers.showFollowAction.label`,
                        scope: "/properties/_followers/properties/showFollowAction",
                        type: "Control",
                        options: {
                            control: "hub-field-input-switch",
                            layout: "inline-space-between",
                            helperText: {
                                labelKey: `${i18nScope}.fields.followers.showFollowAction.helperText`,
                            },
                        },
                    },
                    {
                        labelKey: `${i18nScope}.fields.followers.discussable.label`,
                        scope: "/properties/_followers/properties/isDiscussable",
                        type: "Control",
                        options: {
                            control: "hub-field-input-tile-select",
                            layout: "horizontal",
                            labels: [
                                `{{${i18nScope}.fields.followers.discussable.enabled.label:translate}}`,
                                `{{${i18nScope}.fields.followers.discussable.disabled.label:translate}}`,
                            ],
                            descriptions: [
                                `{{${i18nScope}.fields.followers.discussable.enabled.description:translate}}`,
                                `{{${i18nScope}.fields.followers.discussable.disabled.description:translate}}`,
                            ],
                            icons: ["speech-bubbles", "circle-disallowed"],
                            type: "radio",
                            styles: { "max-width": "45rem" },
                        },
                    },
                ],
            },
        ],
    });
};
//# sourceMappingURL=SiteUiSchemaFollowers.js.map