From ad64c547a23832a722028c74349ae90814a8f387 Mon Sep 17 00:00:00 2001 From: Kelani Tolulope Date: Tue, 9 Apr 2024 14:53:40 +0100 Subject: [PATCH] Refactor ace editor component --- client/web/admin/package.json | 1 - .../Apigw/Profiler/CProfilerHitInfo.vue | 31 ++++------ .../System/CSystemEditorAuthBgScreen.vue | 29 ++++----- .../CTemplateEditorContent/EditorTextHtml.vue | 29 ++++----- .../EditorTextPlain.vue | 27 +++------ .../Template/CTemplateEditorContent/Index.vue | 32 ++++------ client/web/admin/yarn.lock | 7 --- client/web/compose/package.json | 1 - client/web/compose/yarn.lock | 7 --- client/web/workflow/package.json | 1 - .../src/components/Configurator/Delay.vue | 10 ++-- .../src/components/Configurator/Error.vue | 10 ++-- .../components/Configurator/Expressions.vue | 10 ++-- .../src/components/Configurator/Function.vue | 18 +++--- .../src/components/Configurator/Gateway.vue | 10 ++-- .../src/components/ExpressionEditor.vue | 46 +++------------ .../src/components/ExpressionTable.vue | 10 ++-- lib/vue/src/components/input/CAceEditor.vue | 20 ++++++- .../src/scss/main/18201141_custom_webapp.scss | 59 +------------------ 19 files changed, 120 insertions(+), 238 deletions(-) diff --git a/client/web/admin/package.json b/client/web/admin/package.json index cbc65765f..f3070dfcb 100644 --- a/client/web/admin/package.json +++ b/client/web/admin/package.json @@ -45,7 +45,6 @@ "vue-echarts": "6.7.3", "vue-native-websocket": "^2.0.15", "vue-router": "3.1.5", - "vue2-brace-editor": "^2.0.2", "vue2-dropzone": "^3.6.0", "vuedraggable": "^2.23.2", "vuex": "3.1.2" diff --git a/client/web/admin/src/components/Apigw/Profiler/CProfilerHitInfo.vue b/client/web/admin/src/components/Apigw/Profiler/CProfilerHitInfo.vue index 32802cc6a..a865cd38d 100644 --- a/client/web/admin/src/components/Apigw/Profiler/CProfilerHitInfo.vue +++ b/client/web/admin/src/components/Apigw/Profiler/CProfilerHitInfo.vue @@ -214,7 +214,7 @@ - diff --git a/client/web/workflow/src/components/ExpressionTable.vue b/client/web/workflow/src/components/ExpressionTable.vue index c09893154..87db63352 100644 --- a/client/web/workflow/src/components/ExpressionTable.vue +++ b/client/web/workflow/src/components/ExpressionTable.vue @@ -97,8 +97,8 @@ -