"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.help = exports.errors = void 0; var _i18n = require("@kbn/i18n"); /* * 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 help = { help: _i18n.i18n.translate('xpack.canvas.functions.joinRowsHelpText', { defaultMessage: 'Concatenates values from rows in a `datatable` into a single string.' }), args: { column: _i18n.i18n.translate('xpack.canvas.functions.joinRows.args.columnHelpText', { defaultMessage: 'The column or field from which to extract the values.' }), separator: _i18n.i18n.translate('xpack.canvas.functions.joinRows.args.separatorHelpText', { defaultMessage: 'The delimiter to insert between each extracted value.' }), quote: _i18n.i18n.translate('xpack.canvas.functions.joinRows.args.quoteHelpText', { defaultMessage: 'The quote character to wrap around each extracted value.' }), distinct: _i18n.i18n.translate('xpack.canvas.functions.joinRows.args.distinctHelpText', { defaultMessage: 'Extract only unique values?' }) } }; exports.help = help; const errors = { columnNotFound: column => new Error(_i18n.i18n.translate('xpack.canvas.functions.joinRows.columnNotFoundErrorMessage', { defaultMessage: "Column not found: '{column}'", values: { column } })) }; exports.errors = errors;