"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDateRangeTypeLabel = exports.dateRangeTypeOptions = void 0;
var ui_i18n_1 = __importDefault(require("ui-i18n"));
var mdm_sdk_1 = require("@reltio/mdm-sdk");
exports.dateRangeTypeOptions = [mdm_sdk_1.DateRangeTypes.WITHIN, mdm_sdk_1.DateRangeTypes.AGO, mdm_sdk_1.DateRangeTypes.BETWEEN];
var getDateRangeTypeLabel = function (type) {
    var _a;
    var labels = (_a = {},
        _a[mdm_sdk_1.DateRangeTypes.WITHIN] = ui_i18n_1.default.text('Within the last'),
        _a[mdm_sdk_1.DateRangeTypes.AGO] = ui_i18n_1.default.text('More than'),
        _a[mdm_sdk_1.DateRangeTypes.BETWEEN] = ui_i18n_1.default.text('Date range'),
        _a);
    return labels[type] || '';
};
exports.getDateRangeTypeLabel = getDateRangeTypeLabel;
