From 1b2c58f58ec1946bdaadded76cc2fbd30dfa1b6d Mon Sep 17 00:00:00 2001 From: Vadim Kibana <82822460+vadimkibana@users.noreply.github.com> Date: Tue, 7 Jun 2022 18:33:21 +0200 Subject: [PATCH] ui_actions_enchanced to /src (#133512) * move ui_actions_enhanced to /src * [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix' * [CI] Auto-commit changed files from 'node scripts/build_plugin_list_docs' * move translations to /src * fix typescript errors * update config files * update ts configs * fix config path * [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> --- .github/CODEOWNERS | 2 +- .i18nrc.json | 1 + docs/developer/plugin-list.asciidoc | 8 +- src/dev/storybook/aliases.ts | 2 +- .../ui_actions_enhanced/.eslintrc.json | 0 .../ui_actions_enhanced/.storybook/main.js | 5 +- .../plugins/ui_actions_enhanced/README.md | 0 .../ui_actions_enhanced/common/index.ts | 5 +- .../ui_actions_enhanced/common/types.ts | 5 +- .../ui_actions_enhanced/jest.config.js | 18 ++ .../plugins/ui_actions_enhanced/kibana.json | 5 +- .../public/can_inherit_time_range.test.ts | 5 +- .../public/can_inherit_time_range.ts | 5 +- .../action_factory_picker.tsx | 5 +- .../action_factory_picker/index.ts | 5 +- .../action_wizard/action_wizard.scss | 0 .../action_wizard/action_wizard.stories.tsx | 5 +- .../action_wizard/action_wizard.test.tsx | 5 +- .../action_wizard/action_wizard.tsx | 7 +- .../public/components/action_wizard/i18n.ts | 17 +- .../public/components/action_wizard/index.ts | 5 +- .../components/action_wizard/test_data.tsx | 5 +- .../public/components/index.ts | 5 +- .../components/presentable_picker/i18n.ts | 11 +- .../components/presentable_picker/index.ts | 5 +- .../presentable_picker.stories.tsx | 5 +- .../presentable_picker/presentable_picker.tsx | 5 +- .../presentable_picker_item.tsx | 5 +- .../components/presentable_picker/styles.scss | 0 .../public/custom_time_range_action.test.ts | 5 +- .../public/custom_time_range_action.tsx | 7 +- .../public/custom_time_range_badge.test.ts | 5 +- .../public/custom_time_range_badge.tsx | 5 +- .../customize_time_range_modal.test.tsx | 5 +- .../public/customize_time_range_modal.tsx | 17 +- .../public/does_inherit_time_range.ts | 5 +- .../public/drilldowns/drilldown_definition.ts | 5 +- .../drilldowns/drilldown_manager/README.md | 0 .../action_factory/action_factory.tsx | 22 ++- .../components/action_factory/index.ts | 5 +- .../button_submit/button_submit.tsx | 5 +- .../components/button_submit/index.ts | 5 +- .../drilldown_form/drilldown_form.stories.tsx | 5 +- .../drilldown_form/drilldown_form.tsx | 11 +- .../components/drilldown_form/index.tsx | 5 +- .../drilldown_hello_bar.stories.tsx | 5 +- .../drilldown_hello_bar.tsx | 5 +- .../components/drilldown_hello_bar/i18n.ts | 11 +- .../components/drilldown_hello_bar/index.tsx | 5 +- .../drilldown_table.stories.tsx | 5 +- .../drilldown_table/drilldown_table.test.tsx | 5 +- .../drilldown_table/drilldown_table.tsx | 5 +- .../components/drilldown_table/i18n.ts | 21 +-- .../components/drilldown_table/index.tsx | 5 +- .../drilldown_template_table.tsx | 5 +- .../drilldown_template_table/i18n.ts | 19 +- .../drilldown_template_table/index.tsx | 5 +- .../flyout_frame/flyout_frame.stories.tsx | 5 +- .../flyout_frame/flyout_frame.test.tsx | 5 +- .../components/flyout_frame/flyout_frame.tsx | 5 +- .../components/flyout_frame/i18n.ts | 9 +- .../components/flyout_frame/index.tsx | 5 +- .../components/text_with_icon/index.tsx | 5 +- .../text_with_icon/text_with_icon.tsx | 5 +- .../components/trigger_line_item/index.tsx | 5 +- .../trigger_line_item/trigger_line_item.tsx | 7 +- .../components/trigger_picker/index.ts | 5 +- .../trigger_picker/trigger_picker.stories.tsx | 5 +- .../trigger_picker/trigger_picker.tsx | 11 +- .../trigger_picker/trigger_picker_item.tsx | 7 +- .../drilldown_manager/components/types.ts | 5 +- .../action_factory_picker.tsx | 5 +- .../action_factory_picker/index.ts | 5 +- .../action_factory_view.tsx | 5 +- .../containers/action_factory_view/index.ts | 5 +- .../containers/context/context.tsx | 5 +- .../containers/context/index.ts | 5 +- .../create_drilldown_form.tsx | 9 +- .../containers/create_drilldown_form/index.ts | 5 +- .../drilldown_list/cloning_notification.tsx | 24 ++- .../drilldown_list/drilldown_list.tsx | 5 +- .../containers/drilldown_list/index.ts | 5 +- .../create_public_drilldown_manager.tsx | 5 +- .../drilldown_manager/drilldown_manager.tsx | 5 +- .../drilldown_manager_content.tsx | 5 +- .../drilldown_manager_with_provider.tsx | 5 +- .../containers/drilldown_manager/index.ts | 5 +- .../drilldown_manager_footer.tsx | 5 +- .../drilldown_manager_footer/index.ts | 5 +- .../drilldown_manager_title.tsx | 5 +- .../drilldown_manager_title/index.ts | 5 +- .../drilldown_state_form.tsx | 5 +- .../containers/drilldown_state_form/index.ts | 5 +- .../edit_drilldown_form.tsx | 9 +- .../containers/edit_drilldown_form/index.ts | 5 +- .../create_drilldown_form.tsx | 5 +- .../edit_drilldown_form.tsx | 7 +- .../form_drilldown_wizard.tsx | 5 +- .../containers/form_drilldown_wizard/i18n.ts | 11 +- .../containers/form_drilldown_wizard/index.ts | 5 +- .../containers/hello_bar/hello_bar.tsx | 5 +- .../containers/hello_bar/index.ts | 5 +- .../drilldown_manager/containers/index.ts | 5 +- .../containers/tabs/index.ts | 5 +- .../containers/tabs/tabs.tsx | 9 +- .../containers/template_picker/i18n.ts | 7 +- .../containers/template_picker/index.ts | 5 +- .../template_picker/template_list.tsx | 5 +- .../template_picker/template_picker.tsx | 5 +- .../hooks/use_sync_observable.ts | 5 +- .../drilldowns/drilldown_manager/index.ts | 5 +- .../state/drilldown_manager_state.test.tsx | 11 +- .../state/drilldown_manager_state.ts | 5 +- .../state/drilldown_state.ts | 5 +- .../drilldown_manager/state/i18n.ts | 29 +-- .../drilldown_manager/state/index.ts | 5 +- .../drilldowns/drilldown_manager/types.ts | 5 +- .../public/drilldowns/index.ts | 5 +- .../public/drilldowns/url_drilldown/README.md | 0 .../url_drilldown/components/index.ts | 5 +- .../url_drilldown_collect_config/i18n.ts | 25 +-- .../url_drilldown_collect_config/index.scss | 0 .../url_drilldown_collect_config/index.ts | 5 +- .../url_drilldown_collect_config/lazy.tsx | 5 +- .../test_samples/demo.tsx | 5 +- .../url_drilldown_collect_config.story.tsx | 5 +- .../url_drilldown_collect_config.tsx | 5 +- .../components/variable_popover/i18n.ts | 11 +- .../components/variable_popover/index.tsx | 5 +- .../drilldowns/url_drilldown/handlebars.ts | 5 +- .../public/drilldowns/url_drilldown/index.ts | 5 +- .../public/drilldowns/url_drilldown/types.ts | 5 +- .../url_drilldown_global_scope.ts | 5 +- .../url_drilldown/url_template.test.ts | 5 +- .../drilldowns/url_drilldown/url_template.ts | 5 +- .../url_drilldown/url_validation.test.ts | 5 +- .../url_drilldown/url_validation.ts | 22 ++- .../dynamic_actions/action_factory.test.ts | 5 +- .../public/dynamic_actions/action_factory.ts | 15 +- .../action_factory_definition.ts | 5 +- .../dynamic_action_enhancement.ts | 5 +- .../dynamic_action_grouping.ts | 7 +- .../dynamic_action_manager.test.ts | 5 +- .../dynamic_actions/dynamic_action_manager.ts | 5 +- .../dynamic_action_manager_state.ts | 5 +- .../dynamic_actions/dynamic_action_storage.ts | 5 +- .../public/dynamic_actions/index.ts | 5 +- .../public/dynamic_actions/types.ts | 5 +- .../ui_actions_enhanced/public/index.ts | 5 +- .../ui_actions_enhanced/public/mocks.ts | 5 +- .../ui_actions_enhanced/public/plugin.ts | 15 +- .../public/services/index.ts | 5 +- .../ui_actions_service_enhancements.test.ts | 7 +- .../ui_actions_service_enhancements.ts | 18 +- .../public/test_helpers/index.ts | 5 +- .../test_helpers/time_range_container.ts | 5 +- .../test_helpers/time_range_embeddable.ts | 5 +- .../time_range_embeddable_factory.ts | 5 +- .../ui_actions_enhanced/public/types.ts | 5 +- .../server/dynamic_action_enhancement.ts | 5 +- .../ui_actions_enhanced/server/index.ts | 5 +- .../ui_actions_enhanced/server/plugin.ts | 5 +- ...dynamic_action_factories_collector.test.ts | 5 +- .../dynamic_action_factories_collector.ts | 5 +- .../dynamic_actions_collector.test.ts | 5 +- .../telemetry/dynamic_actions_collector.ts | 5 +- .../server/telemetry/get_metric_key.ts | 5 +- .../ui_actions_enhanced/server/types.ts | 5 +- src/plugins/ui_actions_enhanced/tsconfig.json | 24 +++ tsconfig.base.json | 4 +- x-pack/.i18nrc.json | 1 - .../discover_drilldown_config/i18n.ts | 2 +- .../dashboard_to_discover_drilldown/i18n.ts | 2 +- .../tsconfig.json | 2 +- .../plugins/dashboard_enhanced/tsconfig.json | 2 +- .../drilldowns/url_drilldown/tsconfig.json | 2 +- .../plugins/embeddable_enhanced/tsconfig.json | 3 +- x-pack/plugins/lens/tsconfig.json | 2 +- .../translations/translations/fr-FR.json | 168 +++++++++--------- .../translations/translations/ja-JP.json | 168 +++++++++--------- .../translations/translations/zh-CN.json | 168 +++++++++--------- .../ui_actions_enhanced/jest.config.js | 17 -- .../plugins/ui_actions_enhanced/tsconfig.json | 25 --- x-pack/test/tsconfig.json | 2 +- 184 files changed, 906 insertions(+), 755 deletions(-) rename {x-pack => src}/plugins/ui_actions_enhanced/.eslintrc.json (100%) rename {x-pack => src}/plugins/ui_actions_enhanced/.storybook/main.js (54%) rename {x-pack => src}/plugins/ui_actions_enhanced/README.md (100%) rename {x-pack => src}/plugins/ui_actions_enhanced/common/index.ts (59%) rename {x-pack => src}/plugins/ui_actions_enhanced/common/types.ts (79%) create mode 100644 src/plugins/ui_actions_enhanced/jest.config.js rename {x-pack => src}/plugins/ui_actions_enhanced/kibana.json (69%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/can_inherit_time_range.test.ts (88%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/can_inherit_time_range.ts (79%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/components/action_factory_picker/action_factory_picker.tsx (90%) rename {x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers => src/plugins/ui_actions_enhanced/public/components}/action_factory_picker/index.ts (52%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.scss (100%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.stories.tsx (85%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.test.tsx (95%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.tsx (97%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/components/action_wizard/i18n.ts (66%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/components/action_wizard/index.ts (53%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/components/action_wizard/test_data.tsx (97%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/components/index.ts (51%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/components/presentable_picker/i18n.ts (67%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/components/presentable_picker/index.ts (51%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker.stories.tsx (95%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker.tsx (90%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker_item.tsx (90%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/components/presentable_picker/styles.scss (100%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/custom_time_range_action.test.ts (97%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/custom_time_range_action.tsx (92%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/custom_time_range_badge.test.ts (96%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/custom_time_range_badge.tsx (94%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/customize_time_range_modal.test.tsx (83%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/customize_time_range_modal.tsx (87%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/does_inherit_time_range.ts (82%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_definition.ts (96%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/README.md (100%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/action_factory/action_factory.tsx (83%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/action_factory/index.ts (51%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/button_submit/button_submit.tsx (76%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/button_submit/index.ts (51%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.stories.tsx (89%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.tsx (84%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/index.tsx (51%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/drilldown_hello_bar.stories.tsx (75%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/drilldown_hello_bar.tsx (89%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/i18n.ts (59%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/index.tsx (52%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.stories.tsx (92%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.test.tsx (92%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.tsx (96%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/i18n.ts (54%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/index.tsx (51%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/drilldown_template_table.tsx (94%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/i18n.ts (63%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/index.tsx (52%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.stories.tsx (87%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.test.tsx (93%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.tsx (92%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/i18n.ts (51%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/index.tsx (51%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/text_with_icon/index.tsx (51%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/text_with_icon/text_with_icon.tsx (88%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_line_item/index.tsx (51%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_line_item/trigger_line_item.tsx (78%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/index.ts (59%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker.stories.tsx (92%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker.tsx (84%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker_item.tsx (84%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/types.ts (54%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_picker/action_factory_picker.tsx (86%) rename {x-pack/plugins/ui_actions_enhanced/public/components => src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers}/action_factory_picker/index.ts (52%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_view/action_factory_view.tsx (85%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_view/index.ts (52%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/context/context.tsx (81%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/context/index.ts (50%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/create_drilldown_form/create_drilldown_form.tsx (85%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/create_drilldown_form/index.ts (52%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/cloning_notification.tsx (62%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/drilldown_list.tsx (87%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/index.ts (51%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/create_public_drilldown_manager.tsx (89%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager.tsx (85%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager_content.tsx (79%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager_with_provider.tsx (74%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/index.ts (53%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_footer/drilldown_manager_footer.tsx (78%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_footer/index.ts (52%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_title/drilldown_manager_title.tsx (78%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_title/index.ts (52%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_state_form/drilldown_state_form.tsx (88%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_state_form/index.ts (52%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/edit_drilldown_form/edit_drilldown_form.tsx (86%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/edit_drilldown_form/index.ts (52%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/create_drilldown_form.tsx (87%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/edit_drilldown_form.tsx (86%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/form_drilldown_wizard.tsx (81%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/i18n.ts (53%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/index.ts (52%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/hello_bar/hello_bar.tsx (77%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/hello_bar/index.ts (50%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/index.ts (62%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/tabs/index.ts (50%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/tabs/tabs.tsx (80%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/i18n.ts (57%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/index.ts (51%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/template_list.tsx (90%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/template_picker.tsx (73%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/hooks/use_sync_observable.ts (86%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/index.ts (53%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_manager_state.test.tsx (97%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_manager_state.ts (98%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_state.ts (97%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/i18n.ts (64%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/index.ts (56%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/types.ts (96%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/index.ts (56%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/README.md (100%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/index.ts (56%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/i18n.ts (60%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/index.scss (100%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/index.ts (59%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/lazy.tsx (79%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/test_samples/demo.tsx (81%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_collect_config.story.tsx (65%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_collect_config.tsx (95%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/variable_popover/i18n.ts (53%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/variable_popover/index.tsx (93%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/handlebars.ts (96%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/index.ts (76%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/types.ts (84%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_drilldown_global_scope.ts (73%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.test.ts (98%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.ts (77%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_validation.test.ts (94%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_validation.ts (76%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory.test.ts (95%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory.ts (92%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory_definition.ts (91%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_enhancement.ts (86%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_grouping.ts (71%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.test.ts (99%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts (98%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager_state.ts (93%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_storage.ts (93%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/dynamic_actions/index.ts (68%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/dynamic_actions/types.ts (72%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/index.ts (91%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/mocks.ts (93%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/plugin.ts (91%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/services/index.ts (53%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/services/ui_actions_service_enhancements.test.ts (96%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/services/ui_actions_service_enhancements.ts (92%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/test_helpers/index.ts (62%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/test_helpers/time_range_container.ts (87%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/test_helpers/time_range_embeddable.ts (80%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/test_helpers/time_range_embeddable_factory.ts (83%) rename {x-pack => src}/plugins/ui_actions_enhanced/public/types.ts (72%) rename {x-pack => src}/plugins/ui_actions_enhanced/server/dynamic_action_enhancement.ts (92%) rename {x-pack => src}/plugins/ui_actions_enhanced/server/index.ts (81%) rename {x-pack => src}/plugins/ui_actions_enhanced/server/plugin.ts (91%) rename {x-pack => src}/plugins/ui_actions_enhanced/server/telemetry/dynamic_action_factories_collector.test.ts (94%) rename {x-pack => src}/plugins/ui_actions_enhanced/server/telemetry/dynamic_action_factories_collector.ts (78%) rename {x-pack => src}/plugins/ui_actions_enhanced/server/telemetry/dynamic_actions_collector.test.ts (97%) rename {x-pack => src}/plugins/ui_actions_enhanced/server/telemetry/dynamic_actions_collector.ts (86%) rename {x-pack => src}/plugins/ui_actions_enhanced/server/telemetry/get_metric_key.ts (64%) rename {x-pack => src}/plugins/ui_actions_enhanced/server/types.ts (80%) create mode 100644 src/plugins/ui_actions_enhanced/tsconfig.json delete mode 100644 x-pack/plugins/ui_actions_enhanced/jest.config.js delete mode 100644 x-pack/plugins/ui_actions_enhanced/tsconfig.json diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 3cdd9a3c74ec..ceb9137f9f56 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -72,6 +72,7 @@ /src/plugins/navigation/ @elastic/kibana-app-services /src/plugins/share/ @elastic/kibana-app-services /src/plugins/ui_actions/ @elastic/kibana-app-services +/src/plugins/ui_actions_enhanced/ @elastic/kibana-app-services /src/plugins/data_view_field_editor @elastic/kibana-app-services /src/plugins/screenshot_mode @elastic/kibana-app-services /src/plugins/bfetch/ @elastic/kibana-app-services @@ -80,7 +81,6 @@ /src/plugins/unified_search/ @elastic/kibana-app-services /x-pack/examples/ui_actions_enhanced_examples/ @elastic/kibana-app-services /x-pack/plugins/embeddable_enhanced/ @elastic/kibana-app-services -/x-pack/plugins/ui_actions_enhanced/ @elastic/kibana-app-services /x-pack/plugins/runtime_fields @elastic/kibana-app-services /x-pack/test/search_sessions_integration/ @elastic/kibana-app-services /src/plugins/dashboard/public/application/embeddable/viewport/print_media @elastic/kibana-app-services diff --git a/.i18nrc.json b/.i18nrc.json index a5d1b36ede73..0ab8e6b490a1 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -77,6 +77,7 @@ "src/plugins/vis_types/timelion" ], "uiActions": "src/plugins/ui_actions", + "uiActionsEnhanced": "src/plugins/ui_actions_enhanced", "uiActionsExamples": "examples/ui_action_examples", "usageCollection": "src/plugins/usage_collection", "utils": "packages/kbn-securitysolution-utils/src", diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index 837e8845ec54..919727dfe862 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -291,6 +291,10 @@ In general this plugin provides: - Exposing a context menu for the user to choose the appropriate action when there are multiple actions attached to a single trigger. +|{kib-repo}blob/{branch}/src/plugins/ui_actions_enhanced/README.md[uiActionsEnhanced] +|Registers commercially licensed generic actions like per panel time range and contains some code that supports drilldown work. + + |{kib-repo}blob/{branch}/src/plugins/unified_search/README.md[unifiedSearch] |Contains all the components of Kibana's unified search experience. Specifically: @@ -649,10 +653,6 @@ For adding localizations and instrument a ui to support translated content, see As a developer you can reuse and extend built-in alerts and actions UI functionality: -|{kib-repo}blob/{branch}/x-pack/plugins/ui_actions_enhanced/README.md[uiActionsEnhanced] -|Registers commercially licensed generic actions like per panel time range and contains some code that supports drilldown work. - - |{kib-repo}blob/{branch}/x-pack/plugins/upgrade_assistant/README.md[upgradeAssistant] |Upgrade Assistant helps users prepare their Stack for being upgraded to the next major. It will only be enabled on the last minor before the next major release. This is controlled via the config: xpack.upgrade_assistant.readonly (#101296). diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index 45b8aad7df8c..702b63fe48fc 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -38,5 +38,5 @@ export const storybookAliases = { presentation: 'src/plugins/presentation_util/storybook', security_solution: 'x-pack/plugins/security_solution/.storybook', shared_ux: 'packages/kbn-shared-ux-storybook/src/config', - ui_actions_enhanced: 'x-pack/plugins/ui_actions_enhanced/.storybook', + ui_actions_enhanced: 'src/plugins/ui_actions_enhanced/.storybook', }; diff --git a/x-pack/plugins/ui_actions_enhanced/.eslintrc.json b/src/plugins/ui_actions_enhanced/.eslintrc.json similarity index 100% rename from x-pack/plugins/ui_actions_enhanced/.eslintrc.json rename to src/plugins/ui_actions_enhanced/.eslintrc.json diff --git a/x-pack/plugins/ui_actions_enhanced/.storybook/main.js b/src/plugins/ui_actions_enhanced/.storybook/main.js similarity index 54% rename from x-pack/plugins/ui_actions_enhanced/.storybook/main.js rename to src/plugins/ui_actions_enhanced/.storybook/main.js index 86b48c32f103..8dc3c5d1518f 100644 --- a/x-pack/plugins/ui_actions_enhanced/.storybook/main.js +++ b/src/plugins/ui_actions_enhanced/.storybook/main.js @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ module.exports = require('@kbn/storybook').defaultConfig; diff --git a/x-pack/plugins/ui_actions_enhanced/README.md b/src/plugins/ui_actions_enhanced/README.md similarity index 100% rename from x-pack/plugins/ui_actions_enhanced/README.md rename to src/plugins/ui_actions_enhanced/README.md diff --git a/x-pack/plugins/ui_actions_enhanced/common/index.ts b/src/plugins/ui_actions_enhanced/common/index.ts similarity index 59% rename from x-pack/plugins/ui_actions_enhanced/common/index.ts rename to src/plugins/ui_actions_enhanced/common/index.ts index 30192e925d6f..f92a61f3f784 100644 --- a/x-pack/plugins/ui_actions_enhanced/common/index.ts +++ b/src/plugins/ui_actions_enhanced/common/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export type { diff --git a/x-pack/plugins/ui_actions_enhanced/common/types.ts b/src/plugins/ui_actions_enhanced/common/types.ts similarity index 79% rename from x-pack/plugins/ui_actions_enhanced/common/types.ts rename to src/plugins/ui_actions_enhanced/common/types.ts index 02cab5d17c0b..5237b6f23ee2 100644 --- a/x-pack/plugins/ui_actions_enhanced/common/types.ts +++ b/src/plugins/ui_actions_enhanced/common/types.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import type { SerializableRecord } from '@kbn/utility-types'; diff --git a/src/plugins/ui_actions_enhanced/jest.config.js b/src/plugins/ui_actions_enhanced/jest.config.js new file mode 100644 index 000000000000..8cd91fb2922b --- /dev/null +++ b/src/plugins/ui_actions_enhanced/jest.config.js @@ -0,0 +1,18 @@ +/* + * 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 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../..', + roots: ['/src/plugins/ui_actions_enhanced'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/ui_actions_enhanced', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/plugins/ui_actions_enhanced/{common,public,server}/**/*.{ts,tsx}', + ], +}; diff --git a/x-pack/plugins/ui_actions_enhanced/kibana.json b/src/plugins/ui_actions_enhanced/kibana.json similarity index 69% rename from x-pack/plugins/ui_actions_enhanced/kibana.json rename to src/plugins/ui_actions_enhanced/kibana.json index fd7ffb820727..0f050db399d3 100644 --- a/x-pack/plugins/ui_actions_enhanced/kibana.json +++ b/src/plugins/ui_actions_enhanced/kibana.json @@ -6,9 +6,10 @@ }, "description": "Extends UI Actions plugin with more functionality", "version": "kibana", - "configPath": ["xpack", "ui_actions_enhanced"], + "configPath": ["src", "ui_actions_enhanced"], "server": true, "ui": true, - "requiredPlugins": ["embeddable", "uiActions", "licensing"], + "requiredPlugins": ["embeddable", "uiActions"], + "optionalPlugins": ["licensing"], "requiredBundles": ["kibanaUtils", "kibanaReact", "data"] } diff --git a/x-pack/plugins/ui_actions_enhanced/public/can_inherit_time_range.test.ts b/src/plugins/ui_actions_enhanced/public/can_inherit_time_range.test.ts similarity index 88% rename from x-pack/plugins/ui_actions_enhanced/public/can_inherit_time_range.test.ts rename to src/plugins/ui_actions_enhanced/public/can_inherit_time_range.test.ts index 5418f4a8f55d..1221b44aefa7 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/can_inherit_time_range.test.ts +++ b/src/plugins/ui_actions_enhanced/public/can_inherit_time_range.test.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { canInheritTimeRange } from './can_inherit_time_range'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/can_inherit_time_range.ts b/src/plugins/ui_actions_enhanced/public/can_inherit_time_range.ts similarity index 79% rename from x-pack/plugins/ui_actions_enhanced/public/can_inherit_time_range.ts rename to src/plugins/ui_actions_enhanced/public/can_inherit_time_range.ts index 9a1f089c0830..3dd8d658b390 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/can_inherit_time_range.ts +++ b/src/plugins/ui_actions_enhanced/public/can_inherit_time_range.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { Embeddable, IContainer, ContainerInput } from '@kbn/embeddable-plugin/public'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/components/action_factory_picker/action_factory_picker.tsx b/src/plugins/ui_actions_enhanced/public/components/action_factory_picker/action_factory_picker.tsx similarity index 90% rename from x-pack/plugins/ui_actions_enhanced/public/components/action_factory_picker/action_factory_picker.tsx rename to src/plugins/ui_actions_enhanced/public/components/action_factory_picker/action_factory_picker.tsx index dcf99d400179..b6b41b31b7e4 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/components/action_factory_picker/action_factory_picker.tsx +++ b/src/plugins/ui_actions_enhanced/public/components/action_factory_picker/action_factory_picker.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_picker/index.ts b/src/plugins/ui_actions_enhanced/public/components/action_factory_picker/index.ts similarity index 52% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_picker/index.ts rename to src/plugins/ui_actions_enhanced/public/components/action_factory_picker/index.ts index 3d7ffed30185..47e9321e7481 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_picker/index.ts +++ b/src/plugins/ui_actions_enhanced/public/components/action_factory_picker/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './action_factory_picker'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.scss b/src/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.scss similarity index 100% rename from x-pack/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.scss rename to src/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.scss diff --git a/x-pack/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.stories.tsx b/src/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.stories.tsx similarity index 85% rename from x-pack/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.stories.tsx rename to src/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.stories.tsx index aaf65269a17e..a4c65d6ccf17 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.stories.tsx +++ b/src/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.stories.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.test.tsx b/src/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.test.tsx similarity index 95% rename from x-pack/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.test.tsx rename to src/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.test.tsx index 8b5a5c7e6fdd..02041e6e8ed4 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.test.tsx +++ b/src/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.test.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.tsx b/src/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.tsx similarity index 97% rename from x-pack/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.tsx rename to src/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.tsx index 4d713f2a700c..c819e922e9b7 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.tsx +++ b/src/plugins/ui_actions_enhanced/public/components/action_wizard/action_wizard.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React from 'react'; @@ -355,7 +356,7 @@ const ActionFactorySelector: React.FC = ({ !actionFactory.isCompatibleLicense() && ( ) } diff --git a/x-pack/plugins/ui_actions_enhanced/public/components/action_wizard/i18n.ts b/src/plugins/ui_actions_enhanced/public/components/action_wizard/i18n.ts similarity index 66% rename from x-pack/plugins/ui_actions_enhanced/public/components/action_wizard/i18n.ts rename to src/plugins/ui_actions_enhanced/public/components/action_wizard/i18n.ts index 532a230a7727..342a6b9c6612 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/components/action_wizard/i18n.ts +++ b/src/plugins/ui_actions_enhanced/public/components/action_wizard/i18n.ts @@ -1,49 +1,50 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { i18n } from '@kbn/i18n'; export const txtChangeButton = i18n.translate( - 'xpack.uiActionsEnhanced.components.actionWizard.changeButton', + 'uiActionsEnhanced.components.actionWizard.changeButton', { defaultMessage: 'Change', } ); export const txtTriggerPickerLabel = i18n.translate( - 'xpack.uiActionsEnhanced.components.actionWizard.triggerPickerLabel', + 'uiActionsEnhanced.components.actionWizard.triggerPickerLabel', { defaultMessage: 'Show option on:', } ); export const txtTriggerPickerHelpText = i18n.translate( - 'xpack.uiActionsEnhanced.components.actionWizard.triggerPickerHelpText', + 'uiActionsEnhanced.components.actionWizard.triggerPickerHelpText', { defaultMessage: "What's this?", } ); export const txtTriggerPickerHelpTooltip = i18n.translate( - 'xpack.uiActionsEnhanced.components.actionWizard.triggerPickerHelpTooltip', + 'uiActionsEnhanced.components.actionWizard.triggerPickerHelpTooltip', { defaultMessage: 'Determines when the drilldown appears in context menu', } ); export const txtBetaActionFactoryLabel = i18n.translate( - 'xpack.uiActionsEnhanced.components.actionWizard.betaActionLabel', + 'uiActionsEnhanced.components.actionWizard.betaActionLabel', { defaultMessage: `Beta`, } ); export const txtBetaActionFactoryTooltip = i18n.translate( - 'xpack.uiActionsEnhanced.components.actionWizard.betaActionTooltip', + 'uiActionsEnhanced.components.actionWizard.betaActionTooltip', { defaultMessage: `This action is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features. Please help us by reporting bugs or providing other feedback.`, } diff --git a/x-pack/plugins/ui_actions_enhanced/public/components/action_wizard/index.ts b/src/plugins/ui_actions_enhanced/public/components/action_wizard/index.ts similarity index 53% rename from x-pack/plugins/ui_actions_enhanced/public/components/action_wizard/index.ts rename to src/plugins/ui_actions_enhanced/public/components/action_wizard/index.ts index 70d6d7d2681e..311e45c4f3cc 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/components/action_wizard/index.ts +++ b/src/plugins/ui_actions_enhanced/public/components/action_wizard/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export { ActionWizard } from './action_wizard'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/components/action_wizard/test_data.tsx b/src/plugins/ui_actions_enhanced/public/components/action_wizard/test_data.tsx similarity index 97% rename from x-pack/plugins/ui_actions_enhanced/public/components/action_wizard/test_data.tsx rename to src/plugins/ui_actions_enhanced/public/components/action_wizard/test_data.tsx index aded7a306a76..9b8c7ebef0da 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/components/action_wizard/test_data.tsx +++ b/src/plugins/ui_actions_enhanced/public/components/action_wizard/test_data.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React, { useState } from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/components/index.ts b/src/plugins/ui_actions_enhanced/public/components/index.ts similarity index 51% rename from x-pack/plugins/ui_actions_enhanced/public/components/index.ts rename to src/plugins/ui_actions_enhanced/public/components/index.ts index cf5e330e1f6d..14340071e94d 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/components/index.ts +++ b/src/plugins/ui_actions_enhanced/public/components/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './action_wizard'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/components/presentable_picker/i18n.ts b/src/plugins/ui_actions_enhanced/public/components/presentable_picker/i18n.ts similarity index 67% rename from x-pack/plugins/ui_actions_enhanced/public/components/presentable_picker/i18n.ts rename to src/plugins/ui_actions_enhanced/public/components/presentable_picker/i18n.ts index 2d139095e81d..636e4efa16ce 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/components/presentable_picker/i18n.ts +++ b/src/plugins/ui_actions_enhanced/public/components/presentable_picker/i18n.ts @@ -1,28 +1,29 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { i18n } from '@kbn/i18n'; export const txtBetaActionFactoryLabel = i18n.translate( - 'xpack.uiActionsEnhanced.components.actionWizard.betaActionLabel', + 'uiActionsEnhanced.components.actionWizard.betaActionLabel', { defaultMessage: `Beta`, } ); export const txtBetaActionFactoryTooltip = i18n.translate( - 'xpack.uiActionsEnhanced.components.actionWizard.betaActionTooltip', + 'uiActionsEnhanced.components.actionWizard.betaActionTooltip', { defaultMessage: `This action is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features. Please help us by reporting bugs or providing other feedback.`, } ); export const txtInsufficientLicenseLevel = i18n.translate( - 'xpack.uiActionsEnhanced.components.actionWizard.insufficientLicenseLevelTooltip', + 'uiActionsEnhanced.components.actionWizard.insufficientLicenseLevelTooltip', { defaultMessage: 'Insufficient license level', } diff --git a/x-pack/plugins/ui_actions_enhanced/public/components/presentable_picker/index.ts b/src/plugins/ui_actions_enhanced/public/components/presentable_picker/index.ts similarity index 51% rename from x-pack/plugins/ui_actions_enhanced/public/components/presentable_picker/index.ts rename to src/plugins/ui_actions_enhanced/public/components/presentable_picker/index.ts index 0259ac6556e6..3197d9a71b31 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/components/presentable_picker/index.ts +++ b/src/plugins/ui_actions_enhanced/public/components/presentable_picker/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './presentable_picker'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker.stories.tsx b/src/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker.stories.tsx similarity index 95% rename from x-pack/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker.stories.tsx rename to src/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker.stories.tsx index 521d16ad579c..2cef67c96ab8 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker.stories.tsx +++ b/src/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker.stories.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker.tsx b/src/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker.tsx similarity index 90% rename from x-pack/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker.tsx rename to src/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker.tsx index 9667a78df9a4..e8a5bbd1da35 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker.tsx +++ b/src/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker_item.tsx b/src/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker_item.tsx similarity index 90% rename from x-pack/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker_item.tsx rename to src/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker_item.tsx index 76d686b14f86..7c14bfe25d9e 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker_item.tsx +++ b/src/plugins/ui_actions_enhanced/public/components/presentable_picker/presentable_picker_item.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/components/presentable_picker/styles.scss b/src/plugins/ui_actions_enhanced/public/components/presentable_picker/styles.scss similarity index 100% rename from x-pack/plugins/ui_actions_enhanced/public/components/presentable_picker/styles.scss rename to src/plugins/ui_actions_enhanced/public/components/presentable_picker/styles.scss diff --git a/x-pack/plugins/ui_actions_enhanced/public/custom_time_range_action.test.ts b/src/plugins/ui_actions_enhanced/public/custom_time_range_action.test.ts similarity index 97% rename from x-pack/plugins/ui_actions_enhanced/public/custom_time_range_action.test.ts rename to src/plugins/ui_actions_enhanced/public/custom_time_range_action.test.ts index e1c6a1aa095e..78be66fa84fb 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/custom_time_range_action.test.ts +++ b/src/plugins/ui_actions_enhanced/public/custom_time_range_action.test.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { findTestSubject } from '@elastic/eui/lib/test'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/custom_time_range_action.tsx b/src/plugins/ui_actions_enhanced/public/custom_time_range_action.tsx similarity index 92% rename from x-pack/plugins/ui_actions_enhanced/public/custom_time_range_action.tsx rename to src/plugins/ui_actions_enhanced/public/custom_time_range_action.tsx index 58b30c0f2927..df22733a4d49 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/custom_time_range_action.tsx +++ b/src/plugins/ui_actions_enhanced/public/custom_time_range_action.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { i18n } from '@kbn/i18n'; @@ -66,7 +67,7 @@ export class CustomTimeRangeAction implements Action { } public getDisplayName() { - return i18n.translate('xpack.uiActionsEnhanced.customizeTimeRangeMenuItem.displayName', { + return i18n.translate('uiActionsEnhanced.customizeTimeRangeMenuItem.displayName', { defaultMessage: 'Customize time range', }); } diff --git a/x-pack/plugins/ui_actions_enhanced/public/custom_time_range_badge.test.ts b/src/plugins/ui_actions_enhanced/public/custom_time_range_badge.test.ts similarity index 96% rename from x-pack/plugins/ui_actions_enhanced/public/custom_time_range_badge.test.ts rename to src/plugins/ui_actions_enhanced/public/custom_time_range_badge.test.ts index f31e2552fa71..3cc4c3b44cdc 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/custom_time_range_badge.test.ts +++ b/src/plugins/ui_actions_enhanced/public/custom_time_range_badge.test.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { findTestSubject } from '@elastic/eui/lib/test'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/custom_time_range_badge.tsx b/src/plugins/ui_actions_enhanced/public/custom_time_range_badge.tsx similarity index 94% rename from x-pack/plugins/ui_actions_enhanced/public/custom_time_range_badge.tsx rename to src/plugins/ui_actions_enhanced/public/custom_time_range_badge.tsx index 8f834b439b55..4f5b5b6cb6be 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/custom_time_range_badge.tsx +++ b/src/plugins/ui_actions_enhanced/public/custom_time_range_badge.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/customize_time_range_modal.test.tsx b/src/plugins/ui_actions_enhanced/public/customize_time_range_modal.test.tsx similarity index 83% rename from x-pack/plugins/ui_actions_enhanced/public/customize_time_range_modal.test.tsx rename to src/plugins/ui_actions_enhanced/public/customize_time_range_modal.test.tsx index 9dc7bd017740..d73b3ea59b70 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/customize_time_range_modal.test.tsx +++ b/src/plugins/ui_actions_enhanced/public/customize_time_range_modal.test.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/customize_time_range_modal.tsx b/src/plugins/ui_actions_enhanced/public/customize_time_range_modal.tsx similarity index 87% rename from x-pack/plugins/ui_actions_enhanced/public/customize_time_range_modal.tsx rename to src/plugins/ui_actions_enhanced/public/customize_time_range_modal.tsx index f253e2f3de05..57b8a433d42e 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/customize_time_range_modal.tsx +++ b/src/plugins/ui_actions_enhanced/public/customize_time_range_modal.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React, { Component } from 'react'; @@ -96,7 +97,7 @@ export class CustomizeTimeRangeModal extends Component - {i18n.translate('xpack.uiActionsEnhanced.customizeTimeRange.modal.headerTitle', { + {i18n.translate('uiActionsEnhanced.customizeTimeRange.modal.headerTitle', { defaultMessage: 'Customize panel time range', })} @@ -105,7 +106,7 @@ export class CustomizeTimeRangeModal extends Component {i18n.translate( - 'xpack.uiActionsEnhanced.customizePanelTimeRange.modal.removeButtonTitle', + 'uiActionsEnhanced.customizePanelTimeRange.modal.removeButtonTitle', { defaultMessage: 'Remove', } @@ -153,7 +154,7 @@ export class CustomizeTimeRangeModal extends Component {i18n.translate( - 'xpack.uiActionsEnhanced.customizePanelTimeRange.modal.cancelButtonTitle', + 'uiActionsEnhanced.customizePanelTimeRange.modal.cancelButtonTitle', { defaultMessage: 'Cancel', } @@ -164,13 +165,13 @@ export class CustomizeTimeRangeModal extends Component {this.state.inheritTimeRange ? i18n.translate( - 'xpack.uiActionsEnhanced.customizePanelTimeRange.modal.addToPanelButtonTitle', + 'uiActionsEnhanced.customizePanelTimeRange.modal.addToPanelButtonTitle', { defaultMessage: 'Add to panel', } ) : i18n.translate( - 'xpack.uiActionsEnhanced.customizePanelTimeRange.modal.updatePanelTimeRangeButtonTitle', + 'uiActionsEnhanced.customizePanelTimeRange.modal.updatePanelTimeRangeButtonTitle', { defaultMessage: 'Update', } diff --git a/x-pack/plugins/ui_actions_enhanced/public/does_inherit_time_range.ts b/src/plugins/ui_actions_enhanced/public/does_inherit_time_range.ts similarity index 82% rename from x-pack/plugins/ui_actions_enhanced/public/does_inherit_time_range.ts rename to src/plugins/ui_actions_enhanced/public/does_inherit_time_range.ts index 58fe86c117f0..52b3abc6ebbd 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/does_inherit_time_range.ts +++ b/src/plugins/ui_actions_enhanced/public/does_inherit_time_range.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { Embeddable, IContainer, ContainerInput } from '@kbn/embeddable-plugin/public'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_definition.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_definition.ts similarity index 96% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_definition.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_definition.ts index 4928b368a96b..1efe08490bf3 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_definition.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_definition.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { LicenseType } from '@kbn/licensing-plugin/public'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/README.md b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/README.md similarity index 100% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/README.md rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/README.md diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/action_factory/action_factory.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/action_factory/action_factory.tsx similarity index 83% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/action_factory/action_factory.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/action_factory/action_factory.tsx index 7ee9fe51e59b..9ed41740402b 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/action_factory/action_factory.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/action_factory/action_factory.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { @@ -19,39 +20,36 @@ import React from 'react'; import { i18n } from '@kbn/i18n'; const txtDrilldownAction = i18n.translate( - 'xpack.uiActionsEnhanced.components.DrilldownForm.drilldownAction', + 'uiActionsEnhanced.components.DrilldownForm.drilldownAction', { defaultMessage: 'Action', } ); const txtGetMoreActions = i18n.translate( - 'xpack.uiActionsEnhanced.components.DrilldownForm.getMoreActionsLinkLabel', + 'uiActionsEnhanced.components.DrilldownForm.getMoreActionsLinkLabel', { defaultMessage: 'Get more actions', } ); const txtBetaActionFactoryLabel = i18n.translate( - 'xpack.uiActionsEnhanced.components.DrilldownForm.betaActionLabel', + 'uiActionsEnhanced.components.DrilldownForm.betaActionLabel', { defaultMessage: `Beta`, } ); const txtBetaActionFactoryTooltip = i18n.translate( - 'xpack.uiActionsEnhanced.components.DrilldownForm.betaActionTooltip', + 'uiActionsEnhanced.components.DrilldownForm.betaActionTooltip', { defaultMessage: `This action is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features. Please help us by reporting bugs or providing other feedback.`, } ); -const txtChangeButton = i18n.translate( - 'xpack.uiActionsEnhanced.components.DrilldownForm.changeButton', - { - defaultMessage: 'Change', - } -); +const txtChangeButton = i18n.translate('uiActionsEnhanced.components.DrilldownForm.changeButton', { + defaultMessage: 'Change', +}); const GET_MORE_ACTIONS_LINK = 'https://www.elastic.co/subscriptions'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/action_factory/index.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/action_factory/index.ts similarity index 51% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/action_factory/index.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/action_factory/index.ts index 25aabcf7e6d2..371b39b02aa6 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/action_factory/index.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/action_factory/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './action_factory'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/button_submit/button_submit.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/button_submit/button_submit.tsx similarity index 76% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/button_submit/button_submit.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/button_submit/button_submit.tsx index bf7dfcadd5ef..6902c7f222a1 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/button_submit/button_submit.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/button_submit/button_submit.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import * as React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/button_submit/index.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/button_submit/index.ts similarity index 51% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/button_submit/index.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/button_submit/index.ts index 770c32648591..a78d7bd224ef 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/button_submit/index.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/button_submit/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './button_submit'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.stories.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.stories.tsx similarity index 89% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.stories.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.stories.tsx index 634436ed4018..cab21f147eb0 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.stories.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.stories.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import * as React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.tsx similarity index 84% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.tsx index e923a7ed0629..33032e7914e1 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/drilldown_form.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React from 'react'; @@ -11,20 +12,20 @@ import { i18n } from '@kbn/i18n'; import { TriggerPicker, TriggerPickerProps } from '../trigger_picker'; const txtNameOfDrilldown = i18n.translate( - 'xpack.uiActionsEnhanced.components.DrilldownForm.nameOfDrilldown', + 'uiActionsEnhanced.components.DrilldownForm.nameOfDrilldown', { defaultMessage: 'Name', } ); const txtUntitledDrilldown = i18n.translate( - 'xpack.uiActionsEnhanced.components.DrilldownForm.untitledDrilldown', + 'uiActionsEnhanced.components.DrilldownForm.untitledDrilldown', { defaultMessage: 'Untitled drilldown', } ); -const txtTrigger = i18n.translate('xpack.uiActionsEnhanced.components.DrilldownForm.trigger', { +const txtTrigger = i18n.translate('uiActionsEnhanced.components.DrilldownForm.trigger', { defaultMessage: 'Trigger', }); diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/index.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/index.tsx similarity index 51% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/index.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/index.tsx index e17aca73a6d4..08cbd42f32d9 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/index.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_form/index.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './drilldown_form'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/drilldown_hello_bar.stories.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/drilldown_hello_bar.stories.tsx similarity index 75% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/drilldown_hello_bar.stories.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/drilldown_hello_bar.stories.tsx index 87a32e7198e5..5a708a643b10 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/drilldown_hello_bar.stories.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/drilldown_hello_bar.stories.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import * as React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/drilldown_hello_bar.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/drilldown_hello_bar.tsx similarity index 89% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/drilldown_hello_bar.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/drilldown_hello_bar.tsx index af9c78c9a548..ac824c0f1fb3 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/drilldown_hello_bar.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/drilldown_hello_bar.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/i18n.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/i18n.ts similarity index 59% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/i18n.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/i18n.ts index f7ba56213c24..6fbe7aed4c26 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/i18n.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/i18n.ts @@ -1,14 +1,15 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { i18n } from '@kbn/i18n'; export const txtHelpText = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.components.DrilldownHelloBar.helpText', + 'uiActionsEnhanced.drilldowns.components.DrilldownHelloBar.helpText', { defaultMessage: 'Drilldowns enable you to define new behaviors for interacting with panels. You can add multiple actions and override the default filter.', @@ -16,14 +17,14 @@ export const txtHelpText = i18n.translate( ); export const txtViewDocsLinkLabel = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.components.DrilldownHelloBar.viewDocsLinkLabel', + 'uiActionsEnhanced.drilldowns.components.DrilldownHelloBar.viewDocsLinkLabel', { defaultMessage: 'View docs', } ); export const txtHideHelpButtonLabel = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.components.DrilldownHelloBar.hideHelpButtonLabel', + 'uiActionsEnhanced.drilldowns.components.DrilldownHelloBar.hideHelpButtonLabel', { defaultMessage: 'Hide', } diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/index.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/index.tsx similarity index 52% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/index.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/index.tsx index c0e7feabfc24..57aa8ea86e7b 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/index.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_hello_bar/index.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './drilldown_hello_bar'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.stories.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.stories.tsx similarity index 92% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.stories.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.stories.tsx index 57e2e04807a6..beeab600406d 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.stories.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.stories.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import * as React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.test.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.test.tsx similarity index 92% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.test.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.test.tsx index 3576d7e34fd0..854d918a6c16 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.test.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.test.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.tsx similarity index 96% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.tsx index 2cf4745cbbec..3607ce42a69f 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/drilldown_table.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/i18n.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/i18n.ts similarity index 54% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/i18n.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/i18n.ts index d465167555c3..14db707c84f7 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/i18n.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/i18n.ts @@ -1,35 +1,36 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { i18n } from '@kbn/i18n'; export const txtCreateDrilldown = i18n.translate( - 'xpack.uiActionsEnhanced.components.DrilldownTable.createDrilldownButtonLabel', + 'uiActionsEnhanced.components.DrilldownTable.createDrilldownButtonLabel', { defaultMessage: 'Create new', } ); export const txtEditDrilldown = i18n.translate( - 'xpack.uiActionsEnhanced.components.DrilldownTable.editDrilldownButtonLabel', + 'uiActionsEnhanced.components.DrilldownTable.editDrilldownButtonLabel', { defaultMessage: 'Edit', } ); export const txtCloneDrilldown = i18n.translate( - 'xpack.uiActionsEnhanced.components.DrilldownTable.copyDrilldownButtonLabel', + 'uiActionsEnhanced.components.DrilldownTable.copyDrilldownButtonLabel', { defaultMessage: 'Copy', } ); export const txtDeleteDrilldowns = (count: number) => - i18n.translate('xpack.uiActionsEnhanced.components.DrilldownTable.deleteDrilldownsButtonLabel', { + i18n.translate('uiActionsEnhanced.components.DrilldownTable.deleteDrilldownsButtonLabel', { defaultMessage: 'Delete ({count})', values: { count, @@ -37,28 +38,28 @@ export const txtDeleteDrilldowns = (count: number) => }); export const txtSelectDrilldown = i18n.translate( - 'xpack.uiActionsEnhanced.components.DrilldownTable.selectThisDrilldownCheckboxLabel', + 'uiActionsEnhanced.components.DrilldownTable.selectThisDrilldownCheckboxLabel', { defaultMessage: 'Select this drilldown', } ); export const txtName = i18n.translate( - 'xpack.uiActionsEnhanced.components.DrilldownTable.nameColumnTitle', + 'uiActionsEnhanced.components.DrilldownTable.nameColumnTitle', { defaultMessage: 'Name', } ); export const txtAction = i18n.translate( - 'xpack.uiActionsEnhanced.components.DrilldownTable.actionColumnTitle', + 'uiActionsEnhanced.components.DrilldownTable.actionColumnTitle', { defaultMessage: 'Action', } ); export const txtTrigger = i18n.translate( - 'xpack.uiActionsEnhanced.components.DrilldownTable.triggerColumnTitle', + 'uiActionsEnhanced.components.DrilldownTable.triggerColumnTitle', { defaultMessage: 'Trigger', } diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/index.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/index.tsx similarity index 51% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/index.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/index.tsx index 1600cd63f476..a8e7148de335 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/index.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_table/index.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './drilldown_table'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/drilldown_template_table.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/drilldown_template_table.tsx similarity index 94% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/drilldown_template_table.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/drilldown_template_table.tsx index 85d629dae9a1..feabf1a75556 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/drilldown_template_table.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/drilldown_template_table.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React, { useState } from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/i18n.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/i18n.ts similarity index 63% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/i18n.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/i18n.ts index cfdc5b99f338..f76b0d54dff8 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/i18n.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/i18n.ts @@ -1,21 +1,22 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { i18n } from '@kbn/i18n'; export const txtSelectableMessage = i18n.translate( - 'xpack.uiActionsEnhanced.components.DrilldownTemplateTable.selectableMessage', + 'uiActionsEnhanced.components.DrilldownTemplateTable.selectableMessage', { defaultMessage: 'Select this template', } ); export const txtNameColumnTitle = i18n.translate( - 'xpack.uiActionsEnhanced.components.DrilldownTemplateTable.nameColumnTitle', + 'uiActionsEnhanced.components.DrilldownTemplateTable.nameColumnTitle', { defaultMessage: 'Name', description: 'Title of the first column in drilldown template cloning table.', @@ -23,7 +24,7 @@ export const txtNameColumnTitle = i18n.translate( ); export const txtSourceColumnTitle = i18n.translate( - 'xpack.uiActionsEnhanced.components.DrilldownTemplateTable.sourceColumnTitle', + 'uiActionsEnhanced.components.DrilldownTemplateTable.sourceColumnTitle', { defaultMessage: 'Panel', description: 'Column title which describes from where the drilldown is cloned.', @@ -31,21 +32,21 @@ export const txtSourceColumnTitle = i18n.translate( ); export const txtActionColumnTitle = i18n.translate( - 'xpack.uiActionsEnhanced.components.DrilldownTemplateTable.actionColumnTitle', + 'uiActionsEnhanced.components.DrilldownTemplateTable.actionColumnTitle', { defaultMessage: 'Action', } ); export const txtTriggerColumnTitle = i18n.translate( - 'xpack.uiActionsEnhanced.components.DrilldownTemplateTable.triggerColumnTitle', + 'uiActionsEnhanced.components.DrilldownTemplateTable.triggerColumnTitle', { defaultMessage: 'Trigger', } ); export const txtSingleItemCopyActionLabel = i18n.translate( - 'xpack.uiActionsEnhanced.components.DrilldownTemplateTable.singleItemCopyAction', + 'uiActionsEnhanced.components.DrilldownTemplateTable.singleItemCopyAction', { defaultMessage: 'Copy', description: '"Copy" action button label in drilldown template cloning table last column.', @@ -53,7 +54,7 @@ export const txtSingleItemCopyActionLabel = i18n.translate( ); export const txtCopyButtonLabel = (count: number) => - i18n.translate('xpack.uiActionsEnhanced.components.DrilldownTemplateTable.copyButtonLabel', { + i18n.translate('uiActionsEnhanced.components.DrilldownTemplateTable.copyButtonLabel', { defaultMessage: 'Copy ({count})', description: 'Label of drilldown template table bottom copy button.', values: { diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/index.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/index.tsx similarity index 52% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/index.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/index.tsx index 0753e03a44e6..6d356114d72c 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/index.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/drilldown_template_table/index.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './drilldown_template_table'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.stories.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.stories.tsx similarity index 87% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.stories.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.stories.tsx index 9c4d98ebdf44..9ec3847b3af9 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.stories.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.stories.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ /* eslint-disable no-console */ diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.test.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.test.tsx similarity index 93% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.test.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.test.tsx index f3cfe3891058..eeaa62e0e596 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.test.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.test.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.tsx similarity index 92% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.tsx index f95377695306..6cf642067486 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/flyout_frame.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/i18n.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/i18n.ts similarity index 51% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/i18n.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/i18n.ts index e13d4a1d579d..c96563b20aa9 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/i18n.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/i18n.ts @@ -1,21 +1,22 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { i18n } from '@kbn/i18n'; export const txtClose = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.components.FlyoutFrame.CloseButtonLabel', + 'uiActionsEnhanced.drilldowns.components.FlyoutFrame.CloseButtonLabel', { defaultMessage: 'Close', } ); export const txtBack = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.components.FlyoutFrame.BackButtonLabel', + 'uiActionsEnhanced.drilldowns.components.FlyoutFrame.BackButtonLabel', { defaultMessage: 'Back', } diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/index.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/index.tsx similarity index 51% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/index.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/index.tsx index 4046df235f8f..b116055da694 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/index.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/flyout_frame/index.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './flyout_frame'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/text_with_icon/index.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/text_with_icon/index.tsx similarity index 51% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/text_with_icon/index.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/text_with_icon/index.tsx index bf312643597f..5242e6e0679a 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/text_with_icon/index.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/text_with_icon/index.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './text_with_icon'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/text_with_icon/text_with_icon.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/text_with_icon/text_with_icon.tsx similarity index 88% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/text_with_icon/text_with_icon.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/text_with_icon/text_with_icon.tsx index 9b7fe346547b..03cf65db4156 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/text_with_icon/text_with_icon.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/text_with_icon/text_with_icon.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import * as React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_line_item/index.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_line_item/index.tsx similarity index 51% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_line_item/index.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_line_item/index.tsx index 12a55d19d8fa..d0e4f35f3b4e 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_line_item/index.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_line_item/index.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './trigger_line_item'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_line_item/trigger_line_item.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_line_item/trigger_line_item.tsx similarity index 78% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_line_item/trigger_line_item.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_line_item/trigger_line_item.tsx index c8f4ccdd2fbf..3fb19bc863ce 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_line_item/trigger_line_item.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_line_item/trigger_line_item.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import * as React from 'react'; @@ -10,7 +11,7 @@ import { i18n } from '@kbn/i18n'; import { TextWithIcon } from '../text_with_icon'; export const txtIncompatibleTooltip = i18n.translate( - 'xpack.uiActionsEnhanced.components.TriggerLineItem.incompatibleTooltip', + 'uiActionsEnhanced.components.TriggerLineItem.incompatibleTooltip', { defaultMessage: 'This trigger type not supported by this panel', } diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/index.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/index.ts similarity index 59% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/index.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/index.ts index 4a30a0494e8f..2a1b80ad1f26 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/index.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export type { TriggerPickerItemDescription } from './trigger_picker_item'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker.stories.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker.stories.tsx similarity index 92% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker.stories.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker.stories.tsx index 77f3eadcc0bc..dc4e9c421f46 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker.stories.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker.stories.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import * as React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker.tsx similarity index 84% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker.tsx index 728b144b4db0..700e621c3622 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React from 'react'; @@ -11,21 +12,21 @@ import { i18n } from '@kbn/i18n'; import { TriggerPickerItemDescription, TriggerPickerItem } from './trigger_picker_item'; const txtTriggerPickerLabel = i18n.translate( - 'xpack.uiActionsEnhanced.components.actionWizard.triggerPickerLabel', + 'uiActionsEnhanced.components.actionWizard.triggerPickerLabel', { defaultMessage: 'Show option on:', } ); const txtTriggerPickerHelpText = i18n.translate( - 'xpack.uiActionsEnhanced.components.actionWizard.triggerPickerHelpText', + 'uiActionsEnhanced.components.actionWizard.triggerPickerHelpText', { defaultMessage: "What's this?", } ); const txtTriggerPickerHelpTooltip = i18n.translate( - 'xpack.uiActionsEnhanced.components.actionWizard.triggerPickerHelpTooltip', + 'uiActionsEnhanced.components.actionWizard.triggerPickerHelpTooltip', { defaultMessage: 'Determines when the drilldown appears in context menu', } diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker_item.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker_item.tsx similarity index 84% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker_item.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker_item.tsx index 70ab08d20f0c..f6aaf7dda3f6 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker_item.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/trigger_picker/trigger_picker_item.tsx @@ -1,15 +1,16 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React from 'react'; import { EuiSpacer, EuiText, EuiCheckableCard, EuiTextColor, EuiTitle } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; -const txtUnknown = i18n.translate('xpack.uiActionsEnhanced.components.TriggerPickerItem.unknown', { +const txtUnknown = i18n.translate('uiActionsEnhanced.components.TriggerPickerItem.unknown', { defaultMessage: 'Unknown', }); diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/types.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/types.ts similarity index 54% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/types.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/types.ts index 052211d52389..2f1473740758 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/types.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/components/types.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export type { ActionFactoryPlaceContext } from '../types'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_picker/action_factory_picker.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_picker/action_factory_picker.tsx similarity index 86% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_picker/action_factory_picker.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_picker/action_factory_picker.tsx index f52ac6e16157..472149fbd288 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_picker/action_factory_picker.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_picker/action_factory_picker.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/components/action_factory_picker/index.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_picker/index.ts similarity index 52% rename from x-pack/plugins/ui_actions_enhanced/public/components/action_factory_picker/index.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_picker/index.ts index 3d7ffed30185..47e9321e7481 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/components/action_factory_picker/index.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_picker/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './action_factory_picker'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_view/action_factory_view.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_view/action_factory_view.tsx similarity index 85% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_view/action_factory_view.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_view/action_factory_view.tsx index 0a389d6f1f61..a0ee33d54140 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_view/action_factory_view.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_view/action_factory_view.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_view/index.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_view/index.ts similarity index 52% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_view/index.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_view/index.ts index d56fb06510ff..9ac4144c6c85 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_view/index.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/action_factory_view/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './action_factory_view'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/context/context.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/context/context.tsx similarity index 81% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/context/context.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/context/context.tsx index cc0434b86bdc..e8249d194b08 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/context/context.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/context/context.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import * as React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/context/index.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/context/index.ts similarity index 50% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/context/index.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/context/index.ts index e9a2f3ab7be9..d08ff5608178 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/context/index.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/context/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './context'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/create_drilldown_form/create_drilldown_form.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/create_drilldown_form/create_drilldown_form.tsx similarity index 85% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/create_drilldown_form/create_drilldown_form.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/create_drilldown_form/create_drilldown_form.tsx index bd4a4fd3d051..4551c7674ccd 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/create_drilldown_form/create_drilldown_form.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/create_drilldown_form/create_drilldown_form.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import * as React from 'react'; @@ -16,7 +17,7 @@ import { DrilldownStateForm } from '../drilldown_state_form'; import { ButtonSubmit } from '../../components/button_submit'; const txtCreateDrilldown = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.containers.createDrilldownForm.title', + 'uiActionsEnhanced.drilldowns.containers.createDrilldownForm.title', { defaultMessage: 'Create Drilldown', description: 'Drilldowns flyout title for new drilldown form.', @@ -24,7 +25,7 @@ const txtCreateDrilldown = i18n.translate( ); const txtCreateDrilldownButton = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.containers.createDrilldownForm.primaryButton', + 'uiActionsEnhanced.drilldowns.containers.createDrilldownForm.primaryButton', { defaultMessage: 'Create drilldown', description: 'Primary button on new drilldown creation form.', diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/create_drilldown_form/index.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/create_drilldown_form/index.ts similarity index 52% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/create_drilldown_form/index.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/create_drilldown_form/index.ts index 0f5fcbca00fe..07fa0428da5e 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/create_drilldown_form/index.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/create_drilldown_form/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './create_drilldown_form'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/cloning_notification.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/cloning_notification.tsx similarity index 62% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/cloning_notification.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/cloning_notification.tsx index 3c292fcb49ff..794f0f85a751 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/cloning_notification.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/cloning_notification.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { EuiCallOut, EuiSpacer, EuiLink } from '@elastic/eui'; @@ -10,7 +11,7 @@ import * as React from 'react'; import { i18n } from '@kbn/i18n'; const txtDismiss = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.containers.drilldownList.copyingNotification.dismiss', + 'uiActionsEnhanced.drilldowns.containers.drilldownList.copyingNotification.dismiss', { defaultMessage: 'Dismiss', description: 'Dismiss button in cloning notification callout.', @@ -18,16 +19,13 @@ const txtDismiss = i18n.translate( ); const txtBody = (count: number) => - i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.containers.drilldownList.copyingNotification.body', - { - defaultMessage: '{count, number} {count, plural, one {drilldown} other {drilldowns}} copied.', - description: 'Title of notification show when one or more drilldowns were copied.', - values: { - count, - }, - } - ); + i18n.translate('uiActionsEnhanced.drilldowns.containers.drilldownList.copyingNotification.body', { + defaultMessage: '{count, number} {count, plural, one {drilldown} other {drilldowns}} copied.', + description: 'Title of notification show when one or more drilldowns were copied.', + values: { + count, + }, + }); export interface CloningNotificationProps { count?: number; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/drilldown_list.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/drilldown_list.tsx similarity index 87% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/drilldown_list.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/drilldown_list.tsx index 41f062ae8732..abe73165ddcd 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/drilldown_list.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/drilldown_list.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import * as React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/index.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/index.ts similarity index 51% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/index.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/index.ts index 40e01173d1cc..8e2d85c213c9 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/index.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_list/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './drilldown_list'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/create_public_drilldown_manager.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/create_public_drilldown_manager.tsx similarity index 89% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/create_public_drilldown_manager.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/create_public_drilldown_manager.tsx index 23611397b3e2..9e2917319023 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/create_public_drilldown_manager.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/create_public_drilldown_manager.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import * as React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager.tsx similarity index 85% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager.tsx index a09411a14d83..ca9224a1cd11 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import * as React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager_content.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager_content.tsx similarity index 79% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager_content.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager_content.tsx index a0a7d94080ea..5d6acc72b503 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager_content.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager_content.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import * as React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager_with_provider.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager_with_provider.tsx similarity index 74% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager_with_provider.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager_with_provider.tsx index 6f67a91f3fea..c17d907cc4af 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager_with_provider.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/drilldown_manager_with_provider.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/index.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/index.ts similarity index 53% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/index.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/index.ts index 82cb861d496b..c9bebf443cfe 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/index.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './create_public_drilldown_manager'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_footer/drilldown_manager_footer.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_footer/drilldown_manager_footer.tsx similarity index 78% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_footer/drilldown_manager_footer.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_footer/drilldown_manager_footer.tsx index 5cd5c712a149..be660c698963 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_footer/drilldown_manager_footer.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_footer/drilldown_manager_footer.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import * as React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_footer/index.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_footer/index.ts similarity index 52% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_footer/index.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_footer/index.ts index 61e6d642515c..5c0c9a68215a 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_footer/index.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_footer/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './drilldown_manager_footer'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_title/drilldown_manager_title.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_title/drilldown_manager_title.tsx similarity index 78% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_title/drilldown_manager_title.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_title/drilldown_manager_title.tsx index 63a02f65df93..18eac9bdfed1 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_title/drilldown_manager_title.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_title/drilldown_manager_title.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import * as React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_title/index.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_title/index.ts similarity index 52% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_title/index.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_title/index.ts index 8e015bd7bca0..e6fd47f81ab8 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_title/index.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_manager_title/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './drilldown_manager_title'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_state_form/drilldown_state_form.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_state_form/drilldown_state_form.tsx similarity index 88% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_state_form/drilldown_state_form.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_state_form/drilldown_state_form.tsx index 44b9cf60916f..33a5a7e6c016 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_state_form/drilldown_state_form.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_state_form/drilldown_state_form.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_state_form/index.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_state_form/index.ts similarity index 52% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_state_form/index.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_state_form/index.ts index e06cb66ff99b..c20a3f0034c8 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_state_form/index.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/drilldown_state_form/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './drilldown_state_form'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/edit_drilldown_form/edit_drilldown_form.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/edit_drilldown_form/edit_drilldown_form.tsx similarity index 86% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/edit_drilldown_form/edit_drilldown_form.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/edit_drilldown_form/edit_drilldown_form.tsx index 09b64260854d..a7411f40a79f 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/edit_drilldown_form/edit_drilldown_form.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/edit_drilldown_form/edit_drilldown_form.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import * as React from 'react'; @@ -16,7 +17,7 @@ import { DrilldownStateForm } from '../drilldown_state_form'; import { ButtonSubmit } from '../../components/button_submit'; const txtEditDrilldown = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.containers.editDrilldownForm.title', + 'uiActionsEnhanced.drilldowns.containers.editDrilldownForm.title', { defaultMessage: 'Edit Drilldown', description: 'Drilldowns flyout title for edit drilldown form.', @@ -24,7 +25,7 @@ const txtEditDrilldown = i18n.translate( ); const txtEditDrilldownButton = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.containers.editDrilldownForm.primaryButton', + 'uiActionsEnhanced.drilldowns.containers.editDrilldownForm.primaryButton', { defaultMessage: 'Save', description: 'Primary button on new drilldown edit form.', diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/edit_drilldown_form/index.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/edit_drilldown_form/index.ts similarity index 52% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/edit_drilldown_form/index.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/edit_drilldown_form/index.ts index ec10df49a727..9e49fd9cc0e4 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/edit_drilldown_form/index.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/edit_drilldown_form/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './edit_drilldown_form'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/create_drilldown_form.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/create_drilldown_form.tsx similarity index 87% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/create_drilldown_form.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/create_drilldown_form.tsx index 3382a5dd82fb..ee0b045525f8 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/create_drilldown_form.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/create_drilldown_form.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/edit_drilldown_form.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/edit_drilldown_form.tsx similarity index 86% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/edit_drilldown_form.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/edit_drilldown_form.tsx index 1ee8291b3077..ee0bda6f7932 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/edit_drilldown_form.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/edit_drilldown_form.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React from 'react'; @@ -14,7 +15,7 @@ import { DrilldownState } from '../../state'; import { TriggerPickerProps } from '../../components/trigger_picker'; export const txtDeleteDrilldownButtonLabel = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.deleteDrilldownButtonLabel', + 'uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.deleteDrilldownButtonLabel', { defaultMessage: 'Delete drilldown', } diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/form_drilldown_wizard.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/form_drilldown_wizard.tsx similarity index 81% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/form_drilldown_wizard.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/form_drilldown_wizard.tsx index ddb08ee40711..738d7bf25b30 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/form_drilldown_wizard.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/form_drilldown_wizard.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/i18n.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/i18n.ts similarity index 53% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/i18n.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/i18n.ts index 28ebe53e05f8..8b32fbc5c7b8 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/i18n.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/i18n.ts @@ -1,28 +1,29 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { i18n } from '@kbn/i18n'; export const txtCreateDrilldownTitle = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.createDrilldownTitle', + 'uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.createDrilldownTitle', { defaultMessage: 'Create Drilldown', } ); export const txtEditDrilldownTitle = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.editDrilldownTitle', + 'uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.editDrilldownTitle', { defaultMessage: 'Edit Drilldown', } ); export const txtDeleteDrilldownButtonLabel = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.deleteDrilldownButtonLabel', + 'uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.deleteDrilldownButtonLabel', { defaultMessage: 'Delete drilldown', } diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/index.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/index.ts similarity index 52% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/index.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/index.ts index fafb07bbc157..59f0ae47682e 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/index.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/form_drilldown_wizard/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './form_drilldown_wizard'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/hello_bar/hello_bar.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/hello_bar/hello_bar.tsx similarity index 77% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/hello_bar/hello_bar.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/hello_bar/hello_bar.tsx index 08fbcb4ad242..0f42478aba00 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/hello_bar/hello_bar.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/hello_bar/hello_bar.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import * as React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/hello_bar/index.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/hello_bar/index.ts similarity index 50% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/hello_bar/index.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/hello_bar/index.ts index 54c7f1a8b131..bb4fa2060d25 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/hello_bar/index.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/hello_bar/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './hello_bar'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/index.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/index.ts similarity index 62% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/index.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/index.ts index cb1e6099c9b5..28d8c540579d 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/index.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export type { PublicDrilldownManagerComponent } from './drilldown_manager'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/tabs/index.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/tabs/index.ts similarity index 50% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/tabs/index.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/tabs/index.ts index dde0170c6f13..5e8ce360289a 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/tabs/index.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/tabs/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './tabs'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/tabs/tabs.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/tabs/tabs.tsx similarity index 80% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/tabs/tabs.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/tabs/tabs.tsx index c8514d91a343..2e0c7a2252bb 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/tabs/tabs.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/tabs/tabs.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import * as React from 'react'; @@ -14,14 +15,14 @@ import { DrilldownList } from '../drilldown_list'; import { TemplatePicker } from '../template_picker'; export const txtCreateNew = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.containers.DrilldownManager.createNew', + 'uiActionsEnhanced.drilldowns.containers.DrilldownManager.createNew', { defaultMessage: 'Create new', } ); export const txtManage = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.containers.DrilldownManager.manage', + 'uiActionsEnhanced.drilldowns.containers.DrilldownManager.manage', { defaultMessage: 'Manage', } diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/i18n.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/i18n.ts similarity index 57% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/i18n.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/i18n.ts index e947e246081d..11acd9dc135f 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/i18n.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/i18n.ts @@ -1,14 +1,15 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { i18n } from '@kbn/i18n'; export const txtLabel = i18n.translate( - 'xpack.uiActionsEnhanced.drilldownManager.containers.TemplatePicker.label', + 'uiActionsEnhanced.drilldownManager.containers.TemplatePicker.label', { defaultMessage: 'Copy existing drilldown', description: 'Label above template picker table.', diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/index.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/index.ts similarity index 51% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/index.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/index.ts index 98b9cf637cf9..3f9e5a78d0b1 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/index.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './template_picker'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/template_list.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/template_list.tsx similarity index 90% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/template_list.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/template_list.tsx index 85422370e88c..3c837216f5e3 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/template_list.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/template_list.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { EuiTitle, EuiSpacer } from '@elastic/eui'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/template_picker.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/template_picker.tsx similarity index 73% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/template_picker.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/template_picker.tsx index d6004e71ec60..1856f3a8f535 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/template_picker.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/containers/template_picker/template_picker.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import * as React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/hooks/use_sync_observable.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/hooks/use_sync_observable.ts similarity index 86% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/hooks/use_sync_observable.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/hooks/use_sync_observable.ts index d5c7bda0377f..a1fa1430e419 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/hooks/use_sync_observable.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/hooks/use_sync_observable.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { useRef, useMemo } from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/index.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/index.ts similarity index 53% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/index.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/index.ts index b00fcf5f3395..d7a52ced7a58 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/index.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './types'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_manager_state.test.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_manager_state.test.tsx similarity index 97% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_manager_state.test.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_manager_state.test.tsx index 6e6cd30f6511..7addda418d35 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_manager_state.test.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_manager_state.test.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { ActionFactory, MemoryActionStorage } from '../../../dynamic_actions'; @@ -50,7 +51,7 @@ const createDrilldownManagerState = () => { execute: async () => {}, }), }, - {} + { getFeatureUsageStart: () => undefined } ); const factory2 = new ActionFactory( { @@ -64,7 +65,7 @@ const createDrilldownManagerState = () => { execute: async () => {}, }), }, - {} + { getFeatureUsageStart: () => undefined } ); const factory3 = new ActionFactory( { @@ -78,7 +79,7 @@ const createDrilldownManagerState = () => { execute: async () => {}, }), }, - {} + { getFeatureUsageStart: () => undefined } ); const trigger1: Trigger = { id: 'TRIGGER1', diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_manager_state.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_manager_state.ts similarity index 98% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_manager_state.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_manager_state.ts index 231057a50ee1..2d563f20a583 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_manager_state.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_manager_state.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import useObservable from 'react-use/lib/useObservable'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_state.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_state.ts similarity index 97% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_state.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_state.ts index d16a9a93930d..6f90b1c3e1a0 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_state.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/drilldown_state.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import useObservable from 'react-use/lib/useObservable'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/i18n.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/i18n.ts similarity index 64% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/i18n.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/i18n.ts index c9b49b5ff934..380e480eccf7 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/i18n.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/i18n.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { i18n } from '@kbn/i18n'; @@ -10,7 +11,7 @@ import { i18n } from '@kbn/i18n'; export const toastDrilldownCreated = { title: (drilldownName: string) => i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownCreatedTitle', + 'uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownCreatedTitle', { defaultMessage: 'Drilldown "{drilldownName}" created', values: { @@ -19,7 +20,7 @@ export const toastDrilldownCreated = { } ), text: i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownCreatedText', + 'uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownCreatedText', { // TODO: remove `Save your dashboard before testing.` part // when drilldowns are used not only in dashboard @@ -32,7 +33,7 @@ export const toastDrilldownCreated = { export const toastDrilldownEdited = { title: (drilldownName: string) => i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownEditedTitle', + 'uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownEditedTitle', { defaultMessage: 'Drilldown "{drilldownName}" updated', values: { @@ -41,7 +42,7 @@ export const toastDrilldownEdited = { } ), text: i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownEditedText', + 'uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownEditedText', { defaultMessage: 'Save your dashboard before testing.', } @@ -50,13 +51,13 @@ export const toastDrilldownEdited = { export const toastDrilldownDeleted = { title: i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownDeletedTitle', + 'uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownDeletedTitle', { defaultMessage: 'Drilldown deleted', } ), text: i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownDeletedText', + 'uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownDeletedText', { defaultMessage: 'Save your dashboard before testing.', } @@ -66,14 +67,14 @@ export const toastDrilldownDeleted = { export const toastDrilldownsDeleted = { title: (n: number) => i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownsDeletedTitle', + 'uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownsDeletedTitle', { defaultMessage: '{n} drilldowns deleted', values: { n }, } ), text: i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownsDeletedText', + 'uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownsDeletedText', { defaultMessage: 'Save your dashboard before testing.', } @@ -81,7 +82,7 @@ export const toastDrilldownsDeleted = { }; export const toastDrilldownsCRUDError = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownsCRUDErrorTitle', + 'uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownsCRUDErrorTitle', { defaultMessage: 'Error saving drilldown', description: 'Title for generic error toast when persisting drilldown updates failed', @@ -89,7 +90,7 @@ export const toastDrilldownsCRUDError = i18n.translate( ); export const insufficientLicenseLevel = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.insufficientLicenseLevelError', + 'uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.insufficientLicenseLevelError', { defaultMessage: 'Insufficient license level', description: @@ -99,7 +100,7 @@ export const insufficientLicenseLevel = i18n.translate( export const invalidDrilldownType = (type: string) => i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.invalidDrilldownType', + 'uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.invalidDrilldownType', { defaultMessage: "Drilldown type {type} doesn't exist", values: { @@ -109,7 +110,7 @@ export const invalidDrilldownType = (type: string) => ); export const txtDefaultTitle = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.drilldownManager.state.defaultTitle', + 'uiActionsEnhanced.drilldowns.drilldownManager.state.defaultTitle', { defaultMessage: 'Drilldowns', description: 'Drilldowns flyout title.', diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/index.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/index.ts similarity index 56% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/index.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/index.ts index 42dcc4510622..21f8c4961307 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/index.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/state/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './drilldown_state'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/types.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/types.ts similarity index 96% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/types.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/types.ts index 59a2e5598fe8..84ca97036f1b 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/types.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/types.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { ToastsStart } from '@kbn/core/public'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/index.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/index.ts similarity index 56% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/index.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/index.ts index ebaa845409e2..b0773c88e10a 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/index.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './drilldown_definition'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/README.md b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/README.md similarity index 100% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/README.md rename to src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/README.md diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/index.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/index.ts similarity index 56% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/index.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/index.ts index ac2ddd1bfc14..4e73e9a43a9e 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/index.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export { UrlDrilldownCollectConfig } from './url_drilldown_collect_config'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/i18n.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/i18n.ts similarity index 60% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/i18n.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/i18n.ts index 505fbf4c36b5..dcb36cbab257 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/i18n.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/i18n.ts @@ -1,14 +1,15 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { i18n } from '@kbn/i18n'; export const txtUrlTemplatePlaceholder = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplatePlaceholderText', + 'uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplatePlaceholderText', { defaultMessage: 'Example: {exampleUrl}', values: { @@ -18,7 +19,7 @@ export const txtUrlTemplatePlaceholder = i18n.translate( ); export const txtUrlPreviewHelpText = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlPreviewHelpText', + 'uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlPreviewHelpText', { defaultMessage: 'Please note that in preview \\{\\{event.*\\}\\} variables are substituted with dummy values.', @@ -26,56 +27,56 @@ export const txtUrlPreviewHelpText = i18n.translate( ); export const txtUrlTemplateLabel = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateLabel', + 'uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateLabel', { defaultMessage: 'Enter URL', } ); export const txtUrlTemplateSyntaxHelpLinkText = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateSyntaxHelpLinkText', + 'uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateSyntaxHelpLinkText', { defaultMessage: 'Syntax help', } ); export const txtUrlTemplatePreviewLabel = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlPreviewLabel', + 'uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlPreviewLabel', { defaultMessage: 'URL preview:', } ); export const txtUrlTemplatePreviewLinkText = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlPreviewLinkText', + 'uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlPreviewLinkText', { defaultMessage: 'Preview', } ); export const txtUrlTemplateOpenInNewTab = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.openInNewTabLabel', + 'uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.openInNewTabLabel', { defaultMessage: 'Open in new window', } ); export const txtUrlTemplateAdditionalOptions = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.additionalOptions', + 'uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.additionalOptions', { defaultMessage: 'Additional options', } ); export const txtUrlTemplateEncodeUrl = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.encodeUrl', + 'uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.encodeUrl', { defaultMessage: 'Encode URL', } ); export const txtUrlTemplateEncodeDescription = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.encodeDescription', + 'uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.encodeDescription', { defaultMessage: 'If enabled, URL will be escaped using percent encoding', } diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/index.scss b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/index.scss similarity index 100% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/index.scss rename to src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/index.scss diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/index.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/index.ts similarity index 59% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/index.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/index.ts index 5aa1dddd64f8..fd96f908fda2 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/index.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export type { UrlDrilldownCollectConfigProps } from './lazy'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/lazy.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/lazy.tsx similarity index 79% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/lazy.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/lazy.tsx index d4b04ce489da..eb666d6151ec 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/lazy.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/lazy.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import * as React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/test_samples/demo.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/test_samples/demo.tsx similarity index 81% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/test_samples/demo.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/test_samples/demo.tsx index 805b9954754f..8fc2fe3c68c2 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/test_samples/demo.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/test_samples/demo.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_collect_config.story.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_collect_config.story.tsx similarity index 65% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_collect_config.story.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_collect_config.story.tsx index 797a280e13d6..46089a8c51a9 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_collect_config.story.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_collect_config.story.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_collect_config.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_collect_config.tsx similarity index 95% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_collect_config.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_collect_config.tsx index 6556a8146a13..0e4825dd58e5 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_collect_config.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/url_drilldown_collect_config/url_drilldown_collect_config.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React, { useRef } from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/variable_popover/i18n.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/variable_popover/i18n.ts similarity index 53% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/variable_popover/i18n.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/variable_popover/i18n.ts index ece7a71778eb..fb46cbd4ef70 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/variable_popover/i18n.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/variable_popover/i18n.ts @@ -1,28 +1,29 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { i18n } from '@kbn/i18n'; export const txtAddVariableButtonTitle = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.addVariableButtonTitle', + 'uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.addVariableButtonTitle', { defaultMessage: 'Add variable', } ); export const txtUrlTemplateVariablesHelpLinkText = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateVariablesHelpLinkText', + 'uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateVariablesHelpLinkText', { defaultMessage: 'Help', } ); export const txtUrlTemplateVariablesFilterPlaceholderText = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateVariablesFilterPlaceholderText', + 'uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateVariablesFilterPlaceholderText', { defaultMessage: 'Filter variables', } diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/variable_popover/index.tsx b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/variable_popover/index.tsx similarity index 93% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/variable_popover/index.tsx rename to src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/variable_popover/index.tsx index 963ed7aeb248..bd18a1e037d1 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/variable_popover/index.tsx +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/components/variable_popover/index.tsx @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import React, { useState } from 'react'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/handlebars.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/handlebars.ts similarity index 96% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/handlebars.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/handlebars.ts index b0e86ecf71f7..62b8c01c7288 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/handlebars.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/handlebars.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import Handlebars from '@kbn/handlebars'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/index.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/index.ts similarity index 76% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/index.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/index.ts index db76a54cc8d5..543546132a3a 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/index.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export type { UrlDrilldownConfig, UrlDrilldownGlobalScope, UrlDrilldownScope } from './types'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/types.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/types.ts similarity index 84% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/types.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/types.ts index 4d3ee2e32e8d..3566b6712c78 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/types.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/types.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export type UrlDrilldownConfig = { diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_drilldown_global_scope.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_drilldown_global_scope.ts similarity index 73% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_drilldown_global_scope.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_drilldown_global_scope.ts index da584f68edfa..69a78691eafe 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_drilldown_global_scope.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_drilldown_global_scope.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { CoreSetup } from '@kbn/core/public'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.test.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.test.ts similarity index 98% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.test.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.test.ts index 032a54364b94..fefbe0332795 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.test.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.test.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { compile } from './url_template'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.ts similarity index 77% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.ts index 776ae70cab4a..f26b40fc7f14 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_template.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export async function compile( diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_validation.test.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_validation.test.ts similarity index 94% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_validation.test.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_validation.test.ts index 78379b349591..e73afe056c28 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_validation.test.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_validation.test.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { validateUrl, validateUrlTemplate } from './url_validation'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_validation.ts b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_validation.ts similarity index 76% rename from x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_validation.ts rename to src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_validation.ts index 860e6f96cc78..7f1fb02ed975 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_validation.ts +++ b/src/plugins/ui_actions_enhanced/public/drilldowns/url_drilldown/url_validation.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { i18n } from '@kbn/i18n'; @@ -10,7 +11,7 @@ import { UrlDrilldownConfig, UrlDrilldownScope } from './types'; import { compile } from './url_template'; const generalFormatError = i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.urlDrilldownValidation.urlFormatGeneralErrorMessage', + 'uiActionsEnhanced.drilldowns.urlDrilldownValidation.urlFormatGeneralErrorMessage', { defaultMessage: 'Invalid format. Example: {exampleUrl}', values: { @@ -20,15 +21,12 @@ const generalFormatError = i18n.translate( ); const formatError = (message: string) => - i18n.translate( - 'xpack.uiActionsEnhanced.drilldowns.urlDrilldownValidation.urlFormatErrorMessage', - { - defaultMessage: 'Invalid format: {message}', - values: { - message, - }, - } - ); + i18n.translate('uiActionsEnhanced.drilldowns.urlDrilldownValidation.urlFormatErrorMessage', { + defaultMessage: 'Invalid format: {message}', + values: { + message, + }, + }); const SAFE_URL_PATTERN = /^(?:(?:https?|mailto):|[^&:/?#]*(?:[/?#]|$))/gi; export function validateUrl(url: string): { isValid: boolean; error?: string } { diff --git a/x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory.test.ts b/src/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory.test.ts similarity index 95% rename from x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory.test.ts rename to src/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory.test.ts index 9d03e00514e2..d8a6d1f97ba0 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory.test.ts +++ b/src/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory.test.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { ActionFactory } from './action_factory'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory.ts b/src/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory.ts similarity index 92% rename from x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory.ts rename to src/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory.ts index 436c2e7bf8e8..525362b809e9 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory.ts +++ b/src/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import type { UiComponent, CollectConfigProps } from '@kbn/kibana-utils-plugin/public'; @@ -30,7 +31,7 @@ import type { ActionFactoryDefinition } from './action_factory_definition'; export interface ActionFactoryDeps { readonly getLicense?: () => ILicense; - readonly getFeatureUsageStart?: () => LicensingPluginStart['featureUsage']; + readonly getFeatureUsageStart: () => LicensingPluginStart['featureUsage'] | undefined; } export class ActionFactory< @@ -133,15 +134,15 @@ export class ActionFactory< private notifyFeatureUsage(): void { if (!this.minimalLicense || !this.licenseFeatureName || !this.deps.getFeatureUsageStart) return; - this.deps - .getFeatureUsageStart() - .notifyUsage(this.licenseFeatureName) - .catch(() => { + const featureUsageStart = this.deps.getFeatureUsageStart(); + if (featureUsageStart) { + featureUsageStart.notifyUsage(this.licenseFeatureName).catch(() => { // eslint-disable-next-line no-console console.warn( `ActionFactory [actionFactory.id = ${this.def.id}] fail notify feature usage.` ); }); + } } public telemetry( diff --git a/x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory_definition.ts b/src/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory_definition.ts similarity index 91% rename from x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory_definition.ts rename to src/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory_definition.ts index 029933e3b28d..a50901744099 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory_definition.ts +++ b/src/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory_definition.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { Configurable } from '@kbn/kibana-utils-plugin/public'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_enhancement.ts b/src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_enhancement.ts similarity index 86% rename from x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_enhancement.ts rename to src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_enhancement.ts index ad59d8929b26..4a06b29c7a3f 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_enhancement.ts +++ b/src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_enhancement.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import type { SerializableRecord } from '@kbn/utility-types'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_grouping.ts b/src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_grouping.ts similarity index 71% rename from x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_grouping.ts rename to src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_grouping.ts index 8e94fead9a7d..ad8af597cbc2 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_grouping.ts +++ b/src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_grouping.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { i18n } from '@kbn/i18n'; @@ -15,7 +16,7 @@ export const dynamicActionGrouping: PresentableGrouping<{ { id: 'dynamicActions', getDisplayName: () => - i18n.translate('xpack.uiActionsEnhanced.CustomActions', { + i18n.translate('uiActionsEnhanced.CustomActions', { defaultMessage: 'Custom actions', }), getIconType: () => 'symlink', diff --git a/x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.test.ts b/src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.test.ts similarity index 99% rename from x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.test.ts rename to src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.test.ts index ab7d322c8576..ae75f9566415 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.test.ts +++ b/src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.test.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { DynamicActionManager } from './dynamic_action_manager'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts b/src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts similarity index 98% rename from x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts rename to src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts index a2bbc0db953c..095cda269c49 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts +++ b/src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { v4 as uuidv4 } from 'uuid'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager_state.ts b/src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager_state.ts similarity index 93% rename from x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager_state.ts rename to src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager_state.ts index 53afebb7490c..7899816af778 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager_state.ts +++ b/src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_manager_state.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { SerializedEvent } from './types'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_storage.ts b/src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_storage.ts similarity index 93% rename from x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_storage.ts rename to src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_storage.ts index 26e14818a12b..d335378407e8 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_storage.ts +++ b/src/plugins/ui_actions_enhanced/public/dynamic_actions/dynamic_action_storage.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ /* eslint-disable max-classes-per-file */ diff --git a/x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/index.ts b/src/plugins/ui_actions_enhanced/public/dynamic_actions/index.ts similarity index 68% rename from x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/index.ts rename to src/plugins/ui_actions_enhanced/public/dynamic_actions/index.ts index 11ee33bff10d..c5721ed45293 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/index.ts +++ b/src/plugins/ui_actions_enhanced/public/dynamic_actions/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './types'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/types.ts b/src/plugins/ui_actions_enhanced/public/dynamic_actions/types.ts similarity index 72% rename from x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/types.ts rename to src/plugins/ui_actions_enhanced/public/dynamic_actions/types.ts index 2512753c07f4..718909b148b6 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/types.ts +++ b/src/plugins/ui_actions_enhanced/public/dynamic_actions/types.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { SerializedAction, SerializedEvent, BaseActionConfig } from '../../common/types'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/index.ts b/src/plugins/ui_actions_enhanced/public/index.ts similarity index 91% rename from x-pack/plugins/ui_actions_enhanced/public/index.ts rename to src/plugins/ui_actions_enhanced/public/index.ts index 0b327cd65ff0..b609c5807a56 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/index.ts +++ b/src/plugins/ui_actions_enhanced/public/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { PluginInitializerContext } from '@kbn/core/public'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/mocks.ts b/src/plugins/ui_actions_enhanced/public/mocks.ts similarity index 93% rename from x-pack/plugins/ui_actions_enhanced/public/mocks.ts rename to src/plugins/ui_actions_enhanced/public/mocks.ts index 5743d3d69050..356825e03e9d 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/mocks.ts +++ b/src/plugins/ui_actions_enhanced/public/mocks.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { CoreSetup, CoreStart } from '@kbn/core/public'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/plugin.ts b/src/plugins/ui_actions_enhanced/public/plugin.ts similarity index 91% rename from x-pack/plugins/ui_actions_enhanced/public/plugin.ts rename to src/plugins/ui_actions_enhanced/public/plugin.ts index b64f836ad959..1065b30c8e4d 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/plugin.ts +++ b/src/plugins/ui_actions_enhanced/public/plugin.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { BehaviorSubject, Subscription } from 'rxjs'; @@ -28,13 +29,13 @@ import { dynamicActionEnhancement } from './dynamic_actions/dynamic_action_enhan interface SetupDependencies { embeddable: EmbeddableSetup; // Embeddable are needed because they register basic triggers/actions. uiActions: UiActionsSetup; - licensing: LicensingPluginSetup; + licensing?: LicensingPluginSetup; } export interface StartDependencies { embeddable: EmbeddableStart; uiActions: UiActionsStart; - licensing: LicensingPluginStart; + licensing?: LicensingPluginStart; } export interface SetupContract @@ -79,8 +80,8 @@ export class AdvancedUiActionsPublicPlugin const startServices = createStartServicesGetter(core.getStartServices); this.enhancements = new UiActionsServiceEnhancements({ getLicense: () => this.getLicenseInfo(), - featureUsageSetup: licensing.featureUsage, - getFeatureUsageStart: () => startServices().plugins.licensing.featureUsage, + featureUsageSetup: licensing?.featureUsage, + getFeatureUsageStart: () => startServices().plugins.licensing?.featureUsage, }); embeddable.registerEnhancement(dynamicActionEnhancement(this.enhancements)); return { @@ -90,7 +91,7 @@ export class AdvancedUiActionsPublicPlugin } public start(core: CoreStart, { uiActions, licensing }: StartDependencies): StartContract { - this.subs.push(licensing.license$.subscribe(this.licenseInfo)); + if (licensing) this.subs.push(licensing.license$.subscribe(this.licenseInfo)); const dateFormat = core.uiSettings.get('dateFormat') as string; const commonlyUsedRanges = core.uiSettings.get( diff --git a/x-pack/plugins/ui_actions_enhanced/public/services/index.ts b/src/plugins/ui_actions_enhanced/public/services/index.ts similarity index 53% rename from x-pack/plugins/ui_actions_enhanced/public/services/index.ts rename to src/plugins/ui_actions_enhanced/public/services/index.ts index 59bb5e2d42a4..05f6764d481a 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/services/index.ts +++ b/src/plugins/ui_actions_enhanced/public/services/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export * from './ui_actions_service_enhancements'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/services/ui_actions_service_enhancements.test.ts b/src/plugins/ui_actions_enhanced/public/services/ui_actions_service_enhancements.test.ts similarity index 96% rename from x-pack/plugins/ui_actions_enhanced/public/services/ui_actions_service_enhancements.test.ts rename to src/plugins/ui_actions_enhanced/public/services/ui_actions_service_enhancements.test.ts index 28e7aaa774a7..4548d1ada04e 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/services/ui_actions_service_enhancements.test.ts +++ b/src/plugins/ui_actions_enhanced/public/services/ui_actions_service_enhancements.test.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { @@ -158,7 +159,7 @@ describe('UiActionsService', () => { }); describe('registerFeature for licensing', () => { - const spy = jest.spyOn(deps.featureUsageSetup, 'register'); + const spy = jest.spyOn(deps.featureUsageSetup!, 'register'); beforeEach(() => { spy.mockClear(); }); diff --git a/x-pack/plugins/ui_actions_enhanced/public/services/ui_actions_service_enhancements.ts b/src/plugins/ui_actions_enhanced/public/services/ui_actions_service_enhancements.ts similarity index 92% rename from x-pack/plugins/ui_actions_enhanced/public/services/ui_actions_service_enhancements.ts rename to src/plugins/ui_actions_enhanced/public/services/ui_actions_service_enhancements.ts index fb2dc3ea5bd0..9de325e28135 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/services/ui_actions_service_enhancements.ts +++ b/src/plugins/ui_actions_enhanced/public/services/ui_actions_service_enhancements.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { SerializableRecord } from '@kbn/utility-types'; @@ -26,9 +27,9 @@ export type { DynamicActionsState }; export interface UiActionsServiceEnhancementsParams { readonly actionFactories?: ActionFactoryRegistry; - readonly getLicense: () => ILicense; - readonly featureUsageSetup: LicensingPluginSetup['featureUsage']; - readonly getFeatureUsageStart: () => LicensingPluginStart['featureUsage']; + readonly getLicense?: () => ILicense; + readonly featureUsageSetup?: LicensingPluginSetup['featureUsage']; + readonly getFeatureUsageStart: () => LicensingPluginStart['featureUsage'] | undefined; } export class UiActionsServiceEnhancements @@ -155,7 +156,12 @@ export class UiActionsServiceEnhancements private registerFeatureUsage = (definition: ActionFactoryDefinition): void => { if (!definition.minimalLicense || !definition.licenseFeatureName) return; - this.deps.featureUsageSetup.register(definition.licenseFeatureName, definition.minimalLicense); + if (this.deps.featureUsageSetup) { + this.deps.featureUsageSetup.register( + definition.licenseFeatureName, + definition.minimalLicense + ); + } }; public readonly telemetry = ( diff --git a/x-pack/plugins/ui_actions_enhanced/public/test_helpers/index.ts b/src/plugins/ui_actions_enhanced/public/test_helpers/index.ts similarity index 62% rename from x-pack/plugins/ui_actions_enhanced/public/test_helpers/index.ts rename to src/plugins/ui_actions_enhanced/public/test_helpers/index.ts index 497d4fe0ccdf..26220094e498 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/test_helpers/index.ts +++ b/src/plugins/ui_actions_enhanced/public/test_helpers/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ export { TimeRangeEmbeddable, TIME_RANGE_EMBEDDABLE } from './time_range_embeddable'; diff --git a/x-pack/plugins/ui_actions_enhanced/public/test_helpers/time_range_container.ts b/src/plugins/ui_actions_enhanced/public/test_helpers/time_range_container.ts similarity index 87% rename from x-pack/plugins/ui_actions_enhanced/public/test_helpers/time_range_container.ts rename to src/plugins/ui_actions_enhanced/public/test_helpers/time_range_container.ts index b37a0e54d75b..f04f89e19e03 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/test_helpers/time_range_container.ts +++ b/src/plugins/ui_actions_enhanced/public/test_helpers/time_range_container.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { diff --git a/x-pack/plugins/ui_actions_enhanced/public/test_helpers/time_range_embeddable.ts b/src/plugins/ui_actions_enhanced/public/test_helpers/time_range_embeddable.ts similarity index 80% rename from x-pack/plugins/ui_actions_enhanced/public/test_helpers/time_range_embeddable.ts rename to src/plugins/ui_actions_enhanced/public/test_helpers/time_range_embeddable.ts index a916fe6601ee..b650bfc33eba 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/test_helpers/time_range_embeddable.ts +++ b/src/plugins/ui_actions_enhanced/public/test_helpers/time_range_embeddable.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { diff --git a/x-pack/plugins/ui_actions_enhanced/public/test_helpers/time_range_embeddable_factory.ts b/src/plugins/ui_actions_enhanced/public/test_helpers/time_range_embeddable_factory.ts similarity index 83% rename from x-pack/plugins/ui_actions_enhanced/public/test_helpers/time_range_embeddable_factory.ts rename to src/plugins/ui_actions_enhanced/public/test_helpers/time_range_embeddable_factory.ts index 4f1fb3af965e..ce04ee022c68 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/test_helpers/time_range_embeddable_factory.ts +++ b/src/plugins/ui_actions_enhanced/public/test_helpers/time_range_embeddable_factory.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { diff --git a/x-pack/plugins/ui_actions_enhanced/public/types.ts b/src/plugins/ui_actions_enhanced/public/types.ts similarity index 72% rename from x-pack/plugins/ui_actions_enhanced/public/types.ts rename to src/plugins/ui_actions_enhanced/public/types.ts index 7541212569f5..0e0d8d70d5d4 100644 --- a/x-pack/plugins/ui_actions_enhanced/public/types.ts +++ b/src/plugins/ui_actions_enhanced/public/types.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { KibanaReactOverlays } from '@kbn/kibana-react-plugin/public'; diff --git a/x-pack/plugins/ui_actions_enhanced/server/dynamic_action_enhancement.ts b/src/plugins/ui_actions_enhanced/server/dynamic_action_enhancement.ts similarity index 92% rename from x-pack/plugins/ui_actions_enhanced/server/dynamic_action_enhancement.ts rename to src/plugins/ui_actions_enhanced/server/dynamic_action_enhancement.ts index e30567e1231d..617aea5f0505 100644 --- a/x-pack/plugins/ui_actions_enhanced/server/dynamic_action_enhancement.ts +++ b/src/plugins/ui_actions_enhanced/server/dynamic_action_enhancement.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import type { SerializableRecord } from '@kbn/utility-types'; diff --git a/x-pack/plugins/ui_actions_enhanced/server/index.ts b/src/plugins/ui_actions_enhanced/server/index.ts similarity index 81% rename from x-pack/plugins/ui_actions_enhanced/server/index.ts rename to src/plugins/ui_actions_enhanced/server/index.ts index a1d70d3ea4a8..04df6d4b1e84 100644 --- a/x-pack/plugins/ui_actions_enhanced/server/index.ts +++ b/src/plugins/ui_actions_enhanced/server/index.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { AdvancedUiActionsServerPlugin } from './plugin'; diff --git a/x-pack/plugins/ui_actions_enhanced/server/plugin.ts b/src/plugins/ui_actions_enhanced/server/plugin.ts similarity index 91% rename from x-pack/plugins/ui_actions_enhanced/server/plugin.ts rename to src/plugins/ui_actions_enhanced/server/plugin.ts index f021924db373..272657ec84f0 100644 --- a/x-pack/plugins/ui_actions_enhanced/server/plugin.ts +++ b/src/plugins/ui_actions_enhanced/server/plugin.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { identity } from 'lodash'; diff --git a/x-pack/plugins/ui_actions_enhanced/server/telemetry/dynamic_action_factories_collector.test.ts b/src/plugins/ui_actions_enhanced/server/telemetry/dynamic_action_factories_collector.test.ts similarity index 94% rename from x-pack/plugins/ui_actions_enhanced/server/telemetry/dynamic_action_factories_collector.test.ts rename to src/plugins/ui_actions_enhanced/server/telemetry/dynamic_action_factories_collector.test.ts index 63064e06184a..1a2a30448b0c 100644 --- a/x-pack/plugins/ui_actions_enhanced/server/telemetry/dynamic_action_factories_collector.test.ts +++ b/src/plugins/ui_actions_enhanced/server/telemetry/dynamic_action_factories_collector.test.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ /* eslint-disable @typescript-eslint/naming-convention */ diff --git a/x-pack/plugins/ui_actions_enhanced/server/telemetry/dynamic_action_factories_collector.ts b/src/plugins/ui_actions_enhanced/server/telemetry/dynamic_action_factories_collector.ts similarity index 78% rename from x-pack/plugins/ui_actions_enhanced/server/telemetry/dynamic_action_factories_collector.ts rename to src/plugins/ui_actions_enhanced/server/telemetry/dynamic_action_factories_collector.ts index 68a314daa121..7d55ce8ceaee 100644 --- a/x-pack/plugins/ui_actions_enhanced/server/telemetry/dynamic_action_factories_collector.ts +++ b/src/plugins/ui_actions_enhanced/server/telemetry/dynamic_action_factories_collector.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { DynamicActionsState } from '../../common'; diff --git a/x-pack/plugins/ui_actions_enhanced/server/telemetry/dynamic_actions_collector.test.ts b/src/plugins/ui_actions_enhanced/server/telemetry/dynamic_actions_collector.test.ts similarity index 97% rename from x-pack/plugins/ui_actions_enhanced/server/telemetry/dynamic_actions_collector.test.ts rename to src/plugins/ui_actions_enhanced/server/telemetry/dynamic_actions_collector.test.ts index 67dc759d90f4..d8fca89205ca 100644 --- a/x-pack/plugins/ui_actions_enhanced/server/telemetry/dynamic_actions_collector.test.ts +++ b/src/plugins/ui_actions_enhanced/server/telemetry/dynamic_actions_collector.test.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { dynamicActionsCollector } from './dynamic_actions_collector'; diff --git a/x-pack/plugins/ui_actions_enhanced/server/telemetry/dynamic_actions_collector.ts b/src/plugins/ui_actions_enhanced/server/telemetry/dynamic_actions_collector.ts similarity index 86% rename from x-pack/plugins/ui_actions_enhanced/server/telemetry/dynamic_actions_collector.ts rename to src/plugins/ui_actions_enhanced/server/telemetry/dynamic_actions_collector.ts index 0f0f737e9d21..dd059bc75af3 100644 --- a/x-pack/plugins/ui_actions_enhanced/server/telemetry/dynamic_actions_collector.ts +++ b/src/plugins/ui_actions_enhanced/server/telemetry/dynamic_actions_collector.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { DynamicActionsState } from '../../common'; diff --git a/x-pack/plugins/ui_actions_enhanced/server/telemetry/get_metric_key.ts b/src/plugins/ui_actions_enhanced/server/telemetry/get_metric_key.ts similarity index 64% rename from x-pack/plugins/ui_actions_enhanced/server/telemetry/get_metric_key.ts rename to src/plugins/ui_actions_enhanced/server/telemetry/get_metric_key.ts index 78678e22db63..ffc5982585a4 100644 --- a/x-pack/plugins/ui_actions_enhanced/server/telemetry/get_metric_key.ts +++ b/src/plugins/ui_actions_enhanced/server/telemetry/get_metric_key.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ const prefix = 'dynamicActions.'; diff --git a/x-pack/plugins/ui_actions_enhanced/server/types.ts b/src/plugins/ui_actions_enhanced/server/types.ts similarity index 80% rename from x-pack/plugins/ui_actions_enhanced/server/types.ts rename to src/plugins/ui_actions_enhanced/server/types.ts index 7280846e9330..be6570ef1fc9 100644 --- a/x-pack/plugins/ui_actions_enhanced/server/types.ts +++ b/src/plugins/ui_actions_enhanced/server/types.ts @@ -1,8 +1,9 @@ /* * 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. + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. */ import { PersistableState, PersistableStateDefinition } from '@kbn/kibana-utils-plugin/common'; diff --git a/src/plugins/ui_actions_enhanced/tsconfig.json b/src/plugins/ui_actions_enhanced/tsconfig.json new file mode 100644 index 000000000000..d9d9474f0bd7 --- /dev/null +++ b/src/plugins/ui_actions_enhanced/tsconfig.json @@ -0,0 +1,24 @@ +{ + "extends": "../../../tsconfig.base.json", + "compilerOptions": { + "outDir": "./target/types", + "emitDeclarationOnly": true, + "declaration": true, + "declarationMap": true + }, + "include": [ + "public/**/*", + "server/**/*", + "common/**/*", + "../../../typings/**/*" + ], + "references": [ + { "path": "../../core/tsconfig.json" }, + { "path": "../data/tsconfig.json" }, + { "path": "../embeddable/tsconfig.json" }, + { "path": "../kibana_react/tsconfig.json" }, + { "path": "../kibana_utils/tsconfig.json" }, + { "path": "../ui_actions/tsconfig.json" }, + { "path": "../../../x-pack/plugins/licensing/tsconfig.json" }, + ] +} diff --git a/tsconfig.base.json b/tsconfig.base.json index f263f7f9bced..32bc0976bc0a 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -153,6 +153,8 @@ "@kbn/telemetry-management-section-plugin/*": ["src/plugins/telemetry_management_section/*"], "@kbn/telemetry-plugin": ["src/plugins/telemetry"], "@kbn/telemetry-plugin/*": ["src/plugins/telemetry/*"], + "@kbn/ui-actions-enhanced-plugin": ["src/plugins/ui_actions_enhanced"], + "@kbn/ui-actions-enhanced-plugin/*": ["src/plugins/ui_actions_enhanced/*"], "@kbn/ui-actions-plugin": ["src/plugins/ui_actions"], "@kbn/ui-actions-plugin/*": ["src/plugins/ui_actions/*"], "@kbn/unified-search-plugin": ["src/plugins/unified_search"], @@ -407,8 +409,6 @@ "@kbn/translations-plugin/*": ["x-pack/plugins/translations/*"], "@kbn/triggers-actions-ui-plugin": ["x-pack/plugins/triggers_actions_ui"], "@kbn/triggers-actions-ui-plugin/*": ["x-pack/plugins/triggers_actions_ui/*"], - "@kbn/ui-actions-enhanced-plugin": ["x-pack/plugins/ui_actions_enhanced"], - "@kbn/ui-actions-enhanced-plugin/*": ["x-pack/plugins/ui_actions_enhanced/*"], "@kbn/upgrade-assistant-plugin": ["x-pack/plugins/upgrade_assistant"], "@kbn/upgrade-assistant-plugin/*": ["x-pack/plugins/upgrade_assistant/*"], "@kbn/ux-plugin": ["x-pack/plugins/ux"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index 3533ef314cac..309322d349c2 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -2,7 +2,6 @@ "prefix": "xpack", "paths": { "xpack.actions": "plugins/actions", - "xpack.uiActionsEnhanced": "plugins/ui_actions_enhanced", "xpack.alerting": "plugins/alerting", "xpack.eventLog": "plugins/event_log", "xpack.stackAlerts": "plugins/stack_alerts", diff --git a/x-pack/examples/ui_actions_enhanced_examples/public/drilldowns/dashboard_to_discover_drilldown/components/discover_drilldown_config/i18n.ts b/x-pack/examples/ui_actions_enhanced_examples/public/drilldowns/dashboard_to_discover_drilldown/components/discover_drilldown_config/i18n.ts index f61fffe8f8d5..2601cab20d9f 100644 --- a/x-pack/examples/ui_actions_enhanced_examples/public/drilldowns/dashboard_to_discover_drilldown/components/discover_drilldown_config/i18n.ts +++ b/x-pack/examples/ui_actions_enhanced_examples/public/drilldowns/dashboard_to_discover_drilldown/components/discover_drilldown_config/i18n.ts @@ -8,7 +8,7 @@ import { i18n } from '@kbn/i18n'; export const txtChooseDestinationIndexPattern = i18n.translate( - 'xpack.uiActionsEnhanced.components.DiscoverDrilldownConfig.chooseIndexPattern', + 'uiActionsEnhanced.components.DiscoverDrilldownConfig.chooseIndexPattern', { defaultMessage: 'Choose destination index pattern', } diff --git a/x-pack/examples/ui_actions_enhanced_examples/public/drilldowns/dashboard_to_discover_drilldown/i18n.ts b/x-pack/examples/ui_actions_enhanced_examples/public/drilldowns/dashboard_to_discover_drilldown/i18n.ts index de4b60f36c14..95790845f995 100644 --- a/x-pack/examples/ui_actions_enhanced_examples/public/drilldowns/dashboard_to_discover_drilldown/i18n.ts +++ b/x-pack/examples/ui_actions_enhanced_examples/public/drilldowns/dashboard_to_discover_drilldown/i18n.ts @@ -7,6 +7,6 @@ import { i18n } from '@kbn/i18n'; -export const txtGoToDiscover = i18n.translate('xpack.uiActionsEnhanced.drilldown.goToDiscover', { +export const txtGoToDiscover = i18n.translate('uiActionsEnhanced.drilldown.goToDiscover', { defaultMessage: 'Go to Discover (example)', }); diff --git a/x-pack/examples/ui_actions_enhanced_examples/tsconfig.json b/x-pack/examples/ui_actions_enhanced_examples/tsconfig.json index 0282ecbdd173..0df8dda165f0 100644 --- a/x-pack/examples/ui_actions_enhanced_examples/tsconfig.json +++ b/x-pack/examples/ui_actions_enhanced_examples/tsconfig.json @@ -19,8 +19,8 @@ { "path": "../../../src/plugins/discover/tsconfig.json" }, { "path": "../../../src/plugins/dashboard/tsconfig.json" }, { "path": "../../../src/plugins/embeddable/tsconfig.json" }, + { "path": "../../../src/plugins/ui_actions_enhanced/tsconfig.json" }, { "path": "../../../examples/developer_examples/tsconfig.json" }, { "path": "../../plugins/dashboard_enhanced/tsconfig.json" }, - { "path": "../../plugins/ui_actions_enhanced/tsconfig.json" }, ] } diff --git a/x-pack/plugins/dashboard_enhanced/tsconfig.json b/x-pack/plugins/dashboard_enhanced/tsconfig.json index cebf306003ab..9cd81c66fff4 100644 --- a/x-pack/plugins/dashboard_enhanced/tsconfig.json +++ b/x-pack/plugins/dashboard_enhanced/tsconfig.json @@ -18,7 +18,7 @@ { "path": "../../../src/plugins/share/tsconfig.json" }, { "path": "../../../src/plugins/data/tsconfig.json"}, { "path": "../../../src/plugins/embeddable/tsconfig.json" }, + { "path": "../../../src/plugins/ui_actions_enhanced/tsconfig.json" }, { "path": "../embeddable_enhanced/tsconfig.json" }, - { "path": "../ui_actions_enhanced/tsconfig.json" }, ] } diff --git a/x-pack/plugins/drilldowns/url_drilldown/tsconfig.json b/x-pack/plugins/drilldowns/url_drilldown/tsconfig.json index 419c3875435d..b3ae397963c1 100644 --- a/x-pack/plugins/drilldowns/url_drilldown/tsconfig.json +++ b/x-pack/plugins/drilldowns/url_drilldown/tsconfig.json @@ -9,7 +9,7 @@ "include": ["public/**/*"], "references": [ { "path": "../../../../src/core/tsconfig.json" }, - { "path": "../../ui_actions_enhanced/tsconfig.json" }, + { "path": "../../../../src/plugins/ui_actions_enhanced/tsconfig.json" }, { "path": "../../../../src/plugins/embeddable/tsconfig.json" }, { "path": "../../../../src/plugins/expressions/tsconfig.json" }, { "path": "../../../../src/plugins/kibana_react/tsconfig.json" }, diff --git a/x-pack/plugins/embeddable_enhanced/tsconfig.json b/x-pack/plugins/embeddable_enhanced/tsconfig.json index f9ac36958747..13e684dbdefc 100644 --- a/x-pack/plugins/embeddable_enhanced/tsconfig.json +++ b/x-pack/plugins/embeddable_enhanced/tsconfig.json @@ -14,7 +14,6 @@ { "path": "../../../src/plugins/embeddable/tsconfig.json" }, { "path": "../../../src/plugins/kibana_react/tsconfig.json" }, { "path": "../../../src/plugins/ui_actions/tsconfig.json" }, - - { "path": "../ui_actions_enhanced/tsconfig.json" }, + { "path": "../../../src/plugins/ui_actions_enhanced/tsconfig.json" }, ] } diff --git a/x-pack/plugins/lens/tsconfig.json b/x-pack/plugins/lens/tsconfig.json index 20def97df7ae..df55e0671059 100644 --- a/x-pack/plugins/lens/tsconfig.json +++ b/x-pack/plugins/lens/tsconfig.json @@ -12,7 +12,6 @@ { "path": "../../../src/core/tsconfig.json" }, { "path": "../task_manager/tsconfig.json" }, { "path": "../global_search/tsconfig.json" }, - { "path": "../ui_actions_enhanced/tsconfig.json" }, { "path": "../saved_objects_tagging/tsconfig.json" }, { "path": "../../../src/plugins/data/tsconfig.json" }, { "path": "../../../src/plugins/data_views/tsconfig.json" }, @@ -24,6 +23,7 @@ { "path": "../../../src/plugins/visualizations/tsconfig.json" }, { "path": "../../../src/plugins/dashboard/tsconfig.json" }, { "path": "../../../src/plugins/ui_actions/tsconfig.json" }, + { "path": "../../../src/plugins/ui_actions_enhanced/tsconfig.json" }, { "path": "../../../src/plugins/share/tsconfig.json" }, { "path": "../../../src/plugins/usage_collection/tsconfig.json" }, { "path": "../../../src/plugins/saved_objects/tsconfig.json" }, diff --git a/x-pack/plugins/translations/translations/fr-FR.json b/x-pack/plugins/translations/translations/fr-FR.json index f044ac4df4bf..44bde053ebfb 100644 --- a/x-pack/plugins/translations/translations/fr-FR.json +++ b/x-pack/plugins/translations/translations/fr-FR.json @@ -5578,6 +5578,90 @@ "uiActions.errors.incompatibleAction": "Action non compatible", "uiActions.triggers.rowClickkDescription": "Un clic sur une ligne de tableau", "uiActions.triggers.rowClickTitle": "Clic sur ligne de tableau", + "uiActionsEnhanced.components.actionWizard.betaActionLabel": "Bêta", + "uiActionsEnhanced.components.actionWizard.betaActionTooltip": "Cette action est en version bêta et susceptible d'être modifiée. La conception et le code sont moins matures que les fonctionnalités officielles en disponibilité générale et sont fournis tels quels sans aucune garantie. Les fonctionnalités bêta ne sont pas soumises aux accords de niveau de service d'assistance des fonctionnalités officielles en disponibilité générale. Nous vous remercions de bien vouloir nous aider en nous signalant les bugs ou en nous envoyant d'autres commentaires.", + "uiActionsEnhanced.components.actionWizard.changeButton": "Modifier", + "uiActionsEnhanced.components.actionWizard.insufficientLicenseLevelTooltip": "Niveau de licence insuffisant", + "uiActionsEnhanced.components.actionWizard.triggerPickerHelpText": "Qu'est-ce que c'est ?", + "uiActionsEnhanced.components.actionWizard.triggerPickerHelpTooltip": "Détermine quand la recherche s'affiche dans le menu contextuel", + "uiActionsEnhanced.components.actionWizard.triggerPickerLabel": "Afficher l'option sur :", + "uiActionsEnhanced.components.DrilldownForm.betaActionLabel": "Bêta", + "uiActionsEnhanced.components.DrilldownForm.betaActionTooltip": "Cette action est en version bêta et susceptible d'être modifiée. La conception et le code sont moins matures que les fonctionnalités officielles en disponibilité générale et sont fournis tels quels sans aucune garantie. Les fonctionnalités bêta ne sont pas soumises aux accords de niveau de service d'assistance des fonctionnalités officielles en disponibilité générale. Nous vous remercions de bien vouloir nous aider en nous signalant les bugs ou en nous envoyant d'autres commentaires.", + "uiActionsEnhanced.components.DrilldownForm.changeButton": "Modifier", + "uiActionsEnhanced.components.DrilldownForm.drilldownAction": "Action", + "uiActionsEnhanced.components.DrilldownForm.getMoreActionsLinkLabel": "Obtenir plus d'actions", + "uiActionsEnhanced.components.DrilldownForm.nameOfDrilldown": "Nom", + "uiActionsEnhanced.components.DrilldownForm.trigger": "Déclencher", + "uiActionsEnhanced.components.DrilldownForm.untitledDrilldown": "Recherche sans titre", + "uiActionsEnhanced.components.DrilldownTable.actionColumnTitle": "Action", + "uiActionsEnhanced.components.DrilldownTable.copyDrilldownButtonLabel": "Copier", + "uiActionsEnhanced.components.DrilldownTable.createDrilldownButtonLabel": "Créer nouvelle", + "uiActionsEnhanced.components.DrilldownTable.deleteDrilldownsButtonLabel": "Supprimer ({count})", + "uiActionsEnhanced.components.DrilldownTable.editDrilldownButtonLabel": "Modifier", + "uiActionsEnhanced.components.DrilldownTable.nameColumnTitle": "Nom", + "uiActionsEnhanced.components.DrilldownTable.selectThisDrilldownCheckboxLabel": "Sélectionner cette recherche", + "uiActionsEnhanced.components.DrilldownTable.triggerColumnTitle": "Déclencher", + "uiActionsEnhanced.components.DrilldownTemplateTable.actionColumnTitle": "Action", + "uiActionsEnhanced.components.DrilldownTemplateTable.copyButtonLabel": "Copier ({count})", + "uiActionsEnhanced.components.DrilldownTemplateTable.nameColumnTitle": "Nom", + "uiActionsEnhanced.components.DrilldownTemplateTable.selectableMessage": "Sélectionner ce modèle", + "uiActionsEnhanced.components.DrilldownTemplateTable.singleItemCopyAction": "Copier", + "uiActionsEnhanced.components.DrilldownTemplateTable.sourceColumnTitle": "Panneau", + "uiActionsEnhanced.components.DrilldownTemplateTable.triggerColumnTitle": "Déclencher", + "uiActionsEnhanced.components.TriggerLineItem.incompatibleTooltip": "Ce type de déclenchement n'est pas pris en charge par ce panneau", + "uiActionsEnhanced.components.TriggerPickerItem.unknown": "Inconnu", + "uiActionsEnhanced.CustomActions": "Actions personnalisées", + "uiActionsEnhanced.customizePanelTimeRange.modal.addToPanelButtonTitle": "Ajouter au panneau", + "uiActionsEnhanced.customizePanelTimeRange.modal.cancelButtonTitle": "Annuler", + "uiActionsEnhanced.customizePanelTimeRange.modal.optionsMenuForm.panelTitleFormRowLabel": "Plage temporelle", + "uiActionsEnhanced.customizePanelTimeRange.modal.removeButtonTitle": "Retirer", + "uiActionsEnhanced.customizePanelTimeRange.modal.updatePanelTimeRangeButtonTitle": "Mettre à jour", + "uiActionsEnhanced.customizeTimeRange.modal.headerTitle": "Personnaliser la plage temporelle du panneau", + "uiActionsEnhanced.customizeTimeRangeMenuItem.displayName": "Personnaliser la plage temporelle", + "uiActionsEnhanced.drilldownManager.containers.TemplatePicker.label": "Copier la recherche existante", + "uiActionsEnhanced.drilldowns.components.DrilldownHelloBar.helpText": "Les recherches vous permettent de définir de nouveaux comportements pour l'interaction avec les panneaux. Vous pouvez ajouter plusieurs actions et remplacer le filtre par défaut.", + "uiActionsEnhanced.drilldowns.components.DrilldownHelloBar.hideHelpButtonLabel": "Masquer", + "uiActionsEnhanced.drilldowns.components.DrilldownHelloBar.viewDocsLinkLabel": "Afficher les documents", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.createDrilldownTitle": "Créer une recherche", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.deleteDrilldownButtonLabel": "Supprimer une recherche", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.editDrilldownTitle": "Modifier une recherche", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.insufficientLicenseLevelError": "Niveau de licence insuffisant", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.invalidDrilldownType": "Le type de recherche {type} n'existe pas", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownCreatedText": "Enregistrez votre tableau de bord avant de tester.", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownCreatedTitle": "Recherche \"{drilldownName}\" créée", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownDeletedText": "Enregistrez votre tableau de bord avant de tester.", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownDeletedTitle": "Recherche supprimée", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownEditedText": "Enregistrez votre tableau de bord avant de tester.", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownEditedTitle": "Recherche \"{drilldownName}\" mise à jour", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownsCRUDErrorTitle": "Erreur lors de l'enregistrement de la recherche", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownsDeletedText": "Enregistrez votre tableau de bord avant de tester.", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownsDeletedTitle": "{n} recherches supprimées", + "uiActionsEnhanced.drilldowns.components.FlyoutFrame.BackButtonLabel": "Précédent", + "uiActionsEnhanced.drilldowns.components.FlyoutFrame.CloseButtonLabel": "Fermer", + "uiActionsEnhanced.drilldowns.containers.createDrilldownForm.primaryButton": "Créer une recherche", + "uiActionsEnhanced.drilldowns.containers.createDrilldownForm.title": "Créer une recherche", + "uiActionsEnhanced.drilldowns.containers.drilldownList.copyingNotification.body": "{count, number} {count, plural, one {recherche} other {recherches}} copiée(s).", + "uiActionsEnhanced.drilldowns.containers.drilldownList.copyingNotification.dismiss": "Rejeter", + "uiActionsEnhanced.drilldowns.containers.DrilldownManager.createNew": "Créer nouvelle", + "uiActionsEnhanced.drilldowns.containers.DrilldownManager.manage": "Gérer", + "uiActionsEnhanced.drilldowns.containers.editDrilldownForm.primaryButton": "Enregistrer", + "uiActionsEnhanced.drilldowns.containers.editDrilldownForm.title": "Modifier une recherche", + "uiActionsEnhanced.drilldowns.drilldownManager.state.defaultTitle": "Recherches", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.additionalOptions": "Options supplémentaires", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.addVariableButtonTitle": "Ajouter une variable", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.encodeDescription": "Si elle est activée, l'URL sera précédée de l’encodage-pourcent comme caractère d'échappement", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.encodeUrl": "Encoder l'URL", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.openInNewTabLabel": "Ouvrir dans une nouvelle fenêtre", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlPreviewHelpText": "Veuillez noter que dans l'aperçu, les variables \\{\\{event.*\\}\\} sont remplacées par des valeurs factices.", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlPreviewLabel": "Aperçu de l'URL :", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlPreviewLinkText": "Aperçu", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateLabel": "Entrer l'URL", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplatePlaceholderText": "Exemple : {exampleUrl}", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateSyntaxHelpLinkText": "Aide pour la syntaxe", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateVariablesFilterPlaceholderText": "Variables de filtre", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateVariablesHelpLinkText": "Aide", + "uiActionsEnhanced.drilldowns.urlDrilldownValidation.urlFormatErrorMessage": "Format non valide : {message}", + "uiActionsEnhanced.drilldowns.urlDrilldownValidation.urlFormatGeneralErrorMessage": "Format non valide. Exemple : {exampleUrl}", "utils.filename.pathWarning": "Le chemin est peut-être incorrectement formé ; vérifiez la valeur", "utils.filename.wildcardWarning": "L’utilisation de caractères génériques dans les chemins de fichier peut affecter les performances du point de terminaison", "visDefaultEditor.advancedToggle.advancedLinkLabel": "Avancé", @@ -29141,90 +29225,6 @@ "xpack.triggersActionsUI.timeUnits.secondLabel": "{timeValue, plural, one {seconde} other {secondes}}", "xpack.triggersActionsUI.typeRegistry.get.missingActionTypeErrorMessage": "Le type d'objet \"{id}\" n'est pas enregistré.", "xpack.triggersActionsUI.typeRegistry.register.duplicateObjectTypeErrorMessage": "Le type d'objet \"{id}\" est déjà enregistré.", - "xpack.uiActionsEnhanced.components.actionWizard.betaActionLabel": "Bêta", - "xpack.uiActionsEnhanced.components.actionWizard.betaActionTooltip": "Cette action est en version bêta et susceptible d'être modifiée. La conception et le code sont moins matures que les fonctionnalités officielles en disponibilité générale et sont fournis tels quels sans aucune garantie. Les fonctionnalités bêta ne sont pas soumises aux accords de niveau de service d'assistance des fonctionnalités officielles en disponibilité générale. Nous vous remercions de bien vouloir nous aider en nous signalant les bugs ou en nous envoyant d'autres commentaires.", - "xpack.uiActionsEnhanced.components.actionWizard.changeButton": "Modifier", - "xpack.uiActionsEnhanced.components.actionWizard.insufficientLicenseLevelTooltip": "Niveau de licence insuffisant", - "xpack.uiActionsEnhanced.components.actionWizard.triggerPickerHelpText": "Qu'est-ce que c'est ?", - "xpack.uiActionsEnhanced.components.actionWizard.triggerPickerHelpTooltip": "Détermine quand la recherche s'affiche dans le menu contextuel", - "xpack.uiActionsEnhanced.components.actionWizard.triggerPickerLabel": "Afficher l'option sur :", - "xpack.uiActionsEnhanced.components.DrilldownForm.betaActionLabel": "Bêta", - "xpack.uiActionsEnhanced.components.DrilldownForm.betaActionTooltip": "Cette action est en version bêta et susceptible d'être modifiée. La conception et le code sont moins matures que les fonctionnalités officielles en disponibilité générale et sont fournis tels quels sans aucune garantie. Les fonctionnalités bêta ne sont pas soumises aux accords de niveau de service d'assistance des fonctionnalités officielles en disponibilité générale. Nous vous remercions de bien vouloir nous aider en nous signalant les bugs ou en nous envoyant d'autres commentaires.", - "xpack.uiActionsEnhanced.components.DrilldownForm.changeButton": "Modifier", - "xpack.uiActionsEnhanced.components.DrilldownForm.drilldownAction": "Action", - "xpack.uiActionsEnhanced.components.DrilldownForm.getMoreActionsLinkLabel": "Obtenir plus d'actions", - "xpack.uiActionsEnhanced.components.DrilldownForm.nameOfDrilldown": "Nom", - "xpack.uiActionsEnhanced.components.DrilldownForm.trigger": "Déclencher", - "xpack.uiActionsEnhanced.components.DrilldownForm.untitledDrilldown": "Recherche sans titre", - "xpack.uiActionsEnhanced.components.DrilldownTable.actionColumnTitle": "Action", - "xpack.uiActionsEnhanced.components.DrilldownTable.copyDrilldownButtonLabel": "Copier", - "xpack.uiActionsEnhanced.components.DrilldownTable.createDrilldownButtonLabel": "Créer nouvelle", - "xpack.uiActionsEnhanced.components.DrilldownTable.deleteDrilldownsButtonLabel": "Supprimer ({count})", - "xpack.uiActionsEnhanced.components.DrilldownTable.editDrilldownButtonLabel": "Modifier", - "xpack.uiActionsEnhanced.components.DrilldownTable.nameColumnTitle": "Nom", - "xpack.uiActionsEnhanced.components.DrilldownTable.selectThisDrilldownCheckboxLabel": "Sélectionner cette recherche", - "xpack.uiActionsEnhanced.components.DrilldownTable.triggerColumnTitle": "Déclencher", - "xpack.uiActionsEnhanced.components.DrilldownTemplateTable.actionColumnTitle": "Action", - "xpack.uiActionsEnhanced.components.DrilldownTemplateTable.copyButtonLabel": "Copier ({count})", - "xpack.uiActionsEnhanced.components.DrilldownTemplateTable.nameColumnTitle": "Nom", - "xpack.uiActionsEnhanced.components.DrilldownTemplateTable.selectableMessage": "Sélectionner ce modèle", - "xpack.uiActionsEnhanced.components.DrilldownTemplateTable.singleItemCopyAction": "Copier", - "xpack.uiActionsEnhanced.components.DrilldownTemplateTable.sourceColumnTitle": "Panneau", - "xpack.uiActionsEnhanced.components.DrilldownTemplateTable.triggerColumnTitle": "Déclencher", - "xpack.uiActionsEnhanced.components.TriggerLineItem.incompatibleTooltip": "Ce type de déclenchement n'est pas pris en charge par ce panneau", - "xpack.uiActionsEnhanced.components.TriggerPickerItem.unknown": "Inconnu", - "xpack.uiActionsEnhanced.CustomActions": "Actions personnalisées", - "xpack.uiActionsEnhanced.customizePanelTimeRange.modal.addToPanelButtonTitle": "Ajouter au panneau", - "xpack.uiActionsEnhanced.customizePanelTimeRange.modal.cancelButtonTitle": "Annuler", - "xpack.uiActionsEnhanced.customizePanelTimeRange.modal.optionsMenuForm.panelTitleFormRowLabel": "Plage temporelle", - "xpack.uiActionsEnhanced.customizePanelTimeRange.modal.removeButtonTitle": "Retirer", - "xpack.uiActionsEnhanced.customizePanelTimeRange.modal.updatePanelTimeRangeButtonTitle": "Mettre à jour", - "xpack.uiActionsEnhanced.customizeTimeRange.modal.headerTitle": "Personnaliser la plage temporelle du panneau", - "xpack.uiActionsEnhanced.customizeTimeRangeMenuItem.displayName": "Personnaliser la plage temporelle", - "xpack.uiActionsEnhanced.drilldownManager.containers.TemplatePicker.label": "Copier la recherche existante", - "xpack.uiActionsEnhanced.drilldowns.components.DrilldownHelloBar.helpText": "Les recherches vous permettent de définir de nouveaux comportements pour l'interaction avec les panneaux. Vous pouvez ajouter plusieurs actions et remplacer le filtre par défaut.", - "xpack.uiActionsEnhanced.drilldowns.components.DrilldownHelloBar.hideHelpButtonLabel": "Masquer", - "xpack.uiActionsEnhanced.drilldowns.components.DrilldownHelloBar.viewDocsLinkLabel": "Afficher les documents", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.createDrilldownTitle": "Créer une recherche", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.deleteDrilldownButtonLabel": "Supprimer une recherche", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.editDrilldownTitle": "Modifier une recherche", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.insufficientLicenseLevelError": "Niveau de licence insuffisant", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.invalidDrilldownType": "Le type de recherche {type} n'existe pas", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownCreatedText": "Enregistrez votre tableau de bord avant de tester.", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownCreatedTitle": "Recherche \"{drilldownName}\" créée", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownDeletedText": "Enregistrez votre tableau de bord avant de tester.", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownDeletedTitle": "Recherche supprimée", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownEditedText": "Enregistrez votre tableau de bord avant de tester.", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownEditedTitle": "Recherche \"{drilldownName}\" mise à jour", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownsCRUDErrorTitle": "Erreur lors de l'enregistrement de la recherche", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownsDeletedText": "Enregistrez votre tableau de bord avant de tester.", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownsDeletedTitle": "{n} recherches supprimées", - "xpack.uiActionsEnhanced.drilldowns.components.FlyoutFrame.BackButtonLabel": "Précédent", - "xpack.uiActionsEnhanced.drilldowns.components.FlyoutFrame.CloseButtonLabel": "Fermer", - "xpack.uiActionsEnhanced.drilldowns.containers.createDrilldownForm.primaryButton": "Créer une recherche", - "xpack.uiActionsEnhanced.drilldowns.containers.createDrilldownForm.title": "Créer une recherche", - "xpack.uiActionsEnhanced.drilldowns.containers.drilldownList.copyingNotification.body": "{count, number} {count, plural, one {recherche} other {recherches}} copiée(s).", - "xpack.uiActionsEnhanced.drilldowns.containers.drilldownList.copyingNotification.dismiss": "Rejeter", - "xpack.uiActionsEnhanced.drilldowns.containers.DrilldownManager.createNew": "Créer nouvelle", - "xpack.uiActionsEnhanced.drilldowns.containers.DrilldownManager.manage": "Gérer", - "xpack.uiActionsEnhanced.drilldowns.containers.editDrilldownForm.primaryButton": "Enregistrer", - "xpack.uiActionsEnhanced.drilldowns.containers.editDrilldownForm.title": "Modifier une recherche", - "xpack.uiActionsEnhanced.drilldowns.drilldownManager.state.defaultTitle": "Recherches", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.additionalOptions": "Options supplémentaires", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.addVariableButtonTitle": "Ajouter une variable", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.encodeDescription": "Si elle est activée, l'URL sera précédée de l’encodage-pourcent comme caractère d'échappement", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.encodeUrl": "Encoder l'URL", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.openInNewTabLabel": "Ouvrir dans une nouvelle fenêtre", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlPreviewHelpText": "Veuillez noter que dans l'aperçu, les variables \\{\\{event.*\\}\\} sont remplacées par des valeurs factices.", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlPreviewLabel": "Aperçu de l'URL :", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlPreviewLinkText": "Aperçu", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateLabel": "Entrer l'URL", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplatePlaceholderText": "Exemple : {exampleUrl}", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateSyntaxHelpLinkText": "Aide pour la syntaxe", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateVariablesFilterPlaceholderText": "Variables de filtre", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateVariablesHelpLinkText": "Aide", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownValidation.urlFormatErrorMessage": "Format non valide : {message}", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownValidation.urlFormatGeneralErrorMessage": "Format non valide. Exemple : {exampleUrl}", "xpack.upgradeAssistant.app.deniedPrivilegeDescription": "Afin d'utiliser l'assistant de mise à niveau et de résoudre les problèmes de déclassement, vous devez disposer d’un accès permettant de gérer tous les espaces Kibana.", "xpack.upgradeAssistant.app.deniedPrivilegeTitle": "Rôle d'administrateur Kibana requis", "xpack.upgradeAssistant.appTitle": "Assistant de mise à niveau", diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index 69044d2991d0..b95cca44c89b 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -5679,6 +5679,90 @@ "uiActions.errors.incompatibleAction": "操作に互換性がありません", "uiActions.triggers.rowClickkDescription": "テーブル行をクリック", "uiActions.triggers.rowClickTitle": "テーブル行クリック", + "uiActionsEnhanced.components.actionWizard.betaActionLabel": "ベータ", + "uiActionsEnhanced.components.actionWizard.betaActionTooltip": "このアクションはベータ段階で、変更される可能性があります。デザインとコードはオフィシャルGA機能よりも完成度が低く、現状のまま保証なしで提供されています。ベータ機能にはオフィシャル GA 機能の SLA が適用されません。バグを報告したり、その他のフィードバックを提供したりして、当社を支援してください。", + "uiActionsEnhanced.components.actionWizard.changeButton": "変更", + "uiActionsEnhanced.components.actionWizard.insufficientLicenseLevelTooltip": "不十分なライセンスレベル", + "uiActionsEnhanced.components.actionWizard.triggerPickerHelpText": "概要", + "uiActionsEnhanced.components.actionWizard.triggerPickerHelpTooltip": "ドリルダウンがコンテキストメニューに表示されるタイミングを決定します。", + "uiActionsEnhanced.components.actionWizard.triggerPickerLabel": "オプションを表示:", + "uiActionsEnhanced.components.DrilldownForm.betaActionLabel": "ベータ", + "uiActionsEnhanced.components.DrilldownForm.betaActionTooltip": "このアクションはベータ段階で、変更される可能性があります。デザインとコードはオフィシャルGA機能よりも完成度が低く、現状のまま保証なしで提供されています。ベータ機能にはオフィシャル GA 機能の SLA が適用されません。バグを報告したり、その他のフィードバックを提供したりして、当社を支援してください。", + "uiActionsEnhanced.components.DrilldownForm.changeButton": "変更", + "uiActionsEnhanced.components.DrilldownForm.drilldownAction": "アクション", + "uiActionsEnhanced.components.DrilldownForm.getMoreActionsLinkLabel": "さらにアクションを表示", + "uiActionsEnhanced.components.DrilldownForm.nameOfDrilldown": "名前", + "uiActionsEnhanced.components.DrilldownForm.trigger": "トリガー", + "uiActionsEnhanced.components.DrilldownForm.untitledDrilldown": "無題のドリルダウン", + "uiActionsEnhanced.components.DrilldownTable.actionColumnTitle": "アクション", + "uiActionsEnhanced.components.DrilldownTable.copyDrilldownButtonLabel": "コピー", + "uiActionsEnhanced.components.DrilldownTable.createDrilldownButtonLabel": "新規作成", + "uiActionsEnhanced.components.DrilldownTable.deleteDrilldownsButtonLabel": "削除({count})", + "uiActionsEnhanced.components.DrilldownTable.editDrilldownButtonLabel": "編集", + "uiActionsEnhanced.components.DrilldownTable.nameColumnTitle": "名前", + "uiActionsEnhanced.components.DrilldownTable.selectThisDrilldownCheckboxLabel": "このドリルダウンを選択", + "uiActionsEnhanced.components.DrilldownTable.triggerColumnTitle": "トリガー", + "uiActionsEnhanced.components.DrilldownTemplateTable.actionColumnTitle": "アクション", + "uiActionsEnhanced.components.DrilldownTemplateTable.copyButtonLabel": "コピー({count})", + "uiActionsEnhanced.components.DrilldownTemplateTable.nameColumnTitle": "名前", + "uiActionsEnhanced.components.DrilldownTemplateTable.selectableMessage": "このテンプレートを選択", + "uiActionsEnhanced.components.DrilldownTemplateTable.singleItemCopyAction": "コピー", + "uiActionsEnhanced.components.DrilldownTemplateTable.sourceColumnTitle": "パネル", + "uiActionsEnhanced.components.DrilldownTemplateTable.triggerColumnTitle": "トリガー", + "uiActionsEnhanced.components.TriggerLineItem.incompatibleTooltip": "このトリガータイプはこのパネルでサポートされていません", + "uiActionsEnhanced.components.TriggerPickerItem.unknown": "不明", + "uiActionsEnhanced.CustomActions": "カスタムアクション", + "uiActionsEnhanced.customizePanelTimeRange.modal.addToPanelButtonTitle": "パネルに追加", + "uiActionsEnhanced.customizePanelTimeRange.modal.cancelButtonTitle": "キャンセル", + "uiActionsEnhanced.customizePanelTimeRange.modal.optionsMenuForm.panelTitleFormRowLabel": "時間範囲", + "uiActionsEnhanced.customizePanelTimeRange.modal.removeButtonTitle": "削除", + "uiActionsEnhanced.customizePanelTimeRange.modal.updatePanelTimeRangeButtonTitle": "更新", + "uiActionsEnhanced.customizeTimeRange.modal.headerTitle": "パネルの時間範囲のカスタマイズ", + "uiActionsEnhanced.customizeTimeRangeMenuItem.displayName": "時間範囲のカスタマイズ", + "uiActionsEnhanced.drilldownManager.containers.TemplatePicker.label": "既存のドリルダウンをコピー", + "uiActionsEnhanced.drilldowns.components.DrilldownHelloBar.helpText": "ドリルダウンにより、パネルと連携する新しい動作を定義できます。複数のアクションを追加し、デフォルトフィルターを無効化できます。", + "uiActionsEnhanced.drilldowns.components.DrilldownHelloBar.hideHelpButtonLabel": "非表示", + "uiActionsEnhanced.drilldowns.components.DrilldownHelloBar.viewDocsLinkLabel": "ドキュメントを表示", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.createDrilldownTitle": "ドリルダウンを作成", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.deleteDrilldownButtonLabel": "ドリルダウンを削除", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.editDrilldownTitle": "ドリルダウンを編集", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.insufficientLicenseLevelError": "不十分なライセンスレベル", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.invalidDrilldownType": "ドリルダウンタイプ{type}が存在しません", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownCreatedText": "テストする前にダッシュボードを保存してください。", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownCreatedTitle": "ドリルダウン「{drilldownName}」が作成されました", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownDeletedText": "テストする前にダッシュボードを保存してください。", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownDeletedTitle": "ドリルダウンが削除されました", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownEditedText": "テストする前にダッシュボードを保存してください。", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownEditedTitle": "ドリルダウン「{drilldownName}」が更新されました", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownsCRUDErrorTitle": "ドリルダウンの保存エラー", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownsDeletedText": "テストする前にダッシュボードを保存してください。", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownsDeletedTitle": "{n}個のドリルダウンが削除されました", + "uiActionsEnhanced.drilldowns.components.FlyoutFrame.BackButtonLabel": "戻る", + "uiActionsEnhanced.drilldowns.components.FlyoutFrame.CloseButtonLabel": "閉じる", + "uiActionsEnhanced.drilldowns.containers.createDrilldownForm.primaryButton": "ドリルダウンを作成", + "uiActionsEnhanced.drilldowns.containers.createDrilldownForm.title": "ドリルダウンを作成", + "uiActionsEnhanced.drilldowns.containers.drilldownList.copyingNotification.body": "{count, number} {count, plural, other {個のドリルダウン}}がコピーされました。", + "uiActionsEnhanced.drilldowns.containers.drilldownList.copyingNotification.dismiss": "閉じる", + "uiActionsEnhanced.drilldowns.containers.DrilldownManager.createNew": "新規作成", + "uiActionsEnhanced.drilldowns.containers.DrilldownManager.manage": "管理", + "uiActionsEnhanced.drilldowns.containers.editDrilldownForm.primaryButton": "保存", + "uiActionsEnhanced.drilldowns.containers.editDrilldownForm.title": "ドリルダウンを編集", + "uiActionsEnhanced.drilldowns.drilldownManager.state.defaultTitle": "ドリルダウン", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.additionalOptions": "その他のオプション", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.addVariableButtonTitle": "変数を追加", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.encodeDescription": "有効な場合、URLはパーセントエンコーディングを使用してエスケープされます", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.encodeUrl": "URLのエンコード", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.openInNewTabLabel": "新しいウィンドウで開く", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlPreviewHelpText": "プレビュー\\{\\{event.*\\}\\}では、変数にダミー値が代入されます。", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlPreviewLabel": "URLプレビュー:", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlPreviewLinkText": "プレビュー", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateLabel": "URLを入力", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplatePlaceholderText": "例:{exampleUrl}", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateSyntaxHelpLinkText": "構文ヘルプ", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateVariablesFilterPlaceholderText": "変数をフィルター", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateVariablesHelpLinkText": "ヘルプ", + "uiActionsEnhanced.drilldowns.urlDrilldownValidation.urlFormatErrorMessage": "無効な形式:{message}", + "uiActionsEnhanced.drilldowns.urlDrilldownValidation.urlFormatGeneralErrorMessage": "無効なフォーマット。例:{exampleUrl}", "utils.filename.pathWarning": "パスの形式が正しくない可能性があります。値を検証してください", "utils.filename.wildcardWarning": "ファイルパスでワイルドカードを使用すると、エンドポイントのパフォーマンスに影響する可能性があります", "visDefaultEditor.advancedToggle.advancedLinkLabel": "高度な設定", @@ -29309,90 +29393,6 @@ "xpack.triggersActionsUI.timeUnits.secondLabel": "{timeValue, plural, other {秒}}", "xpack.triggersActionsUI.typeRegistry.get.missingActionTypeErrorMessage": "オブジェクトタイプ「{id}」は登録されていません。", "xpack.triggersActionsUI.typeRegistry.register.duplicateObjectTypeErrorMessage": "オブジェクトタイプ「{id}」はすでに登録されています。", - "xpack.uiActionsEnhanced.components.actionWizard.betaActionLabel": "ベータ", - "xpack.uiActionsEnhanced.components.actionWizard.betaActionTooltip": "このアクションはベータ段階で、変更される可能性があります。デザインとコードはオフィシャルGA機能よりも完成度が低く、現状のまま保証なしで提供されています。ベータ機能にはオフィシャル GA 機能の SLA が適用されません。バグを報告したり、その他のフィードバックを提供したりして、当社を支援してください。", - "xpack.uiActionsEnhanced.components.actionWizard.changeButton": "変更", - "xpack.uiActionsEnhanced.components.actionWizard.insufficientLicenseLevelTooltip": "不十分なライセンスレベル", - "xpack.uiActionsEnhanced.components.actionWizard.triggerPickerHelpText": "概要", - "xpack.uiActionsEnhanced.components.actionWizard.triggerPickerHelpTooltip": "ドリルダウンがコンテキストメニューに表示されるタイミングを決定します。", - "xpack.uiActionsEnhanced.components.actionWizard.triggerPickerLabel": "オプションを表示:", - "xpack.uiActionsEnhanced.components.DrilldownForm.betaActionLabel": "ベータ", - "xpack.uiActionsEnhanced.components.DrilldownForm.betaActionTooltip": "このアクションはベータ段階で、変更される可能性があります。デザインとコードはオフィシャルGA機能よりも完成度が低く、現状のまま保証なしで提供されています。ベータ機能にはオフィシャル GA 機能の SLA が適用されません。バグを報告したり、その他のフィードバックを提供したりして、当社を支援してください。", - "xpack.uiActionsEnhanced.components.DrilldownForm.changeButton": "変更", - "xpack.uiActionsEnhanced.components.DrilldownForm.drilldownAction": "アクション", - "xpack.uiActionsEnhanced.components.DrilldownForm.getMoreActionsLinkLabel": "さらにアクションを表示", - "xpack.uiActionsEnhanced.components.DrilldownForm.nameOfDrilldown": "名前", - "xpack.uiActionsEnhanced.components.DrilldownForm.trigger": "トリガー", - "xpack.uiActionsEnhanced.components.DrilldownForm.untitledDrilldown": "無題のドリルダウン", - "xpack.uiActionsEnhanced.components.DrilldownTable.actionColumnTitle": "アクション", - "xpack.uiActionsEnhanced.components.DrilldownTable.copyDrilldownButtonLabel": "コピー", - "xpack.uiActionsEnhanced.components.DrilldownTable.createDrilldownButtonLabel": "新規作成", - "xpack.uiActionsEnhanced.components.DrilldownTable.deleteDrilldownsButtonLabel": "削除({count})", - "xpack.uiActionsEnhanced.components.DrilldownTable.editDrilldownButtonLabel": "編集", - "xpack.uiActionsEnhanced.components.DrilldownTable.nameColumnTitle": "名前", - "xpack.uiActionsEnhanced.components.DrilldownTable.selectThisDrilldownCheckboxLabel": "このドリルダウンを選択", - "xpack.uiActionsEnhanced.components.DrilldownTable.triggerColumnTitle": "トリガー", - "xpack.uiActionsEnhanced.components.DrilldownTemplateTable.actionColumnTitle": "アクション", - "xpack.uiActionsEnhanced.components.DrilldownTemplateTable.copyButtonLabel": "コピー({count})", - "xpack.uiActionsEnhanced.components.DrilldownTemplateTable.nameColumnTitle": "名前", - "xpack.uiActionsEnhanced.components.DrilldownTemplateTable.selectableMessage": "このテンプレートを選択", - "xpack.uiActionsEnhanced.components.DrilldownTemplateTable.singleItemCopyAction": "コピー", - "xpack.uiActionsEnhanced.components.DrilldownTemplateTable.sourceColumnTitle": "パネル", - "xpack.uiActionsEnhanced.components.DrilldownTemplateTable.triggerColumnTitle": "トリガー", - "xpack.uiActionsEnhanced.components.TriggerLineItem.incompatibleTooltip": "このトリガータイプはこのパネルでサポートされていません", - "xpack.uiActionsEnhanced.components.TriggerPickerItem.unknown": "不明", - "xpack.uiActionsEnhanced.CustomActions": "カスタムアクション", - "xpack.uiActionsEnhanced.customizePanelTimeRange.modal.addToPanelButtonTitle": "パネルに追加", - "xpack.uiActionsEnhanced.customizePanelTimeRange.modal.cancelButtonTitle": "キャンセル", - "xpack.uiActionsEnhanced.customizePanelTimeRange.modal.optionsMenuForm.panelTitleFormRowLabel": "時間範囲", - "xpack.uiActionsEnhanced.customizePanelTimeRange.modal.removeButtonTitle": "削除", - "xpack.uiActionsEnhanced.customizePanelTimeRange.modal.updatePanelTimeRangeButtonTitle": "更新", - "xpack.uiActionsEnhanced.customizeTimeRange.modal.headerTitle": "パネルの時間範囲のカスタマイズ", - "xpack.uiActionsEnhanced.customizeTimeRangeMenuItem.displayName": "時間範囲のカスタマイズ", - "xpack.uiActionsEnhanced.drilldownManager.containers.TemplatePicker.label": "既存のドリルダウンをコピー", - "xpack.uiActionsEnhanced.drilldowns.components.DrilldownHelloBar.helpText": "ドリルダウンにより、パネルと連携する新しい動作を定義できます。複数のアクションを追加し、デフォルトフィルターを無効化できます。", - "xpack.uiActionsEnhanced.drilldowns.components.DrilldownHelloBar.hideHelpButtonLabel": "非表示", - "xpack.uiActionsEnhanced.drilldowns.components.DrilldownHelloBar.viewDocsLinkLabel": "ドキュメントを表示", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.createDrilldownTitle": "ドリルダウンを作成", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.deleteDrilldownButtonLabel": "ドリルダウンを削除", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.editDrilldownTitle": "ドリルダウンを編集", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.insufficientLicenseLevelError": "不十分なライセンスレベル", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.invalidDrilldownType": "ドリルダウンタイプ{type}が存在しません", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownCreatedText": "テストする前にダッシュボードを保存してください。", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownCreatedTitle": "ドリルダウン「{drilldownName}」が作成されました", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownDeletedText": "テストする前にダッシュボードを保存してください。", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownDeletedTitle": "ドリルダウンが削除されました", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownEditedText": "テストする前にダッシュボードを保存してください。", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownEditedTitle": "ドリルダウン「{drilldownName}」が更新されました", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownsCRUDErrorTitle": "ドリルダウンの保存エラー", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownsDeletedText": "テストする前にダッシュボードを保存してください。", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownsDeletedTitle": "{n}個のドリルダウンが削除されました", - "xpack.uiActionsEnhanced.drilldowns.components.FlyoutFrame.BackButtonLabel": "戻る", - "xpack.uiActionsEnhanced.drilldowns.components.FlyoutFrame.CloseButtonLabel": "閉じる", - "xpack.uiActionsEnhanced.drilldowns.containers.createDrilldownForm.primaryButton": "ドリルダウンを作成", - "xpack.uiActionsEnhanced.drilldowns.containers.createDrilldownForm.title": "ドリルダウンを作成", - "xpack.uiActionsEnhanced.drilldowns.containers.drilldownList.copyingNotification.body": "{count, number} {count, plural, other {個のドリルダウン}}がコピーされました。", - "xpack.uiActionsEnhanced.drilldowns.containers.drilldownList.copyingNotification.dismiss": "閉じる", - "xpack.uiActionsEnhanced.drilldowns.containers.DrilldownManager.createNew": "新規作成", - "xpack.uiActionsEnhanced.drilldowns.containers.DrilldownManager.manage": "管理", - "xpack.uiActionsEnhanced.drilldowns.containers.editDrilldownForm.primaryButton": "保存", - "xpack.uiActionsEnhanced.drilldowns.containers.editDrilldownForm.title": "ドリルダウンを編集", - "xpack.uiActionsEnhanced.drilldowns.drilldownManager.state.defaultTitle": "ドリルダウン", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.additionalOptions": "その他のオプション", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.addVariableButtonTitle": "変数を追加", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.encodeDescription": "有効な場合、URLはパーセントエンコーディングを使用してエスケープされます", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.encodeUrl": "URLのエンコード", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.openInNewTabLabel": "新しいウィンドウで開く", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlPreviewHelpText": "プレビュー\\{\\{event.*\\}\\}では、変数にダミー値が代入されます。", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlPreviewLabel": "URLプレビュー:", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlPreviewLinkText": "プレビュー", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateLabel": "URLを入力", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplatePlaceholderText": "例:{exampleUrl}", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateSyntaxHelpLinkText": "構文ヘルプ", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateVariablesFilterPlaceholderText": "変数をフィルター", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateVariablesHelpLinkText": "ヘルプ", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownValidation.urlFormatErrorMessage": "無効な形式:{message}", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownValidation.urlFormatGeneralErrorMessage": "無効なフォーマット。例:{exampleUrl}", "xpack.upgradeAssistant.app.deniedPrivilegeDescription": "アップグレードアシスタントを使用して、廃止予定の問題を解決するには、すべてのKibanaスペースを管理するためのアクセス権が必要です。", "xpack.upgradeAssistant.app.deniedPrivilegeTitle": "Kibana管理者ロールが必要です", "xpack.upgradeAssistant.appTitle": "アップグレードアシスタント", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index ceef8662c262..af5325c1b9c2 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -5691,6 +5691,90 @@ "uiActions.errors.incompatibleAction": "操作不兼容", "uiActions.triggers.rowClickkDescription": "表格行的单击", "uiActions.triggers.rowClickTitle": "表格行单击", + "uiActionsEnhanced.components.actionWizard.betaActionLabel": "公测版", + "uiActionsEnhanced.components.actionWizard.betaActionTooltip": "此操作位于公测版中,可能会有所更改。设计和代码相对于正式发行版功能还不够成熟,将按原样提供,且不提供任何保证。公测版功能不受正式发行版功能支持 SLA 的约束。请通过报告错误或提供其他反馈来帮助我们。", + "uiActionsEnhanced.components.actionWizard.changeButton": "更改", + "uiActionsEnhanced.components.actionWizard.insufficientLicenseLevelTooltip": "许可证级别不够", + "uiActionsEnhanced.components.actionWizard.triggerPickerHelpText": "这是什么?", + "uiActionsEnhanced.components.actionWizard.triggerPickerHelpTooltip": "确定向下钻取显示在上下文菜单中的时间", + "uiActionsEnhanced.components.actionWizard.triggerPickerLabel": "显示相关选项:", + "uiActionsEnhanced.components.DrilldownForm.betaActionLabel": "公测版", + "uiActionsEnhanced.components.DrilldownForm.betaActionTooltip": "此操作位于公测版中,可能会有所更改。设计和代码相对于正式发行版功能还不够成熟,将按原样提供,且不提供任何保证。公测版功能不受正式发行版功能支持 SLA 的约束。请通过报告错误或提供其他反馈来帮助我们。", + "uiActionsEnhanced.components.DrilldownForm.changeButton": "更改", + "uiActionsEnhanced.components.DrilldownForm.drilldownAction": "操作", + "uiActionsEnhanced.components.DrilldownForm.getMoreActionsLinkLabel": "获取更多的操作", + "uiActionsEnhanced.components.DrilldownForm.nameOfDrilldown": "名称", + "uiActionsEnhanced.components.DrilldownForm.trigger": "触发", + "uiActionsEnhanced.components.DrilldownForm.untitledDrilldown": "未命名向下钻取", + "uiActionsEnhanced.components.DrilldownTable.actionColumnTitle": "操作", + "uiActionsEnhanced.components.DrilldownTable.copyDrilldownButtonLabel": "复制", + "uiActionsEnhanced.components.DrilldownTable.createDrilldownButtonLabel": "新建", + "uiActionsEnhanced.components.DrilldownTable.deleteDrilldownsButtonLabel": "删除 ({count})", + "uiActionsEnhanced.components.DrilldownTable.editDrilldownButtonLabel": "编辑", + "uiActionsEnhanced.components.DrilldownTable.nameColumnTitle": "名称", + "uiActionsEnhanced.components.DrilldownTable.selectThisDrilldownCheckboxLabel": "选择此向下钻取", + "uiActionsEnhanced.components.DrilldownTable.triggerColumnTitle": "触发", + "uiActionsEnhanced.components.DrilldownTemplateTable.actionColumnTitle": "操作", + "uiActionsEnhanced.components.DrilldownTemplateTable.copyButtonLabel": "复制 ({count})", + "uiActionsEnhanced.components.DrilldownTemplateTable.nameColumnTitle": "名称", + "uiActionsEnhanced.components.DrilldownTemplateTable.selectableMessage": "选择此模板", + "uiActionsEnhanced.components.DrilldownTemplateTable.singleItemCopyAction": "复制", + "uiActionsEnhanced.components.DrilldownTemplateTable.sourceColumnTitle": "面板", + "uiActionsEnhanced.components.DrilldownTemplateTable.triggerColumnTitle": "触发", + "uiActionsEnhanced.components.TriggerLineItem.incompatibleTooltip": "此触发类型不受此面板支持", + "uiActionsEnhanced.components.TriggerPickerItem.unknown": "未知", + "uiActionsEnhanced.CustomActions": "定制操作", + "uiActionsEnhanced.customizePanelTimeRange.modal.addToPanelButtonTitle": "添加到面板", + "uiActionsEnhanced.customizePanelTimeRange.modal.cancelButtonTitle": "取消", + "uiActionsEnhanced.customizePanelTimeRange.modal.optionsMenuForm.panelTitleFormRowLabel": "时间范围", + "uiActionsEnhanced.customizePanelTimeRange.modal.removeButtonTitle": "移除", + "uiActionsEnhanced.customizePanelTimeRange.modal.updatePanelTimeRangeButtonTitle": "更新", + "uiActionsEnhanced.customizeTimeRange.modal.headerTitle": "定制面板时间范围", + "uiActionsEnhanced.customizeTimeRangeMenuItem.displayName": "定制时间范围", + "uiActionsEnhanced.drilldownManager.containers.TemplatePicker.label": "复制现有向下钻取", + "uiActionsEnhanced.drilldowns.components.DrilldownHelloBar.helpText": "向下钻取允许您定义与面板交互的新行为。您可以添加多个操作并覆盖默认筛选。", + "uiActionsEnhanced.drilldowns.components.DrilldownHelloBar.hideHelpButtonLabel": "隐藏", + "uiActionsEnhanced.drilldowns.components.DrilldownHelloBar.viewDocsLinkLabel": "查看文档", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.createDrilldownTitle": "创建向下钻取", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.deleteDrilldownButtonLabel": "删除向下钻取", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.editDrilldownTitle": "编辑向下钻取", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.insufficientLicenseLevelError": "许可证级别不够", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.invalidDrilldownType": "向下钻取类型 {type} 不存在", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownCreatedText": "在测试前保存仪表板。", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownCreatedTitle": "向下钻取“{drilldownName}”已创建", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownDeletedText": "在测试前保存仪表板。", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownDeletedTitle": "向下钻取已删除", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownEditedText": "在测试前保存仪表板。", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownEditedTitle": "向下钻取“{drilldownName}”已更新", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownsCRUDErrorTitle": "保存向下钻取时出错", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownsDeletedText": "在测试前保存仪表板。", + "uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownsDeletedTitle": "{n} 个向下钻取已删除", + "uiActionsEnhanced.drilldowns.components.FlyoutFrame.BackButtonLabel": "返回", + "uiActionsEnhanced.drilldowns.components.FlyoutFrame.CloseButtonLabel": "关闭", + "uiActionsEnhanced.drilldowns.containers.createDrilldownForm.primaryButton": "创建向下钻取", + "uiActionsEnhanced.drilldowns.containers.createDrilldownForm.title": "创建向下钻取", + "uiActionsEnhanced.drilldowns.containers.drilldownList.copyingNotification.body": "已复制 {count, number} 个{count, plural, other {向下钻取}}。", + "uiActionsEnhanced.drilldowns.containers.drilldownList.copyingNotification.dismiss": "关闭", + "uiActionsEnhanced.drilldowns.containers.DrilldownManager.createNew": "新建", + "uiActionsEnhanced.drilldowns.containers.DrilldownManager.manage": "管理", + "uiActionsEnhanced.drilldowns.containers.editDrilldownForm.primaryButton": "保存", + "uiActionsEnhanced.drilldowns.containers.editDrilldownForm.title": "编辑向下钻取", + "uiActionsEnhanced.drilldowns.drilldownManager.state.defaultTitle": "向下钻取", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.additionalOptions": "其他选项", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.addVariableButtonTitle": "添加变量", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.encodeDescription": "如果启用,将使用百分比编码转义 URL", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.encodeUrl": "编码 URL", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.openInNewTabLabel": "在新窗口卡中打开", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlPreviewHelpText": "请注意,在预览模式下,\\{\\{event.*\\}\\} 变量将替换为虚拟值。", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlPreviewLabel": "URL 预览:", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlPreviewLinkText": "预览", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateLabel": "输入 URL", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplatePlaceholderText": "例如:{exampleUrl}", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateSyntaxHelpLinkText": "语法帮助", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateVariablesFilterPlaceholderText": "筛选变量", + "uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateVariablesHelpLinkText": "帮助", + "uiActionsEnhanced.drilldowns.urlDrilldownValidation.urlFormatErrorMessage": "格式无效:{message}", + "uiActionsEnhanced.drilldowns.urlDrilldownValidation.urlFormatGeneralErrorMessage": "格式无效。例如:{exampleUrl}", "utils.filename.pathWarning": "路径的格式可能不正确;请验证值", "utils.filename.wildcardWarning": "在文件路径中使用通配符可能会影响终端性能", "visDefaultEditor.advancedToggle.advancedLinkLabel": "高级", @@ -29343,90 +29427,6 @@ "xpack.triggersActionsUI.timeUnits.secondLabel": "{timeValue, plural, other {秒}}", "xpack.triggersActionsUI.typeRegistry.get.missingActionTypeErrorMessage": "对象类型“{id}”未注册。", "xpack.triggersActionsUI.typeRegistry.register.duplicateObjectTypeErrorMessage": "已注册对象类型“{id}”。", - "xpack.uiActionsEnhanced.components.actionWizard.betaActionLabel": "公测版", - "xpack.uiActionsEnhanced.components.actionWizard.betaActionTooltip": "此操作位于公测版中,可能会有所更改。设计和代码相对于正式发行版功能还不够成熟,将按原样提供,且不提供任何保证。公测版功能不受正式发行版功能支持 SLA 的约束。请通过报告错误或提供其他反馈来帮助我们。", - "xpack.uiActionsEnhanced.components.actionWizard.changeButton": "更改", - "xpack.uiActionsEnhanced.components.actionWizard.insufficientLicenseLevelTooltip": "许可证级别不够", - "xpack.uiActionsEnhanced.components.actionWizard.triggerPickerHelpText": "这是什么?", - "xpack.uiActionsEnhanced.components.actionWizard.triggerPickerHelpTooltip": "确定向下钻取显示在上下文菜单中的时间", - "xpack.uiActionsEnhanced.components.actionWizard.triggerPickerLabel": "显示相关选项:", - "xpack.uiActionsEnhanced.components.DrilldownForm.betaActionLabel": "公测版", - "xpack.uiActionsEnhanced.components.DrilldownForm.betaActionTooltip": "此操作位于公测版中,可能会有所更改。设计和代码相对于正式发行版功能还不够成熟,将按原样提供,且不提供任何保证。公测版功能不受正式发行版功能支持 SLA 的约束。请通过报告错误或提供其他反馈来帮助我们。", - "xpack.uiActionsEnhanced.components.DrilldownForm.changeButton": "更改", - "xpack.uiActionsEnhanced.components.DrilldownForm.drilldownAction": "操作", - "xpack.uiActionsEnhanced.components.DrilldownForm.getMoreActionsLinkLabel": "获取更多的操作", - "xpack.uiActionsEnhanced.components.DrilldownForm.nameOfDrilldown": "名称", - "xpack.uiActionsEnhanced.components.DrilldownForm.trigger": "触发", - "xpack.uiActionsEnhanced.components.DrilldownForm.untitledDrilldown": "未命名向下钻取", - "xpack.uiActionsEnhanced.components.DrilldownTable.actionColumnTitle": "操作", - "xpack.uiActionsEnhanced.components.DrilldownTable.copyDrilldownButtonLabel": "复制", - "xpack.uiActionsEnhanced.components.DrilldownTable.createDrilldownButtonLabel": "新建", - "xpack.uiActionsEnhanced.components.DrilldownTable.deleteDrilldownsButtonLabel": "删除 ({count})", - "xpack.uiActionsEnhanced.components.DrilldownTable.editDrilldownButtonLabel": "编辑", - "xpack.uiActionsEnhanced.components.DrilldownTable.nameColumnTitle": "名称", - "xpack.uiActionsEnhanced.components.DrilldownTable.selectThisDrilldownCheckboxLabel": "选择此向下钻取", - "xpack.uiActionsEnhanced.components.DrilldownTable.triggerColumnTitle": "触发", - "xpack.uiActionsEnhanced.components.DrilldownTemplateTable.actionColumnTitle": "操作", - "xpack.uiActionsEnhanced.components.DrilldownTemplateTable.copyButtonLabel": "复制 ({count})", - "xpack.uiActionsEnhanced.components.DrilldownTemplateTable.nameColumnTitle": "名称", - "xpack.uiActionsEnhanced.components.DrilldownTemplateTable.selectableMessage": "选择此模板", - "xpack.uiActionsEnhanced.components.DrilldownTemplateTable.singleItemCopyAction": "复制", - "xpack.uiActionsEnhanced.components.DrilldownTemplateTable.sourceColumnTitle": "面板", - "xpack.uiActionsEnhanced.components.DrilldownTemplateTable.triggerColumnTitle": "触发", - "xpack.uiActionsEnhanced.components.TriggerLineItem.incompatibleTooltip": "此触发类型不受此面板支持", - "xpack.uiActionsEnhanced.components.TriggerPickerItem.unknown": "未知", - "xpack.uiActionsEnhanced.CustomActions": "定制操作", - "xpack.uiActionsEnhanced.customizePanelTimeRange.modal.addToPanelButtonTitle": "添加到面板", - "xpack.uiActionsEnhanced.customizePanelTimeRange.modal.cancelButtonTitle": "取消", - "xpack.uiActionsEnhanced.customizePanelTimeRange.modal.optionsMenuForm.panelTitleFormRowLabel": "时间范围", - "xpack.uiActionsEnhanced.customizePanelTimeRange.modal.removeButtonTitle": "移除", - "xpack.uiActionsEnhanced.customizePanelTimeRange.modal.updatePanelTimeRangeButtonTitle": "更新", - "xpack.uiActionsEnhanced.customizeTimeRange.modal.headerTitle": "定制面板时间范围", - "xpack.uiActionsEnhanced.customizeTimeRangeMenuItem.displayName": "定制时间范围", - "xpack.uiActionsEnhanced.drilldownManager.containers.TemplatePicker.label": "复制现有向下钻取", - "xpack.uiActionsEnhanced.drilldowns.components.DrilldownHelloBar.helpText": "向下钻取允许您定义与面板交互的新行为。您可以添加多个操作并覆盖默认筛选。", - "xpack.uiActionsEnhanced.drilldowns.components.DrilldownHelloBar.hideHelpButtonLabel": "隐藏", - "xpack.uiActionsEnhanced.drilldowns.components.DrilldownHelloBar.viewDocsLinkLabel": "查看文档", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.createDrilldownTitle": "创建向下钻取", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.deleteDrilldownButtonLabel": "删除向下钻取", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.editDrilldownTitle": "编辑向下钻取", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.insufficientLicenseLevelError": "许可证级别不够", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.invalidDrilldownType": "向下钻取类型 {type} 不存在", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownCreatedText": "在测试前保存仪表板。", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownCreatedTitle": "向下钻取“{drilldownName}”已创建", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownDeletedText": "在测试前保存仪表板。", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownDeletedTitle": "向下钻取已删除", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownEditedText": "在测试前保存仪表板。", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownEditedTitle": "向下钻取“{drilldownName}”已更新", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownsCRUDErrorTitle": "保存向下钻取时出错", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownsDeletedText": "在测试前保存仪表板。", - "xpack.uiActionsEnhanced.drilldowns.components.flyoutDrilldownWizard.toast.drilldownsDeletedTitle": "{n} 个向下钻取已删除", - "xpack.uiActionsEnhanced.drilldowns.components.FlyoutFrame.BackButtonLabel": "返回", - "xpack.uiActionsEnhanced.drilldowns.components.FlyoutFrame.CloseButtonLabel": "关闭", - "xpack.uiActionsEnhanced.drilldowns.containers.createDrilldownForm.primaryButton": "创建向下钻取", - "xpack.uiActionsEnhanced.drilldowns.containers.createDrilldownForm.title": "创建向下钻取", - "xpack.uiActionsEnhanced.drilldowns.containers.drilldownList.copyingNotification.body": "已复制 {count, number} 个{count, plural, other {向下钻取}}。", - "xpack.uiActionsEnhanced.drilldowns.containers.drilldownList.copyingNotification.dismiss": "关闭", - "xpack.uiActionsEnhanced.drilldowns.containers.DrilldownManager.createNew": "新建", - "xpack.uiActionsEnhanced.drilldowns.containers.DrilldownManager.manage": "管理", - "xpack.uiActionsEnhanced.drilldowns.containers.editDrilldownForm.primaryButton": "保存", - "xpack.uiActionsEnhanced.drilldowns.containers.editDrilldownForm.title": "编辑向下钻取", - "xpack.uiActionsEnhanced.drilldowns.drilldownManager.state.defaultTitle": "向下钻取", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.additionalOptions": "其他选项", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.addVariableButtonTitle": "添加变量", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.encodeDescription": "如果启用,将使用百分比编码转义 URL", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.encodeUrl": "编码 URL", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.openInNewTabLabel": "在新窗口卡中打开", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlPreviewHelpText": "请注意,在预览模式下,\\{\\{event.*\\}\\} 变量将替换为虚拟值。", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlPreviewLabel": "URL 预览:", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlPreviewLinkText": "预览", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateLabel": "输入 URL", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplatePlaceholderText": "例如:{exampleUrl}", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateSyntaxHelpLinkText": "语法帮助", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateVariablesFilterPlaceholderText": "筛选变量", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownCollectConfig.urlTemplateVariablesHelpLinkText": "帮助", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownValidation.urlFormatErrorMessage": "格式无效:{message}", - "xpack.uiActionsEnhanced.drilldowns.urlDrilldownValidation.urlFormatGeneralErrorMessage": "格式无效。例如:{exampleUrl}", "xpack.upgradeAssistant.app.deniedPrivilegeDescription": "要使用升级助手并解决弃用问题,必须具有管理所有 Kibana 工作区的访问权限。", "xpack.upgradeAssistant.app.deniedPrivilegeTitle": "需要 Kibana 管理员角色", "xpack.upgradeAssistant.appTitle": "升级助手", diff --git a/x-pack/plugins/ui_actions_enhanced/jest.config.js b/x-pack/plugins/ui_actions_enhanced/jest.config.js deleted file mode 100644 index 8182b23b2ebe..000000000000 --- a/x-pack/plugins/ui_actions_enhanced/jest.config.js +++ /dev/null @@ -1,17 +0,0 @@ -/* - * 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. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/x-pack/plugins/ui_actions_enhanced'], - coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/ui_actions_enhanced', - coverageReporters: ['text', 'html'], - collectCoverageFrom: [ - '/x-pack/plugins/ui_actions_enhanced/{common,public,server}/**/*.{ts,tsx}', - ], -}; diff --git a/x-pack/plugins/ui_actions_enhanced/tsconfig.json b/x-pack/plugins/ui_actions_enhanced/tsconfig.json deleted file mode 100644 index 100a1decd942..000000000000 --- a/x-pack/plugins/ui_actions_enhanced/tsconfig.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "./target/types", - "emitDeclarationOnly": true, - "declaration": true, - "declarationMap": true - }, - "include": [ - "public/**/*", - "server/**/*", - "common/**/*", - "../../../typings/**/*" - ], - "references": [ - { "path": "../../../src/core/tsconfig.json" }, - { "path": "../../../src/plugins/data/tsconfig.json" }, - { "path": "../../../src/plugins/embeddable/tsconfig.json" }, - { "path": "../../../src/plugins/kibana_react/tsconfig.json" }, - { "path": "../../../src/plugins/kibana_utils/tsconfig.json" }, - { "path": "../../../src/plugins/ui_actions/tsconfig.json" }, - - { "path": "../licensing/tsconfig.json" }, - ] -} diff --git a/x-pack/test/tsconfig.json b/x-pack/test/tsconfig.json index 8c6a1cb88c0b..e7684ba8b790 100644 --- a/x-pack/test/tsconfig.json +++ b/x-pack/test/tsconfig.json @@ -45,6 +45,7 @@ { "path": "../../src/plugins/telemetry_management_section/tsconfig.json" }, { "path": "../../src/plugins/telemetry/tsconfig.json" }, { "path": "../../src/plugins/ui_actions/tsconfig.json" }, + { "path": "../../src/plugins/ui_actions_enhanced/tsconfig.json" }, { "path": "../../src/plugins/url_forwarding/tsconfig.json" }, { "path": "../../src/plugins/usage_collection/tsconfig.json" }, { "path": "../plugins/actions/tsconfig.json" }, @@ -93,7 +94,6 @@ { "path": "../plugins/timelines/tsconfig.json" }, { "path": "../plugins/transform/tsconfig.json" }, { "path": "../plugins/triggers_actions_ui/tsconfig.json" }, - { "path": "../plugins/ui_actions_enhanced/tsconfig.json" }, { "path": "../plugins/upgrade_assistant/tsconfig.json" }, { "path": "../plugins/watcher/tsconfig.json" }, { "path": "../plugins/rollup/tsconfig.json" },