From d553a261d80c12e5e854ff6fb29f04b243c65110 Mon Sep 17 00:00:00 2001 From: Vyacheslav Tumanov Date: Thu, 8 Jun 2023 20:58:48 +0500 Subject: [PATCH] UBER-158: new popup dialog (#3409) Signed-off-by: Vyacheslav Tumanov --- packages/presentation/src/components/MessageBox.svelte | 3 ++- plugins/recruit-assets/lang/en.json | 5 +++-- plugins/recruit-assets/lang/ru.json | 5 +++-- .../recruit-resources/src/components/CreateVacancy.svelte | 3 ++- plugins/recruit-resources/src/plugin.ts | 1 + plugins/tracker-assets/lang/en.json | 5 +++-- plugins/tracker-assets/lang/ru.json | 5 +++-- plugins/tracker-resources/src/components/CreateIssue.svelte | 3 ++- plugins/tracker-resources/src/plugin.ts | 1 + 9 files changed, 20 insertions(+), 11 deletions(-) diff --git a/packages/presentation/src/components/MessageBox.svelte b/packages/presentation/src/components/MessageBox.svelte index dc4041bb64..78cc159490 100644 --- a/packages/presentation/src/components/MessageBox.svelte +++ b/packages/presentation/src/components/MessageBox.svelte @@ -22,6 +22,7 @@ export let labelProps: IntlString export let message: IntlString export let params: Record = {} + export let okLabel: IntlString | undefined = undefined export let canSubmit = true export let action: (() => Promise) | undefined = undefined @@ -40,7 +41,7 @@