"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.buildUiSchema = void 0;
const buildUiSchema = (i18nScope, _options, _context) => {
    return Promise.resolve({
        type: "Layout",
        elements: [
            {
                type: "Section",
                elements: [
                    {
                        labelKey: `${i18nScope}.fields.allowRegistration.label`,
                        scope: "/properties/allowRegistration",
                        type: "Control",
                        options: {
                            control: "hub-field-input-tile-select",
                            type: "radio",
                            helperText: {
                                labelKey: `${i18nScope}.fields.allowRegistration.helperText`,
                            },
                            labels: [
                                `{{${i18nScope}.fields.allowRegistration.enabled.label:translate}}`,
                                `{{${i18nScope}.fields.allowRegistration.disabled.label:translate}}`,
                            ],
                            descriptions: [
                                `{{${i18nScope}.fields.allowRegistration.enabled.description:translate}}`,
                                `{{${i18nScope}.fields.allowRegistration.disabled.description:translate}}`,
                            ],
                            icons: ["user-calendar", "circle-disallowed"],
                            layout: "horizontal",
                        },
                    },
                    {
                        labelKey: `${i18nScope}.fields.notifyAttendees.label`,
                        scope: "/properties/notifyAttendees",
                        type: "Control",
                        options: {
                            control: "hub-field-input-tile-select",
                            type: "radio",
                            helperText: {
                                labelKey: `${i18nScope}.fields.notifyAttendees.helperText`,
                            },
                            labels: [
                                `{{${i18nScope}.fields.notifyAttendees.enabled.label:translate}}`,
                                `{{${i18nScope}.fields.notifyAttendees.disabled.label:translate}}`,
                            ],
                            descriptions: [
                                `{{${i18nScope}.fields.notifyAttendees.enabled.description:translate}}`,
                                `{{${i18nScope}.fields.notifyAttendees.disabled.description:translate}}`,
                            ],
                            icons: ["envelope", "circle-disallowed"],
                            layout: "horizontal",
                        },
                    },
                ],
            },
        ],
    });
};
exports.buildUiSchema = buildUiSchema;
//# sourceMappingURL=EventUiSchemaAttendeesSettings.js.map