/**
 * DevExtreme (cjs/renovation/ui/scheduler/appointment_edit_form/edit_form/layout_items/dateBox.js)
 * Version: 23.2.4 (build 24056-0112)
 * Build date: Sun Feb 25 2024
 *
 * Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED
 * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
 */
"use strict";
exports.getDateBoxLayoutItemConfig = void 0;
var _renderTemplate = require("../utils/renderTemplate");
const getDateBoxLayoutItemConfig = (editorTemplate, dataField, colSpan, labelText) => ({
    dataField: dataField,
    colSpan: colSpan,
    label: {
        text: labelText
    },
    validationRules: [{
        type: "required"
    }],
    template: (0, _renderTemplate.getRenderEditorTemplate)(editorTemplate)
});
exports.getDateBoxLayoutItemConfig = getDateBoxLayoutItemConfig;
