"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.registerAiopsUiActions = registerAiopsUiActions; var _public = require("@kbn/embeddable-plugin/public"); var _edit_change_point_charts_panel = require("./edit_change_point_charts_panel"); /* * 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. */ function registerAiopsUiActions(uiActions, core) { // Initialize actions const editChangePointChartPanelAction = (0, _edit_change_point_charts_panel.createEditChangePointChartsPanelAction)(core.getStartServices); // Register actions uiActions.registerAction(editChangePointChartPanelAction); // Assign and register triggers uiActions.attachAction(_public.CONTEXT_MENU_TRIGGER, editChangePointChartPanelAction.id); }