From 074f0f31aa2c5cdd7d5df409b96a6037f1e5ee5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C5=BEe=20Fortun?= Date: Tue, 6 Dec 2022 13:55:34 +0100 Subject: [PATCH] Add Nylas compose page block --- .../Settings/System/Auth/ExternalSecurity.vue | 4 +- .../Settings/System/Auth/ExternalStd.vue | 7 +- .../Settings/System/CSystemEditorExternal.vue | 135 +++++++++--------- client/web/compose/package.json | 6 + .../compose/src/assets/PageBlocks/Nylas.jpg | Bin 0 -> 210877 bytes .../compose/src/assets/PageBlocks/index.js | 1 + .../Admin/Page/Builder/Selector.vue | 5 + .../PageBlocks/Nylas/Components/Agenda.vue | 16 +++ .../PageBlocks/Nylas/Components/Composer.vue | 16 +++ .../Nylas/Components/ContactList.vue | 16 +++ .../Nylas/Components/Conversation.vue | 16 +++ .../PageBlocks/Nylas/Components/Email.vue | 16 +++ .../PageBlocks/Nylas/Components/Mailbox.vue | 16 +++ .../PageBlocks/Nylas/Components/base.vue | 15 ++ .../PageBlocks/Nylas/Components/loader.js | 6 + .../components/PageBlocks/Nylas/NylasBase.vue | 127 ++++++++++++++++ .../PageBlocks/Nylas/NylasConfigurator.vue | 45 ++++++ .../src/components/PageBlocks/base.vue | 10 +- .../src/components/PageBlocks/index.js | 4 + client/web/compose/yarn.lock | 43 ++++++ lib/js/src/compose/types/page-block/index.ts | 1 + lib/js/src/compose/types/page-block/nylas.ts | 33 +++++ .../corteza-webapp-admin/system.settings.yaml | 2 +- locale/en/corteza-webapp-compose/block.yaml | 22 +++ 24 files changed, 485 insertions(+), 77 deletions(-) create mode 100644 client/web/compose/src/assets/PageBlocks/Nylas.jpg create mode 100644 client/web/compose/src/components/PageBlocks/Nylas/Components/Agenda.vue create mode 100644 client/web/compose/src/components/PageBlocks/Nylas/Components/Composer.vue create mode 100644 client/web/compose/src/components/PageBlocks/Nylas/Components/ContactList.vue create mode 100644 client/web/compose/src/components/PageBlocks/Nylas/Components/Conversation.vue create mode 100644 client/web/compose/src/components/PageBlocks/Nylas/Components/Email.vue create mode 100644 client/web/compose/src/components/PageBlocks/Nylas/Components/Mailbox.vue create mode 100644 client/web/compose/src/components/PageBlocks/Nylas/Components/base.vue create mode 100644 client/web/compose/src/components/PageBlocks/Nylas/Components/loader.js create mode 100644 client/web/compose/src/components/PageBlocks/Nylas/NylasBase.vue create mode 100644 client/web/compose/src/components/PageBlocks/Nylas/NylasConfigurator.vue create mode 100644 lib/js/src/compose/types/page-block/nylas.ts diff --git a/client/web/admin/src/components/Settings/System/Auth/ExternalSecurity.vue b/client/web/admin/src/components/Settings/System/Auth/ExternalSecurity.vue index 527f1fe88..5cde2d1f4 100644 --- a/client/web/admin/src/components/Settings/System/Auth/ExternalSecurity.vue +++ b/client/web/admin/src/components/Settings/System/Auth/ExternalSecurity.vue @@ -17,7 +17,7 @@ @@ -26,7 +26,7 @@ class="mb-3" > diff --git a/client/web/admin/src/components/Settings/System/Auth/ExternalStd.vue b/client/web/admin/src/components/Settings/System/Auth/ExternalStd.vue index e8c89093d..9e1ac4a95 100644 --- a/client/web/admin/src/components/Settings/System/Auth/ExternalStd.vue +++ b/client/web/admin/src/components/Settings/System/Auth/ExternalStd.vue @@ -3,24 +3,22 @@ {{ $t('enabled') }} + {{ $t('apiAccess') }} + + - - - - {{ $t('enabled') }} - - - - + - {{ $t('oidc.add') }} - + {{ $t('enabled') }} + + - - + + {{ $t('oidc.add') }} + - - - - - - - + + + + + + + + + +