From 740d807373720907cf8dfe79987c23a626f5799a Mon Sep 17 00:00:00 2001 From: Andrei Andreev Date: Sun, 11 Jun 2023 09:51:01 +0200 Subject: [PATCH] Untangle the automator --- .../modals/AutomatorScriptTemplate.vue | 5 ++-- .../modals/ImportAutomatorDataModal.vue | 4 +-- .../tabs/automator/AutomatorBlockEditor.vue | 5 ++-- .../automator/AutomatorBlockSingleInput.vue | 6 ++-- .../automator/AutomatorDefineSingleEntry.vue | 2 ++ .../tabs/automator/AutomatorDocs.vue | 21 ++++++++++++-- .../tabs/automator/AutomatorModeSwitch.vue | 4 ++- src/core/automator/automator-backend.js | 28 +++---------------- src/core/automator/automator-codemirror.js | 14 +++++----- src/core/automator/automator-commands.js | 3 +- src/core/automator/compiler.js | 22 +++++++-------- src/core/automator/index.js | 15 ++++++++-- src/core/automator/lexer.js | 17 +++-------- src/core/automator/parser.js | 14 ++-------- src/core/event-hub.js | 1 + src/core/globals.js | 2 -- 16 files changed, 78 insertions(+), 85 deletions(-) diff --git a/src/components/modals/AutomatorScriptTemplate.vue b/src/components/modals/AutomatorScriptTemplate.vue index 61f95c002..ddbdea58b 100644 --- a/src/components/modals/AutomatorScriptTemplate.vue +++ b/src/components/modals/AutomatorScriptTemplate.vue @@ -1,4 +1,5 @@