From d7265f033f546409ce80f5737eacd966cc9eddcf Mon Sep 17 00:00:00 2001 From: Denis Bykhov Date: Wed, 22 Mar 2023 11:01:28 +0600 Subject: [PATCH] TSK-887 InviteSettings should not depend on login-resources (#2799) Signed-off-by: Denis Bykhov --- plugins/contact-resources/package.json | 2 +- .../src/components/EditEmployee.svelte | 13 ++++--- .../src/components/MergeEmployee.svelte | 6 ++- plugins/contact-resources/src/index.ts | 8 ++-- plugins/contact-resources/src/plugin.ts | 3 -- plugins/contact/src/index.ts | 5 ++- plugins/login-assets/lang/en.json | 3 +- plugins/login-assets/lang/ru.json | 3 +- .../src/components/Join.svelte | 9 +++-- plugins/login-resources/src/index.ts | 10 ++++- plugins/login-resources/src/plugin.ts | 7 +--- plugins/login-resources/src/utils.ts | 16 +------- plugins/login/src/index.ts | 38 ++++++++++++++++++- plugins/setting-resources/package.json | 1 - .../src/components/InviteSetting.svelte | 2 +- .../src/components/Password.svelte | 4 +- .../src/components/Profile.svelte | 24 ++++++------ plugins/workbench-resources/package.json | 3 +- .../src/components/SelectWorkspaceMenu.svelte | 10 +++-- .../src/components/Workbench.svelte | 9 +++++ plugins/workbench-resources/src/utils.ts | 2 +- 21 files changed, 114 insertions(+), 64 deletions(-) diff --git a/plugins/contact-resources/package.json b/plugins/contact-resources/package.json index b637a0ab6e..876e3c30e5 100644 --- a/plugins/contact-resources/package.json +++ b/plugins/contact-resources/package.json @@ -45,7 +45,7 @@ "@hcengineering/panel": "^0.6.1", "@hcengineering/view-resources": "^0.6.0", "@hcengineering/attachment": "^0.6.1", - "@hcengineering/login-resources": "^0.6.2", + "@hcengineering/login": "^0.6.1", "@hcengineering/templates": "^0.6.0", "@hcengineering/image-cropper": "^0.6.0" } diff --git a/plugins/contact-resources/src/components/EditEmployee.svelte b/plugins/contact-resources/src/components/EditEmployee.svelte index e2ce0740b3..710d9753b3 100644 --- a/plugins/contact-resources/src/components/EditEmployee.svelte +++ b/plugins/contact-resources/src/components/EditEmployee.svelte @@ -16,7 +16,8 @@