"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.buildUiSchema = void 0;
/**
 * @private
 * constructs the settings uiSchema for Hub Initiatives.
 * This defines how the schema should be rendered
 * in the initiative settings pane
 */
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,
                        },
                    },
                ],
            },
        ],
    });
};
exports.buildUiSchema = buildUiSchema;
//# sourceMappingURL=InitiativeUiSchemaSettings.js.map