diff --git a/web/package-lock.json b/web/package-lock.json index 7966c8a..deb5821 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -14,6 +14,7 @@ "jquery": "^3.6.3", "vue": "^3.2.13", "vue-router": "^4.0.3", + "vue3-ace-editor": "^2.2.2", "vuex": "^4.0.0" }, "devDependencies": { @@ -3227,6 +3228,11 @@ "node": ">= 0.6" } }, + "node_modules/ace-builds": { + "version": "1.15.2", + "resolved": "https://registry.npmmirror.com/ace-builds/-/ace-builds-1.15.2.tgz", + "integrity": "sha512-ANXWnANcB4XgC9tyCtG8EXjeDdDY6iJuPQs+pDiZF/2chQMU7LTOBgw9xJdeRzRyNX5+KGZKwgB80XyY2n5QvA==" + }, "node_modules/acorn": { "version": "8.8.1", "resolved": "https://registry.npmmirror.com/acorn/-/acorn-8.8.1.tgz", @@ -9010,6 +9016,11 @@ "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==", "dev": true }, + "node_modules/resize-observer-polyfill": { + "version": "1.5.1", + "resolved": "https://registry.npmmirror.com/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz", + "integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg==" + }, "node_modules/resolve": { "version": "1.22.1", "resolved": "https://registry.npmmirror.com/resolve/-/resolve-1.22.1.tgz", @@ -10368,6 +10379,16 @@ "integrity": "sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==", "dev": true }, + "node_modules/vue3-ace-editor": { + "version": "2.2.2", + "resolved": "https://registry.npmmirror.com/vue3-ace-editor/-/vue3-ace-editor-2.2.2.tgz", + "integrity": "sha512-fZ6OWosbU+odLrtrcGC/536QjCigujYJB0Hf6/tBp+ef/ohTadwQAqyBlVzOmvrmzZyubphpV9zkaZcx5Fuivw==", + "dependencies": { + "ace-builds": "^1.4.13", + "resize-observer-polyfill": "^1.5.1", + "vue": "^3.2.26" + } + }, "node_modules/vuex": { "version": "4.1.0", "resolved": "https://registry.npmmirror.com/vuex/-/vuex-4.1.0.tgz", diff --git a/web/package.json b/web/package.json index 681ca46..a979ef8 100644 --- a/web/package.json +++ b/web/package.json @@ -14,6 +14,7 @@ "jquery": "^3.6.3", "vue": "^3.2.13", "vue-router": "^4.0.3", + "vue3-ace-editor": "^2.2.2", "vuex": "^4.0.0" }, "devDependencies": { diff --git a/web/src/views/user/bot/UserBotIndexView.vue b/web/src/views/user/bot/UserBotIndexView.vue index d976e3c..4f64bc0 100644 --- a/web/src/views/user/bot/UserBotIndexView.vue +++ b/web/src/views/user/bot/UserBotIndexView.vue @@ -1,96 +1,259 @@