/**
 * @private
 * settings uiSchema for Hub Discussions - this
 * defines how the schema properties should be
 * rendered in the Discussions settings experience
 */
export const buildUiSchema = (i18nScope, _options, _context) => {
    return Promise.resolve({
        type: "Layout",
        elements: [
            {
                type: "Section",
                labelKey: `shared.sections.mapSettings.label`,
                elements: [
                    {
                        type: "Control",
                        scope: "/properties/view/properties/mapSettings",
                        labelKey: `${i18nScope}.fields.mapSettings.label`,
                        options: {
                            type: "Control",
                            control: "hub-composite-input-map-settings",
                            // the settings that are visible for configuring the map
                            visibleSettings: ["gallery"],
                            // if the map preview is displayed
                            showPreview: true,
                        },
                    },
                ],
            },
        ],
    });
};
//# sourceMappingURL=DiscussionUiSchemaSettings.js.map