From 96c9b3a32c6b20a35067158c3f9c26596b4191fb Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Thu, 27 Jul 2023 17:40:00 +0200 Subject: [PATCH] [New] Added a new agent components UI --- bower.json | 2 +- strolch-wc-components.html | 270 +++++++++++++++++++++++++++++++++ strolch-wc-i18n-editor.html | 8 +- strolch-wc-inspector-menu.html | 4 + strolch-wc-jobs.html | 10 -- 5 files changed, 279 insertions(+), 15 deletions(-) create mode 100644 strolch-wc-components.html diff --git a/bower.json b/bower.json index 6c77224..515bf30 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "strolch-wc-inspector", "description": "Strolch WebComponent Inspector", - "version": "0.23.7", + "version": "0.24.0", "authors": ["Robert von Burg"], "keywords": [ "strolch", diff --git a/strolch-wc-components.html b/strolch-wc-components.html new file mode 100644 index 0000000..d01b84a --- /dev/null +++ b/strolch-wc-components.html @@ -0,0 +1,270 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/strolch-wc-i18n-editor.html b/strolch-wc-i18n-editor.html index baf9f11..331c359 100644 --- a/strolch-wc-i18n-editor.html +++ b/strolch-wc-i18n-editor.html @@ -71,7 +71,7 @@ @@ -171,14 +171,14 @@ return; } - this.$.ajax.url = this.baseRestPath + "/i18n/data"; + this.$.ajax.url = this.baseRestPath + "/strolch/i18n/data"; this.$.ajax.method = "PUT"; this.$.ajax.body = data; this.$.ajax.generateRequest(); }, showRaw: function (e) { - window.open(this.baseRestPath + "/i18n/data", '_blank'); + window.open(this.baseRestPath + "/strolch/i18n/data", '_blank'); } }); diff --git a/strolch-wc-inspector-menu.html b/strolch-wc-inspector-menu.html index 61cc938..81de5f0 100644 --- a/strolch-wc-inspector-menu.html +++ b/strolch-wc-inspector-menu.html @@ -75,6 +75,10 @@ Inspector + + + Components + I18n Editor diff --git a/strolch-wc-jobs.html b/strolch-wc-jobs.html index 6a23642..4b77dff 100644 --- a/strolch-wc-jobs.html +++ b/strolch-wc-jobs.html @@ -191,16 +191,6 @@ toLocalDateTime: function (val) { return Strolch.toLocalDateTime(val); }, - arrayToString: function (arr) { - var s = ''; - for (var i = 0; i < arr.length; i++) { - s += arr[i]; - if (i + 1 < arr.length) - s += ', '; - } - - return s; - }, _getName: function (user) { return user.firstname + ' ' + user.lastname; },