"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.I18N_WEEKDAY_OPTIONS_DDD = exports.I18N_WEEKDAY_OPTIONS = void 0; var _common = require("@kbn/alerting-plugin/common"); var _moment = _interopRequireDefault(require("moment")); /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ const I18N_WEEKDAY_OPTIONS = _common.ISO_WEEKDAYS.map(n => ({ id: String(n), label: (0, _moment.default)().isoWeekday(n).format('dd') })); exports.I18N_WEEKDAY_OPTIONS = I18N_WEEKDAY_OPTIONS; const I18N_WEEKDAY_OPTIONS_DDD = _common.ISO_WEEKDAYS.map(n => ({ id: String(n), label: (0, _moment.default)().isoWeekday(n).format('ddd') })); exports.I18N_WEEKDAY_OPTIONS_DDD = I18N_WEEKDAY_OPTIONS_DDD;