"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getUISettings = void 0; var _i18n = require("@kbn/i18n"); var _configSchema = require("@kbn/config-schema"); var _server = require("@kbn/presentation-util-plugin/server"); var _common = require("../common"); /* * 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. */ /** * uiSettings definitions for Presentation Util. */ const getUISettings = () => ({ [_common.UI_SETTINGS.ENABLE_LABS_UI]: { name: _i18n.i18n.translate('xpack.canvas.labs.enableUI', { defaultMessage: 'Enable labs button in Canvas' }), description: _i18n.i18n.translate('xpack.canvas.labs.enableLabsDescription', { defaultMessage: 'This flag determines if the viewer has access to the Labs button, a quick way to enable and disable technical preview features in Canvas.' }), value: false, type: 'boolean', schema: _configSchema.schema.boolean(), category: [_server.SETTING_CATEGORY], requiresPageReload: true } }); exports.getUISettings = getUISettings;