diff --git a/packages/ui/lang/en.json b/packages/ui/lang/en.json index b7d853ffa1..37ad473eeb 100644 --- a/packages/ui/lang/en.json +++ b/packages/ui/lang/en.json @@ -40,6 +40,7 @@ "Incoming": "Incoming", "HoursLabel": "Hours", "Back": "Back", + "Next": "Next", "DropdownDefaultLabel": "Select Item" } } diff --git a/packages/ui/lang/ru.json b/packages/ui/lang/ru.json index 0309f5a695..d395de2ec8 100644 --- a/packages/ui/lang/ru.json +++ b/packages/ui/lang/ru.json @@ -40,6 +40,7 @@ "Incoming": "Входящие", "HoursLabel": "Часы", "Back": "Назад", + "Next": "Вперед", "DropdownDefaultLabel": "Выберите Элемент" } } diff --git a/packages/ui/src/components/StepsDialog.svelte b/packages/ui/src/components/StepsDialog.svelte new file mode 100644 index 0000000000..1526cbb866 --- /dev/null +++ b/packages/ui/src/components/StepsDialog.svelte @@ -0,0 +1,275 @@ + + + + + + + {@const additionalStepInfo = currentStep?.additionalInfo} + +
+
+ {#if icon}
{/if} +
+ {#if title}{/if} + {#if additionalStepInfo}{additionalStepInfo}{/if} +
+
+
+
+ + + {@const isDone = currentStepIndex === steps.length - 1} + + {#if currentStepIndex > 0} +